CN108519899A - A kind of anti-screenshotss method of virtual desktop, system and relevant apparatus - Google Patents

A kind of anti-screenshotss method of virtual desktop, system and relevant apparatus Download PDF

Info

Publication number
CN108519899A
CN108519899A CN201810246388.1A CN201810246388A CN108519899A CN 108519899 A CN108519899 A CN 108519899A CN 201810246388 A CN201810246388 A CN 201810246388A CN 108519899 A CN108519899 A CN 108519899A
Authority
CN
China
Prior art keywords
sectional drawing
drawing process
display interface
image
buffer zone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810246388.1A
Other languages
Chinese (zh)
Inventor
邓得敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sangfor Technologies Co Ltd
Original Assignee
Sangfor Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sangfor Technologies Co Ltd filed Critical Sangfor Technologies Co Ltd
Priority to CN201810246388.1A priority Critical patent/CN108519899A/en
Publication of CN108519899A publication Critical patent/CN108519899A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

An embodiment of the present invention provides a kind of anti-screenshotss method of virtual desktop, system and relevant apparatus to reduce the risk of information leakage for preventing virtual desktop image by screenshotss.Present invention method includes:The current display interface image of virtual desktop is stored in buffer zone, when the display interface of virtual desktop changes, the display interface image in buffer zone described in real-time update;When recognizing target program calling image API, the sectional drawing process during described image API Calls is monitored, and in the screenshot capture that sectional drawing process is generated, part removal identical with the display interface image in the buffer zone generates masked images;The original screenshot capture generated in sectional drawing process is replaced with into the masked images.

Description

