CN111914226A - Background picture generation method and device - Google Patents

Background picture generation method and device Download PDF

Info

Publication number
CN111914226A
CN111914226A CN202010784957.5A CN202010784957A CN111914226A CN 111914226 A CN111914226 A CN 111914226A CN 202010784957 A CN202010784957 A CN 202010784957A CN 111914226 A CN111914226 A CN 111914226A
Authority
CN
China
Prior art keywords
target element
picture
watermark information
background picture
generating
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
CN202010784957.5A
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.)
Xsky Beijing Data Technology Corp ltd
Original Assignee
Xsky Beijing Data Technology Corp 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 Xsky Beijing Data Technology Corp ltd filed Critical Xsky Beijing Data Technology Corp ltd
Priority to CN202010784957.5A priority Critical patent/CN111914226A/en
Publication of CN111914226A publication Critical patent/CN111914226A/en
Pending legal-status Critical Current

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)
  • Image Processing (AREA)

Abstract

The invention discloses a method and a device for generating a background picture. Wherein, the method comprises the following steps: acquiring a target element of a browser page; writing the watermark information into the target element; and generating a background picture of the browser page according to the target element containing the watermark information. The invention solves the technical problem that the method for generating the watermark by relying on the server side or the browser side is not perfect in the related technology.

Description

