WO2020119232A1 - Virtual desktop-based watermark addition method and device - Google Patents

Virtual desktop-based watermark addition method and device Download PDF

Info

Publication number
WO2020119232A1
WO2020119232A1 PCT/CN2019/110145 CN2019110145W WO2020119232A1 WO 2020119232 A1 WO2020119232 A1 WO 2020119232A1 CN 2019110145 W CN2019110145 W CN 2019110145W WO 2020119232 A1 WO2020119232 A1 WO 2020119232A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual desktop
watermark
user
display content
configuration information
Prior art date
Application number
PCT/CN2019/110145
Other languages
French (fr)
Chinese (zh)
Inventor
王长征
孔鹏
侯春华
修文飞
陈佩文
张宁
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2020119232A1 publication Critical patent/WO2020119232A1/en

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

Definitions

  • the present application relates to the field of communication technology, and in particular to a method and device for adding a watermark based on a virtual desktop.
  • the purpose of the embodiments of the present application is to provide a method and device for adding a watermark based on a virtual desktop to solve the above technical problems.
  • the embodiments of the present application are implemented as follows:
  • the embodiments of the present application provide a method for adding a watermark based on a virtual desktop, which is applied to a virtualization server, and the virtual desktop is based on the virtualization
  • the server runs; the method includes: obtaining the user's watermark configuration information; adding a watermark to the display content of the virtual desktop according to the watermark configuration information; sending the watermarked display content to the virtual desktop client, For the virtual desktop client to display the display content after adding the watermark.
  • an embodiment of the present application provides a method for adding a watermark based on a virtual desktop, which is applied to a virtual desktop management center, the virtual desktop management center can communicate with a virtualization server, and the virtual desktop is based on the virtualization server
  • the method includes: obtaining the display content of the virtual desktop to be watermarked from the virtualization server; obtaining the user's watermark configuration information corresponding to the display content of the virtual desktop; according to the watermark configuration information, Add a watermark to the display content of the virtual desktop; send the watermarked display content to the virtualization server to display the watermarked display content through the virtual desktop client; wherein, the virtual desktop client The terminal is in communication connection with the virtualization server.
  • an embodiment of the present application provides a virtual desktop-based watermark adding device, including a memory, a processor, and a computer program that can run on the memory and the processor.
  • the processor When the processor is executed, the method for adding a watermark based on a virtual desktop according to the first aspect is implemented, or when the computer program is executed by the processor, the method for adding a watermark based on a virtual desktop according to the second aspect is implemented, or, When the computer program is executed by the processor, the method for adding a watermark based on a virtual desktop according to the third aspect is realized.
  • FIG. 3 is a schematic flowchart of acquiring watermark configuration information in a virtual desktop device simulation process provided in an embodiment of this application;
  • FIG. 8 is a schematic diagram of a process of adding a watermark by a virtual desktop management center provided in an embodiment of the present application through a watermark adding process
  • Step S206 Send the watermarked display content to the virtual desktop client for the virtual desktop client to display the watermarked display content.
  • the user's watermark configuration information is obtained, wherein the watermark configuration information includes watermark content and style information of the watermark content, and the style information of the watermark content includes but is not limited to font, font size, color, transparency and other information, which is not limited herein.
  • obtaining the user's watermark configuration information includes: (1) receiving the user's watermark configuration information sent by the virtual desktop client; or: (2) receiving the user information sent by the virtual desktop client, based on the user information, from The user's watermark configuration information is obtained at the virtual desktop management center.
  • FIG. 3 is a schematic flowchart of obtaining a watermark configuration information in a virtual desktop device simulation process provided in an embodiment of the present application.
  • a specific implementation process of the above action (2) is explained by FIG. 3.
  • the process includes the following steps.
  • Step S302 After the user logs in to the virtual desktop through the virtual desktop client, the virtual desktop client obtains user information and reports to the virtual desktop device simulation process.
  • Step S412 the virtual desktop device simulation process saves the user's watermark configuration information.
  • the virtual desktop management center obtains user information from the virtualization server, and according to the user information, finds the user's watermark configuration information from the stored watermark configuration information of each user, and uses the user's watermark configuration information as the virtual The user's watermark configuration information corresponding to the displayed content on the desktop.
  • the virtual desktop management center can also receive the user information sent by the virtualization server, and find the watermark configuration information from the watermark configuration information of each user stored in the virtual desktop management center according to the user information, and return the found watermark configuration information to the virtualization server.
  • Step S910 The virtual desktop device simulation process sends a notification message of successful saving to the virtual desktop client.
  • step S912 the display content of the virtual desktop changes.
  • FIG. 11 is a schematic diagram of module composition of a virtual desktop-based watermark adding device provided by another embodiment of the present application.
  • the device is applied to a virtual desktop client; the device includes: a first receiving module 111, configured to receive the display content of the watermarked virtual desktop sent by the virtualization server; wherein, the added The display content of the watermarked virtual desktop is obtained by the virtualization server according to the user's watermark configuration information, adding a watermark to the display content of the virtual desktop, the virtual desktop runs based on the virtualization server; the second display module 112, used to display the received display content.
  • the device further includes: a first sending module for sending user information to the virtualization server before receiving the display content of the watermarked virtual desktop sent by the virtualization server; the user information is used Obtaining the user's watermark configuration information from the virtualization server; or, a second sending module, configured to send the watermarked virtual desktop display content sent by the virtualization server to the virtualization server before the receiving Send user's watermark configuration information.
  • a first sending module for sending user information to the virtualization server before receiving the display content of the watermarked virtual desktop sent by the virtualization server; the user information is used Obtaining the user's watermark configuration information from the virtualization server; or, a second sending module, configured to send the watermarked virtual desktop display content sent by the virtualization server to the virtualization server before the receiving Send user's watermark configuration information.
  • the second sending module is specifically configured to: send user information to the virtual desktop management center; receive the watermark configuration information returned by the virtual desktop management center according to the user information; and send the received watermark configuration information to the virtual ⁇ Server.
  • the apparatus for adding a watermark based on a virtual desktop provided in this embodiment can implement the specific process of the foregoing method embodiments and achieve the same effect, and will not be repeated here.
  • the processor 1310 is responsible for managing the bus architecture and general processing, and the memory 1320 may store data used by the processor 1310 when performing operations.
  • Embodiments of the present application also provide a computer-readable storage medium that stores a computer program on the computer-readable storage medium.
  • the computer program is executed by a processor, the processes of the foregoing method embodiments are implemented, and the same technical effect can be achieved In order to avoid repetition, I will not repeat them here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A virtual desktop-based watermark addition method and device, the method being applied to a virtualized server (130) and comprising: acquiring watermark configuration information of a user; adding a watermark into display content of a virtual desktop (140) according to the watermark configuration information; sending the display content having the watermark added thereto to a virtual desktop client (110) so that the virtual desktop client (110) displays the display content having the watermark added thereto.

Description

