CN116029888A - Watermark adding method, medium and device for remote desktop system - Google Patents

Watermark adding method, medium and device for remote desktop system Download PDF

Info

Publication number
CN116029888A
CN116029888A CN202310189161.9A CN202310189161A CN116029888A CN 116029888 A CN116029888 A CN 116029888A CN 202310189161 A CN202310189161 A CN 202310189161A CN 116029888 A CN116029888 A CN 116029888A
Authority
CN
China
Prior art keywords
window
receiving end
watermark picture
picture
watermark
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
CN202310189161.9A
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.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics 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 Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202310189161.9A priority Critical patent/CN116029888A/en
Publication of CN116029888A publication Critical patent/CN116029888A/en
Pending legal-status Critical Current

Links

Images

Abstract

The present disclosure relates to a method, medium, and apparatus for watermarking of remote desktop systems. The method comprises the following steps: the receiving end obtains a watermark picture and sets the watermark picture as a target watermark picture; the receiving end generates a first window and displays the target watermark picture through the first window; the receiving end receives the coded image sent by the sending end, decodes the coded image and displays the decoded image through a second window; the receiving end covers the first window on the second window. The watermark effect is only displayed by the R end processing, the flow of the S end is not affected at all, so that the performance of the S end is not affected, and the watermark effect is not affected by the software set-top behavior of any S end.

Description