Background picture generation method and device
Technical Field
The invention relates to the technical field of image processing, in particular to a method and a device for generating a background picture.
Background
At present, in order to prevent illegal screenshot, watermark information is added to a plurality of pages in a webpage to identify the source of the screenshot, so that the screenshot can be traced after being leaked out. In a common watermark generation method, watermark information is generally transmitted to a server at a front end, the watermark information is embedded into a picture at the server and then returned to the front end, and the front end uses the picture as a background to display the watermark; or the watermark information is put into an element as text by JavaScript at the front end, and then the element hierarchy is put under the real content by CSS to achieve the watermark effect.
However, in the current method for generating the watermark through the server, the information needs to be transmitted to the server first, then the server waits for the return data, the information can be generated only by depending on the back end, and when the network condition is not good, the interaction time of the information back and forth is longer. The front end generates the watermark by using JavaScript, and because the watermark information exists in the element, the copying of normal content can be influenced; if the content area is large, the watermark cannot be automatically repeated when needing repeated display, and the watermark needs to be manually processed according to the size of the watermark and the size of the content.
Aiming at the problem that the method for generating the watermark by relying on the server side or the browser side is not perfect in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for generating a background picture, which are used for at least solving the technical problem that the method for generating a watermark by depending on a server side or a browser side is not perfect in the related technology.
According to an aspect of the embodiments of the present invention, there is provided a method for generating a background picture, including: acquiring a target element of a browser page; writing watermark information into the target element; and generating a background picture of the browser page according to the target element containing the watermark information.
Optionally, before obtaining the target element of the browser page, the method further includes: inserting the target element in the browser page; setting display parameters of the target element, wherein the display parameters comprise at least one of the following: width, height.
Optionally, after setting the display parameters of the target element, the method further comprises: setting the style of the target element to a hidden state.
Optionally, before writing the watermark information into the target element, the method further comprises: setting a pattern of the watermark information, wherein the pattern comprises at least one of: font, font size, color, rotation, background picture.
Optionally, writing watermark information into the target element comprises: acquiring a calling object of the target element; and writing the watermark information into the target element based on the calling object.
Optionally, generating a background picture of the browser page according to the target element containing the watermark information includes: determining a target area in the browser page; acquiring a picture of a target element containing the watermark information in a preset encoding mode; and taking the picture as a background picture of the target area, wherein the background picture is used for displaying the watermark information.
Optionally, taking the picture as a background picture of the target region includes: acquiring a first display parameter of the picture and a second display parameter of the target area; directly taking the picture as a background picture of the target area under the condition that the first display parameter is equal to the second display parameter; and under the condition that the first display parameter is smaller than or larger than the second display parameter, adjusting the first display parameter, and taking the picture of the adjusted first display parameter as a background picture of the target area.
Optionally, after acquiring the first display parameter of the picture and the second display parameter of the target region, the method further includes: and taking N times of pictures as background pictures of the target area under the condition that the second display parameters comprise N times of the first display parameters, wherein N is an integer larger than or equal to 1.
According to another aspect of the embodiments of the present invention, there is also provided a device for generating a background picture, including: the acquisition module is used for acquiring a target element of a browser page; a writing module, configured to write the watermark information into the target element; and the generating module is used for generating a background picture of the browser page according to the target element containing the watermark information.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the method for generating a background picture according to any one of the foregoing descriptions.
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program, where the program executes the method for generating a background picture according to any one of the above descriptions.
In the embodiment of the invention, the target element of the browser page is obtained; writing watermark information into the target element; according to the method for generating the background picture of the browser page, the watermark information is written into the target element of the browser page to generate the background picture of the browser page, and therefore the purpose that the background picture can be flexibly generated in a front-end browser without interaction with a server side is achieved, the technical effect of quickly and efficiently generating the background picture is achieved, and the technical problem that the method for generating the watermark by relying on the server side or the browser side is not complete in related technologies is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a background picture generation method according to an embodiment of the present invention;
FIG. 2 is a flow diagram of a method of generating a background picture in accordance with an alternative embodiment of the present invention;
fig. 3 is a schematic diagram of a background picture generation apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of description, some nouns or terms appearing in the present invention will be described in detail below.
Application programming interface: application Programming Interface, API for short.
canvas: an HTML tag is generally used to draw in a browser.
Cascading style sheet: (Cascading Style Sheets, CSS for short), a language for controlling the presentation Style of HTML tags
Document object model: (Document Object Mode, abbreviated DOM), a platform and language independent application program interface.
Base 64: a coding mode can be used for storing picture information and directly recognized by a browser.
Example 1
According to an embodiment of the present invention, there is provided an embodiment of a method for generating a background picture, it should be noted that the steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that here.
Fig. 1 is a flowchart of a background picture generation method according to an embodiment of the present invention, and as shown in fig. 1, the background picture generation method includes the following steps:
step S102, acquiring a target element of a browser page;
the browser page includes, but is not limited to, a browser page of a computer, a browser page of a tablet, a browser page of a smartphone, and the like. The target element exists in the browser page, and can be obtained in various ways such as preset, browser default and the like, for example, a target element can be inserted in the browser page in advance. It should be noted that the target element includes, but is not limited to, a canvas element.
Step S104, writing the watermark information into the target element;
the watermark information at least comprises character information and picture information, wherein the character information at least comprises the font, the font size, the color, the rotation and the like of the watermark information, and the picture information at least comprises a background picture and the like.
And step S106, generating a background picture of the browser page according to the target element containing the watermark information.
It should be noted that, the background picture of the browser page is generated by the target element containing the watermark information, and the background picture can be used for showing the watermark information.
Through the steps, the target element of the browser page can be obtained firstly, then the watermark information is written into the target element, and then the background picture of the browser page is generated according to the target element containing the watermark information.
Optionally, before obtaining the target element of the browser page, the method further includes: inserting a target element in a browser page; setting display parameters of the target element, wherein the display parameters comprise at least one of the following: width, height.
As an alternative embodiment, before obtaining the target element of the browser page, at least one target element needs to be inserted into the browser page, and it should be noted that drawing can be performed in the browser page through the target element. Then, display parameters of the target element may be set, for example, a width, a height, and the like of the target element may be set. The target elements of the browser page meeting the requirements can be obtained through the embodiment.
Optionally, after setting the display parameters of the target element, the method further includes: the style of the target element is set to a hidden state.
As an alternative embodiment, the style of the target element may be set to be in a hidden state, and specifically, the display attribute in the style of the target element is set by using the CSS, for example, none indicates hidden, other values indicate not to be hidden, and the target element may be hidden by setting the display attribute to none. By the implementation method, the target element cannot be displayed in the page in the subsequent operation process, and the page is not influenced when a user normally uses the page.
Optionally, before writing the watermark information into the target element, the method further includes: setting a pattern of the watermark information, wherein the pattern comprises at least one of the following: font, font size, color, rotation, background picture.
As an alternative embodiment, the pattern of the watermark information includes, but is not limited to, font size, color, rotation, background picture, etc. The font includes various types, such as a song style, a black body, a regular style, and the like, and in addition, the font size, the color, the rotation, and the like in the style of the watermark information may be modified. Therefore, the pattern of the watermark information can be adjusted according to application requirements. In addition, the background picture can be set according to the needs, and the color of the background picture can be flexibly adjusted.
Optionally, writing the watermark information to the target element comprises: acquiring a calling object of a target element; based on the calling object, the watermark information is written into the target element.
As an alternative embodiment, the watermark information may be written to the target element based on the invocation object of the target element. It should be noted that the invocation object of the target element may be preset, or may be default for the system, and is used to implement writing of watermark information into the target element.
Optionally, generating a background picture of the browser page according to the target element containing the watermark information includes: determining a target area in a browser page; acquiring a picture of a target element containing watermark information in a preset encoding mode; and taking the picture as a background picture of the target area, wherein the background picture is used for displaying the watermark information.
The target area is an area to be watermarked in the browser page, and in a specific implementation process, the target area may be all the browser pages or a local browser page.
The predetermined encoding manner is not limited in the specific implementation process, and optionally, the predetermined encoding manner may be Base64 encoding.
As an optional embodiment, first, a target area in a browser page needs to be determined, then, a picture of a target element containing watermark information in a predetermined encoding manner is obtained, and then, the picture of the target element containing watermark information in the predetermined encoding manner is used as a background picture of the target area. It should be noted that, in practical applications, the background picture may be used to display watermark information.
Optionally, taking the picture as a background picture of the target area includes: acquiring a first display parameter of a picture and a second display parameter of a target area; directly taking the picture as a background picture of the target area under the condition that the first display parameter is equal to the second display parameter; and under the condition that the first display parameter is smaller than or larger than the second display parameter, adjusting the first display parameter, and taking the picture of the adjusted first display parameter as a background picture of the target area.
As an alternative embodiment, the first display parameter and the second display parameter both include a width and a height (or a length), and the first display parameter and the second display parameter may be expressed in various manners, for example, in units of lengths, in units of pixels, and are not limited in the specific implementation process. For convenience of comparison, the comparison is generally performed in the same expression.
As an optional embodiment, a first display parameter of the picture and a second display parameter of the target area are respectively obtained. If the first display parameter is equal to the second display parameter, directly taking the picture as a background picture of the target area; if the first display parameter is smaller or larger than the second display parameter, the first display parameter may be adjusted first, and then the picture of the adjusted first display parameter is used as the background picture of the target area. Specifically, when the first display parameter is smaller than or larger than the second display parameter, the first display parameter may be adjusted to be the same as the second display parameter, and at this time, the picture corresponding to the adjustment of the first display parameter may also be adjusted, so that the picture is used as the background picture of the target area. By the embodiment, the picture size can be automatically adapted to the target area, and the background picture matched with the target area is generated.
Optionally, after acquiring the first display parameter of the picture and the second display parameter of the target region, the method further includes: and taking the N times of pictures as background pictures of the target area under the condition that the second display parameters comprise N times of the first display parameters, wherein N is an integer larger than or equal to 1.
As an optional embodiment, in a case that the second display parameter includes N times of the number of the first display parameters, the N times of the number of the pictures is taken as the background pictures of the target area, where N is an integer greater than or equal to 1. Specifically, the image may be laid out at a plurality of positions of the target area according to a preset rule, where the preset rule may be a layout manner from top to bottom and from left to right. For example, the second display parameters include 4 times the number of the first display parameters, and 4 pictures may be used as the background pictures of the target region according to the layout mode of any one of 1 × 4, 2 × 2, and 4 × 1. The repeated display of the watermark picture can be automatically realized through the embodiment.
Alternative embodiments of the present invention are described in detail below.
In an optional embodiment of the present invention, a method for flexibly generating a watermark at a browser end is provided, and fig. 2 is a flowchart of a method for generating a background picture according to an optional embodiment of the present invention, as shown in fig. 2, the method for generating a background picture includes the following steps:
firstly, a canvas element is inserted into a browser page, width and height parameters of the canvas element are set according to specific requirements, and the canvas element is acquired by using a DOM API.
Secondly, the style of the CSS is set through the CSS to be hidden, so that the subsequent operation process cannot be displayed in the page, and the normal use of the page by a user is not influenced.
Then, the context is obtained through the canvas API getContext, and then the watermark information is written into the canvas using the context API filetext, before the watermark information is written, the watermark pattern may also be set as required. For example, font size, color, rotation, background picture, etc. are set by font, color, rotation, and drawImage.
After the watermark information is written to the canvas, the Base64 encoding of the picture containing the watermark information can be obtained by calling the canvas API toDataURL.
And finally, finding an element needing to be added with watermark information in the page, and using the Base64 code obtained in the last step as a background picture of the element, namely displaying the watermark information, and simultaneously conveniently using CSS to adjust repeated display of the watermark.
Through the implementation steps, the step of generating the picture can be placed to the browser end, the picture can be generated without a request to the back end, and due to the fact that the decoupling with the back end is achieved, the picture can be generated rapidly when the network is poor.
Example 2
According to another aspect of the embodiment of the present invention, there is further provided a background picture generation apparatus, and fig. 3 is a schematic diagram of the background picture generation apparatus according to the embodiment of the present invention, as shown in fig. 3, the background picture generation apparatus includes: an acquisition module 32, a write module 34, and a generation module 36. The background picture generation apparatus will be described in detail below.
An obtaining module 32, configured to obtain a target element of a browser page; a writing module 34, connected to the obtaining module 32, for writing the watermark information into the target element; and a generating module 36, connected to the writing module 34, for generating a background picture of the browser page according to the target element containing the watermark information.
As can be seen from the above, the operation processing apparatus in this embodiment may first obtain a target element of a browser page through the obtaining module 32, then write watermark information into the target element through the writing module 34, and then the generating module 36 generates a background picture of the browser page according to the target element including the watermark information.
It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; alternatively, the modules may be located in different processors in any combination.
It should be noted here that the above-mentioned obtaining module 32, writing module 34 and generating module 36 correspond to steps S102 to S106 in embodiment 1, and the above-mentioned modules are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to what is disclosed in embodiment 1 above. It should be noted that the modules described above as part of an apparatus may be implemented in a computer system such as a set of computer-executable instructions.
Optionally, before obtaining the target element of the browser page, the apparatus further includes: the inserting module is used for inserting the target element into the browser page; the display device comprises a first setting module, a second setting module and a display module, wherein the first setting module is used for setting display parameters of a target element, and the display parameters comprise at least one of the following: width, height.
Optionally, after setting the display parameters of the target element, the apparatus further includes: and the second setting module is used for setting the style of the target element to be in a hidden state.
Optionally, before writing the watermark information into the target element, the apparatus further includes: a third setting module, configured to set a pattern of the watermark information, where the pattern includes at least one of: font, font size, color, rotation, background picture.
Optionally, the writing module includes: the first acquisition unit is used for acquiring a calling object of the target element; and the writing unit is used for writing the watermark information into the target element based on the calling object.
Optionally, the generating module includes: the determining unit is used for determining a target area in the browser page; the second acquisition unit is used for acquiring a picture of a target element containing watermark information in a preset encoding mode; and the processing unit is used for taking the picture as a background picture of the target area, wherein the background picture is used for displaying the watermark information.
Optionally, the processing unit includes: the acquisition subunit is used for acquiring a first display parameter of the picture and a second display parameter of the target area; the first processing subunit is used for directly taking the picture as a background picture of the target area under the condition that the first display parameter is equal to the second display parameter; and the second processing subunit is used for adjusting the first display parameter under the condition that the first display parameter is smaller than or larger than the second display parameter, and taking the picture of the adjusted first display parameter as the background picture of the target area.
Optionally, after acquiring the first display parameter of the picture and the second display parameter of the target region, the apparatus further includes: and the third processing subunit is used for taking the N times of pictures as background pictures of the target area under the condition that the second display parameters comprise the N times of the first display parameters, wherein N is an integer which is more than or equal to 1.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and when the program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the method for generating a background picture in any one of the above.
Optionally, in this embodiment, the computer-readable storage medium may be located in any one of a group of computer terminals in a computer network or in any one of a group of mobile terminals, and the computer-readable storage medium includes a stored program.
Optionally, the program when executed controls an apparatus in which the computer-readable storage medium is located to perform the following functions: acquiring a target element of a browser page; writing the watermark information into the target element; and generating a background picture of the browser page according to the target element containing the watermark information.
Example 4
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program, where the program executes the method for generating a background picture according to any one of the above.
The embodiment of the application provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program to realize the following steps: acquiring a target element of a browser page; writing the watermark information into the target element; and generating a background picture of the browser page according to the target element containing the watermark information.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: acquiring a target element of a browser page; writing the watermark information into the target element; and generating a background picture of the browser page according to the target element containing the watermark information.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (11)