一种基于虚拟桌面的水印添加方法及装置Method and device for adding watermark based on virtual desktop
交叉引用cross reference
本申请引用于2018年12月12日递交的名称为“一种基于虚拟桌面的水印添加方法及装置”的第201811519771.6号中国专利申请,其通过引用被全部并入本申请。This application refers to Chinese Patent Application No. 201811519771.6, which was submitted on December 12, 2018, and is titled "A method and device for adding a watermark based on a virtual desktop", which is incorporated by reference in its entirety.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种基于虚拟桌面的水印添加方法及装置。The present application relates to the field of communication technology, and in particular to a method and device for adding a watermark based on a virtual desktop.
背景技术Background technique
虚拟桌面作为云计算产业中落地最早的项目,市场规模巨大。近年来,虚拟桌面在国内蓬勃发展,包括银行、武警部队、政府机关等均陆续采用虚拟桌面技术替代传统PC。虚拟桌面是企业IT架构的一次革命,带来移动计算体验的同时,满足了很多特定行业的需要。As the earliest project in the cloud computing industry, virtual desktops have huge market scale. In recent years, virtual desktops have developed vigorously in China, including banks, armed police forces, and government agencies, which have successively adopted virtual desktop technology to replace traditional PCs. Virtual desktop is a revolution of enterprise IT architecture, which brings mobile computing experience and meets the needs of many specific industries.
在政府、银行、部队等客户中,信息安全要求是重中之重。在信息安全方面,一般可以通过技术手段限制用户进行文件传输、外设拷贝以及控制互联网权限等,但无法控制用户的拍照、录屏等行为。Among customers such as governments, banks, and troops, information security is a top priority. In terms of information security, it is generally possible to restrict users' file transfers, copy peripherals, and control Internet permissions through technical means, but they cannot control users' behaviors such as taking pictures and recording screens.
数字水印在信息安全和版权保护方面有着重要的作用,用户拍照及录屏等行为产生的文件也会有水印内容,特定的水印内容(如企业信息、用户ID 信息等)为追本溯源提供了依据。Digital watermarks play an important role in information security and copyright protection. The files generated by users taking pictures and recording screens will also have watermark content. Specific watermark content (such as corporate information, user ID information, etc.) provides traceability. in accordance with.
常规模式下,在计算机操作系统中实现添加水印一般有两种模式,其一是由第三方应用程序实现水印功能,如在office、pdf等应用程序中添加水印,这种水印添加方法只针对应用本身,无法扩展到其他应用,水印功能与应用紧耦合,不通用。第二种水印添加模式是在操作系统中增加应用程序,从本质上,这种方法是在操作性系统中增加应用,由应用在顶层进行绘图,并将数字水印叠加到图像的空间域。但这种方式下,应用程序属于操作系统中的一个进程,管理员无法限制用户的启停行为,且存在与其他应用抢占等问题。In the normal mode, there are generally two modes for adding watermarks in the computer operating system. One is to implement the watermark function by a third-party application, such as adding watermarks in applications such as office and pdf. This method of adding watermarks is only for applications As such, it cannot be extended to other applications, and the watermark function is tightly coupled with the application and is not universal. The second watermarking mode is to add applications to the operating system. Essentially, this method is to add applications to the operational system, where the application draws on the top layer and superimposes the digital watermark to the spatial domain of the image. However, in this way, the application belongs to a process in the operating system, the administrator cannot restrict the user's start and stop behavior, and there are problems such as preemption with other applications.
可见,现有技术在添加水印时,只能针对特定应用添加水印,而且管理员无法防止用户自行停止添加水印的行为。It can be seen that when adding a watermark in the prior art, the watermark can only be added for a specific application, and the administrator cannot prevent the user from stopping the behavior of adding the watermark by himself.
发明内容Summary of the invention
本申请实施例的目的是提供一种基于虚拟桌面的水印添加方法及装置,以解决上述技术问题。The purpose of the embodiments of the present application is to provide a method and device for adding a watermark based on a virtual desktop to solve the above technical problems.
为解决上述技术问题,本申请实施例是这样实现的:第一方面,本申请实施例提供了一种基于虚拟桌面的水印添加方法,应用于虚拟化服务器,所述虚拟桌面基于所述虚拟化服务器运行;所述方法包括:获取用户的水印配置信息;根据所述水印配置信息,向所述虚拟桌面的显示内容中添加水印;将添加水印后的所述显示内容发送至虚拟桌面客户端,以供所述虚拟桌面客户端显示添加水印后的所述显示内容。To solve the above technical problems, the embodiments of the present application are implemented as follows: In the first aspect, the embodiments of the present application provide a method for adding a watermark based on a virtual desktop, which is applied to a virtualization server, and the virtual desktop is based on the virtualization The server runs; the method includes: obtaining the user's watermark configuration information; adding a watermark to the display content of the virtual desktop according to the watermark configuration information; sending the watermarked display content to the virtual desktop client, For the virtual desktop client to display the display content after adding the watermark.
第二方面,本申请实施例提供了一种基于虚拟桌面的水印添加方法,应用于虚拟桌面客户端;所述方法包括:接收虚拟化服务器发送的添加有水印的 虚拟桌面的显示内容;其中,所述添加有水印的虚拟桌面的显示内容由所述虚拟化服务器根据用户的水印配置信息,向所述虚拟桌面的显示内容中添加水印得到,所述虚拟桌面基于所述虚拟化服务器运行;显示接收的所述显示内容。In a second aspect, an embodiment of the present application provides a method for adding a watermark based on a virtual desktop, which is applied to a virtual desktop client; the method includes: receiving display content of a watermarked virtual desktop sent by a virtualization server; wherein, The display content of the watermarked virtual desktop is obtained by the virtualization server according to the user's watermark configuration information by adding a watermark to the display content of the virtual desktop, the virtual desktop runs based on the virtualization server; display The received display content.
第三方面,本申请实施例提供了一种基于虚拟桌面的水印添加方法,应用于虚拟桌面管理中心,所述虚拟桌面管理中心能够与虚拟化服务器通信,所述虚拟桌面基于所述虚拟化服务器运行;所述方法包括:从虚拟化服务器处获取待添加水印的虚拟桌面的显示内容;获取与所述虚拟桌面的显示内容相对应的用户的水印配置信息;根据所述水印配置信息,向所述虚拟桌面的显示内容中添加水印;将添加水印后的所述显示内容发送至所述虚拟化服务器,以通过虚拟桌面客户端显示添加水印后的所述显示内容;其中,所述虚拟桌面客户端与所述虚拟化服务器通信连接。In a third aspect, an embodiment of the present application provides a method for adding a watermark based on a virtual desktop, which is applied to a virtual desktop management center, the virtual desktop management center can communicate with a virtualization server, and the virtual desktop is based on the virtualization server The method includes: obtaining the display content of the virtual desktop to be watermarked from the virtualization server; obtaining the user's watermark configuration information corresponding to the display content of the virtual desktop; according to the watermark configuration information, Add a watermark to the display content of the virtual desktop; send the watermarked display content to the virtualization server to display the watermarked display content through the virtual desktop client; wherein, the virtual desktop client The terminal is in communication connection with the virtualization server.
第四方面,本申请实施例提供了一种基于虚拟桌面的水印添加装置,应用于虚拟化服务器,所述虚拟桌面基于所述虚拟化服务器运行;所述装置包括:信息获取模块,用于获取用户的水印配置信息;第一添加模块,用于根据所述水印配置信息,向所述虚拟桌面的显示内容中添加水印;第一显示模块,用于将添加水印后的所述显示内容发送至虚拟桌面客户端,以供所述虚拟桌面客户端显示添加水印后的所述显示内容。According to a fourth aspect, an embodiment of the present application provides a device for adding a watermark based on a virtual desktop, which is applied to a virtualization server, and the virtual desktop operates based on the virtualization server; the device includes: an information acquisition module for acquiring The user's watermark configuration information; the first adding module is used to add a watermark to the display content of the virtual desktop according to the watermark configuration information; the first display module is used to send the watermarked display content to A virtual desktop client for the virtual desktop client to display the watermarked display content.
第五方面,本申请实施例提供了一种基于虚拟桌面的水印添加装置,应用于虚拟桌面客户端;所述装置包括:第一接收模块,用于接收虚拟化服务器发送的添加有水印的虚拟桌面的显示内容;其中,所述添加有水印的虚拟桌面的显示内容由所述虚拟化服务器根据用户的水印配置信息,向所述虚拟桌面的显示内容中添加水印得到,所述虚拟桌面基于所述虚拟化服务器运行;第二显 示模块,用于显示接收的所述显示内容。According to a fifth aspect, an embodiment of the present application provides a virtual desktop-based watermark adding device, which is applied to a virtual desktop client; the device includes: a first receiving module, configured to receive a watermarked virtual device sent by a virtualization server The display content of the desktop; wherein, the display content of the watermarked virtual desktop is obtained by the virtualization server according to the user's watermark configuration information by adding a watermark to the display content of the virtual desktop, the virtual desktop is based on The virtualization server runs; a second display module is used to display the received display content.
第六方面,本申请实施例提供了一种基于虚拟桌面的水印添加装置,应用于虚拟桌面管理中心,所述虚拟桌面管理中心能够与虚拟化服务器通信,所述虚拟桌面基于所述虚拟化服务器运行;所述装置包括:内容获取模块,用于从虚拟化服务器处获取待添加水印的虚拟桌面的显示内容;配置获取模块,用于获取与所述虚拟桌面的显示内容相对应的用户的水印配置信息;第二添加模块,用于根据所述水印配置信息,向所述虚拟桌面的显示内容中添加水印;第三显示模块,用于将添加水印后的所述显示内容发送至所述虚拟化服务器,以通过虚拟桌面客户端显示添加水印后的所述显示内容;其中,所述虚拟桌面客户端与所述虚拟化服务器通信连接。In a sixth aspect, an embodiment of the present application provides a device for adding a watermark based on a virtual desktop, which is applied to a virtual desktop management center, the virtual desktop management center can communicate with a virtualization server, and the virtual desktop is based on the virtualization server Running; the device includes: a content acquisition module for acquiring the display content of the virtual desktop to be watermarked from the virtualization server; a configuration acquisition module for acquiring the user's watermark corresponding to the display content of the virtual desktop Configuration information; a second addition module, used to add a watermark to the display content of the virtual desktop according to the watermark configuration information; a third display module, used to send the watermarked display content to the virtual A virtualization server to display the watermarked display content through a virtual desktop client; wherein, the virtual desktop client is in communication connection with the virtualization server.
第七方面,本申请实施例提供了一种基于虚拟桌面的水印添加设备,包括存储器、处理器及在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现第一方面所述的基于虚拟桌面的水印添加方法,或者,所述计算机程序被所述处理器执行时实现第二方面所述的基于虚拟桌面的水印添加方法,或者,所述计算机程序被所述处理器执行时实现第三方面所述的基于虚拟桌面的水印添加方法。In a seventh aspect, an embodiment of the present application provides a virtual desktop-based watermark adding device, including a memory, a processor, and a computer program that can run on the memory and the processor. When the processor is executed, the method for adding a watermark based on a virtual desktop according to the first aspect is implemented, or when the computer program is executed by the processor, the method for adding a watermark based on a virtual desktop according to the second aspect is implemented, or, When the computer program is executed by the processor, the method for adding a watermark based on a virtual desktop according to the third aspect is realized.
第八方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现第一方面所述的基于虚拟桌面的水印添加方法,或者,所述计算机程序被处理器执行时实现第二方面所述的基于虚拟桌面的水印添加方法,或者所述计算机程序被处理器执行时实现第三所述的基于虚拟桌面的水印添加方法。According to an eighth aspect, an embodiment of the present application provides a computer-readable storage medium that stores a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, implements the virtual desktop-based storage system described in the first aspect The watermark adding method of, or, when the computer program is executed by the processor, implements the virtual desktop-based watermark adding method of the second aspect, or the computer program is executed by the processor, implements the third virtual desktop-based Watermarking method.
附图说明BRIEF DESCRIPTION
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are used to provide a further understanding of the present application and form a part of the present application. The schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an undue limitation on the present application. In the drawings:
图1为本申请一实施例提供的基于虚拟桌面的水印添加系统的组网示意图;FIG. 1 is a schematic diagram of a networking of a virtual desktop-based watermark adding system provided by an embodiment of this application;
图2是本申请一实施例提供的基于虚拟桌面的水印添加方法的流程示意图;2 is a schematic flowchart of a method for adding a watermark based on a virtual desktop according to an embodiment of the present application;
图3为本申请一实施例中提供的虚拟桌面设备模拟进程获取水印配置信息的流程示意图;FIG. 3 is a schematic flowchart of acquiring watermark configuration information in a virtual desktop device simulation process provided in an embodiment of this application;
图4为本申请一实施例中提供的虚拟桌面代理进程获取水印配置信息的流程示意图;4 is a schematic flow chart of a process of obtaining watermark configuration information by a virtual desktop agent process provided in an embodiment of this application;
图5为本申请一实施例中提供的虚拟化服务器通过水印添加进程添加水印的流程示意图;FIG. 5 is a schematic flowchart of adding a watermark through a watermark adding process to a virtualization server provided in an embodiment of this application;
图6是本申请一实施例提供的基于虚拟桌面的水印添加方法的流程示意图;6 is a schematic flowchart of a method for adding a watermark based on a virtual desktop according to an embodiment of the present application;
图7是本申请一实施例提供的基于虚拟桌面的水印添加方法的流程示意图;7 is a schematic flowchart of a method for adding a watermark based on a virtual desktop according to an embodiment of the present application;
图8是本申请一实施例中提供的虚拟桌面管理中心通过水印添加进程添加水印的流程示意图;8 is a schematic diagram of a process of adding a watermark by a virtual desktop management center provided in an embodiment of the present application through a watermark adding process;
图9是本申请一实施例中提供的水印添加方法的流程示意图;9 is a schematic flowchart of a watermark adding method provided in an embodiment of the present application;
图10为本申请一实施例提供的一种基于虚拟桌面的水印添加装置的模块组成示意图;10 is a schematic diagram of module composition of a virtual desktop-based watermark adding device provided by an embodiment of the present application;
图11为本申请另一实施例提供的一种基于虚拟桌面的水印添加装置的模块组成示意图;11 is a schematic diagram of the module composition of a device for adding a watermark based on a virtual desktop according to another embodiment of the present application;
图12为本申请再一实施例提供的一种基于虚拟桌面的水印添加装置的模块组成示意图;FIG. 12 is a schematic diagram of module composition of a virtual desktop-based watermark adding device provided by yet another embodiment of the present application;
图13为本申请一实施例提供的一种基于虚拟桌面的水印添加设备的模块组成示意图。13 is a schematic diagram of the module composition of a virtual desktop-based watermark adding device provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
图1为本申请一实施例提供的基于虚拟桌面的水印添加系统的组网示意图。如图1所示,该系统包括虚拟桌面客户端110、虚拟桌面管理中心120、虚拟化服务器130、虚拟桌面140。其中虚拟桌面140基于虚拟化服务器130运行,虚拟桌面客户端110运行在终端设备上,用于接入虚拟桌面140。用户在虚拟桌面客户端110发起登陆虚拟桌面140流程时,先向虚拟桌面管理中心120鉴权用户信息,并获取用户对应的水印配置信息。虚拟桌面客户端110连 接虚拟化服务器130时,携带上述水印配置信息。虚拟桌面管理中心120管理控制整个虚拟化平台,如桌面信息、用户信息以及对应关系等,并且保存用户的水印配置信息,供虚拟桌面客户端110查询使用。虚拟化服务器130是虚拟桌面140运行的依托平台,运行有虚拟桌面设备模拟进程。虚拟桌面设备模拟进程保存虚拟桌面140对应用户的水印配置信息。当虚拟桌面显示内容发生变化时,虚拟桌面设备模拟进程在虚拟桌面中根据水印配置信息添加水印,并转发显示内容到虚拟桌面客户端对应的终端显示。虚拟桌面140是虚拟桌面用户操作的对象。虚拟桌面140中的显示内容发生变化时,通过显卡驱动传送到虚拟桌面设备模拟进程,并由虚拟桌面设备模拟进程添加水印,继续发送到客户端进行显示。FIG. 1 is a schematic diagram of a networking of a watermark adding system based on a virtual desktop according to an embodiment of the present application. As shown in FIG. 1, the system includes a virtual desktop client 110, a virtual desktop management center 120, a virtualization server 130, and a virtual desktop 140. The virtual desktop 140 runs based on the virtualization server 130, and the virtual desktop client 110 runs on the terminal device to access the virtual desktop 140. When the virtual desktop client 110 initiates the process of logging in to the virtual desktop 140, the user first authenticates the user information to the virtual desktop management center 120 and obtains the watermark configuration information corresponding to the user. When the virtual desktop client 110 is connected to the virtualization server 130, it carries the above watermark configuration information. The virtual desktop management center 120 manages and controls the entire virtualization platform, such as desktop information, user information, and corresponding relationships, and saves the user's watermark configuration information for the virtual desktop client 110 to query and use. The virtualization server 130 is a supporting platform on which the virtual desktop 140 runs, and runs a virtual desktop device simulation process. The virtual desktop device simulation process saves the watermark configuration information of the user corresponding to the virtual desktop 140. When the display content of the virtual desktop changes, the virtual desktop device simulation process adds a watermark to the virtual desktop according to the watermark configuration information, and forwards the display content to the terminal display corresponding to the virtual desktop client. The virtual desktop 140 is an object operated by a virtual desktop user. When the display content in the virtual desktop 140 changes, it is transmitted to the virtual desktop device simulation process through the graphics card driver, and the virtual desktop device simulation process adds a watermark and continues to send to the client for display.
图2是本申请一实施例提供的基于虚拟桌面的水印添加方法的流程示意图,该方法可以由虚拟化服务器执行,如图2所示,该流程包括如下步骤。FIG. 2 is a schematic flowchart of a method for adding a watermark based on a virtual desktop according to an embodiment of the present application. The method may be executed by a virtualization server. As shown in FIG. 2, the process includes the following steps.
步骤S202,获取用户的水印配置信息。Step S202: Acquire the user's watermark configuration information.
步骤S204,根据水印配置信息,向虚拟桌面的显示内容中添加水印。Step S204: Add a watermark to the display content of the virtual desktop according to the watermark configuration information.
步骤S206,将添加水印后的显示内容发送至虚拟桌面客户端,以供虚拟桌面客户端显示添加水印后的显示内容。Step S206: Send the watermarked display content to the virtual desktop client for the virtual desktop client to display the watermarked display content.
可见,通过本申请实施例,虚拟化服务器在获取用户的水印配置信息后,可以根据获取的水印配置信息,向虚拟桌面的显示内容中添加水印,并且将添加水印后的显示内容发送至虚拟桌面客户端,以供虚拟桌面客户端显示添加水印后的显示内容。本申请实施例是针对整个虚拟桌面系统增加水印功能,不只是针对某个特定应用程序。并且,水印的添加不依赖第三方应用程序,可以有 效防止用户通过中断应用程序的方式自行停止添加水印的行为。It can be seen that through the embodiment of the present application, after obtaining the user's watermark configuration information, the virtualization server can add a watermark to the display content of the virtual desktop according to the obtained watermark configuration information, and send the watermarked display content to the virtual desktop Client, for the virtual desktop client to display the content after adding the watermark. The embodiment of the present application is to add a watermark function to the entire virtual desktop system, not just to a specific application program. In addition, the addition of watermarks does not depend on third-party applications, which can effectively prevent users from stopping the behavior of adding watermarks by interrupting applications.
本实施例中,该水印添加方法可以在虚拟桌面设备模拟进程中实现,该虚拟桌面设备模拟进程运行于虚拟化服务器上,因此上述步骤S202至步骤S206中,可以由虚拟桌面设备模拟进程获取用户的水印配置信息并保存,并且由虚拟桌面设备模拟进程,根据获取的水印配置信息向虚拟桌面的显示内容中添加水印,并且将添加水印后的显示内容发送至虚拟桌面客户端,以供虚拟桌面客户端显示添加水印后的显示内容。当然,该水印添加方法也可以由虚拟化服务器中的其他进程实现,且达到相同的效果,具体过程这里不再重复。In this embodiment, the watermark adding method can be implemented in the virtual desktop device simulation process, which runs on the virtualization server, so in the above steps S202 to S206, the virtual desktop device simulation process can obtain users And save the watermark configuration information, and the virtual desktop device simulates the process, adds a watermark to the display content of the virtual desktop according to the obtained watermark configuration information, and sends the watermarked display content to the virtual desktop client for the virtual desktop The client displays the content after adding the watermark. Of course, the watermark adding method can also be implemented by other processes in the virtualization server, and the same effect is achieved, and the specific process will not be repeated here.
上述步骤S202,获取用户的水印配置信息,其中水印配置信息,包括水印内容和水印内容的样式信息,水印内容的样式信息包括但不限于字体、字号、颜色、透明度等信息,这里不做限定。In the above step S202, the user's watermark configuration information is obtained, wherein the watermark configuration information includes watermark content and style information of the watermark content, and the style information of the watermark content includes but is not limited to font, font size, color, transparency and other information, which is not limited herein.
上述步骤S202中,获取用户的水印配置信息,包括:(1)接收虚拟桌面客户端发送的用户的水印配置信息;或者:(2)接收虚拟桌面客户端发送的用户信息,根据用户信息,从虚拟桌面管理中心处获取用户的水印配置信息。In the above step S202, obtaining the user's watermark configuration information includes: (1) receiving the user's watermark configuration information sent by the virtual desktop client; or: (2) receiving the user information sent by the virtual desktop client, based on the user information, from The user's watermark configuration information is obtained at the virtual desktop management center.
上述动作(1)中,虚拟化服务器直接接收虚拟桌面客户端发送的用户的水印配置信息并保存。In the above action (1), the virtualization server directly receives and saves the user's watermark configuration information sent by the virtual desktop client.
上述动作(2)中,虚拟化服务器接收虚拟桌面客户端发送的用户信息,根据用户信息,从虚拟桌面管理中心处获取用户的水印配置信息并保存。该步骤中,用户信息包括用户身份标识,用户身份标识可以为用户ID(identity,身份)或者用户名。In the above action (2), the virtualization server receives the user information sent by the virtual desktop client, and obtains and saves the user's watermark configuration information from the virtual desktop management center according to the user information. In this step, the user information includes a user identity, and the user identity may be a user ID (identity, identity) or a user name.
本申请实施例中,获取用户的水印配置信息可以通过虚拟化服务器中地 虚拟桌面设备模拟进程实现。In the embodiment of the present application, acquiring the user's watermark configuration information may be implemented through a virtual desktop device simulation process in the virtualization server.
图3为本申请一实施例中提供的虚拟桌面设备模拟进程获取水印配置信息的流程示意图,这里通过图3解释上述动作(2)的一种具体实施过程。如图3所示,该流程包括以下步骤。FIG. 3 is a schematic flowchart of obtaining a watermark configuration information in a virtual desktop device simulation process provided in an embodiment of the present application. Here, a specific implementation process of the above action (2) is explained by FIG. 3. As shown in Figure 3, the process includes the following steps.
步骤S302,用户通过虚拟桌面客户端登录虚拟桌面后,虚拟桌面客户端获取用户信息,并上报至虚拟桌面设备模拟进程。Step S302: After the user logs in to the virtual desktop through the virtual desktop client, the virtual desktop client obtains user information and reports to the virtual desktop device simulation process.
步骤S304,虚拟桌面设备模拟进程将用户信息发送至虚拟桌面管理中心,以使虚拟桌面管理中心在存储空间中查找该用户的水印配置信息。Step S304, the virtual desktop device simulation process sends the user information to the virtual desktop management center, so that the virtual desktop management center looks up the user's watermark configuration information in the storage space.
本实施例中,虚拟桌面管理中心存储各个用户的水印配置信息,用户的水印配置信息和用户信息可以为一一对应的关系。In this embodiment, the virtual desktop management center stores the watermark configuration information of each user, and the user's watermark configuration information and user information may have a one-to-one correspondence.
步骤S306,虚拟桌面管理中心向虚拟桌面设备模拟进程返回查找到的该用户的水印配置信息。Step S306, the virtual desktop management center returns the found watermark configuration information of the user to the virtual desktop device simulation process.
步骤S308,虚拟桌面设备模拟进程保存该用户的水印配置信息。Step S308, the virtual desktop device simulation process saves the user's watermark configuration information.
获取用户的水印配置信息还可以通过虚拟桌面代理进程实现,该虚拟桌面代理进程基于虚拟化服务器运行。Obtaining the user's watermark configuration information can also be achieved through a virtual desktop agent process, which runs on the virtualization server.
图4为本申请一实施例中提供的虚拟桌面代理进程获取水印配置信息的流程示意图,这里通过图4解释上述动作(2)的另一种具体实施过程,如图4所示,该流程包括如下步骤。FIG. 4 is a schematic diagram of a process for obtaining a watermark configuration information by a virtual desktop agent process provided in an embodiment of the present application. Here, another specific implementation process of the above action (2) is explained through FIG. 4, as shown in FIG. 4, the process includes The following steps.
步骤S402,用户通过虚拟桌面客户端登录虚拟桌面后,虚拟桌面客户端获取用户信息,并上报至虚拟桌面设备模拟进程。Step S402, after the user logs in to the virtual desktop through the virtual desktop client, the virtual desktop client obtains user information and reports to the virtual desktop device simulation process.
步骤S404,虚拟桌面设备模拟进程将用户信息发送到虚拟桌面代理进程。Step S404, the virtual desktop device simulation process sends user information to the virtual desktop agent process.
步骤S406,虚拟桌面代理进程将用户信息发送至虚拟桌面管理中心,以使虚拟桌面管理中心在存储空间中查找该用户的水印配置信息。Step S406, the virtual desktop agent process sends the user information to the virtual desktop management center, so that the virtual desktop management center looks up the user's watermark configuration information in the storage space.
步骤S408,虚拟桌面管理中心向虚拟桌面代理进程返回查找到的该用户的水印配置信息。In step S408, the virtual desktop management center returns the found watermark configuration information of the user to the virtual desktop agent process.
步骤S410,虚拟桌面代理进程通过串口设备消息把水印配置信息发送给虚拟桌面设备模拟进程。Step S410: The virtual desktop agent process sends the watermark configuration information to the virtual desktop device simulation process through a serial device message.
步骤S412,虚拟桌面设备模拟进程保存该用户的水印配置信息。Step S412, the virtual desktop device simulation process saves the user's watermark configuration information.
本实施例中,在执行上述步骤S204根据水印配置信息,向虚拟桌面的显示内容中添加水印之前,还包括;确定虚拟桌面的显示内容发生变更。In this embodiment, before performing the above step S204 to add a watermark to the display content of the virtual desktop according to the watermark configuration information, the method further includes: determining that the display content of the virtual desktop is changed.
相应地,向虚拟桌面的显示内容中添加水印,包括:向虚拟桌面的变更后的显示内容中添加水印。Accordingly, adding a watermark to the display content of the virtual desktop includes: adding a watermark to the changed display content of the virtual desktop.
上述过程中,虚拟化服务器在获取用户的水印配置信息后,若确定虚拟桌面的显示内容发生变更,则虚拟化服务器直接向虚拟桌面的变更后的显示内容中添加水印。In the above process, after the virtualization server obtains the user's watermark configuration information, if it is determined that the display content of the virtual desktop is changed, the virtualization server directly adds a watermark to the changed display content of the virtual desktop.
在一个具体的实施例中,虚拟桌面的显示内容发生变化时,虚拟桌面显卡驱动程序发送绘图指令到虚拟桌面设备模拟进程,虚拟桌面设备模拟进程根据该绘图指令绘制变化后的虚拟桌面,并在变化后的虚拟桌面的显示内容中添加水印。In a specific embodiment, when the display content of the virtual desktop changes, the virtual desktop graphics driver sends a drawing instruction to the virtual desktop device simulation process, and the virtual desktop device simulation process draws the changed virtual desktop according to the drawing instruction, and Add a watermark to the display content of the changed virtual desktop.
本实施例中,虚拟化服务器根据水印配置信息,向虚拟桌面的显示内容中添加水印,具体可以为:从水印配置信息中提取水印内容和水印内容的样式信息,按照水印内容的样式信息,在虚拟桌面的显示内容中添加水印。In this embodiment, the virtualization server adds a watermark to the display content of the virtual desktop according to the watermark configuration information, which may specifically be: extracting the watermark content and the watermark content style information from the watermark configuration information, according to the watermark content style information, in Add a watermark to the display content of the virtual desktop.
本申请实施例中,虚拟化服务器在向虚拟桌面的显示内容中添加水印时,可以通过预先设定的水印添加进程完成水印添加的动作,其中,预先设定的水印添加进程可以位于虚拟化服务器中。该情况下,水印添加进程作为一个单独的进程单独运行在虚拟化服务器上,协助虚拟桌面设备模拟进程完成水印添加。In the embodiment of the present application, when adding a watermark to the display content of the virtual desktop, the virtualization server may complete the watermark adding action through a preset watermark adding process, where the preset watermark adding process may be located on the virtualization server in. In this case, the watermark adding process runs separately on the virtualization server as a separate process to assist the virtual desktop device simulation process to complete the watermark adding.
图5为本申请一实施例中提供的虚拟化服务器通过水印添加进程添加水印的流程示意图。如图5所示,该流程包括如下步骤。FIG. 5 is a schematic flowchart of adding a watermark by a virtualization server provided in an embodiment of the present application through a watermark adding process. As shown in Figure 5, the process includes the following steps.
步骤S502,用户通过虚拟桌面客户端登录虚拟桌面后,虚拟桌面客户端获取用户信息,并上报至虚拟桌面设备模拟进程。Step S502: After the user logs in to the virtual desktop through the virtual desktop client, the virtual desktop client obtains user information and reports to the virtual desktop device simulation process.
步骤S504,虚拟桌面设备模拟进程将用户的水印配置信息和虚拟桌面的显示内容发送到水印添加进程。Step S504: The virtual desktop device simulation process sends the user's watermark configuration information and the display content of the virtual desktop to the watermark adding process.
步骤S506,水印添加进程根据用户的水印配置信息在虚拟桌面的显示内容中添加水印,将添加水印后的显示内容回传给虚拟桌面设备模拟进程。Step S506: The watermark adding process adds a watermark to the display content of the virtual desktop according to the user's watermark configuration information, and returns the watermarked display content to the virtual desktop device simulation process.
步骤S508,虚拟桌面设备模拟进程将添加水印后的显示内容发送给虚拟桌面客户端进行显示。Step S508: The virtual desktop device simulation process sends the watermarked display content to the virtual desktop client for display.
上述步骤S502至S504中,还可以由虚拟桌面设备模拟进程将用户信息发送至水印添加进程,水印添加进程自身根据用户信息在虚拟桌面管理中心中查询水印配置信息,并接收虚拟桌面设备模拟进程发送的虚拟桌面的显示内容。然后,水印添加进程继续执行步骤S506和步骤S508。In the above steps S502 to S504, the virtual desktop device simulation process can also send the user information to the watermark adding process. The watermark adding process itself queries the watermark configuration information in the virtual desktop management center according to the user information, and receives the virtual desktop device simulation process to send Display content of your virtual desktop. Then, the watermark adding process continues to perform step S506 and step S508.
本实施例中,在步骤S206将添加水印后的显示内容发送至虚拟桌面客户端之前,还包括:将添加水印后的显示内容回写到虚拟桌面显存。In this embodiment, before sending the watermarked display content to the virtual desktop client in step S206, the method further includes: writing back the watermarked display content to the virtual desktop video memory.
本申请实施例中,虚拟化服务器将添加水印后的显示内容回写到虚拟桌面显存,能够保证更换虚拟桌面客户端与本虚拟化服务器建立连接后,在更换后的客户端上依旧可以显示带有水印的桌面内容。In the embodiment of the present application, the virtualization server writes back the watermarked display content to the virtual desktop video memory, which can ensure that after the replacement virtual desktop client establishes a connection with the virtualization server, the tape can still be displayed on the replaced client Desktop content with watermark.
图6是本申请一实施例提供的基于虚拟桌面的水印添加方法的流程示意图,该方法可以由虚拟桌面客户端执行,如图6所示,该流程包括如下步骤。FIG. 6 is a schematic flowchart of a method for adding a watermark based on a virtual desktop according to an embodiment of the present application. The method may be executed by a virtual desktop client. As shown in FIG. 6, the process includes the following steps.
步骤S602,接收虚拟化服务器发送的添加有水印的虚拟桌面的显示内容;其中,添加有水印的虚拟桌面的显示内容由虚拟化服务器根据用户的水印配置信息,向虚拟桌面的显示内容中添加水印得到,虚拟桌面基于虚拟化服务器运行。Step S602: Receive the display content of the watermarked virtual desktop sent by the virtualization server; wherein, the display content of the watermarked virtual desktop is added to the display content of the virtual desktop by the virtualization server according to the user's watermark configuration information Obtained, the virtual desktop runs on the virtualization server.
步骤S604,显示接收的显示内容。Step S604: Display the received display content.
可见,通过本申请实施例,虚拟桌面客户端接收虚拟化服务器发送的添加有水印消息的虚拟桌面的显示内容并显示。其中,添加有水印的虚拟桌面的显示内容由虚拟化服务器根据用户的水印配置信息,向虚拟桌面的显示内容中添加水印得到,虚拟桌面基于虚拟化服务器运行。本申请实施例是针对整个虚拟桌面系统增加水印功能,不只是针对某个特定应用程序。并且,水印的添加不依赖第三方应用程序,可以有效防止用户通过中断应用程序的方式自行停止添加水印的行为。It can be seen that through the embodiment of the present application, the virtual desktop client receives and displays the display content of the virtual desktop added with the watermark message sent by the virtualization server. The display content of the virtual desktop with the watermark added is obtained by the virtualization server according to the user's watermark configuration information by adding a watermark to the display content of the virtual desktop. The virtual desktop runs on the virtualization server. The embodiment of the present application is to add a watermark function to the entire virtual desktop system, not just to a specific application program. Moreover, the addition of watermarks does not depend on third-party applications, which can effectively prevent users from stopping the behavior of adding watermarks by interrupting the applications.
本实施例中,在接收虚拟化服务器发送的添加有水印的虚拟桌面的显示内容之前,还包括:向虚拟化服务器发送用户信息;用户信息用于虚拟化服务 器获取用户的水印配置信息;或者,向虚拟化服务器发送用户的水印配置信息。In this embodiment, before receiving the display content of the watermarked virtual desktop sent by the virtualization server, the method further includes: sending user information to the virtualization server; the user information is used by the virtualization server to obtain the user's watermark configuration information; or, Send the user's watermark configuration information to the virtualization server.
本申请实施例中,在接收虚拟化服务器发送的添加有水印的虚拟桌面的显示内容之前,虚拟桌面客户端可以向虚拟化服务器发送用户消息,从而便于虚拟化服务器根据用户信息获取该用户的水印配置信息,比如在虚拟桌面管理中心中通过用户信息查询该用户的水印配置信息。或者,虚拟桌面客户端向虚拟化服务器发送用户的水印配置信息,从而使虚拟化服务器根据水印配置信息在虚拟桌面中添加水印。In the embodiment of the present application, before receiving the display content of the watermarked virtual desktop sent by the virtualization server, the virtual desktop client may send a user message to the virtualization server, thereby facilitating the virtualization server to obtain the user's watermark according to the user information Configuration information, such as querying the user's watermark configuration information through user information in the virtual desktop management center. Or, the virtual desktop client sends the user's watermark configuration information to the virtualization server, so that the virtualization server adds a watermark to the virtual desktop according to the watermark configuration information.
虚拟桌面客户端向虚拟化服务器发送用户的水印配置信息,包括:(a1)向虚拟桌面管理中心发送用户信息;(a2)接收虚拟桌面管理中心根据用户信息返回的水印配置信息;(a3)将接收的水印配置信息发送至虚拟化服务器。The virtual desktop client sends the user's watermark configuration information to the virtualization server, including: (a1) sending the user information to the virtual desktop management center; (a2) receiving the watermark configuration information returned by the virtual desktop management center according to the user information; (a3) The received watermark configuration information is sent to the virtualization server.
上述动作(a1)中,虚拟桌面客户端向虚拟桌面管理中心发送用户信息,虚拟桌面管理中心中保存由各个用户的水印配置信息,虚拟桌面管理中心可以根据接收到的用户信息,查询该用户的水印配置信息。In the above action (a1), the virtual desktop client sends user information to the virtual desktop management center. The virtual desktop management center saves the watermark configuration information of each user. The virtual desktop management center can query the user's information based on the received user information. Watermark configuration information.
上述动作(a2)中,虚拟桌面客户端接收桌面管理中心返回的用户的水印配置信息。In the above action (a2), the virtual desktop client receives the user's watermark configuration information returned by the desktop management center.
上述动作(a3)中,虚拟桌面客户端将接收的水印配置信息发送至虚拟化服务器。In the above action (a3), the virtual desktop client sends the received watermark configuration information to the virtualization server.
图7是本申请一实施例提供的基于虚拟桌面的水印添加方法的流程示意图,该方法可以由虚拟桌面管理中心执行,如图7所示,该流程包括如下步骤。7 is a schematic flowchart of a method for adding a watermark based on a virtual desktop according to an embodiment of the present application. The method may be executed by a virtual desktop management center. As shown in FIG. 7, the process includes the following steps.
步骤S702,从虚拟化服务器处获取待添加水印的虚拟桌面的显示内容。Step S702: Obtain the display content of the virtual desktop to be watermarked from the virtualization server.
步骤S704,获取与虚拟桌面的显示内容相对应的用户的水印配置信息。Step S704: Acquire the user's watermark configuration information corresponding to the display content of the virtual desktop.
步骤S706,根据水印配置信息,向虚拟桌面的显示内容中添加水印。Step S706: Add a watermark to the display content of the virtual desktop according to the watermark configuration information.
步骤S708,将添加水印后的显示内容发送至虚拟化服务器,以通过虚拟桌面客户端显示添加水印后的显示内容;其中,虚拟桌面客户端与虚拟化服务器通信连接。Step S708: Send the watermarked display content to the virtualization server to display the watermarked display content through the virtual desktop client; wherein, the virtual desktop client is in communication connection with the virtualization server.
可见,通过本申请实施例,虚拟桌面管理中心从虚拟化服务器处获取待添加水印的虚拟桌面的显示内容,并且获取与虚拟桌面的显示内容相对应的用户的水印配置信息,根据水印配置信息,向虚拟桌面的显示内容中添加水印,将添加水印后的显示内容发送至虚拟化服务器,以通过虚拟桌面客户端显示添加水印后的显示内容,其中,虚拟桌面客户端与虚拟化服务器通信连接。本申请实施例是针对整个虚拟桌面系统增加水印功能,不只是针对某个特定应用程序。并且,水印的添加不依赖第三方应用程序,可以有效防止用户通过中断应用程序的方式自行停止添加水印的行为。It can be seen that through the embodiment of the present application, the virtual desktop management center obtains the display content of the virtual desktop to be watermarked from the virtualization server, and obtains the watermark configuration information of the user corresponding to the display content of the virtual desktop, and according to the watermark configuration information, Add a watermark to the display content of the virtual desktop, and send the watermarked display content to the virtualization server to display the watermarked display content through the virtual desktop client, where the virtual desktop client communicates with the virtualization server. The embodiment of the present application is to add a watermark function to the entire virtual desktop system, not just to a specific application program. Moreover, the addition of watermarks does not depend on third-party applications, which can effectively prevent users from stopping the behavior of adding watermarks by interrupting the applications.
上述步骤S704中,获取与虚拟桌面的显示内容相对应的用户的水印配置信息,包括:(b1)从虚拟化服务器处,获取与虚拟桌面的显示内容相对应的用户的水印配置信息;或者,(b2)从虚拟化服务器处获取用户信息,根据用户信息,从存储的各用户的水印配置信息中,查找与虚拟桌面的显示内容相对应的用户的水印配置信息。In the above step S704, acquiring the watermark configuration information of the user corresponding to the display content of the virtual desktop includes: (b1) acquiring the watermark configuration information of the user corresponding to the display content of the virtual desktop from the virtualization server; or (b2) Obtain user information from the virtualization server, and search for the user's watermark configuration information corresponding to the displayed content of the virtual desktop from the stored watermark configuration information of each user based on the user information.
本申请实施例中,虚拟桌面管理中心获取与虚拟桌面的显示内容相对应的用户的水印配置信息时,虚拟桌面管理中心可以从虚拟化服务器器处直接获取与虚拟桌面的显示内容相对应的用户的水印配置信息。比如,当前登陆虚拟桌面的用户为用户A,则虚拟桌面管理中心从虚拟化服务器器处直接获取用户 A的水印配置信息。In the embodiment of the present application, when the virtual desktop management center obtains the watermark configuration information of the user corresponding to the display content of the virtual desktop, the virtual desktop management center can directly obtain the user corresponding to the display content of the virtual desktop from the virtualization server Watermark configuration information. For example, if the user currently logged in to the virtual desktop is user A, the virtual desktop management center directly obtains the watermark configuration information of user A from the virtualization server.
或者是,虚拟桌面管理中心从虚拟化服务器处获取用户信息,根据用户信息,从存储的各用户的水印配置信息中,查找该用户的水印配置信息,将该用户的水印配置信息,作为与虚拟桌面的显示内容相对应的用户的水印配置信息。Or, the virtual desktop management center obtains user information from the virtualization server, and according to the user information, finds the user's watermark configuration information from the stored watermark configuration information of each user, and uses the user's watermark configuration information as the virtual The user's watermark configuration information corresponding to the displayed content on the desktop.
通过以上两种方式,虚拟桌面管理中心可以获取用户的水印配置信息,从而执行后续的水印添加过程。Through the above two methods, the virtual desktop management center can obtain the user's watermark configuration information, thereby performing the subsequent watermark addition process.
上述步骤S706中,根据水印配置信息,向虚拟桌面的显示内容中添加水印,可以为,从水印配置信息中提取水印内容和水印内容的样式信息,按照水印内容的样式信息,在虚拟桌面的显示内容中添加水印。In the above step S706, adding a watermark to the display content of the virtual desktop according to the watermark configuration information may be that the watermark content and the style information of the watermark content are extracted from the watermark configuration information, and displayed on the virtual desktop according to the style information of the watermark content Add a watermark to the content.
本实施例中,可以在虚拟桌面管理中心中添加一个水印添加进程,通过虚拟桌面管理中心中的水印添加进程,在虚拟桌面的显示内容中添加水印。In this embodiment, a watermark adding process may be added in the virtual desktop management center, and a watermark may be added to the display content of the virtual desktop through the watermark adding process in the virtual desktop management center.
图8是本申请一实施例中提供的虚拟桌面管理中心通过水印添加进程添加水印的流程示意图。如图8所示,该流程包括如下步骤。FIG. 8 is a schematic flowchart of adding a watermark through a watermark adding process in the virtual desktop management center provided in an embodiment of the present application. As shown in FIG. 8, the process includes the following steps.
步骤802,用户通过虚拟桌面客户端登录虚拟桌面后,虚拟桌面客户端获取用户信息,并上报至虚拟桌面设备模拟进程。Step 802: After the user logs in to the virtual desktop through the virtual desktop client, the virtual desktop client obtains user information and reports to the virtual desktop device simulation process.
步骤804,虚拟桌面设备模拟进程把用户的水印配置信息和虚拟桌面的显示内容发送到虚拟桌面管理中心的水印添加进程。Step 804: The virtual desktop device simulation process sends the user's watermark configuration information and the display content of the virtual desktop to the watermark adding process of the virtual desktop management center.
步骤806,运行在虚拟桌面管理中心的水印添加进程根据用户的水印配置信息,在虚拟桌面的显示内容中添加水印,并将将添加水印后的显示内容回送给虚拟桌面设备模拟进程。Step 806: The watermark adding process running in the virtual desktop management center adds a watermark to the display content of the virtual desktop according to the user's watermark configuration information, and returns the watermarked display content to the virtual desktop device simulation process.
步骤808,虚拟桌面设备模拟进程把添加水印后虚拟桌面发送到虚拟桌面客户端进行显示。In step 808, the virtual desktop device simulation process sends the watermarked virtual desktop to the virtual desktop client for display.
本申请实施例中,虚拟桌面管理中心还能够执行以下动作:接收虚拟桌面客户端发送的用户信息,根据用户信息,从存储的各用户的水印配置信息中查找水印配置信息并返回;或者,接收虚拟化服务器发送的用户信息,根据用户信息,从存储的各用户的水印配置信息中查找水印配置信息并返回。In the embodiment of the present application, the virtual desktop management center can also perform the following actions: receive the user information sent by the virtual desktop client, and find and return the watermark configuration information from the stored watermark configuration information of each user according to the user information; or, receive The user information sent by the virtualization server searches for the watermark configuration information from the stored watermark configuration information of each user based on the user information and returns it.
本实施例中,虚拟桌面管理中心存储各个用户的水印配置信息,用户的水印配置信息和用户信息可以为一一对应的关系。In this embodiment, the virtual desktop management center stores the watermark configuration information of each user, and the user's watermark configuration information and user information may have a one-to-one correspondence.
虚拟桌面管理中心可以接收虚拟桌面客户端发送的用户信息,并且根据用户信息从虚拟桌面管理中心存储的各用户的水印配置信息中查找水印配置信息,并且将查找到的水印配置信息返回至虚拟桌面客户端。The virtual desktop management center can receive the user information sent by the virtual desktop client, and find the watermark configuration information from the watermark configuration information of each user stored in the virtual desktop management center according to the user information, and return the found watermark configuration information to the virtual desktop Client.
虚拟桌面管理中心还可以接收虚拟化服务器发送的用户信息,并且根据用户信息从虚拟桌面管理中心存储的各用户的水印配置信息中查找水印配置信息,并且将查找到的水印配置信息返回至虚拟化服务器。The virtual desktop management center can also receive the user information sent by the virtualization server, and find the watermark configuration information from the watermark configuration information of each user stored in the virtual desktop management center according to the user information, and return the found watermark configuration information to the virtualization server.
本申请实施例中,该基于虚拟桌面的水印添加方法还可以同时应用于虚拟化服务器、虚拟桌面客户端、虚拟桌面管理中心三者之间,图9是本申请一实施例中提供的水印添加方法的流程示意图。如图9所示,该流程包括如下步骤。In the embodiment of the present application, the method for adding a watermark based on a virtual desktop can also be applied between a virtualization server, a virtual desktop client, and a virtual desktop management center. FIG. 9 is a watermark adding method provided in an embodiment of the present application Schematic diagram of the method. As shown in FIG. 9, the process includes the following steps.
步骤S902,用户登陆虚拟桌面时,虚拟桌面客户端向虚拟桌面管理中心鉴权并请求用户的水印配置信息。Step S902, when the user logs in to the virtual desktop, the virtual desktop client authenticates with the virtual desktop management center and requests the user's watermark configuration information.
步骤S904,虚拟桌面管理中心向虚拟桌面客户端返回用户的鉴权结果及用户的水印配置信息。Step S904, the virtual desktop management center returns the user's authentication result and the user's watermark configuration information to the virtual desktop client.
步骤S906,虚拟桌面客户端与虚拟化服务器上的虚拟桌面设备模拟进程建立连接通道,向虚拟化服务器发送水印配置信息。Step S906, the virtual desktop client establishes a connection channel with the virtual desktop device simulation process on the virtualization server, and sends watermark configuration information to the virtualization server.
步骤S908,虚拟桌面设备模拟进程保存接收到的水印配置信息。In step S908, the virtual desktop device simulation process saves the received watermark configuration information.
步骤S910,虚拟桌面设备模拟进程向虚拟桌面客户端发送保存成功的通知消息。Step S910: The virtual desktop device simulation process sends a notification message of successful saving to the virtual desktop client.
步骤S912,虚拟桌面显示内容发生变化。In step S912, the display content of the virtual desktop changes.
步骤S914,虚拟桌面显卡驱动程序发送绘图指令到虚拟桌面设备模拟进程。Step S914: The virtual desktop graphics driver sends a drawing instruction to the virtual desktop device simulation process.
步骤S916,虚拟桌面设备模拟进程根据保存的水印配置信息,向虚拟桌面的显示内容中添加水印。Step S916: The virtual desktop device simulation process adds a watermark to the display content of the virtual desktop according to the saved watermark configuration information.
步骤S918,虚拟桌面设备模拟进程把添加水印后的显示内容回送到虚拟桌面显存中。In step S918, the virtual desktop device simulation process returns the watermarked display content to the virtual desktop video memory.
步骤S920,虚拟桌面设备模拟进程继续把添加水印后的显示内容发送到虚拟桌面客户端上显示。Step S920, the virtual desktop device simulation process continues to send the watermarked display content to the virtual desktop client for display.
本申请上述实施例中,虚拟桌面的操作系统可以是linux、windows、android等,虚拟桌面客户端的操作系统可以是linux、wes、android、iOS等,虚拟桌面的操作系统可以和虚拟桌面客户端的操作系统进行不同方式的搭配,组成多种实施例。In the above embodiments of the present application, the operating system of the virtual desktop may be linux, windows, android, etc., the operating system of the virtual desktop client may be linux, wes, android, iOS, etc. The operating system of the virtual desktop may operate with the virtual desktop client The system collocates in different ways to form various embodiments.
综上,本申请实施例具有如下效果。In summary, the embodiments of the present application have the following effects.
(1)本申请实施例仅涉及虚拟桌面管理中心、虚拟桌面客户端、虚拟化服务器的改造,不涉及其他网元节点,无服务器及硬件设施变动,不改变用户使用习惯。(1) The embodiments of the present application only involve the modification of the virtual desktop management center, virtual desktop client, and virtualization server, and do not involve other network element nodes, no server and hardware facilities changes, and do not change user usage habits.
(2)本申请实施例是在虚拟桌面所依托的服务器虚拟化层面实现水印的添加,不依赖具体应用程序,不需要在操作系统中部署第三方应用程序,可以有效防止用户通过中断应用程序的方式自行停止添加水印的行为。(2) The embodiment of the present application implements the addition of watermarks at the server virtualization level that the virtual desktop relies on, does not depend on specific applications, does not need to deploy third-party applications in the operating system, and can effectively prevent users from interrupting applications Way to stop adding watermarks by itself.
(3)水印添加过程在虚拟桌面设备模拟进程中是实现,节省了虚拟桌面自身及虚拟桌面客户端的计算资源,提升用户对虚拟桌面的使用体验。(3) The watermark adding process is realized in the virtual desktop device simulation process, which saves the computing resources of the virtual desktop itself and the virtual desktop client, and improves the user's experience of using the virtual desktop.
(4)本申请实施例能够屏蔽虚拟桌面操作系统的差异,比如,对Linux 系列和Windows系列的虚拟桌面操作系统无差异处理。而且,还能够屏蔽虚拟桌面客户端操作系统的差异,比如,对Linux系列、Windows系列、android以及iOS系列的客户端操作系统无差异处理。(4) The embodiment of the present application can shield the difference of virtual desktop operating systems, for example, there is no difference processing for the virtual desktop operating systems of Linux series and Windows series. Moreover, it can also shield the differences in the virtual desktop client operating system, for example, there is no differential processing for the client operating systems of Linux series, Windows series, android and iOS series.
(5)虚拟桌面用户在客户端上看到的任何图像均有水印,包括用户的拍照、录屏等行为所产生的文件同样具有水印标记,从而有效控制因对虚拟桌面的拍照、录屏等行为而产生的信息泄露,高效地满足客户对虚拟桌面信息安全的要求,以提升用户的信息安全水平,对加强客户信息安全起到强有力的补充作用。(5) Any image that the virtual desktop user sees on the client has a watermark, including files generated by the user's photographing and screen recording, etc., also have a watermark mark, so as to effectively control the virtual desktop photography and screen recording, etc. The information leakage caused by the behavior effectively meets the customer's requirements for virtual desktop information security, so as to improve the user's information security level, and plays a strong supplementary role in strengthening the customer's information security.
图10为本申请一实施例提供的一种基于虚拟桌面的水印添加装置的模块组成示意图。如图10所示,该装置应用于虚拟化服务器,所述虚拟桌面基于所述虚拟化服务器运行;该装置包括:信息获取模块101,用于获取用户的水印配置信息;第一添加模块102,用于根据所述水印配置信息,向所述虚拟桌面的显示内容中添加水印;第一显示模块103,用于将添加水印后的所述显示内容发送至所述虚拟桌面客户端,以供所述虚拟桌面客户端显示添加水印后的所述显示内容。FIG. 10 is a schematic diagram of the module composition of a device for adding a watermark based on a virtual desktop according to an embodiment of the present application. As shown in FIG. 10, the device is applied to a virtualization server, and the virtual desktop runs based on the virtualization server; the device includes: an information acquisition module 101 for acquiring user watermark configuration information; and a first addition module 102, It is used to add a watermark to the display content of the virtual desktop according to the watermark configuration information; the first display module 103 is used to send the watermarked display content to the virtual desktop client for all The virtual desktop client displays the display content after adding the watermark.
所述信息获取模块101,具体用于:接收虚拟桌面客户端发送的用户的水印配置信息;或者,接收虚拟桌面客户端发送的用户信息,根据所述用户信息,从虚拟桌面管理中心处获取用户的水印配置信息。The information obtaining module 101 is specifically configured to: receive the user's watermark configuration information sent by the virtual desktop client; or receive the user information sent by the virtual desktop client, and obtain the user from the virtual desktop management center according to the user information Watermark configuration information.
所述装置还包括:确定模块,用于在所述根据所述水印配置信息,向所述虚拟桌面的显示内容中添加水印之前,确定所述虚拟桌面的显示内容发生变更。The device further includes a determination module configured to determine that the display content of the virtual desktop is changed before adding the watermark to the display content of the virtual desktop according to the watermark configuration information.
所述第一添加模块,具体用于:向所述虚拟桌面的变更后的显示内容中添加水印。The first adding module is specifically used to add a watermark to the changed display content of the virtual desktop.
所述装置通过虚拟化服务器中的虚拟桌面设备模拟进程实现。The device is implemented by a virtual desktop device simulation process in a virtualization server.
本申请实施例是针对整个虚拟桌面系统增加水印功能,不只是针对某个特定应用程序。并且,水印的添加不依赖第三方应用程序,可以有效防止用户 通过中断应用程序的方式自行停止添加水印的行为。The embodiment of the present application is to add a watermark function to the entire virtual desktop system, not just to a specific application program. In addition, the addition of watermarks does not depend on third-party applications, which can effectively prevent users from stopping the behavior of adding watermarks by interrupting applications.
本实施例提供的基于虚拟桌面的水印添加装置,能够实现前面方法实施例的具体过程,并达到相同的效果,这里不再重复。The apparatus for adding a watermark based on a virtual desktop provided in this embodiment can implement the specific process of the foregoing method embodiments and achieve the same effect, and will not be repeated here.
图11为本申请另一实施例提供的一种基于虚拟桌面的水印添加装置的模块组成示意图。如图11所示,该装置应用于虚拟桌面客户端;该装置包括:第一接收模块111,用于接收所述虚拟化服务器发送的添加有水印的虚拟桌面的显示内容;其中,所述添加有水印的虚拟桌面的显示内容由所述虚拟化服务器根据用户的水印配置信息,向所述虚拟桌面的显示内容中添加水印得到,所述虚拟桌面基于所述虚拟化服务器运行;第二显示模块112,用于显示接收的所述显示内容。FIG. 11 is a schematic diagram of module composition of a virtual desktop-based watermark adding device provided by another embodiment of the present application. As shown in FIG. 11, the device is applied to a virtual desktop client; the device includes: a first receiving module 111, configured to receive the display content of the watermarked virtual desktop sent by the virtualization server; wherein, the added The display content of the watermarked virtual desktop is obtained by the virtualization server according to the user's watermark configuration information, adding a watermark to the display content of the virtual desktop, the virtual desktop runs based on the virtualization server; the second display module 112, used to display the received display content.
所述装置还包括:第一发送模块,用于在所述接收所述虚拟化服务器发送的添加有水印的虚拟桌面的显示内容之前,向所述虚拟化服务器发送用户信息;所述用户信息用于所述虚拟化服务器获取用户的水印配置信息;或者,第二发送模块,用于在所述接收所述虚拟化服务器发送的添加有水印的虚拟桌面的显示内容之前,向所述虚拟化服务器发送用户的水印配置信息。The device further includes: a first sending module for sending user information to the virtualization server before receiving the display content of the watermarked virtual desktop sent by the virtualization server; the user information is used Obtaining the user's watermark configuration information from the virtualization server; or, a second sending module, configured to send the watermarked virtual desktop display content sent by the virtualization server to the virtualization server before the receiving Send user's watermark configuration information.
所述第二发送模块具体用于:向虚拟桌面管理中心发送用户信息;接收所述虚拟桌面管理中心根据所述用户信息返回的水印配置信息;将接收的所述水印配置信息发送至所述虚拟化服务器。The second sending module is specifically configured to: send user information to the virtual desktop management center; receive the watermark configuration information returned by the virtual desktop management center according to the user information; and send the received watermark configuration information to the virtual化Server.
本申请实施例是针对整个虚拟桌面系统增加水印功能,不只是针对某个特定应用程序。并且,水印的添加不依赖第三方应用程序,可以有效防止用户通过中断应用程序的方式自行停止添加水印的行为。The embodiment of the present application is to add a watermark function to the entire virtual desktop system, not just to a specific application program. Moreover, the addition of watermarks does not depend on third-party applications, which can effectively prevent users from stopping the behavior of adding watermarks by interrupting the applications.
本实施例提供的基于虚拟桌面的水印添加装置,能够实现前面方法实施例的具体过程,并达到相同的效果,这里不再重复。The apparatus for adding a watermark based on a virtual desktop provided in this embodiment can implement the specific process of the foregoing method embodiments and achieve the same effect, and will not be repeated here.
图12为本申请再一实施例提供的一种基于虚拟桌面的水印添加装置的模块组成示意图。如图12所示,该装置应用于虚拟桌面管理中心,所述虚拟桌面管理中心能够与虚拟化服务器通信,所述虚拟桌面基于所述虚拟化服务器 运行,该装置包括:内容获取模块121,用于从虚拟化服务器处获取待添加水印的虚拟桌面的显示内容;配置获取模块122,用于获取与所述虚拟桌面的显示内容相对应的用户的水印配置信息;第二添加模块123,用于根据所述水印配置信息,向所述虚拟桌面的显示内容中添加水印;第三显示模块124,用于将添加水印后的所述显示内容发送至所述虚拟化服务器,以通过虚拟桌面客户端显示添加水印后的所述显示内容;其中,所述虚拟桌面客户端与所述虚拟化服务器通信连接。FIG. 12 is a schematic diagram of module composition of a virtual desktop-based watermark adding device provided by yet another embodiment of the present application. As shown in FIG. 12, the device is applied to a virtual desktop management center, and the virtual desktop management center can communicate with a virtualization server. The virtual desktop operates based on the virtualization server. The device includes a content acquisition module 121 for To obtain the display content of the virtual desktop to be watermarked from the virtualization server; the configuration obtaining module 122 is used to obtain the user's watermark configuration information corresponding to the display content of the virtual desktop; the second adding module 123 is used to Add a watermark to the display content of the virtual desktop according to the watermark configuration information; a third display module 124 is used to send the watermarked display content to the virtualization server to pass the virtual desktop client Displaying the display content after adding the watermark; wherein, the virtual desktop client is in communication connection with the virtualization server.
配置获取模块122具体用于:从虚拟化服务器处,获取与所述虚拟桌面的显示内容相对应的用户的水印配置信息;或者,从虚拟化服务器处获取用户信息,根据所述用户信息,从存储的各用户的水印配置信息中,查找与所述虚拟桌面的显示内容相对应的用户的水印配置信息。The configuration obtaining module 122 is specifically configured to: obtain the watermark configuration information of the user corresponding to the display content of the virtual desktop from the virtualization server; or, obtain the user information from the virtualization server, and according to the user information, from In the stored watermark configuration information of each user, search for the user's watermark configuration information corresponding to the display content of the virtual desktop.
所述装置还包括:第二接收模块,用于接收所述虚拟桌面客户端发送的用户信息,根据所述用户信息,从存储的各用户的水印配置信息中查找水印配置信息并返回;或者,第三接收模块,用于接收所述虚拟化服务器发送的用户信息,根据所述用户信息,从存储的各用户的水印配置信息中查找水印配置信息并返回。The device further includes: a second receiving module, configured to receive user information sent by the virtual desktop client, and find and return watermark configuration information from the stored watermark configuration information of each user according to the user information; or, The third receiving module is configured to receive the user information sent by the virtualization server, and find and return the watermark configuration information from the stored watermark configuration information of each user according to the user information.
本申请实施例是针对整个虚拟桌面系统增加水印功能,不只是针对某个特定应用程序。并且,水印的添加不依赖第三方应用程序,可以有效防止用户通过中断应用程序的方式自行停止添加水印的行为。The embodiment of the present application is to add a watermark function to the entire virtual desktop system, not just to a specific application program. Moreover, the addition of watermarks does not depend on third-party applications, which can effectively prevent users from stopping the behavior of adding watermarks by interrupting the applications.
本实施例提供的基于虚拟桌面的水印添加装置,能够实现前面方法实施例的具体过程,并达到相同的效果,这里不再重复。The apparatus for adding a watermark based on a virtual desktop provided in this embodiment can implement the specific process of the foregoing method embodiments and achieve the same effect, and will not be repeated here.
相应于上述的一种基于虚拟桌面的水印添加方法,本申请实施例提供一种基于虚拟桌面的水印添加设备,参见图13所示,该设备包括处理器1310、存储器1320、收发机1330和总线接口。其中:在本申请实施例中,该设备1300还包括:存储在存储器1320上并可在所述处理器1310上运行的计算机程序,所述计算机程序被所述处理器1310执行时实现上述虚拟化服务器实现的各个 方法过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Corresponding to the above method for adding a watermark based on a virtual desktop, an embodiment of the present application provides a device for adding a watermark based on a virtual desktop, as shown in FIG. 13, the device includes a processor 1310, a memory 1320, a transceiver 1330, and a bus interface. Wherein: In the embodiment of the present application, the device 1300 further includes: a computer program stored on the memory 1320 and executable on the processor 1310, and the computer program is executed by the processor 1310 to realize the above virtualization The various methods and processes implemented by the server can achieve the same technical effect. To avoid repetition, they will not be repeated here.
当然,所述计算机程序被所述处理器1310执行时实现上述虚拟桌面客户端实现的各个方法过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Of course, when the computer program is executed by the processor 1310, each method and process implemented by the virtual desktop client described above can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not described here.
此外,所述计算机程序被所述处理器1310执行时实现上述虚拟桌面管理中心实现的各个方法过程,且能达到相同的技术效果,为避免重复,这里不再赘述。In addition, when the computer program is executed by the processor 1310, each method and process implemented by the virtual desktop management center described above can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not described here.
在图13中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1310代表的一个或多个处理器和存储器1320代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机1330可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。In FIG. 13, the bus architecture may include any number of interconnected buses and bridges. Specifically, one or more processors represented by the processor 1310 and various circuits of the memory represented by the memory 1320 are linked together. The bus architecture can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, etc., which are well known in the art, and therefore, they will not be further described in this article. The bus interface provides an interface. The transceiver 1330 may be a plurality of elements, including a transmitter and a receiver, and provides a unit for communicating with various other devices on a transmission medium.
处理器1310负责管理总线架构和通常的处理,存储器1320可以存储处理器1310在执行操作时所使用的数据。The processor 1310 is responsible for managing the bus architecture and general processing, and the memory 1320 may store data used by the processor 1310 when performing operations.
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述各个方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Embodiments of the present application also provide a computer-readable storage medium that stores a computer program on the computer-readable storage medium. When the computer program is executed by a processor, the processes of the foregoing method embodiments are implemented, and the same technical effect can be achieved In order to avoid repetition, I will not repeat them here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, It also includes other elements that are not explicitly listed, or include elements inherent to such processes, methods, objects, or devices. Without more restrictions, the element defined by the sentence "include one..." does not exclude that there are other identical elements in the process, method, article or device that includes the element.
通过以上的实施例的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施例。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware, but in many cases the former is better的实施例。 Examples. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence or part of contributions to the existing technology, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, The CD-ROM includes several instructions to enable a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to perform the methods described in the embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施例,上述的具体实施例仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above with reference to the drawings, but the present application is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only schematic, not limiting, and those of ordinary skill in the art Under the inspiration of this application, many forms can be made without departing from the scope of the application and the scope of the claims, all of which fall within the protection of this application.

