CN113468487B - Interface watermark rendering method and device, electronic equipment and computer readable medium - Google Patents

Interface watermark rendering method and device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN113468487B
CN113468487B CN202111023817.7A CN202111023817A CN113468487B CN 113468487 B CN113468487 B CN 113468487B CN 202111023817 A CN202111023817 A CN 202111023817A CN 113468487 B CN113468487 B CN 113468487B
Authority
CN
China
Prior art keywords
watermark
interface
page
configuration information
information
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.)
Active
Application number
CN202111023817.7A
Other languages
Chinese (zh)
Other versions
CN113468487A (en
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.)
State Grid Siji Location Service Co ltd
State Grid Information and Telecommunication Co Ltd
Beijing Guodiantong Network Technology Co Ltd
Original Assignee
State Grid Information and Telecommunication Co Ltd
Beijing Guodiantong Network 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 State Grid Information and Telecommunication Co Ltd, Beijing Guodiantong Network Technology Co Ltd filed Critical State Grid Information and Telecommunication Co Ltd
Priority to CN202111023817.7A priority Critical patent/CN113468487B/en
Publication of CN113468487A publication Critical patent/CN113468487A/en
Application granted granted Critical
Publication of CN113468487B publication Critical patent/CN113468487B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/16Program or content traceability, e.g. by watermarking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The embodiment of the disclosure discloses an interface watermark rendering method, an interface watermark rendering device, electronic equipment and a computer readable medium. One embodiment of the method comprises: in response to the detection of the selection operation acting on a target interface, determining whether watermark configuration information matched with the interface identifier exists in a watermark configuration information group stored in a local server according to the interface identifier of the target interface; responding to the fact that the watermark configuration information matched with the interface identification does not exist, and determining whether field elements corresponding to a preset sensitive field element table exist in a plurality of field elements displayed on the target interface or not; and in response to determining that the field elements corresponding to the sensitive field element table exist in the plurality of field elements, performing watermark rendering on the target interface according to preset watermark style information. According to the implementation method, the watermark can be automatically selected for interface rendering according to the sensitive field in the interface, and the confidentiality of interface information is improved.

Description