1. A method for generating a background picture, comprising:
acquiring a target element of a browser page;
writing watermark information into the target element;
and generating a background picture of the browser page according to the target element containing the watermark information.
2. The method of claim 1, wherein prior to obtaining the target element of the browser page, the method further comprises:
inserting the target element in the browser page;
setting display parameters of the target element, wherein the display parameters comprise at least one of the following: width, height.
3. The method of claim 2, wherein after setting the display parameters of the target element, the method further comprises:
setting the style of the target element to a hidden state.
4. The method of claim 1, wherein prior to writing watermark information to the target element, the method further comprises:
setting a pattern of the watermark information, wherein the pattern comprises at least one of: font, font size, color, rotation, background picture.
5. The method of claim 1, wherein writing watermark information to the target element comprises:
acquiring a calling object of the target element;
and writing the watermark information into the target element based on the calling object.
6. The method of claim 1, wherein generating the background picture of the browser page according to the target element containing the watermark information comprises:
determining a target area in the browser page;
acquiring a picture of a target element containing the watermark information in a preset encoding mode;
and taking the picture as a background picture of the target area, wherein the background picture is used for displaying the watermark information.
7. The method of claim 6, wherein taking the picture as a background picture of the target region comprises:
acquiring a first display parameter of the picture and a second display parameter of the target area;
directly taking the picture as a background picture of the target area under the condition that the first display parameter is equal to the second display parameter; and under the condition that the first display parameter is smaller than or larger than the second display parameter, adjusting the first display parameter, and taking the picture of the adjusted first display parameter as a background picture of the target area.
8. The method of claim 7, wherein after obtaining the first display parameters of the picture and the second display parameters of the target area, the method further comprises:
and taking N times of pictures as background pictures of the target area under the condition that the second display parameters comprise N times of the first display parameters, wherein N is an integer larger than or equal to 1.
9. An apparatus for generating a background picture, comprising:
the acquisition module is used for acquiring a target element of a browser page;
a writing module, configured to write the watermark information into the target element;
and the generating module is used for generating a background picture of the browser page according to the target element containing the watermark information.
10. A computer-readable storage medium, comprising a stored program, wherein when the program runs, the computer-readable storage medium controls a device to execute the method for generating a background picture according to any one of claims 1 to 8.
11. A processor, configured to execute a program, wherein the program executes the method for generating a background picture according to any one of claims 1 to 8.
CN202010784957.5A 2020-08-06 2020-08-06 Background picture generation method and device Pending CN111914226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010784957.5A CN111914226A (en) 2020-08-06 2020-08-06 Background picture generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010784957.5A CN111914226A (en) 2020-08-06 2020-08-06 Background picture generation method and device