A kind of anti-screenshotss method of virtual desktop, system and relevant apparatus
Technical field
The present invention relates to the field of computer technology more particularly to a kind of anti-screenshotss method of virtual desktop, system and related dresses It sets.
Background technology
Desktop virtualization refers to virtualizing the terminal system (also referred to as desktop) of computer, to reach desktop use Safety and flexibility.Our individuals can be belonged to by network access any time by any equipment, in any place Desktop system, for the information security of virtualization desktop, it is often necessary to limit virtualization desktop screenshotss function.
In existing virtualization desktop screenshotss scheme, the side only to the anti-screenshotss of the local user terminal of virtualizing desktop system Case shields the screenshotss function of local user terminal completely, cannot use local cut completely during using virtualizing desktop system Shield function.
In existing scheme, local screenshotss function cannot be used completely during using virtualizing desktop system, when user exists During using virtualizing desktop system, when opening the five application page except virtualizing desktop system by local user terminal, i.e., Make there is no the interface shown in virtualization desktop on current screen, it also can not be to the application except virtualizing desktop system interface The page carries out local screen, influences the use of local screenshotss, user experience is bad.
Invention content
An embodiment of the present invention provides a kind of anti-screenshotss method of virtual desktop, system and relevant apparatus, virtual for preventing Desktop picture reduces the risk of information leakage by screenshotss.
First aspect of the embodiment of the present invention provides a kind of anti-screenshotss method of virtual desktop, which is characterized in that including:
The current display interface image of virtual desktop is stored in buffer zone, when the display interface of virtual desktop becomes When change, the display interface image in buffer zone described in real-time update;
When recognizing target program calling image API, the sectional drawing process during described image API Calls is monitored, and will In the screenshot capture that sectional drawing process generates, part removal identical with the display interface image in the buffer zone generates screen Cover image;
The original screenshot capture generated in sectional drawing process is replaced with into the masked images.
Optionally, as a kind of possible embodiment, the anti-screenshotss method of virtual desktop in the embodiment of the present invention, is also wrapped It includes:
The selection instruction of user is received, the selection instruction indicates whether to allow screenshotss;
If screenshotss are forbidden in the selection instruction instruction, the masked images are returned into the target program;
If the selection instruction instruction allows screenshotss, the screenshot capture is returned into the target program.
Optionally, as a kind of possible embodiment, institute in the anti-screenshotss method of virtual desktop in the embodiment of the present invention The sectional drawing process during monitoring described image API Calls is stated, and in the screenshot capture that sectional drawing process is generated, with the buffer area The identical part removal of display interface image in domain, generates masked images, including:
It whether there is sectional drawing process during identifying image API Calls by API HOOK technologies or filtration drive technology;
If there are sectional drawing process, in the screenshot capture that sectional drawing process is generated, with display circle in the buffer zone The identical part removal of face image, generates masked images.
Optionally, as a kind of possible embodiment, institute in the anti-screenshotss method of virtual desktop in the embodiment of the present invention It states in the screenshot capture for generating sectional drawing process, part removal identical with the display interface image in the buffer zone, packet It includes:
In the screenshot capture that sectional drawing process is generated, part identical with the display interface image in the buffer zone into Row mosaic processing;
Or, in the screenshot capture that sectional drawing process is generated, portion identical with the display interface image in the buffer zone Divide the picture for being filled with solid color.
Second aspect of the embodiment of the present invention provides a kind of anti-screen-cutting system of virtual desktop, it may include:
Memory module, for the current display interface image of virtual desktop to be stored in buffer zone, when virtual desktop When display interface changes, the display interface image in buffer zone described in real-time update;
Monitoring module, when recognizing target program calling image API, for being cut during monitoring described image API Calls Figure process, and in the screenshot capture that sectional drawing process is generated, part identical with the display interface image in the buffer zone Removal generates masked images;
Replacement module, for the original screenshot capture generated in sectional drawing process to be replaced with the masked images.
Optionally, as a kind of possible embodiment, the anti-screen-cutting system of virtual desktop further includes in the embodiment of the present invention:
Receiving module, the selection instruction for receiving user, the selection instruction indicate whether to allow screenshotss;
First drive module, it is described for returning to the masked images if screenshotss are forbidden in selection instruction instruction Target program;
Second drive module, if selection instruction instruction allows screenshotss, for will be original by what is generated in sectional drawing process Screenshot capture return to the target program.
Optionally, as a kind of possible embodiment, in the embodiment of the present invention described in the anti-screen-cutting system of virtual desktop Monitoring module includes:
Monitoring unit, for whether being deposited during passing through API HOOK technologies or filtration drive technology identification image API Calls In sectional drawing process;
Screen unit, if there are sectional drawing process, in the screenshot capture for generating sectional drawing process, with the buffer zone In the removal of display interface image identical part, generate masked images.
Optionally, as a kind of possible embodiment, in the embodiment of the present invention described in the anti-screen-cutting system of virtual desktop Screen unit includes:
First shielding subelement, in the screenshot capture for generating sectional drawing process, with the display in the buffer zone The identical part of interface image carries out mosaic processing;
Secondary shielding subelement, in the screenshot capture for generating sectional drawing process, with the display in the buffer zone The identical picture being partially filled with as solid color of interface image.
The third aspect of the embodiment of the present invention provides a kind of computer installation, which is characterized in that the computer installation packet Processor is included, such as first aspect and first aspect are realized when the processor is for executing the computer program stored in memory Described in any one possible embodiment the step of method.
Fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer journey Sequence, it is characterised in that:Such as first aspect and first aspect are realized when the computer program is executed by processor, and any one can Described in the embodiment of energy the step of method.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
In the embodiment of the present invention, the current display interface image of virtual desktop will can be stored in buffer zone in advance, When recognizing sectional drawing process, screenshot capture can be intercepted and captured, and processing is filtered to screenshot capture, sectional drawing process is generated In screenshot capture, part removal identical with the display interface image in buffer zone generates masked images, will be in sectional drawing process The original screenshot capture generated replaces with masked images, prevents virtual desktop image by screenshotss, reduces the wind of information leakage Danger.
Description of the drawings
Fig. 1 is a kind of one embodiment schematic diagram of the anti-screenshotss method of virtual desktop in the embodiment of the present invention;
Fig. 2 is a kind of another embodiment schematic diagram of the anti-screenshotss method of virtual desktop in the embodiment of the present invention;
When Fig. 3 is allows screenshotss in a kind of anti-screenshotss method of virtual desktop in the embodiment of the present invention, cut in local client Shield effect diagram;
When Fig. 4 is forbids screenshotss in a kind of anti-screenshotss method of virtual desktop in the embodiment of the present invention, cut in local client Shield effect diagram;
Fig. 5 is a kind of one embodiment schematic diagram of the anti-screen-cutting system of virtual desktop in the embodiment of the present invention;
Fig. 6 is a kind of another embodiment schematic diagram of the anti-screen-cutting system of virtual desktop in the embodiment of the present invention;
Fig. 7 is a kind of another embodiment schematic diagram of the anti-screen-cutting system of virtual desktop in the embodiment of the present invention;
Fig. 8 is Computer device one embodiment schematic diagram of the embodiment of the present invention.
Specific implementation mode
An embodiment of the present invention provides a kind of anti-screenshotss method of virtual desktop, system and relevant apparatus, virtual for preventing Desktop picture reduces the risk of information leakage by screenshotss.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The every other embodiment that member is obtained without making creative work should all belong to the model that the present invention protects It encloses.
Term " first ", " second ", " third " in description and claims of this specification and above-mentioned attached drawing, " Four " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way Data can be interchanged in the appropriate case, so that the embodiments described herein can be in addition to illustrating or describing herein Sequence other than appearance is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that covering is non-exclusive Include to be not necessarily limited to clearly arrange for example, containing the process of series of steps or unit, method, system, product or equipment Those of go out step or unit, but may include not listing clearly or solid for these processes, method, product or equipment The other steps or unit having.
Virtual desktop in the embodiment of the present invention can be based on Remote Desktop Protocol pattern (RDP, Remote Desktop Protocol), VDI virtual desktops infrastructure mode (Virtual Desktop Infrastructure, abbreviation VDI), VOI The virtual table that the prior arts such as virtual desktop infrastructure mode (Virtual OS Infrastructure, abbreviation VOI) are realized Face, specific virtual desktop are realized framework, are not limited herein.
In order to make it easy to understand, the detailed process in the embodiment of the present invention is described below, referring to Fig. 1, of the invention A kind of one embodiment of the anti-screenshotss method of virtual desktop may include in embodiment:
101, the current display interface image of virtual desktop is stored in buffer zone, when the display interface of virtual desktop is sent out When changing, the display interface image in updating cache in real time region;
In the embodiment of the present invention, screenshotss are carried out to the display interface of virtual desktop in order to prevent, it is necessary first to obtain virtual The current display interface image of desktop.
When user is during the client of local terminal opening virtual desktop uses virtual desktop, virtual desktop client can The current display interface image of virtual desktop is stored in buffer zone, and the display interface of virtual desktop is monitored in real time, when When the display interface of virtual desktop changes, the display interface image in updating cache in real time region.For example, user is virtual An Application Program Interface is opened in desktop, causes the current display interface of virtual desktop to change, virtual desktop client It can be by the current display interface image update of the virtual desktop after variation in buffer zone.
102, when recognizing target program calling image API, the sectional drawing process during monitoring image API Calls, and will In the screenshot capture that sectional drawing process generates, part removal identical with the display interface image in buffer zone generates shielding figure Picture;
There are two types of modes for existing scheme screenshotss scheme, and one is the API provided by operating system to carry out obtaining screen section Figure, a kind of this method is more common, because unrelated with video card hardware;Another kind is to obtain screen using the api interface of video card manufacturer Curtain sectional drawing, this mode is related to specific video card, and supports advanced function.It, can be right in the embodiment of the present invention Two kinds of screenshotss modes need the image api interface used to be monitored, when recognizing target program calling image API, Each process that may further be during monitoring image API Calls, to determine whether there is sectional drawing process.
If detecting the presence of sectional drawing process, need to be filtered processing to the screenshot capture generated in sectional drawing process, have Body can be by screenshot capture that sectional drawing process generates, part removal identical with the display interface image in buffer zone, Generate masked images.
Optionally, as a kind of possible embodiment, in the embodiment of the present invention, the client control image API Calls phase Between sectional drawing process, and the detailed process of screenshot capture for filtering the generation of sectional drawing process is:
It whether there is sectional drawing process during identifying image API Calls by API HOOK technologies or filtration drive technology;
If there are sectional drawing process, in the screenshot capture that sectional drawing process is generated, with the display interface figure in buffer zone As the removal of identical part, masked images are generated.
Wherein API HOOK can change the original function of a system API, and basic method is exactly to be obtained by HOOK The api function entrance changed to needs changes its address and is directed toward new customized function.Filtration drive is a kind of optional Driver be attached to normal device driving above, the behavior for adding or changing equipment, specific API HOOK and mistake Filter driving realization principle is the prior art, is not repeated herein.
103, the original screenshot capture generated in sectional drawing process is replaced with into masked images.
In the screenshot capture for generating sectional drawing process, part identical with the display interface image in buffer zone is gone It removes, after generation masked images, so that it may the original screenshot capture generated in sectional drawing process is replaced with masked images, change The implementing result of sectional drawing process has achieved the purpose that prevent from carrying out screenshotss to the display interface of virtual desktop.
In the embodiment of the present invention, the current display interface image of virtual desktop will can be stored in buffer zone in advance, When recognizing sectional drawing process, screenshot capture can be intercepted and captured, and processing is filtered to screenshot capture, sectional drawing process is generated In screenshot capture, part removal identical with the display interface image in buffer zone generates masked images, will be in sectional drawing process The original screenshot capture generated replaces with masked images, prevents virtual desktop image by screenshotss, reduces the wind of information leakage Danger.
On the basis of above-mentioned embodiment shown in FIG. 1, in practice, for whether allowing to virtual desktop image Carrying out screenshotss can be managed according to the setting of administrator, specific referring to Fig. 2, a kind of virtual table in the embodiment of the present invention Another embodiment of the anti-screenshotss method in face may include:
201, the selection instruction of user is received, selection instruction indicates whether to allow screenshotss;
Virtual desktop during use, the client of virtual desktop can be given tacit consent into anti-screenshotss pattern, and execute such as Fig. 1 Shown step can also instruct according to the user's choice, choose whether to allow screenshotss.If selection instruction instruction allows screenshotss, Other steps are then executed, for example, not executing following step 202 to 204, masked images is not made an amendment, target program is returned to; If screenshotss are forbidden in selection instruction instruction, 202 to 204 are thened follow the steps.
202, the current display interface image of virtual desktop is stored in buffer zone, when the display interface of virtual desktop is sent out When changing, the display interface image in updating cache in real time region;
203, when recognizing target program calling image API, the sectional drawing process during monitoring image API Calls, and will In the screenshot capture that sectional drawing process generates, part removal identical with the display interface image in buffer zone generates shielding figure Picture;
There are two types of modes for existing scheme screenshotss scheme, and one is the API provided by operating system to carry out obtaining screen section Figure, a kind of this method is more common, because unrelated with video card hardware;Another kind is to obtain screen using the api interface of video card manufacturer Curtain sectional drawing, this mode is related to specific video card, and supports advanced function.It, can be right in the embodiment of the present invention Two kinds of screenshotss modes need the image api interface used to be monitored, when recognizing target program calling image API, Each process that may further be during monitoring image API Calls, to determine whether there is sectional drawing process.
If detecting the presence of sectional drawing process, need to be filtered processing to the screenshot capture generated in sectional drawing process, have Body can be by screenshot capture that sectional drawing process generates, part removal identical with the display interface image in buffer zone, Generate masked images.
Optionally, as a kind of possible embodiment, in the embodiment of the present invention, the client control image API Calls phase Between sectional drawing process, and the detailed process of screenshot capture for filtering the generation of sectional drawing process is:
It whether there is sectional drawing process during identifying image API Calls by API HOOK technologies or filtration drive technology;
If there are sectional drawing process, in the screenshot capture that sectional drawing process is generated, with the display interface figure in buffer zone As the removal of identical part, masked images are generated.
Optionally, as a kind of possible embodiment, in the embodiment of the present invention, screen that client generates sectional drawing process In curtain sectional drawing, part removal identical with the display interface image in buffer zone can specifically include:
In the screenshot capture that sectional drawing process is generated, part identical with the display interface image in buffer zone carries out horse Sai Ke processing;
Or, in the screenshot capture that sectional drawing process is generated, part identical with the display interface image in buffer zone is filled out Fill the picture for solid color.
In order to make it easy to understand, Fig. 3 and Fig. 4 is please referred to, when user uses void using the client of the ends PC opening virtual desktop When quasi- desktop system, when using local screenshotss function, when virtual desktop client allows screenshotss, screenshotss image as shown in figure 3, Task manager interface and the current display interface of virtual desktop of PC local sides are wherein contained in screenshotss image;When virtual table When face client forbids screenshotss, screenshotss image is as shown in figure 4, wherein contain the task manager of PC local sides in screenshotss image Interface and virtual desktop shield interface, wherein shield interface are uniformly filled with black.
204, the original screenshot capture generated in sectional drawing process is replaced with into masked images.
Step 202 in the present embodiment, the content described in 204 respectively with the step in above-mentioned embodiment shown in FIG. 1 Content described in rapid 101,103 is similar, referring specifically to step 101,103, is not repeated herein.
It is understood that in various embodiments of the present invention, the size of the serial number of above steps is not meant to The execution sequence of the priority of execution sequence, each step should be determined by its function and internal logic, without coping with the embodiment of the present invention Implementation process constitute any restriction.
It is understood that the sectional drawing process involved by the embodiment of the present invention can be application triggers, it can also It is process of the realization with sectional drawing function that kernel-driven module is triggered.In order to which monitoring filtering uses in this patent APIHOOK technologies, as long as it can also be other technologies realizations, such as the filtration drive of kernel that can reach this purpose.This is specially Sharp scheme neutralization operation system is unrelated, and the system of client and server-side can be isomery.
The anti-screenshotss method of virtual desktop in the embodiment of the present invention is described in above-described embodiment, below will be to this hair The anti-screen-cutting system of virtual desktop in bright embodiment is described, referring to Fig. 5, a kind of virtual desktop is anti-in the embodiment of the present invention One embodiment of screen-cutting system may include:
Memory module 501 works as virtual desktop for the current display interface image of virtual desktop to be stored in buffer zone Display interface when changing, the display interface image in updating cache in real time region;
Monitoring module 502, when recognizing target program calling image API, for sectional drawing during monitoring image API Calls Process, and in the screenshot capture that sectional drawing process is generated, part removal identical with the display interface image in buffer zone is raw At masked images;
Replacement module 503, for the original screenshot capture generated in sectional drawing process to be replaced with masked images.
Optionally, as a kind of possible embodiment, referring to Fig. 6, anti-section of the virtual desktop in the embodiment of the present invention Screen system can also include:
Receiving module 504, the selection instruction for receiving user, selection instruction indicate whether to allow screenshotss;
First drive module 505, if screenshotss are forbidden in selection instruction instruction, for masked images to be returned to target program;
Second drive module 506, if selection instruction instruction allows screenshotss, for will be original by what is generated in sectional drawing process Screenshot capture returns to target program.
Optionally, as a kind of possible embodiment, referring to Fig. 7, anti-section of the virtual desktop in the embodiment of the present invention Monitoring module 502 in screen system may include:
Monitoring unit 5021, for being during passing through API HOOK technologies or filtration drive technology identification image API Calls It is no that there are sectional drawing processes;
Screen unit 5022, if there are sectional drawing process, in the screenshot capture for generating sectional drawing process, with buffer zone In the removal of display interface image identical part, generate masked images.
Optionally, as a kind of possible embodiment, in the anti-screen-cutting system of virtual desktop in the embodiment of the present invention Screen unit 5022 includes:
First shielding subelement 50221, in the screenshot capture for generating sectional drawing process, with the display in buffer zone The identical part of interface image carries out mosaic processing;
Secondary shielding subelement 50222, in the screenshot capture for generating sectional drawing process, with the display in buffer zone The identical picture being partially filled with as solid color of interface image.
In the embodiment of the present invention, the current display interface image of virtual desktop will can be stored in buffer zone in advance, When recognizing sectional drawing process, screenshot capture can be intercepted and captured, and processing is filtered to screenshot capture, sectional drawing process is generated In screenshot capture, part removal identical with the display interface image in buffer zone generates masked images, will be in sectional drawing process The original screenshot capture generated replaces with masked images, prevents virtual desktop image by screenshotss, reduces the wind of information leakage Danger.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Above from the angle of modular functionality entity to the vehicle accessory data for block chain in the embodiment of the present invention Processing unit is described, and the computer installation in the embodiment of the present invention is described from the angle of hardware handles below:
The embodiment of the present invention additionally provides a kind of computer installation 8, as shown in figure 8, for convenience of description, illustrate only with The relevant part of the embodiment of the present invention, particular technique details do not disclose, please refer to present invention method part.The calculating Machine device 8 refers generally to the stronger computer equipment of the processing capacities such as server.
With reference to figure 8, computer installation 8 includes:Power supply 810, memory 820, processor 830, wired or wireless network connect Mouthfuls 840 and storage in memory and the computer program that can run on a processor.When processor executes computer program Realize the step in above-mentioned each vehicle OBD interface managerial method embodiments, such as in step 101 to 103, Fig. 2 shown in FIG. 1 Step 201 is to 204.Alternatively, processor realizes each module in above-mentioned each device embodiment or unit when executing computer program Function.
Illustratively, computer program can be divided into one or more module/units, one or more of moulds Block/unit is stored in the memory, and is executed by the processor, to complete the present invention.One or more of moulds Block/unit can be the series of computation machine program instruction section that can complete specific function, the instruction segment by describe it is described based on Implementation procedure of the calculation machine program in the computer installation.
It will be understood by those skilled in the art that structure shown in Fig. 6 does not constitute the restriction to computer installation 8, it can To include either combining certain components or different components arrangement, such as the calculating than illustrating more or fewer components Machine device can also include input-output equipment, bus etc..
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng the processor is the control centre of the computer installation, utilizes various interfaces and the entire computer installation of connection Various pieces.
The memory can be used for storing the computer program and/or module, and the processor is by running or executing Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization The various functions of computer installation.The memory can include mainly storing program area and storage data field, wherein storage program It area can storage program area, the application program (such as sound-playing function, image player function etc.) needed at least one function Deng;Storage data field can be stored uses created data (such as audio data, phone directory etc.) etc. according to mobile phone.In addition, Memory may include high-speed random access memory, can also include nonvolatile memory, such as hard disk, memory, grafting Formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
If the integrated module/unit of the computer installation is realized in the form of SFU software functional unit and as independent Product is sold or in use, can be stored in a computer read/write memory medium.Based on this understanding, the present invention is real All or part of flow in existing above-described embodiment method, can also instruct relevant hardware come complete by computer program At the computer program can be stored in a computer readable storage medium, which is being executed by processor When, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, described Computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..The meter Calculation machine readable medium may include:Can carry the computer program code any entity or device, recording medium, USB flash disk, Mobile hard disk, magnetic disc, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory Device (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It needs to illustrate It is that the content that the computer-readable medium includes can be fitted according to legislation in jurisdiction and the requirement of patent practice When increase and decrease, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include that electric carrier wave is believed Number and telecommunication signal.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments, it should be understood that disclosed system, device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of unit, only a kind of Division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, and be shown as unit Component may or may not be physical unit, you can be located at a place, or may be distributed over multiple networks On unit.Some or all of unit therein can be selected according to the actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
More than, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to aforementioned reality Applying example, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed Or it replaces, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of anti-screenshotss method of virtual desktop, which is characterized in that including:
The current display interface image of virtual desktop is stored in buffer zone, when the display interface of virtual desktop changes When, the display interface image in buffer zone described in real-time update;
When recognizing target program and calling image API, the sectional drawing process during described image API Calls is monitored, and by sectional drawing In the screenshot capture that process generates, part removal identical with the display interface image in the buffer zone generates shielding figure Picture;
The original screenshot capture generated in sectional drawing process is replaced with into the masked images.
2. according to the method described in claim 1, it is characterized in that, further including:
The selection instruction of user is received, the selection instruction indicates whether to allow screenshotss;
If screenshotss are forbidden in the selection instruction instruction, the masked images are returned into the target program;
If the selection instruction instruction allows screenshotss, the screenshot capture is returned into the target program.
3. according to the method described in claim 2, it is characterized in that, it is described monitoring described image API Calls during sectional drawing into Journey, and in the screenshot capture that sectional drawing process is generated, part removal identical with the display interface image in the buffer zone, Masked images are generated, including:
It whether there is sectional drawing process during identifying image API Calls by API HOOK technologies or filtration drive technology;
If there are sectional drawing process, in the screenshot capture that sectional drawing process is generated, with the display interface figure in the buffer zone As the removal of identical part, masked images are generated.
4. according to the method in any one of claims 1 to 3, which is characterized in that the screen for generating sectional drawing process In sectional drawing, part removal identical with the display interface image in the buffer zone, including:
In the screenshot capture that sectional drawing process is generated, part identical with the display interface image in the buffer zone carries out horse Sai Ke processing;
Or, in the screenshot capture that sectional drawing process is generated, part identical with the display interface image in the buffer zone is filled out Fill the picture for solid color.
5. a kind of anti-screen-cutting system of virtual desktop, which is characterized in that including:
Memory module, for the current display interface image of virtual desktop to be stored in buffer zone, when the display of virtual desktop When interface changes, the display interface image in buffer zone described in real-time update;
Monitoring module, when recognize target program call image API when, for sectional drawing during monitoring described image API Calls into Journey, and in the screenshot capture that sectional drawing process is generated, part removal identical with the display interface image in the buffer zone, Generate masked images;
Replacement module, for the original screenshot capture generated in sectional drawing process to be replaced with the masked images.
6. system according to claim 5, which is characterized in that further include:
Receiving module, the selection instruction for receiving user, the selection instruction indicate whether to allow screenshotss;
First drive module, if screenshotss are forbidden in selection instruction instruction, for the masked images to be returned to the target Program;
Second drive module, if selection instruction instruction allows screenshotss, original screen for that will will be generated in sectional drawing process Curtain sectional drawing returns to the target program.
7. system according to claim 6, which is characterized in that the monitoring module includes:
Monitoring unit is cut for whether there is during identifying image API Calls by API HOOK technologies or filtration drive technology Figure process;
Screen unit, if there are sectional drawing process, in the screenshot capture for generating sectional drawing process, and in the buffer zone The identical part removal of display interface image, generates masked images.
8. method according to any one of claims 5 to 7, which is characterized in that the screen unit includes:
First shielding subelement, in the screenshot capture for generating sectional drawing process, with the display interface in the buffer zone The identical part of image carries out mosaic processing;
Secondary shielding subelement, in the screenshot capture for generating sectional drawing process, with the display interface in the buffer zone The identical picture being partially filled with as solid color of image.
9. a kind of computer installation, which is characterized in that the computer installation includes processor, and the processor is deposited for executing It is realized when the computer program stored in reservoir such as the step of any one of Claims 1-4 the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that:The computer program It is realized when being executed by processor such as the step of any one of Claims 1-4 the method.
CN201810246388.1A 2018-03-23 2018-03-23 A kind of anti-screenshotss method of virtual desktop, system and relevant apparatus Pending CN108519899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810246388.1A CN108519899A (en) 2018-03-23 2018-03-23 A kind of anti-screenshotss method of virtual desktop, system and relevant apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810246388.1A CN108519899A (en) 2018-03-23 2018-03-23 A kind of anti-screenshotss method of virtual desktop, system and relevant apparatus

Publications (1)

Publication Number Publication Date
CN108519899A true CN108519899A (en) 2018-09-11

Family

ID=63434173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810246388.1A Pending CN108519899A (en) 2018-03-23 2018-03-23 A kind of anti-screenshotss method of virtual desktop, system and relevant apparatus

Country Status (1)

Country Link
CN (1) CN108519899A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417533A (en) * 2020-11-26 2021-02-26 江苏通付盾信息安全技术有限公司 Anti-screenshot method and device, computer equipment and storage medium
CN114595021A (en) * 2022-03-10 2022-06-07 Oppo广东移动通信有限公司 Method and device for repairing splash screen, electronic equipment, chip and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077539A (en) * 2014-07-09 2014-10-01 肖龙旭 Screen capture prevention method based on program windows
US20140344736A1 (en) * 2013-05-20 2014-11-20 Citrix Systems, Inc. Bound Based Contextual Zoom
CN105787874A (en) * 2014-12-25 2016-07-20 深圳市腾讯计算机系统有限公司 Method and device used for mosaic processing of captured image
CN105808107A (en) * 2016-03-28 2016-07-27 努比亚技术有限公司 Picture processing device and method
CN106485166A (en) * 2016-10-20 2017-03-08 广州三星通信技术研究有限公司 Screenshotss method and apparatus for electric terminal
CN107145800A (en) * 2017-05-31 2017-09-08 北京小米移动软件有限公司 Method for protecting privacy and device, terminal and storage medium
CN107330848A (en) * 2017-05-18 2017-11-07 捷开通讯(深圳)有限公司 Image processing method, mobile terminal and storage device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140344736A1 (en) * 2013-05-20 2014-11-20 Citrix Systems, Inc. Bound Based Contextual Zoom
CN104077539A (en) * 2014-07-09 2014-10-01 肖龙旭 Screen capture prevention method based on program windows
CN105787874A (en) * 2014-12-25 2016-07-20 深圳市腾讯计算机系统有限公司 Method and device used for mosaic processing of captured image
CN105808107A (en) * 2016-03-28 2016-07-27 努比亚技术有限公司 Picture processing device and method
CN106485166A (en) * 2016-10-20 2017-03-08 广州三星通信技术研究有限公司 Screenshotss method and apparatus for electric terminal
CN107330848A (en) * 2017-05-18 2017-11-07 捷开通讯(深圳)有限公司 Image processing method, mobile terminal and storage device
CN107145800A (en) * 2017-05-31 2017-09-08 北京小米移动软件有限公司 Method for protecting privacy and device, terminal and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112417533A (en) * 2020-11-26 2021-02-26 江苏通付盾信息安全技术有限公司 Anti-screenshot method and device, computer equipment and storage medium
CN114595021A (en) * 2022-03-10 2022-06-07 Oppo广东移动通信有限公司 Method and device for repairing splash screen, electronic equipment, chip and storage medium
CN114595021B (en) * 2022-03-10 2023-12-12 Oppo广东移动通信有限公司 Method and device for repairing screen, electronic equipment, chip and storage medium

Similar Documents

Publication Publication Date Title
CN105763602B (en) A kind of method of data request processing, server and system
CN110784361A (en) Virtualized cloud honey network deployment method, device, system and computer-readable storage medium
CN104484223B (en) A kind of Android system application method for closing and device
CN106843977B (en) A kind of processing method, device and the mobile terminal of application program self-starting
CN106874089B (en) A kind of processing method, device and the mobile terminal of application program self-starting
CN108205623B (en) Method and apparatus for sharing a directory
CN109829327A (en) Sensitive information processing method, device, electronic equipment and storage medium
CN106874086B (en) A kind of processing method, device and the mobile terminal of application program self-starting
CN103152197B (en) Rule set layout processing method, device and cluster data system
CN106874048B (en) A kind of processing method, device and the mobile terminal of application program self-starting
CN105095749B (en) The adapting method and device of status bar notice
CN110955541B (en) Data processing method, device, chip, electronic equipment and readable storage medium
CN110781528A (en) Collaborative secure operating system architecture, operating system and electronic device
CN106713004A (en) Router adaptation method and system
CN108519899A (en) A kind of anti-screenshotss method of virtual desktop, system and relevant apparatus
CN104252594A (en) Virus detection method and device
CN107908957B (en) Safe operation management method and system of intelligent terminal
CN104601969A (en) District fortifying method and device
CN104461741B (en) Graphics device interface based computing device optimizing method and device
CN106843829A (en) The display methods of desktop control, device and electronic equipment
CN106874088B (en) A kind of processing method, device and the mobile terminal of application program self-starting
CN104951683A (en) Information processing method and electronic equipment
CN105611046B (en) The Android mobile phone safety system of a kind of strategy customization and guard method thereof
CN106506163A (en) ROM packet processing methods and device
CN108153564A (en) Methods for interface management, equipment and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180911

RJ01 Rejection of invention patent application after publication