Interface watermark rendering method and device, electronic equipment and computer readable medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to an interface watermark rendering method, an interface watermark rendering device, electronic equipment and a computer readable medium.
Background
With the continuous development of information technology, information safety is more severe. At present, in order to prevent some people from stealing sensitive information by taking pictures, the method of setting watermarks is generally adopted as follows: through one-to-one system watermark research and development, a specific system can show the self-watermarking effect of a page. For example, a user logs in a system with system watermarks, and display pages are all the same watermarks; and (4) logging in a system which does not develop the system watermark function by a user, and displaying the page without displaying the watermark.
However, with the above-mentioned way of setting the watermark, there are generally the following technical problems:
firstly, the watermark cannot be automatically selected for interface rendering according to the sensitive field in the interface, so that interface information is easy to steal, and the confidentiality of the interface information is low;
secondly, the watermark can not be dynamically selected according to the interface, further causing that part of interface information is easy to be stolen, and reducing the safety of the interface information.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose interface watermark rendering methods, apparatuses, electronic devices, and computer readable media to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide an interface watermark rendering method, including: in response to the detection of the selection operation acting on a target interface, determining whether watermark configuration information matched with the interface identifier exists in a watermark configuration information group stored in a local server according to the interface identifier of the target interface; responding to the fact that the watermark configuration information matched with the interface identification does not exist, and determining whether field elements corresponding to a preset sensitive field element table exist in a plurality of field elements displayed on the target interface or not; and in response to determining that the field elements corresponding to the sensitive field element table exist in the plurality of field elements, performing watermark rendering on the target interface according to preset watermark style information.
In a second aspect, some embodiments of the present disclosure provide an interface watermark rendering apparatus, including: the system comprises a first determining unit, a second determining unit and a third determining unit, wherein the first determining unit is configured to respond to the detection of the selection operation acting on a target interface and determine whether watermark configuration information matched with the interface identifier exists in a watermark configuration information group stored in a local server or not according to the interface identifier of the target interface; a second determining unit, configured to determine, in response to determining that there is no watermark configuration information matching the interface identifier, whether there is a field element corresponding to a preset sensitive field element table in a plurality of field elements displayed by the target interface; and the rendering unit is configured to perform watermark rendering on the target interface according to preset watermark pattern information in response to determining that the field elements corresponding to the sensitive field element table exist in the plurality of field elements.
In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium on which a computer program is stored, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect.
The above embodiments of the present disclosure have the following advantages: according to the interface watermark rendering method of some embodiments of the disclosure, the watermark can be automatically selected for interface rendering according to the sensitive field in the interface, so that the confidentiality of interface information is improved. Specifically, the reason why the confidentiality of the interface information is low is that: the watermark can not be automatically selected for interface rendering according to the sensitive field in the interface, so that the interface information is easy to steal, and the confidentiality of the interface information is low. Based on this, in the interface watermark rendering method according to some embodiments of the present disclosure, first, in response to detection of a selection operation acting on a target interface, it is determined whether watermark configuration information matching the interface identifier exists in a watermark configuration information group stored in a local server according to the interface identifier of the target interface. Therefore, whether the watermark configuration information corresponding to the interface identification exists or not can be determined, and the watermark rendering of the target interface is facilitated. And then, in response to determining that the watermark configuration information matched with the interface identifier does not exist, determining whether a field element corresponding to a preset sensitive field element table exists in a plurality of field elements displayed by the target interface. Therefore, the watermark can be automatically selected for interface rendering according to the sensitive field elements in the field elements displayed by the target interface. And finally, in response to the fact that the field elements corresponding to the sensitive field element table exist in the plurality of field elements, performing watermark rendering on the target interface according to preset watermark style information. Therefore, the watermark can be automatically selected for interface rendering according to the sensitive field in the interface, the possibility of stealing interface information is reduced, and the confidentiality of the interface information is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
Fig. 1 is a schematic diagram of one application scenario of an interface watermark rendering method according to some embodiments of the present disclosure;
fig. 2 is a flow diagram of some embodiments of an interface watermark rendering method according to the present disclosure;
FIG. 3 is a flow diagram of further embodiments of interface watermark rendering methods according to the present disclosure;
fig. 4 is a flow diagram of some embodiments of generating watermark configuration information according to the interface watermark rendering method of the present disclosure;
fig. 5 is a schematic structural diagram of some embodiments of an interface watermark rendering apparatus according to the present disclosure;
FIG. 6 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a schematic diagram of an application scenario of an interface watermark rendering method according to some embodiments of the present disclosure.
In the application scenario of fig. 1, first, in response to detecting a selection operation acting on the target interface 102, the computing device 101 may determine whether watermark configuration information matching the interface identifier 1021 exists in a watermark configuration information set stored in the local server according to the interface identifier 1021 of the target interface 102. Then, the computing device 101 may determine whether a field element of the corresponding preset sensitive field element table 103 exists in the plurality of field elements 1022 displayed by the target interface 102 in response to determining that there is no watermark configuration information matching the interface identification 1021. Finally, the computing device 101 may perform watermark rendering on the target interface 102 according to the preset watermark pattern information 104 in response to determining that the field element corresponding to the sensitive field element table 103 exists in the field elements 1022.
The computing device 101 may be hardware or software. When the computing device is hardware, it may be implemented as a distributed cluster composed of multiple servers or terminal devices, or may be implemented as a single server or a single terminal device. When the computing device is embodied as software, it may be installed in the hardware devices enumerated above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein.
It should be understood that the number of computing devices in FIG. 1 is merely illustrative. There may be any number of computing devices, as implementation needs dictate.
With continued reference to fig. 2, a flow 200 of some embodiments of an interface watermark rendering method according to the present disclosure is shown. The interface watermark rendering method comprises the following steps:
step 201, in response to detecting the selection operation acting on the target interface, determining whether watermark configuration information matched with the interface identifier exists in a watermark configuration information group stored in the local server according to the interface identifier of the target interface.
In some embodiments, an executing body (e.g., the computing device 101 shown in fig. 1) of the interface watermark rendering method may determine, in response to detecting a selection operation acting on a target interface, whether watermark configuration information matching the interface identification exists in a watermark configuration information set stored by a local server according to the interface identification of the target interface. Here, the target interface may refer to a page that the user inputs to the execution subject in advance. Here, the interface identifier may refer to an address identifier of the target interface. For example, the interface identification may be a Uniform Resource Locator (URL). Here, the watermark configuration information in the watermark configuration information group may be information related to a pre-configured watermark pattern, and may include, but is not limited to: application name (interface name), page identification, and watermark style information. Here, the selection operation may include, but is not limited to: clicking and dialing. Here, the page identification may be a Uniform Resource Locator (URL). Here, the watermark pattern information may include, but is not limited to: watermark pattern, watermark color.
In practice, the executing entity may determine, in response to detecting a click operation of a user on a target interface, whether watermark configuration information including a page identifier that is the same as the interface identifier exists in a watermark configuration information group stored by a local server.
Step 202, in response to determining that there is no watermark configuration information matching the interface identifier, determining whether there is a field element corresponding to a preset sensitive field element table in a plurality of field elements displayed on the target interface.
In some embodiments, the execution subject may determine, in response to determining that there is no watermark configuration information matching the interface identifier, whether a field element corresponding to a preset sensitive field element table exists in a plurality of field elements displayed by the target interface. Here, the sensitive field element table may be a table composed of various sensitive field elements set in advance. Here, the field element may refer to a field name or contents of a page. Here, the field element corresponding to the preset sensitive field element table may be the same field element of the plurality of field elements as the sensitive field element in the sensitive field element table.
As an example, the sensitive field element table may be:
serial number Sensitive field elements
1 Account book
2 Absolute secret
3 Bank card
4 ···
Step 203, in response to determining that the field elements corresponding to the sensitive field element table exist in the plurality of field elements, performing watermark rendering on the target interface according to preset watermark style information.
In some embodiments, the execution subject may perform watermark rendering on the target interface by using preset watermark pattern information in response to determining that a field element corresponding to the sensitive field element table exists in the plurality of field elements. Here, the preset watermark pattern information may be preset, and corresponds to the watermark pattern information of the sensitive field element table. Here, the watermark pattern information may include, but is not limited to: watermark pattern, watermark color.
Optionally, in response to determining that there is watermark configuration information matching the interface identifier, selecting, from the watermark configuration information group, watermark configuration information matching the interface identifier as first candidate watermark configuration information.
In some embodiments, the execution main body may select, as the first candidate watermark configuration information, watermark configuration information including a page identifier that is the same as the interface identifier from the watermark configuration information group in response to determining that watermark configuration information including a page identifier that is the same as the interface identifier exists in the watermark configuration information group.
Optionally, according to the first candidate watermark configuration information, performing watermark rendering on the target interface.
In some embodiments, the executing entity may perform watermark rendering on the target interface by using the first alternative watermark configuration information.
Therefore, according to the interface identification, the preset watermark configuration information can be selected to perform watermark rendering on the target interface.
The above embodiments of the present disclosure have the following advantages: according to the interface watermark rendering method of some embodiments of the disclosure, the watermark can be automatically selected for interface rendering according to the sensitive field in the interface, so that the confidentiality of interface information is improved. Specifically, the reason why the confidentiality of the interface information is low is that: the watermark can not be automatically selected for interface rendering according to the sensitive field in the interface, so that the interface information is easy to steal, and the confidentiality of the interface information is low. Based on this, in the interface watermark rendering method according to some embodiments of the present disclosure, first, in response to detection of a selection operation acting on a target interface, it is determined whether watermark configuration information matching the interface identifier exists in a watermark configuration information group stored in a local server according to the interface identifier of the target interface. Therefore, whether the watermark configuration information corresponding to the interface identification exists or not can be determined, and the watermark rendering of the target interface is facilitated. And then, in response to determining that the watermark configuration information matched with the interface identifier does not exist, determining whether a field element corresponding to a preset sensitive field element table exists in a plurality of field elements displayed by the target interface. Therefore, the watermark can be automatically selected for interface rendering according to the sensitive field elements in the field elements displayed by the target interface. And finally, in response to the fact that the field elements corresponding to the sensitive field element table exist in the plurality of field elements, performing watermark rendering on the target interface according to preset watermark style information. Therefore, the watermark can be automatically selected for interface rendering according to the sensitive field in the interface, and the confidentiality of interface information is improved.
With further reference to fig. 3, a flow 300 of further embodiments of an interface watermark rendering method according to the present disclosure is shown. The method may be performed by the computing device 101 of fig. 1. The interface watermark rendering method comprises the following steps:
step 301, in response to detecting a selection operation acting on a target interface, determining whether watermark configuration information matched with the interface identifier exists in a watermark configuration information group stored in a local server according to the interface identifier of the target interface.
Step 302, in response to determining that there is no watermark configuration information matching the interface identifier, determining whether there is a field element corresponding to a preset sensitive field element table in a plurality of field elements displayed on the target interface.
Step 303, in response to determining that a field element corresponding to the sensitive field element table exists in the plurality of field elements, performing watermark rendering on the target interface according to preset watermark style information.
In some embodiments, the specific implementation manner and technical effects of steps 301 and 303 can refer to steps 201 and 203 in the embodiments corresponding to fig. 2, which are not described herein again.
Step 304, in response to determining that the field elements corresponding to the sensitive field element table do not exist in the plurality of field elements displayed on the target interface and detecting a selection operation acting on the watermark selection control, displaying a watermark information selection page.
In some embodiments, an executing body of the interface watermark rendering method (e.g., the computing device 101 shown in fig. 1) may display a watermark information selection page in response to determining that no field element corresponding to the sensitive field element table exists in the plurality of field elements displayed by the target interface and detecting a selection operation acting on the watermark selection control. Wherein the watermark information selection page displays the watermark configuration information group. Here, the watermark selection control may be a control for a user to select watermark information in a page where the target interface is located.
Step 305, in response to detecting a selection operation acting on any watermark configuration information in the watermark configuration information group, performing watermark rendering on the target interface according to any watermark configuration information.
In some embodiments, the executing entity may perform, in response to detecting a selection operation acting on any one of the watermark configuration information in the watermark configuration information group, watermark rendering on the target interface according to the any one of the watermark configuration information. In practice, the executing body may perform watermark rendering on the target interface by using the selected watermark configuration information in response to detecting a user selection operation on any one of the watermark configuration information in the watermark configuration information group.
Step 306, in response to determining that no field element corresponding to the sensitive field element table exists in the plurality of field elements displayed on the target interface and detecting a selection operation of a user on the watermark configuration control, displaying a watermark configuration page.
In some embodiments, the execution subject may display the watermark configuration page in response to determining that no field element corresponding to the sensitive field element table exists in the plurality of field elements displayed by the target interface and detecting a selection operation of a user on the watermark configuration control. And displaying a watermark configuration input box and a rendering control in the watermark configuration page. The watermark configuration input box is used for displaying the watermark style information input by the user. Here, the watermark pattern information may include, but is not limited to: watermark pattern, watermark color. Here, the watermark configuration control may be a control for configuring watermark information by a user in a page where the target interface is located.
Step 307, in response to detecting that the user operates the selection operation on the rendering control, performing watermark rendering on the target interface according to the watermark style information input by the user.
In some embodiments, the executing entity may perform watermark rendering on the target interface by using the watermark style information input by the user in response to detecting the selection operation of the user on the rendering control.
And 308, combining the page identifier of the target interface and the watermark style information input by the user to generate user watermark configuration information.
In some embodiments, the execution subject may combine the page identifier of the target interface and the watermark pattern information input by the user to generate user watermark configuration information. Here, combining may refer to splicing.
Step 309, storing the user watermark configuration information to the local server for calling.
In some embodiments, the execution subject may store the user watermark configuration information in the local server for invocation.
The related content in step 304-307 serves as an invention point of the present disclosure, thereby solving the technical problem two mentioned in the background art that the watermark cannot be dynamically selected according to the interface, further causing that part of the interface information is easy to be stolen, and reducing the security of the interface information. Factors that cause a reduction in the security of the interface information tend to be as follows: the watermark can not be dynamically selected according to the interface, further causing that part of interface information is easy to be stolen, and reducing the safety of the interface information. If the above factors are solved, the effect of improving the safety of the interface information can be achieved. In order to achieve the effect, the present disclosure first displays a watermark information selection page in response to determining that a field element corresponding to the sensitive field element table does not exist in the plurality of field elements displayed on the target interface and detecting a selection operation acting on the watermark selection control. Wherein the watermark information selection page displays the watermark configuration information group. Therefore, a user can independently select the watermark configuration information on the watermark information selection page. Secondly, in response to the detection of the selection operation acting on any one of the watermark configuration information groups, performing watermark rendering on the target interface according to any one of the watermark configuration information. Therefore, the target interface can be subjected to watermark rendering according to the watermark configuration information independently selected by the user. And then, responding to the fact that the field elements corresponding to the sensitive field element table do not exist in the plurality of field elements displayed on the target interface and the fact that the user selects the watermark configuration control, and displaying a watermark configuration page. And displaying a watermark configuration input box and a rendering control in the watermark configuration page. The watermark configuration input box is used for displaying the watermark style information input by the user. Thereby, the user may be enabled to configure the watermark autonomously. And then, in response to the detection of the selection operation of the user on the rendering control, performing watermark rendering on the target interface according to the watermark style information input by the user. Therefore, the target interface can be subjected to watermark rendering according to the watermark configuration information autonomously configured by the user. Finally, combining the page identification of the target interface and the watermark style information input by the user to generate user watermark configuration information; and storing the user watermark configuration information into the local server for calling. Therefore, watermark rendering by subsequent users is facilitated, and more watermark configuration choices are provided. Therefore, the watermark can be dynamically selected according to the interface, and the safety of the interface information is improved.
As can be seen from fig. 3, compared with the description of some embodiments corresponding to fig. 2, the flowchart 300 of the interface watermark rendering method in some embodiments corresponding to fig. 3 facilitates the watermark rendering for the subsequent user, and provides more options for the watermark configuration. Therefore, the watermark can be dynamically selected according to the interface, and the safety of the interface information is improved.
With further reference to fig. 4, a flow 400 of some embodiments of generating watermark configuration information in an interface watermark rendering method according to the present disclosure is shown. The watermark configuration information generation method comprises the following steps:
step 401, in response to detecting that the target user acts on the selection operation of the watermark management page, displaying the watermark management page.
In some embodiments, the execution subject for generating the watermark configuration information may be the computing device 101 shown in fig. 1, or may be a server for configuring the watermark configuration information. Here, the computing apparatus 101 may be the execution subject. The execution subject may display the watermark management page in response to detecting a selection operation of a target user on the watermark management page. And the watermark management page displays a new watermark control. Here, the selection operation may include, but is not limited to: clicking and sliding. Here, the target user may refer to a technician.
Step 402, responding to the detected selection operation of the target user acting on the watermark adding control, displaying a watermark configuration page.
In some embodiments, the execution main body may display a watermark configuration page in response to detecting a selection operation of the target user on the watermark adding control. The watermark configuration page displays a page identification input box, a watermark configuration input box and a storage control. The page identifier input box is used for displaying the page identifier input by the target user. The watermark configuration input box is used for displaying the watermark style information input by the target user. And the storage control is used for synchronously storing the page identifier input into the page identifier input box by the target user and the watermark style information input into the watermark configuration input box into the local server.
In some optional implementations of some embodiments, the execution body may further display an application name input box and a plug-in configuration input box in the watermark configuration page. The application name input box may be configured to display an application name input by the target user, and the plug-in configuration input box may be configured to display plug-in information input by the target user. Here, the plug-in information may include a plug-in name and a plug-in connection address.
In some optional implementations of some embodiments, the execution body may further display a browser configuration option box in the watermark configuration page. The browser configuration option box may be configured to display a browser identifier selected by the target user. Here, the browser identification may refer to a browser name.
Step 403, in response to detecting that the target user performs a selection operation on the storage control, synchronously storing the page identifier in the page identifier input box and the watermark style information in the watermark configuration input box into the local server.
In some embodiments, the execution subject may synchronously save the page identifier in the page identifier input box and the watermark style information in the watermark configuration input box to the local server in response to detecting the selection operation of the target user on the save control. In practice, first, the execution main body may combine the page identifier in the page identifier input box and the watermark pattern information in the watermark configuration input box to generate watermark configuration information. Then, the generated watermark configuration information is synchronously saved in the local server.
In step 404, in response to detecting that watermark configuration information corresponding to the page identifier in the page identifier input box exists in the plurality of watermark configuration information stored in the local server, replacing watermark pattern information included in the watermark configuration information corresponding to the page identifier in the page identifier input box with watermark pattern information in the watermark configuration input box.
In some embodiments, the execution subject may replace, in response to detecting that there is watermark configuration information that includes a page identifier that is the same as the page identifier in the page identifier input box among the plurality of pieces of watermark configuration information stored in the local server, watermark pattern information included in the watermark configuration information that corresponds to the page identifier in the page identifier input box with the watermark pattern information in the watermark configuration input box.
As can be seen from fig. 4, compared with the description of some embodiments corresponding to fig. 2, the process 400 in some embodiments corresponding to fig. 4 may configure the watermark configuration information that needs to be used by the interface in advance, and synchronize to the server. When accessing the interface, the user can perform watermark rendering on the interface according to the configured watermark configuration information.
With further reference to fig. 5, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides some embodiments of an interface watermark rendering apparatus, which correspond to those of the method embodiments described above in fig. 2, and which may be applied in various electronic devices.
As shown in fig. 5, the interface watermark rendering apparatus 500 of some embodiments includes: a first determination unit 501, a second determination unit 502, and a rendering unit 503. The first determining unit 501 is configured to, in response to detecting a selection operation acting on a target interface, determine whether watermark configuration information matching with an interface identifier exists in a watermark configuration information group stored in a local server according to the interface identifier of the target interface; the second determining unit 502 is configured to determine whether a field element corresponding to a preset sensitive field element table exists in a plurality of field elements displayed by the target interface in response to determining that watermark configuration information matching the interface identifier does not exist; the rendering unit 503 is configured to perform watermark rendering on the target interface according to preset watermark pattern information in response to determining that a field element corresponding to the sensitive field element table exists in the plurality of field elements.
It will be understood that the elements described in the apparatus 500 correspond to various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 500 and the units included therein, and are not described herein again.
Referring now to FIG. 6, a block diagram of an electronic device (e.g., computing device 101 of FIG. 1) 600 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM602, and the RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 6 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described above in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the apparatus; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: in response to the detection of the selection operation acting on a target interface, determining whether watermark configuration information matched with the interface identifier exists in a watermark configuration information group stored in a local server according to the interface identifier of the target interface; responding to the fact that the watermark configuration information matched with the interface identification does not exist, and determining whether field elements corresponding to a preset sensitive field element table exist in a plurality of field elements displayed on the target interface or not; and in response to determining that the field elements corresponding to the sensitive field element table exist in the plurality of field elements, performing watermark rendering on the target interface according to preset watermark style information.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart 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 software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first determination unit, a second determination unit, and a rendering unit. For example, the rendering unit may be further described as a "unit performing watermark rendering on the target interface according to preset watermark pattern information in response to determining that a field element corresponding to the sensitive field element table exists in the field elements".
The functions described herein above 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: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (7)