Watermark adding method, medium and device for remote desktop system
Technical Field
The embodiment of the disclosure relates to the technical field of remote desktops, in particular to a method, medium and equipment for adding watermarks for a remote desktop system.
Background
In some scenes with higher requirements on the safety of the picture content of the computer desktop, when a user shoots or captures and saves related image content, the image needs to have obvious copyright marks to protect related rights and interests, so that certain legal constraint is ensured in the propagation process of the image. A feasible method is to add a watermark mark in a desktop image, and even if a user shoots or captures a picture, the stored picture has obvious marks to identify the source, so that the user needs to carefully consider whether the use range and the mode of the picture cause legal disputes during sharing, thereby playing a certain constraint role.
In the related art, one way is that after the data is collected at the picture sending end (S end for short), watermark information is added into the data before the data is sent back to the encoder to realize the watermark function, but this method is to do a large amount of memory operations, especially if the S end has capacity to hard encode, the data collected originally can be directly sent to the hardware encoder for encoding without copy into the memory and then sent to the receiving end (R end for short), but because the watermark adding needs to be operated by using a Central Processing Unit (CPU), the collected data must be copied (copy) to the memory for operation, so that the processing performance of each frame of data is affected by three parts. After the three steps are completed, the encoding module can be sent to continue the subsequent flow, so that the frame rate of the whole remote desktop system is reduced, the influence is obvious especially on equipment with weaker S-terminal performance, and users can feel bad experiences such as picture blocking and the like under certain scenes with high frame rate requirements.
The other mode is that a full-screen transparent window program with watermark information is started along with the system at the S end and is always displayed at the top end, so that any picture displayed on the desktop is displayed under the coverage of the watermark, and the mode can achieve the effect of realizing the desktop watermark under the condition that the performance of the S end is hardly influenced. However, this approach has its drawbacks due to some limitations of the operating system or other software-induced effects: firstly, the program and daemon thereof can be maliciously stopped to run, and secondly, a login interface of the system cannot be displayed; in addition, if other programs are also on the layer on the preemption top, since the watermark window is also displayed on the preemption top, the flicker of the picture can be caused at this time, so that the picture experience is affected.
Regarding the above technical solution, the applicant has found that there is a problem that in the case of watermarking, there is a problem that the frame rate of the remote desktop system is reduced, or there is a problem that the watermark window preempts the overhead display.
Accordingly, there is a need to improve one or more problems in the related art as described above.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
Embodiments of the present disclosure provide a method, medium, and apparatus for watermarking a remote desktop system, so as to solve at least one or more of the problems in the related art.
The invention adopts the following technical scheme:
in a first aspect, the present invention provides a method for watermarking a remote desktop system, comprising:
the receiving end obtains a watermark picture and sets the watermark picture as a target watermark picture;
the receiving end generates a first window and displays the target watermark picture through the first window;
the receiving end receives the coded image sent by the sending end, decodes the coded image and displays the decoded image through a second window;
the receiving end always covers the first window on the second window.
Optionally, the method further comprises:
the receiving end receives the updated watermark picture sent by the sending end and updates the target watermark picture according to the updated watermark picture;
and the receiving end displays the target watermark picture through the first window.
Optionally, the step of obtaining the watermark picture by the receiving end includes:
and the receiving end receives the watermark picture synchronized by the transmitting end and the server.
Optionally, the receiving end displays the target watermark picture through the first window, including:
displaying the target watermark picture as a background image of the first window; the watermark picture is a picture with transparent background.
Optionally, the watermark picture is a PNG format picture.
Optionally, the step of obtaining the watermark picture by the receiving end includes:
the receiving terminal selects a target transmitting terminal from a transmitting terminal list and initiates connection to the target transmitting terminal;
and after the connection is established with the target sending end, acquiring the watermark picture from the target sending end.
In a second aspect, the present invention also provides a method for watermarking a remote desktop system,
the method comprises the steps that a sending end generates a watermark picture corresponding to a first window and used for a receiving end to generate the first window;
the sending end sends the watermark picture to the receiving end;
the sending end generates a coded image corresponding to the second window generated by the receiving end;
the transmitting end transmits the coded image to the receiving end;
the first window is used for always covering the second window at the receiving end.
Optionally, the step of generating, by the sending end, the watermark picture corresponding to the first window by the receiving end includes:
and the transmitting end receives the watermark picture transmitted by the server.
In a third aspect, the present invention provides a computer readable storage medium having stored thereon a computer program which is loaded and executed by a processor to implement the steps of the watermarking method according to any of the embodiments described above.
In a fourth aspect, the present invention provides an electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the steps of the watermarking method according to any of the above embodiments via execution of the executable instructions.
In the embodiment of the disclosure, since the watermark effect is only displayed by the R-terminal processing, the flow of the S-terminal is not affected at all, so that the performance of the S-terminal is not affected, and the watermark effect is not affected by the software set-top behavior of any S-terminal.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
Fig. 1 shows a flow diagram of a method of watermarking in an exemplary embodiment of the present disclosure;
fig. 2 shows a schematic flow diagram at a receiving end in an exemplary embodiment of the present disclosure;
fig. 3 shows a flow diagram of another method of watermarking in an exemplary embodiment of the present disclosure;
fig. 4 shows a flow diagram at a transmitting end in an exemplary embodiment of the present disclosure;
fig. 5 illustrates a schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure;
fig. 6 illustrates a schematic diagram of a storage medium in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
There is first provided in this example embodiment a method for watermarking of a remote desktop system, as shown with reference to fig. 1, which may include the steps of:
step S101: the receiving end acquires the watermark picture and sets the watermark picture as a target watermark picture.
Step S102: and the receiving end generates a first window and displays the target watermark picture through the first window.
Step S103: the receiving end receives the coded image sent by the sending end, decodes the coded image and displays the decoded image through a second window.
Step S104: the receiving end always covers the first window on the second window.
It should be understood that, since the performance is not affected as much as possible, the watermark effect (including login interface) is ensured in the whole process after the system is started, and the phenomenon of picture flickering generated when the top is preempted due to some software is avoided. Since the remote desktop system is a remote presentation of pictures, unlike a personal PC, we can actually consider an improved way. In the remote desktop system, the real desktop runs at the S end, but a user can see that a picture is actually presented at the R end, if a sub-window always positioned at the top layer is realized in R end software, the window is transparent and has watermark information, and then some defects of directly adding the watermark at the S end can be avoided:
the watermark effect is only displayed by the R terminal processing, and the flow of the S terminal is not affected at all, so that the performance of the S terminal is not affected, and the watermark effect is not affected by the software set-top behavior of any S terminal. Because the R-terminal software can be set to display the watermark sub-window after being started and is arranged on the top layer of the software, the watermark effect can be displayed (including a system login interface) in the whole process or any time period of the whole process.
It will also be appreciated that it is necessary to ensure that the watermark picture is loaded onto the watermark mask window for display before the first frame is displayed, and that the watermark picture is updated and reloaded for display at the first time after the update is received, all after the first connection.
It is also understood that the receiving end receives the encoded image transmitted by the transmitting end. And the R end starts to decode, render and display the received image data of the S end. When the method is used for displaying, the coded image of each frame S end is presented under the shade of the watermark, so that the function of adding the watermark at the R end is achieved, any performance influence of the S end is not caused, and the R end software maintains a transparent sub-window and basically has no burden on the R end on performance.
By the method, the watermark effect is only displayed by the R terminal processing, the flow of the S terminal is not affected at all, so that the performance of the S terminal is not affected, and the watermark effect is not affected by the software set-top behavior of any S terminal.
Next, each step of the above-described method in the present exemplary embodiment will be described in more detail with reference to fig. 1 to 5.
In one embodiment, referring to fig. 2, step S101 may further include:
step S201: the receiving end receives the updated watermark picture sent by the sending end and updates the target watermark picture according to the updated watermark picture.
Step S202: the receiving end displays the target watermark picture through a first window.
It is to be understood that the acquisition from the server: because each account corresponds to one S, after each account passes the verification, the server is actively acquired a corresponding watermark picture once, and when the server updates the watermark picture of the corresponding S, R connected with the current S is checked at the first time and a new watermark picture is pushed to the R to be used as a target watermark picture.
In one embodiment, referring to fig. 2, step S101 may further include:
step S203: the receiving end receives the watermark picture synchronized by the transmitting end and the server.
It should be understood that when the S terminal is powered on, the server may report the updated watermark information picture to the server, and at this time, the server may push the latest watermark information picture to the S terminal device and store the latest watermark information picture in the S terminal.
In one embodiment, step S102 may further include:
and displaying the target watermark picture as a background image of the first window.
The watermark picture is a picture with transparent background.
It should be understood that the R-side takes the watermark picture and generates a corresponding watermark sub-window (first window), the background transparent picture is displayed as the background of the sub-window (first window), the sub-window (first window) is always set as the top-level window of the R-side software, and the R-side does not process any input event, only is used for watermark masking function, and the target watermark picture is displayed.
In one embodiment, step S102 may further include:
the watermark picture is a picture in PNG format.
It should be understood that there are a variety of picture formats with transparent background, and that a PNG format picture may be used in consideration of reducing the amount of interactive data as much as possible to achieve the effect of quick interaction and satisfying the display effect.
In one embodiment, referring to fig. 2, step S101 may further include:
step S204: the receiving end selects a target sending end from the sending end list and initiates connection to the target sending end.
Step S205: and after the connection is established with the target sending end, acquiring the watermark picture from the target sending end.
It should be understood that the software is started at the R end, and the resource list of the S end is displayed after the software is started. Clicking a connection button of an S-terminal resource to connect and acquire a picture thereof. Since the watermark required by each S-terminal may be different and possibly updated, the R-terminal needs to obtain its corresponding watermark picture each time it is connected to S.
There is also provided in this example embodiment a method for watermarking of a remote desktop system, as shown with reference to fig. 3, which may include the steps of:
step S301: the method comprises the steps that a sending end generates a watermark picture corresponding to a first window and used for a receiving end to generate the first window;
step S302: the sending end sends the watermark picture to the receiving end;
step S303: the sending end generates a coded image corresponding to the second window which is used for the receiving end to generate;
step S304: the transmitting end transmits the encoded image to the receiving end.
The first window is used for always covering the second window at the receiving end.
In one embodiment, referring to fig. 4, step S301 may further include:
step S401: and the transmitting end receives the watermark picture transmitted by the server.
It should be understood that when the S terminal is powered on, the server may report the updated watermark information picture to the server, and at this time, the server may push the latest watermark information picture to the S terminal device and store the latest watermark information picture in the S terminal.
There is also provided in this example embodiment an electronic device, with reference to fig. 5, including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the steps of the watermarking method according to any of the embodiments described above via execution of the executable instructions.
The particular manner in which the remote desktop system performs the operations has been described in detail with respect to embodiments of the method of watermarking a remote desktop system, and will not be described in detail herein.
Further, in this example embodiment, a virtual device for implementing the above method is also provided. The virtual device may include virtual modules that implement the steps of the methods described above, respectively.
The specific manner in which the various modules perform the operations have been described in detail in connection with embodiments of the method, and will not be described in detail herein.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied. The components shown as modules or units may or may not be physical units, may be located in one place, or may be distributed across multiple network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the wood disclosure scheme. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
In an exemplary embodiment of the present disclosure, a computer readable storage medium is also provided, on which a computer program is stored, which program, when being executed by, for example, a processor, may implement the steps of the method of watermarking in any of the above embodiments. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the control method section of this specification, when said program product is run on the terminal device.
Referring to fig. 6, a program product 600 for implementing the above-described method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a 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.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium 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 readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like 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 computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A method for watermarking a remote desktop system, comprising:
the receiving end obtains a watermark picture and sets the watermark picture as a target watermark picture;
the receiving end generates a first window and displays the target watermark picture through the first window;
the receiving end receives the coded image sent by the sending end, decodes the coded image and displays the decoded image through a second window;
the receiving end always covers the first window on the second window.
2. The method according to claim 1, wherein the method further comprises:
the receiving end receives the updated watermark picture sent by the sending end and updates the target watermark picture according to the updated watermark picture;
and the receiving end displays the target watermark picture through the first window.
3. The method according to claim 1, wherein the step of obtaining the watermark picture by the receiving end includes:
and the receiving end receives the watermark picture synchronized by the transmitting end and the server.
4. The method of claim 1, wherein the receiving end displaying the target watermark picture through the first window comprises:
displaying the target watermark picture as a background image of the first window; the watermark picture is a picture with transparent background.
5. The method of claim 4, wherein the watermark picture is a PNG format picture.
6. The method according to any one of claims 1-5, wherein the step of obtaining the watermark picture at the receiving end includes:
the receiving terminal selects a target transmitting terminal from a transmitting terminal list and initiates connection to the target transmitting terminal;
after the target transmitting end establishes connection, the watermark picture is acquired from the target transmitting end.
7. A method for watermarking a remote desktop system, comprising:
the method comprises the steps that a sending end generates a watermark picture corresponding to a first window and used for a receiving end to generate the first window;
the sending end sends the watermark picture to the receiving end;
the sending end generates a coded image corresponding to the second window generated by the receiving end;
the transmitting end transmits the coded image to the receiving end;
the first window is used for always covering the second window at the receiving end.
8. The method of claim 7, wherein the step of generating, by the transmitting end, the watermark picture corresponding to the first window for generating by the receiving end includes:
and the transmitting end receives the watermark picture transmitted by the server.
9. A computer readable storage medium having stored thereon a computer program, characterized in that the program is loaded and executed by a processor to implement the steps of the watermarking method according to any of claims 1-8.
10. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the steps of the watermarking method of any of claims 1 to 8 via execution of the executable instructions.
CN202310189161.9A 2023-03-02 2023-03-02 Watermark adding method, medium and device for remote desktop system Pending CN116029888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310189161.9A CN116029888A (en) 2023-03-02 2023-03-02 Watermark adding method, medium and device for remote desktop system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310189161.9A CN116029888A (en) 2023-03-02 2023-03-02 Watermark adding method, medium and device for remote desktop system