Publications (1)

Publication Number Publication Date
CN111914226A true CN111914226A (en) 2020-11-10

Family

ID=73287961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010784957.5A Pending CN111914226A (en) 2020-08-06 2020-08-06 Background picture generation method and device

Country Status (1)

Country Link
CN (1) CN111914226A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306619A (en) * 2020-12-02 2021-02-02 广州橙行智动汽车科技有限公司 Screenshot method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110276175A (en) * 2019-06-27 2019-09-24 北京金山云网络技术有限公司 Watermark generation method, device, client and server in webpage
CN111191414A (en) * 2019-11-11 2020-05-22 苏州亿歌网络科技有限公司 Page watermark generation method, identification method, device, equipment and storage medium
CN111488559A (en) * 2020-04-10 2020-08-04 腾讯科技(深圳)有限公司 Webpage watermark generation method and device, computer equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110276175A (en) * 2019-06-27 2019-09-24 北京金山云网络技术有限公司 Watermark generation method, device, client and server in webpage
CN111191414A (en) * 2019-11-11 2020-05-22 苏州亿歌网络科技有限公司 Page watermark generation method, identification method, device, equipment and storage medium
CN111488559A (en) * 2020-04-10 2020-08-04 腾讯科技(深圳)有限公司 Webpage watermark generation method and device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306619A (en) * 2020-12-02 2021-02-02 广州橙行智动汽车科技有限公司 Screenshot method and device