1. An interface watermark rendering method, comprising:
in response to the detection of the selection operation acting on a target interface, determining whether watermark configuration information matched with the interface identifier exists in a watermark configuration information group stored by a local server according to the interface identifier of the target interface, wherein the watermark configuration information in the watermark configuration information group comprises: page identification and watermark pattern information;
responding to the fact that the watermark configuration information matched with the interface identification does not exist, and determining whether field elements corresponding to a preset sensitive field element table exist in a plurality of field elements displayed by the target interface or not;
in response to determining that the field elements corresponding to the sensitive field element table exist in the plurality of field elements, performing watermark rendering on the target interface according to preset watermark style information;
in response to determining that no field element corresponding to the sensitive field element table exists in the plurality of field elements displayed by the target interface and detecting that a user performs a selection operation on a watermark configuration control, displaying a watermark configuration page, wherein a watermark configuration input box and a rendering control are displayed in the watermark configuration page, and the watermark configuration input box is used for displaying watermark style information input by the user;
in response to the detection of the selection operation of the user on the rendering control, performing watermark rendering on the target interface according to the watermark style information input by the user;
combining the page identification of the target interface and the watermark style information input by the user to generate user watermark configuration information;
storing the user watermark configuration information to the local server for calling;
in response to determining that no field element corresponding to the sensitive field element table exists in the plurality of field elements displayed by the target interface and detecting a selection operation acting on a watermark selection control, displaying a watermark information selection page, wherein the watermark information selection page displays the watermark configuration information group;
in response to detecting a selection operation acting on any one of the watermark configuration information groups, performing watermark rendering on the target interface according to any one of the watermark configuration information;
wherein, the watermark configuration information in the watermark configuration information group is obtained by the following steps:
responding to the detection of the selection operation of a target user on a watermark management page, and displaying the watermark management page, wherein the watermark management page displays a watermark newly-added control;
responding to the selection operation of the target user on the watermark adding control, and displaying a watermark configuration page, wherein the watermark configuration page displays a page identification input box, a watermark configuration input box and a storage control, the page identification input box is used for displaying the page identification input by the target user, the watermark configuration input box is used for displaying the watermark style information input by the target user, and the storage control is used for synchronously storing the page identification input into the page identification input box by the target user and the watermark style information input into the watermark configuration input box into the local server;
and synchronously storing the page identifier in the page identifier input box and the watermark style information in the watermark configuration input box into the local server in response to the detection of the selection operation of the target user on the storage control.
2. The method of claim 1, wherein the method further comprises:
in response to determining that the watermark configuration information matched with the interface identifier exists, selecting the watermark configuration information matched with the interface identifier from the watermark configuration information group as first alternative watermark configuration information;
and performing watermark rendering on the target interface according to the first alternative watermark configuration information.
3. The method of claim 1, wherein the method further comprises:
and in response to the fact that the watermark configuration information corresponding to the page identifier in the page identifier input box exists in the plurality of watermark configuration information stored by the local server, replacing the watermark pattern information included in the watermark configuration information corresponding to the page identifier in the page identifier input box with the watermark pattern information in the watermark configuration input box.
4. The method of claim 1, wherein the displaying a watermark configuration page further comprises:
displaying an application name input box and a plug-in configuration input box in the watermark configuration page, wherein the application name input box is used for displaying an application name input by the target user, and the plug-in configuration input box is used for displaying plug-in information input by the target user;
and displaying a browser configuration option box in the watermark configuration page, wherein the browser configuration option box is used for displaying the browser identifier selected by the target user.
5. An interface watermark rendering apparatus comprising:
the first determining unit is configured to determine whether watermark configuration information matched with an interface identifier exists in a watermark configuration information group stored by a local server according to the interface identifier of a target interface in response to detection of a selection operation acting on the target interface, wherein the watermark configuration information in the watermark configuration information group comprises: page identification and watermark pattern information; the watermark configuration information in the watermark configuration information group is obtained by the following steps:
responding to the detection of the selection operation of a target user on a watermark management page, and displaying the watermark management page, wherein the watermark management page displays a watermark newly-added control;
responding to the selection operation of the target user on the watermark adding control, and displaying a watermark configuration page, wherein the watermark configuration page displays a page identification input box, a watermark configuration input box and a storage control, the page identification input box is used for displaying the page identification input by the target user, the watermark configuration input box is used for displaying the watermark style information input by the target user, and the storage control is used for synchronously storing the page identification input into the page identification input box by the target user and the watermark style information input into the watermark configuration input box into the local server;
synchronously storing the page identifier in the page identifier input box and the watermark style information in the watermark configuration input box into the local server in response to detecting the selection operation of the target user on the storage control;
a second determining unit, configured to determine whether a field element corresponding to a preset sensitive field element table exists in a plurality of field elements displayed by the target interface in response to determining that watermark configuration information matching the interface identifier does not exist;
a rendering unit configured to perform watermark rendering on the target interface according to preset watermark style information in response to determining that a field element corresponding to the sensitive field element table exists in the plurality of field elements;
the display unit is configured to display a watermark configuration page in response to determining that no field element corresponding to the sensitive field element table exists in a plurality of field elements displayed by the target interface and detecting a selection operation of a user on a watermark configuration control, wherein a watermark configuration input box and a rendering control are displayed in the watermark configuration page, and the watermark configuration input box is used for displaying watermark style information input by the user;
the watermark rendering unit is configured to respond to the detection of the selection operation of the user on the rendering control, and perform watermark rendering on the target interface according to the watermark style information input by the user;
the combination unit is configured to combine the page identifier of the target interface and the watermark style information input by the user to generate user watermark configuration information;
a saving unit configured to save the user watermark configuration information to the local server for invocation;
a page display unit configured to display a watermark information selection page in response to determining that no field element corresponding to the sensitive field element table exists among a plurality of field elements displayed by the target interface and detecting a selection operation acting on a watermark selection control, wherein the watermark information selection page displays the watermark configuration information group;
and the page rendering unit is configured to respond to the detection of the selection operation acting on any one of the watermark configuration information groups, and perform watermark rendering on the target interface according to any one of the watermark configuration information.
6. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
7. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-4.
CN202111023817.7A 2021-09-02 2021-09-02 Interface watermark rendering method and device, electronic equipment and computer readable medium Active CN113468487B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111023817.7A CN113468487B (en) 2021-09-02 2021-09-02 Interface watermark rendering method and device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111023817.7A CN113468487B (en) 2021-09-02 2021-09-02 Interface watermark rendering method and device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN113468487A CN113468487A (en) 2021-10-01
CN113468487B true CN113468487B (en) 2021-12-31