Claims (15)

  1. 一种基于虚拟桌面的水印添加方法,其特征在于,应用于虚拟化服务器,所述虚拟桌面基于所述虚拟化服务器运行;所述方法包括:A method for adding a watermark based on a virtual desktop is characterized in that it is applied to a virtualization server, and the virtual desktop runs based on the virtualization server; the method includes:
    获取用户的水印配置信息;Obtain the user's watermark configuration information;
    根据所述水印配置信息,向所述虚拟桌面的显示内容中添加水印;Add a watermark to the display content of the virtual desktop according to the watermark configuration information;
    将添加水印后的所述显示内容发送至虚拟桌面客户端,以供所述虚拟桌面客户端显示添加水印后的所述显示内容。Sending the watermarked display content to the virtual desktop client for the virtual desktop client to display the watermarked display content.
  2. 根据权利要求1所述的方法,其特征在于,所述获取用户的水印配置信息,包括:The method of claim 1, wherein the acquiring user's watermark configuration information includes:
    接收虚拟桌面客户端发送的用户的水印配置信息;或者,接收虚拟桌面客户端发送的用户信息,根据所述用户信息,从虚拟桌面管理中心处获取用户的水印配置信息。Receiving the user's watermark configuration information sent by the virtual desktop client; or, receiving the user information sent by the virtual desktop client, and obtaining the user's watermark configuration information from the virtual desktop management center according to the user information.
  3. 根据权利要求1所述的方法,其特征在于,在所述根据所述水印配置信息,向所述虚拟桌面的显示内容中添加水印之前,所述方法还包括:The method according to claim 1, wherein before the adding a watermark to the display content of the virtual desktop according to the watermark configuration information, the method further comprises:
    确定所述虚拟桌面的显示内容发生变更;Determining that the display content of the virtual desktop has changed;
    所述向所述虚拟桌面的显示内容中添加水印,包括:The adding of a watermark to the display content of the virtual desktop includes:
    向所述虚拟桌面的变更后的显示内容中添加水印。Add a watermark to the changed display content of the virtual desktop.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述方法通过虚拟化服务器中的虚拟桌面设备模拟进程实现。The method according to any one of claims 1 to 3, wherein the method is implemented by a virtual desktop device simulation process in a virtualization server.
  5. 一种基于虚拟桌面的水印添加方法,其特征在于,应用于虚拟桌面客户端;所述方法包括:A method for adding a watermark based on a virtual desktop is characterized in that it is applied to a virtual desktop client; the method includes:
    接收虚拟化服务器发送的添加有水印的虚拟桌面的显示内容;其中,所述 添加有水印的虚拟桌面的显示内容由所述虚拟化服务器根据用户的水印配置信息,向所述虚拟桌面的显示内容中添加水印得到,所述虚拟桌面基于所述虚拟化服务器运行;Receiving the display content of the watermarked virtual desktop sent by the virtualization server; wherein the display content of the watermarked virtual desktop is displayed by the virtualization server to the virtual desktop according to the user's watermark configuration information Obtained by adding a watermark to the virtual desktop, the virtual desktop runs based on the virtualization server;
    显示接收的所述显示内容。The received display content is displayed.
  6. 根据权利要求5所述的方法,其特征在于,在所述接收所述虚拟化服务器发送的添加有水印的虚拟桌面的显示内容之前,还包括:The method according to claim 5, wherein before the receiving the display content of the watermarked virtual desktop sent by the virtualization server, the method further comprises:
    向所述虚拟化服务器发送用户信息;所述用户信息用于所述虚拟化服务器获取用户的水印配置信息;或者,向所述虚拟化服务器发送用户的水印配置信息。Sending user information to the virtualization server; the user information is used by the virtualization server to obtain the user's watermark configuration information; or, sending the user's watermark configuration information to the virtualization server.
  7. 根据权利要求6所述的方法,其特征在于,所述向所述虚拟化服务器发送用户的水印配置信息,包括:The method according to claim 6, wherein the sending the user's watermark configuration information to the virtualization server includes:
    向虚拟桌面管理中心发送用户信息;Send user information to the virtual desktop management center;
    接收所述虚拟桌面管理中心根据所述用户信息返回的水印配置信息;Receiving the watermark configuration information returned by the virtual desktop management center according to the user information;
    将接收的所述水印配置信息发送至所述虚拟化服务器。Sending the received watermark configuration information to the virtualization server.
  8. 一种基于虚拟桌面的水印添加方法,其特征在于,应用于虚拟桌面管理中心,所述虚拟桌面管理中心能够与虚拟化服务器通信,所述虚拟桌面基于所述虚拟化服务器运行;所述方法包括:A method for adding a watermark based on a virtual desktop, characterized in that it is applied to a virtual desktop management center, the virtual desktop management center can communicate with a virtualization server, and the virtual desktop runs based on the virtualization server; the method includes :
    从虚拟化服务器处获取待添加水印的虚拟桌面的显示内容;Obtain the display content of the virtual desktop to be watermarked from the virtualization server;
    获取与所述虚拟桌面的显示内容相对应的用户的水印配置信息;Acquiring user's watermark configuration information corresponding to the display content of the virtual desktop;
    根据所述水印配置信息,向所述虚拟桌面的显示内容中添加水印;Add a watermark to the display content of the virtual desktop according to the watermark configuration information;
    将添加水印后的所述显示内容发送至所述虚拟化服务器,以通过虚拟桌面客户端显示添加水印后的所述显示内容;其中,所述虚拟桌面客户端与所述虚拟化服务器通信连接。Sending the watermarked display content to the virtualization server to display the watermarked display content through a virtual desktop client; wherein, the virtual desktop client is in communication connection with the virtualization server.
  9. 根据权利要求8所述的方法,其特征在于,所述获取与所述虚拟桌面的显示内容相对应的用户的水印配置信息,包括:The method according to claim 8, wherein the acquiring watermark configuration information of the user corresponding to the display content of the virtual desktop includes:
    从虚拟化服务器处,获取与所述虚拟桌面的显示内容相对应的用户的水印配置信息;或者,从虚拟化服务器处获取用户信息,根据所述用户信息,从存储的各用户的水印配置信息中,查找与所述虚拟桌面的显示内容相对应的用户的水印配置信息。Obtain the user's watermark configuration information corresponding to the display content of the virtual desktop from the virtualization server; or, obtain the user information from the virtualization server, and store the watermark configuration information of each user according to the user information In searching for the user's watermark configuration information corresponding to the display content of the virtual desktop.
  10. 根据权利要求8或9所述的方法,其特征在于,还包括:The method according to claim 8 or 9, further comprising:
    接收所述虚拟桌面客户端发送的用户信息,根据所述用户信息,从存储的各用户的水印配置信息中查找水印配置信息并返回;或者,接收所述虚拟化服务器发送的用户信息,根据所述用户信息,从存储的各用户的水印配置信息中查找水印配置信息并返回。Receiving the user information sent by the virtual desktop client, searching for and returning the watermark configuration information from the stored watermark configuration information of each user according to the user information; or receiving the user information sent by the virtualization server, according to The user information is searched for and returned from the stored watermark configuration information of each user.
  11. 一种基于虚拟桌面的水印添加装置,其特征在于,应用于虚拟化服务器,所述虚拟桌面基于所述虚拟化服务器运行;所述装置包括:A watermark adding device based on a virtual desktop is characterized in that it is applied to a virtualization server, and the virtual desktop runs based on the virtualization server; the device includes:
    信息获取模块,用于获取用户的水印配置信息;Information acquisition module, used to obtain user's watermark configuration information;
    第一添加模块,用于根据所述水印配置信息,向所述虚拟桌面的显示内容中添加水印;A first adding module, configured to add a watermark to the display content of the virtual desktop according to the watermark configuration information;
    第一显示模块,用于将添加水印后的所述显示内容发送至虚拟桌面客户端,以供所述虚拟桌面客户端显示添加水印后的所述显示内容。The first display module is configured to send the watermarked display content to the virtual desktop client for the virtual desktop client to display the watermarked display content.
  12. 一种基于虚拟桌面的水印添加装置,其特征在于,应用于虚拟桌面客户端;所述装置包括:A device for adding a watermark based on a virtual desktop is characterized in that it is applied to a virtual desktop client; the device includes:
    第一接收模块,用于接收虚拟化服务器发送的添加有水印的虚拟桌面的显示内容;其中,所述添加有水印的虚拟桌面的显示内容由所述虚拟化服务器根 据用户的水印配置信息,向所述虚拟桌面的显示内容中添加水印得到,所述虚拟桌面基于所述虚拟化服务器运行;The first receiving module is configured to receive the display content of the watermarked virtual desktop sent by the virtualization server; wherein, the display content of the watermarked virtual desktop is sent by the virtualization server according to the user's watermark configuration information to A watermark is added to the display content of the virtual desktop, and the virtual desktop runs based on the virtualization server;
    第二显示模块,用于显示接收的所述显示内容。The second display module is used to display the received display content.
  13. 一种基于虚拟桌面的水印添加装置,其特征在于,应用于虚拟桌面管理中心,所述虚拟桌面管理中心能够与虚拟化服务器通信,所述虚拟桌面基于所述虚拟化服务器运行;所述装置包括:A watermark adding device based on a virtual desktop is characterized by being applied to a virtual desktop management center, the virtual desktop management center can communicate with a virtualization server, and the virtual desktop runs based on the virtualization server; the device includes :
    内容获取模块,用于从虚拟化服务器处获取待添加水印的虚拟桌面的显示内容;The content acquisition module is used to acquire the display content of the virtual desktop to be watermarked from the virtualization server;
    配置获取模块,用于获取与所述虚拟桌面的显示内容相对应的用户的水印配置信息;A configuration obtaining module, configured to obtain the user's watermark configuration information corresponding to the display content of the virtual desktop;
    第二添加模块,用于根据所述水印配置信息,向所述虚拟桌面的显示内容中添加水印;A second adding module, configured to add a watermark to the display content of the virtual desktop according to the watermark configuration information;
    第三显示模块,用于将添加水印后的所述显示内容发送至所述虚拟化服务器,以通过虚拟桌面客户端显示添加水印后的所述显示内容;其中,所述虚拟桌面客户端与所述虚拟化服务器通信连接。A third display module, configured to send the watermarked display content to the virtualization server to display the watermarked display content through a virtual desktop client; wherein, the virtual desktop client and all The virtual server communication connection.
  14. 一种基于虚拟桌面的水印添加设备,其特征在于,包括存储器、处理器及在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现权利要求1至4任一项所述的基于虚拟桌面的水印添加方法,或者,所述计算机程序被所述处理器执行时实现权利要求5至7任一项所述的基于虚拟桌面的水印添加方法,或者,所述计算机程序被所述处理器执行时实现权利要求8至10任一项所述的基于虚拟桌面的水印添加方法。A watermark adding device based on a virtual desktop, characterized in that it includes a memory, a processor, and a computer program that can run on the memory, and when the computer program is executed by the processor A method for adding a watermark based on a virtual desktop according to any one of claims 1 to 4, or, when the computer program is executed by the processor, a method for adding a watermark based on a virtual desktop according to any one of claims 5 to 7 A method, or, when the computer program is executed by the processor, a method for adding a watermark based on a virtual desktop according to any one of claims 8 to 10.
  15. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至4中 任一项所述的基于虚拟桌面的水印添加方法,或者,所述计算机程序被处理器执行时实现如权利要求5至7中任一项所述的基于虚拟桌面的水印添加方法,或者所述计算机程序被处理器执行时实现如权利要求8至10中任一项所述的基于虚拟桌面的水印添加方法。A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the virtual-based storage medium according to any one of claims 1 to 4 is implemented A method for adding a watermark on a desktop, or, when the computer program is executed by a processor, the method for adding a watermark based on a virtual desktop according to any one of claims 5 to 7, or when the computer program is executed by a processor The method for adding a watermark based on a virtual desktop according to any one of claims 8 to 10.