Similar Documents

Publication Publication Date Title
US20020174145A1 (en) Automatic data formatting using a hypertext language
AU2019226143B2 (en) Modifying native document comments in a preview
AU2012325747A1 (en) Systems, methods, and interfaces for display of inline content and block level content on an access device
CN105528408A (en) Page display method and apparatus
US9117314B2 (en) Information output apparatus, method, and recording medium for displaying information on a video display
CN110489943B (en) Page watermark tamper-proofing method and system
CN110990010B (en) Method and device for generating software interface code
CN104915186B (en) A kind of method and apparatus making the page
CN104820589A (en) Method and device for dynamically adapting webpage
CN104765528A (en) Display method and device of virtual keyboard
CN108109187A (en) E-seal generation method, device and electronic equipment
CN107766011B (en) Printing control method, device and system
WO2018160423A1 (en) Markup code generator
CN109815451B (en) PDF (Portable document Format) generation method, device and equipment
CN111767488A (en) Article display method, electronic device and storage medium
CN114417226A (en) Page generation method, display method, device, electronic equipment and storage medium
CN111914226A (en) Background picture generation method and device
JP6794112B2 (en) Terminal devices, information processing methods, and programs
EP1873655A2 (en) Deterministic rendering of active content
CN108121693B (en) Slide beautifying method and device
US9965446B1 (en) Formatting a content item having a scalable object
CN113297425B (en) Document conversion method, device, server and storage medium
CN115904167A (en) Processing method and device of webpage icon, storage medium and electronic equipment
CN102099806B (en) Information output apparatus, information output method, and recording medium
CN112882665A (en) Method and device for generating printing template, electronic equipment and storage 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
CB02 Change of applicant information

Address after: 100094 101, floors 1-5, building 7, courtyard 3, fengxiu Middle Road, Haidian District, Beijing

Applicant after: Beijing Xingchen Tianhe Technology Co.,Ltd.

Address before: 100097 room 806-1, block B, zone 2, Jinyuan times shopping center, indigo factory, Haidian District, Beijing

Applicant before: XSKY BEIJING DATA TECHNOLOGY Corp.,Ltd.

CB02 Change of applicant information