Family

ID=77867111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111023817.7A Active CN113468487B (en) 2021-09-02 2021-09-02 Interface watermark rendering method and device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN113468487B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2693395A1 (en) * 2012-08-01 2014-02-05 Thomson Licensing A user device, a second screen system and a method for rendering second screen information on a second screen
CN108664774A (en) * 2018-04-16 2018-10-16 深圳市联软科技股份有限公司 A kind of timely method, apparatus, storage medium and system for generating watermark
CN110851801A (en) * 2019-09-24 2020-02-28 云深互联(北京)科技有限公司 Resource data page identification method and device based on uniform resource locator

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2693395A1 (en) * 2012-08-01 2014-02-05 Thomson Licensing A user device, a second screen system and a method for rendering second screen information on a second screen
CN108664774A (en) * 2018-04-16 2018-10-16 深圳市联软科技股份有限公司 A kind of timely method, apparatus, storage medium and system for generating watermark
CN110851801A (en) * 2019-09-24 2020-02-28 云深互联(北京)科技有限公司 Resource data page identification method and device based on uniform resource locator

Also Published As

Publication number Publication date
CN113468487A (en) 2021-10-01

Similar Documents

Publication Publication Date Title
CN112015314B (en) Information display method and device, electronic equipment and medium
WO2020216204A1 (en) Information acquisition method and apparatus
CN110007936B (en) Data processing method and device
CN113191726A (en) Task detail interface display method, device, equipment and computer readable medium
CN111459364B (en) Icon updating method and device and electronic equipment
US20220374538A1 (en) Permission control method and device and electronic equipment
CN113268761B (en) Information encryption method and device, electronic equipment and computer readable medium
CN110704833A (en) Data permission configuration method, device, electronic device and storage medium
CN112800363A (en) Page display method and device, electronic equipment and computer readable medium
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN110708238B (en) Method and apparatus for processing information
CN111756953A (en) Video processing method, device, equipment and computer readable medium
CN110619101B (en) Method and apparatus for processing information
CN113468487B (en) Interface watermark rendering method and device, electronic equipment and computer readable medium
CN115344688A (en) Business data display method and device, electronic equipment and computer readable medium
CN114428925A (en) Page rendering method and device, electronic equipment and computer readable medium
CN113296771A (en) Page display method, device, equipment and computer readable medium
CN113778566A (en) Native application calling method and device, electronic equipment and computer readable medium
CN112148417A (en) Page adjusting method and device, electronic equipment and computer readable medium
CN111598544A (en) Method and apparatus for processing information
CN114356788B (en) Application program detection method, device, equipment and medium based on user information
CN113641966B (en) Application integration method, system, equipment and medium
CN115375262A (en) Data generation method, apparatus, device, computer readable medium and program product
CN115022053A (en) Method, device and system for accessing block chain network
CN116700844A (en) Page display method, page display device, electronic equipment and computer readable medium

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
GR01 Patent grant
GR01 Patent grant
CB03 Change of inventor or designer information