PCT/CN2019/110145 2018-12-12 2019-10-09 Virtual desktop-based watermark addition method and device WO2020119232A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811519771.6 2018-12-12
CN201811519771.6A CN111310135B (en) 2018-12-12 2018-12-12 Watermark adding method and device based on virtual desktop

Publications (1)

Publication Number Publication Date
WO2020119232A1 true WO2020119232A1 (en) 2020-06-18

Family

ID=71075618

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/110145 WO2020119232A1 (en) 2018-12-12 2019-10-09 Virtual desktop-based watermark addition method and device

Country Status (2)

Country Link
CN (1) CN111310135B (en)
WO (1) WO2020119232A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113420268A (en) * 2021-07-15 2021-09-21 南京中孚信息技术有限公司 Watermark adding method, device, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113672837A (en) * 2021-08-25 2021-11-19 北京三快在线科技有限公司 Webpage watermark adding method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020191809A1 (en) * 2001-02-27 2002-12-19 Darko Kirovski Asymmetric spread-spectrum watermarking systems and methods of use
US20130097426A1 (en) * 2008-12-18 2013-04-18 Vmware, Inc. Watermarking and scalability techniques for a virtual desktop planning tool
CN103150500A (en) * 2013-02-01 2013-06-12 深圳市深信服电子科技有限公司 Desktop virtualization-based watermark realization method and device
CN104348834A (en) * 2014-10-27 2015-02-11 深圳市京华科讯科技有限公司 Desktop-virtualization-based image transmission encryption method and system
CN107038355A (en) * 2016-12-19 2017-08-11 云巅(上海)网络科技有限公司 Cloud platform dynamic watermark generates system and its control method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101686294B (en) * 2009-08-10 2011-06-15 北京立思辰新技术有限公司 Embedded type file information security management system
CN103379101A (en) * 2012-04-20 2013-10-30 腾讯科技(深圳)有限公司 Watermark generation method, client side and server
KR101932538B1 (en) * 2013-04-10 2018-12-27 한화테크윈 주식회사 Apparatus and method for processing watermark, and apparatus for photographing image
CN107547480A (en) * 2016-06-28 2018-01-05 华为技术有限公司 A kind of method, apparatus and virtual desktop management system of virtual desktop security control

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020191809A1 (en) * 2001-02-27 2002-12-19 Darko Kirovski Asymmetric spread-spectrum watermarking systems and methods of use
US20130097426A1 (en) * 2008-12-18 2013-04-18 Vmware, Inc. Watermarking and scalability techniques for a virtual desktop planning tool
CN103150500A (en) * 2013-02-01 2013-06-12 深圳市深信服电子科技有限公司 Desktop virtualization-based watermark realization method and device
CN104348834A (en) * 2014-10-27 2015-02-11 深圳市京华科讯科技有限公司 Desktop-virtualization-based image transmission encryption method and system
CN107038355A (en) * 2016-12-19 2017-08-11 云巅(上海)网络科技有限公司 Cloud platform dynamic watermark generates system and its control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113420268A (en) * 2021-07-15 2021-09-21 南京中孚信息技术有限公司 Watermark adding method, device, equipment and storage medium
CN113420268B (en) * 2021-07-15 2024-02-02 南京中孚信息技术有限公司 Watermark adding method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111310135A (en) 2020-06-19
CN111310135B (en) 2023-03-14