Publications (1)

Publication Number Publication Date
CN116029888A true CN116029888A (en) 2023-04-28

Family

ID=86074174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310189161.9A Pending CN116029888A (en) 2023-03-02 2023-03-02 Watermark adding method, medium and device for remote desktop system

Country Status (1)

Country Link
CN (1) CN116029888A (en)

Similar Documents

Publication Publication Date Title
US11632576B2 (en) Live video broadcast method, live broadcast device and storage medium
JP6253110B2 (en) Using the application cache to update installed application resources
CN110647375A (en) Image rendering method and device of cloud desktop and cloud server
CN112312187B (en) Method, device and equipment for screen projection playing of video and storage medium
US20220148624A1 (en) Image display method and apparatus
CN107404418B (en) Internet product testing method, device, equipment and storage medium
US20190371023A1 (en) Method and apparatus for generating multimedia content, and device therefor
EP4131983A1 (en) Method and apparatus for processing three-dimensional video, readable storage medium, and electronic device
CN109168012B (en) Information processing method and device for terminal equipment
CN113784049B (en) Camera calling method of android system virtual machine, electronic equipment and storage medium
US10149000B2 (en) Method and system for remote altering static video content in real time
KR20220144857A (en) Multimedia data publishing method and apparatus, device and recording medium
CN112437318A (en) Content display method, device and system and storage medium
CN107168738A (en) A kind of management method of application tool, device, equipment and storage medium
CN114268796A (en) Method and device for processing video stream
CN111818279A (en) Subtitle generating method, display method and interaction method
CN113391811B (en) Function compiling method, function compiling device, electronic equipment and computer readable storage medium
CN107241651B (en) Media data playing method and device and intelligent terminal
CN116029888A (en) Watermark adding method, medium and device for remote desktop system
CN110708591B (en) Image processing method and device and electronic equipment
CN112714331B (en) Information prompting method and device, storage medium and electronic equipment
CN104244093A (en) Graphical interface display method and player terminal
CN114339415A (en) Client video playing method and device, electronic equipment and readable medium
CN110971958A (en) Live broadcast gift banner frame-by-frame animation display method, storage medium, equipment and system
CN114071190A (en) Cloud application video stream processing method, related device and computer program product

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