Inventor after: Chen Jinhua

Inventor after: Feng Dong

Inventor after: Ji Xiangchun

Inventor after: Qi Guodong

Inventor after: Tang Yu

Inventor after: Yang Zhengjie

Inventor after: Zhu Ying

Inventor before: Chen Jinhua

Inventor before: Feng Dong

Inventor before: Ji Xiangchun

Inventor before: Qi Guodong

Inventor before: Tang Yu

Inventor before: Yang Zhengjie

Inventor before: Zhu Ying

CB03 Change of inventor or designer information
TR01 Transfer of patent right

Effective date of registration: 20231107

Address after: Building 4, Dongxu International Center, yard 2, sihezhuang Road, Fengtai District, Beijing 100070 (South Building of block a)

Patentee after: BEIJING GUODIANTONG NETWORK TECHNOLOGY Co.,Ltd.

Patentee after: STATE GRID INFORMATION & TELECOMMUNICATION GROUP Co.,Ltd.

Patentee after: State Grid Siji Location Service Co.,Ltd.

Address before: 100085 32-3-4108-4109, building 32, Chuangye Middle Road, Haidian District, Beijing

Patentee before: BEIJING GUODIANTONG NETWORK TECHNOLOGY Co.,Ltd.

Patentee before: STATE GRID INFORMATION & TELECOMMUNICATION GROUP Co.,Ltd.

TR01 Transfer of patent right