Similar Documents

Publication Publication Date Title
US20190005265A1 (en) Dynamic content redaction
US10698812B2 (en) Updating cache using two bloom filters
US8417764B2 (en) Dynamic mashup creation from a set of resources and resource relationships
US9436763B1 (en) Infrastructure enabling intelligent execution and crawling of a web application
CN108880921B (en) Webpage monitoring method and device, storage medium and server
US20150279058A1 (en) Page Rendering Method and Apparatus
US20140351211A1 (en) Media File Synchronization
US20100333031A1 (en) Managing multiple virtual world accounts from a single virtual lobby interface
US10846377B2 (en) Secure file sharing using semantic watermarking
EP3136656B1 (en) Information sharing method and device
US10446113B2 (en) Method and system for inversion of raster images
US8341733B2 (en) Creating secured file views in a software partition
US10719529B2 (en) Presenting a trusted tag cloud
WO2020119232A1 (en) Virtual desktop-based watermark addition method and device
US10437917B2 (en) Web page nonintrusive content protection on user device
US20100257413A1 (en) Verification service for dynamic content update
JP7369229B2 (en) How to change the skin of the mini program page, devices and electronic devices
WO2016169212A1 (en) File management method and device
CN108153645B (en) Method for associating monitoring data with program in virtual desktop based on image matching
KR20220034787A (en) Media source authentication through soft watermarking
CN110851649A (en) Social contact system and method of vocal electronic business cards based on image and text
WO2019100234A1 (en) Method and apparatus for implementing information interaction
CN114385951A (en) Site content management method and device, computer equipment and storage medium
CN106802856A (en) The performance test methods of game application, server and game application client
US20130069953A1 (en) User Interface Feature Generation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19897207

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22.10.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19897207

Country of ref document: EP

Kind code of ref document: A1