CN111639335A - Sandbox control method and device, electronic equipment and storage medium - Google Patents

Sandbox control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111639335A
CN111639335A CN202010477806.5A CN202010477806A CN111639335A CN 111639335 A CN111639335 A CN 111639335A CN 202010477806 A CN202010477806 A CN 202010477806A CN 111639335 A CN111639335 A CN 111639335A
Authority
CN
China
Prior art keywords
sandbox
window
operation interface
real
time image
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
CN202010477806.5A
Other languages
Chinese (zh)
Inventor
叶升路
易斗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202010477806.5A priority Critical patent/CN111639335A/en
Publication of CN111639335A publication Critical patent/CN111639335A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • G06F21/53Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by executing in a restricted environment, e.g. sandbox or secure virtual machine

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention is suitable for the technical field of computers and provides a sandbox control method, a sandbox control device, electronic equipment and a storage medium, wherein the sandbox control method comprises the following steps: hiding a graphical operation interface of the sandbox when the sandbox is started; acquiring a real-time image of the graphical operation interface of the sandbox, which is obtained in the process of hiding the graphical operation interface of the sandbox; and creating a first window on an operating system desktop of the electronic equipment, and displaying a real-time image of a graphical operation interface of the sandbox in the first window.

Description

Sandbox control method and device, electronic equipment and storage medium
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a sandbox control method and device, electronic equipment and a storage medium.
Background
The sandbox provides a virtual environment for the application program to run, and all operations of the application program in the virtual environment cannot generate permanent influence on the hard disk of the computer. Therefore, the sandbox can be used for testing suspicious software and protecting the computer. The sandbox creates a graphical operation interface which is identical to the desktop of the computer operation system through the explorer process, and a user can operate on the graphical operation interface. In the related art, switching between the operating system desktop and the graphical operation interface is inconvenient, and the operating efficiency is influenced.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for controlling a sandbox, a switch and a storage medium, so as to at least solve the problem of inconvenient switching between an operating system desktop and a graphical operation interface of the sandbox in the related art.
The technical scheme of the embodiment of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for controlling a fan of an apparatus, where the method includes:
hiding a graphical operation interface of the sandbox when the sandbox is started;
acquiring a real-time image of the graphical operation interface of the sandbox, which is obtained in the process of hiding the graphical operation interface of the sandbox;
and creating a first window on an operating system desktop of the electronic equipment, and displaying a real-time image of a graphical operation interface of the sandbox in the first window.
In the foregoing solution, the control method further includes:
receiving an operation instruction in the first window;
and synchronously executing the operation corresponding to the operation instruction on the sandbox based on the operation instruction.
In the foregoing solution, the control method further includes:
acquiring size change information of the first window;
resizing the real-time image in the first window based on the dimensional change information.
In the foregoing solution, the receiving an operation instruction in the first window includes:
receiving at least one of the following operation instructions in the first window:
a mouse operation instruction;
and (5) operating instructions of the keyboard.
In the scheme, the control method of the sandbox is realized by running a set process; the setting process comprises any one of the following processes:
setting a subprocess of the sandbox;
a set external process to the sandbox.
In the foregoing solution, when the real-time image of the graphical operation interface of the sandbox obtained in the process of hiding the graphical operation interface of the sandbox is obtained, the control method further includes:
storing the real-time image in a memory;
while displaying the real-time image of the graphical operation interface of the sandbox in the first window, the method further comprises:
and sending the real-time image in the memory to the first window.
In the above scheme, the starting sandbox includes:
and starting the setting process at the same time of starting the sandbox.
In a second aspect, an embodiment of the present invention provides a control apparatus for a sandbox, where the apparatus includes:
the hiding module is used for hiding the graphical operation interface of the sandbox when the sandbox is started;
the acquisition module is used for acquiring a real-time image of the graphical operation interface of the sandbox, which is obtained in the process of hiding the graphical operation interface of the sandbox;
and the creating module is used for creating a first window on an operating system desktop of the electronic equipment and displaying a real-time image of the graphical operation interface of the sandbox in the first window.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, where the processor and the memory are connected to each other, where the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the steps of the sandbox control method provided in the first aspect of the embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, including: the computer-readable storage medium stores a computer program. The computer program, when executed by a processor, implements the steps of the method of controlling a sandbox as provided by the first aspect of an embodiment of the present invention.
According to the embodiment of the invention, when the sandbox is started, the graphical operation interface of the sandbox is hidden; acquiring a real-time image of the graphical operation interface of the sandbox, which is obtained in the process of hiding the graphical operation interface of the sandbox; a first window is created on an operating system desktop of the electronic device, and a real-time image of a graphical operation interface of the sandbox is displayed in the first window. The embodiment of the invention can realize the windowing of the graphical operation interface of the sandbox, and is convenient for a user to switch between the operation system desktop of the electronic equipment and the graphical operation interface of the sandbox.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation process of a sandbox control method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating an implementation of another sandbox control method according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating an implementation of another sandbox control method according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of an implementation of a sandbox control method according to an embodiment of the present invention;
fig. 5 is a block diagram of a control device of a sandbox according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The technical means described in the embodiments of the present invention may be arbitrarily combined without conflict.
In addition, in the embodiments of the present invention, "first", "second", and the like are used for distinguishing similar objects, and are not necessarily used for describing a specific order or a sequential order.
In a sandbox environment, any write disk operations will be redirected to a particular temporary folder. Therefore, even if the browsed webpage or the downloaded file contains malicious programs such as viruses, trojans or advertisements, the malicious programs are only installed in the temporary folder, and the real operating system of the computer cannot be damaged. The temporary folder is deleted while the sandbox process is ended, so that no influence is caused on the disk of the computer. The sandbox creates a graphical operation interface which is identical to the desktop of the operating system of the computer through the explorer process, and a user can operate on the graphical operation interface. However, the graphical operation interface created by the explorer process cannot realize windowing and cannot realize scaling, so that the switching operation between the operating system desktop and the graphical operation interface is complex, and the operation efficiency is affected.
Aiming at the technical defect of low operation efficiency in the related art, the embodiment of the invention provides a sandbox control method, which can realize windowing of a graphical operation interface of the sandbox and is convenient for a user to switch between an operation system desktop and the graphical operation interface. In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Fig. 1 is a schematic flow chart illustrating an implementation process of a sandbox control method according to an embodiment of the present invention, where an execution subject of the method may be an electronic device such as a desktop computer, a notebook, a tablet computer, and the like. Referring to fig. 1, a control method of a sandbox includes:
s101, hiding a graphical operation interface of the sandbox when the sandbox is started.
The sandbox is a computer application program, and is usually deployed in an operating system of the electronic device in a client form, and when the sandbox is started in the operating system, the graphical operation interfaces of the sandbox are simultaneously started, and at this time, the graphical operation interface of the sandbox is displayed on a display of the electronic device.
In practical applications, the graphical operation interface of the sandbox can be understood as a function of the sandbox. And when the subprocess of the graphical operation interface is started, loading the graphical operation interface of the sandbox on an operation system desktop of the electronic equipment. The closing of a sub-process does not affect the main process, but closing the main process kills all sub-processes. For example, when closing a sandbox, the sub-process of the graphical operation interface may be closed at the same time. In practical applications, the graphical operation interface of the sandbox can be realized through an explorer process.
In the embodiment of the invention, when the sandbox is started, the graphical operation interface of the sandbox is hidden, and in practical application, a ShowWindow (hWnd, nCmdShow) function can be called to hide the graphical operation interface of the sandbox, wherein hWnd refers to a corresponding window handle, nCmdShow specifies how a window is displayed, here, the window handle corresponds to the graphical operation interface of the sandbox, and when the nCmdShow parameter is 0, the window is represented as a hidden window, namely the graphical operation interface of the hidden sandbox.
That is, the graphical operation interface of the sandbox is not loaded on the operating system desktop of the electronic device. Meanwhile, the process of the graphical operation interface of the sandbox still runs in the background, and is not displayed in the display interface of the electronic device.
S102, acquiring a real-time image of the graphical operation interface of the sandbox, which is obtained in the process of hiding the graphical operation interface of the sandbox.
Although the graphical operation interface of the sandbox is hidden, the process of the graphical operation interface of the sandbox still runs in the background, and therefore a real-time image of the graphical operation interface of the sandbox can be obtained. In practical application, the real-time image may be generated in a driver layer of an operating system, and when the driver layer sends the real-time image to an application layer of the operating system, the real-time image data is captured on a corresponding data interface, so that the application layer cannot display the real-time image sent by the driver layer, that is, cannot load a graphical operation interface of a sandbox on an operating system desktop of the electronic device. Intercepting the real-time image data can be realized in a driving layer of an operating system and also can be realized in an application layer of the operating system. If the real-time image data is realized in the driving layer, the real-time image data is intercepted when the driving layer of the operating system generates the real-time image data. If the real-time image data is realized in the application layer, the real-time image data is intercepted when the application layer of the operating system receives the real-time image.
S103, a first window is created on an operating system desktop of the electronic equipment, and a real-time image of a graphical operation interface of the sandbox is displayed in the first window.
In practical applications, the first window may be created by calling a CreateWindow function, which is a window creation function in which the position (coordinates) and size (width and height) of the first window are defined, and after calling the CreateWindow function, a return value is obtained. If the CreateWindow function is successfully called, the first window is successfully created, and the returned value is a new window handle which corresponds to the first window; if the CreateWindow function call fails, the first window creation fails, returning a value of NULL.
Further, in an embodiment, the control method of the sandbox is implemented by running a set process; the setting process comprises any one of the following processes:
setting a subprocess of the sandbox;
a set external process to the sandbox.
In the embodiment of the invention, the sandbox is started and the setting process is started at the same time.
In practical application, if the set process is a subprocess of a sandbox, the first window can be displayed as a function of the sandbox, the function is integrated in the sandbox, the set subprocess of the sandbox is started, the first window can be created on an operating system desktop of the electronic device, and a real-time image in a graphical operation interface of the sandbox is displayed through the first window. The setting process can also be an external process of the sandbox, the set external process of the sandbox is started, and the first window can also be created on an operating system desktop of the electronic device.
In an embodiment, when the real-time image of the gui of the sandbox obtained in the process of hiding the gui of the sandbox is obtained, the control method further includes:
and storing the real-time image in a memory.
While displaying the real-time image of the graphical operation interface of the sandbox in the first window, the method further comprises:
and sending the real-time image in the memory to the first window.
And storing the real-time image in a memory of the electronic equipment, and sending the real-time image in the memory to the first window. The reading and writing speed of the real-time image can be increased, the electronic equipment can write the real-time image into the memory quickly, and the electronic equipment can read the real-time image from the memory quickly, so that the real-time image in the graphical operation interface of the sandbox can be displayed in the first window quickly.
By creating the first window on the operating system desktop of the electronic equipment and displaying the real-time image of the graphical operation interface of the sandbox in the first window, a user can freely switch operation between the graphical operation interface and the operating system desktop by clicking a mouse or inputting a keyboard shortcut key, and operation convenience is improved.
The method comprises the steps of hiding a graphical operation interface of a sandbox when the sandbox is started, and obtaining a real-time image of the graphical operation interface of the sandbox obtained in the process of hiding the graphical operation interface of the sandbox; a first window is created on an operating system desktop of the electronic device, and a real-time image of a graphical operation interface of the sandbox is displayed in the first window. The embodiment of the invention can realize the windowing of the graphical operation interface of the sandbox, and is convenient for a user to switch between the operation system desktop of the electronic equipment and the graphical operation interface of the sandbox.
Referring to fig. 2, in an embodiment, after displaying the real-time image of the gui of the sandbox in the first window, the control method further includes:
s201, receiving an operation instruction in the first window.
Further, the receiving an operation instruction in the first window includes:
receiving at least one of the following operation instructions in the first window:
a mouse operation instruction;
and (5) operating instructions of the keyboard.
In practical applications, in addition to the mouse operation instruction and the keyboard operation instruction, the operation instruction received in the first window may further include a voice operation instruction input by a user through a microphone of the electronic device, or a touch screen instruction triggered by the user on a touch screen of the electronic device.
S202, based on the operation instruction, synchronously executing the operation corresponding to the operation instruction to the sandbox.
The mouse operation instruction and the keyboard operation instruction input by the user in the first window are synchronously executed in the graphical operation interface of the sandbox, for example, if the user double-clicks an icon of an application program in the real-time image of the first window through a mouse of the electronic device, the mouse double-click operation is synchronously executed in the hidden graphical operation interface of the sandbox, the icon of the corresponding application program is double-clicked, and the application program is started in the graphical operation interface of the sandbox.
Referring to fig. 3, in an embodiment, the control method further includes:
s301, acquiring size change information of the first window.
After the first window is created, the size of the first window needs to be determined, and the size of the first window comprises the height and the width of the first window. And determining the size of the real-time image in the graphical operation interface according to the size of the first window, so that the size of the real-time image can be matched with the size of the first window.
In the embodiment of the present invention, the size of the first window may be adjusted, the first window is usually displayed on an operating system desktop of the electronic device in a rectangular frame form, and when the height and the width of the first window are adjusted, the height change information and the width change information of the first window are obtained.
S302, adjusting the size of the real-time image in the first window based on the size change information.
After the size of the first window is adjusted, the size of the real-time image in the graphical operation interface of the sandbox needs to be adjusted synchronously, so that the real-time image in the graphical operation interface of the sandbox cannot overflow the first window, the size of the real-time image cannot be too smaller than that of the first window, and the width and the height of the real-time image can be matched with those of the first window.
The embodiment of the invention can adjust the size of the first window, adjust the size of the real-time image in the graphical operation interface of the sandbox based on the size change information of the first window, and simultaneously display the graphical operation interface of the sandbox and the operating system desktop of the electronic equipment when the size of the window is reduced, thereby facilitating the switching operation of a user between the graphical operation interfaces of the operating system desktop of the electronic equipment, improving the operation convenience of the user and solving the defect that the switching of the user between the graphical operation interface and the operating system desktop is complicated.
Referring to fig. 4, fig. 4 is a schematic diagram of a control flow of a sandbox according to an embodiment of the present invention, where the control flow of the sandbox includes:
s401, starting the sandbox desktop.
The sandbox desktop is the graphical operation interface of the sandbox.
S402, hiding the sandbox desktop.
After the sandbox desktop is started, the sandbox desktop is hidden, so that the sandbox desktop runs in the background.
S403, acquiring a real-time image of the hidden sandbox desktop.
And storing the hidden real-time image of the sandbox desktop in an internal memory.
S404, the real-time image of the sandbox desktop is sent to the sandbox client on the system desktop.
And the system desktop is an operating system desktop of the electronic equipment, and the real-time image of the sandbox desktop in the memory is sent to the sandbox client on the system desktop.
S405, the sandbox client creates a first window to display a real-time image of the sandbox desktop.
The first window is a function of the sandbox client, after the real-time image of the sandbox desktop is received, the sandbox client creates the first window, and the real-time image of the sandbox desktop is displayed through the first window.
S406, the sandbox client adjusts the size of the real-time image according to the size of the first window, and synchronizes the mouse and keyboard commands of the user on the first window to the sandbox desktop.
The embodiment of the invention can realize windowing of the sandbox desktop, is convenient for a user to switch between the operating system desktop and the sandbox desktop of the electronic equipment, improves the operation convenience of the user, and solves the defect that the user is complicated to switch between the operating system desktop and the sandbox desktop.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Referring to fig. 5, fig. 5 is a schematic diagram of a control device for a sandbox according to an embodiment of the present invention, as shown in fig. 5, the device includes: the device comprises a hiding module, an obtaining module and a creating module.
The hiding module is used for hiding the graphical operation interface of the sandbox when the sandbox is started;
the acquisition module is used for acquiring a real-time image of the graphical operation interface of the sandbox, which is obtained in the process of hiding the graphical operation interface of the sandbox;
and the creating module is used for creating a first window on an operating system desktop of the electronic equipment and displaying a real-time image of the graphical operation interface of the sandbox in the first window.
The device further comprises:
the receiving module is used for receiving an operation instruction in the first window;
and the execution module is used for synchronously executing the operation corresponding to the operation instruction on the sandbox based on the operation instruction.
The device further comprises:
the size obtaining module is used for obtaining size change information of the first window;
and the adjusting module is used for adjusting the size of the real-time image in the first window based on the size change information.
The determining module is specifically configured to: receiving at least one of the following operation instructions in the first window:
a mouse operation instruction;
and (5) operating instructions of the keyboard.
The control method of the sandbox is realized by running a set process; the setting process comprises any one of the following processes:
setting a subprocess of the sandbox;
a set external process to the sandbox.
The acquisition module is further configured to: storing the real-time image in a memory;
the creation module is further to: and sending the real-time image in the memory to the first window.
The device also comprises a starting module which is used for starting the setting process while starting the sandbox.
It should be noted that: in the control device for a sandbox according to the above embodiments, when controlling the sandbox, only the division of the above modules is illustrated, and in practical applications, the processing may be distributed to different modules according to needs, that is, the internal structure of the device may be divided into different modules to complete all or part of the processing described above. In addition, the control device of the sandbox provided in the above embodiments and the control method embodiment of the sandbox belong to the same concept, and the specific implementation process thereof is described in detail in the method embodiment and is not described herein again.
Fig. 6 is a schematic diagram of an electronic device according to an embodiment of the present invention. The electronic device includes: cell phones, tablets, servers, etc. As shown in fig. 6, the electronic apparatus of this embodiment includes: a processor, a memory, and a computer program stored in the memory and executable on the processor. The processor, when executing the computer program, implements the steps in the various method embodiments described above, such as steps 101 to 103 shown in fig. 1. Alternatively, the processor, when executing the computer program, implements the functions of the modules in the above device embodiments, such as the functions of the hiding module, the obtaining module, and the creating module shown in fig. 5.
Illustratively, the computer program may be partitioned into one or more modules that are stored in the memory and executed by the processor to implement the invention. The one or more modules may be a series of computer program instruction segments capable of performing certain functions, which are used to describe the execution of the computer program in the electronic device.
The electronic device may include, but is not limited to, a processor, a memory. Those skilled in the art will appreciate that fig. 6 is merely an example of an electronic device and is not limiting of an electronic device, and may include more or fewer components than those shown, or some components in combination, or different components, e.g., the electronic device may also include input output devices, network access devices, buses, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable gate array (FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory may be an internal storage unit of the electronic device, such as a hard disk or a memory of the electronic device. The memory may also be an external storage device of the electronic device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the electronic device. Further, the memory may also include both an internal storage unit and an external storage device of the electronic device. The memory is used for storing the computer program and other programs and data required by the electronic device. The memory may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/electronic device and method may be implemented in other ways. For example, the above-described apparatus/electronic device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A method of controlling a sandbox comprising:
hiding a graphical operation interface of the sandbox when the sandbox is started;
acquiring a real-time image of the graphical operation interface of the sandbox, which is obtained in the process of hiding the graphical operation interface of the sandbox;
and creating a first window on an operating system desktop of the electronic equipment, and displaying a real-time image of a graphical operation interface of the sandbox in the first window.
2. The control method according to claim 1, characterized by further comprising:
receiving an operation instruction in the first window;
and synchronously executing the operation corresponding to the operation instruction on the sandbox based on the operation instruction.
3. The control method according to claim 1, characterized by further comprising:
acquiring size change information of the first window;
resizing the real-time image in the first window based on the dimensional change information.
4. The control method according to claim 2, wherein the receiving of the operation instruction in the first window comprises:
receiving at least one of the following operation instructions in the first window:
a mouse operation instruction;
and (5) operating instructions of the keyboard.
5. The control method according to claim 1, wherein the control method of the sandbox is realized by running a setting process; the setting process comprises any one of the following processes:
setting a subprocess of the sandbox;
a set external process to the sandbox.
6. The control method according to claim 1, wherein when the real-time image of the graphical operation interface of the sandbox obtained in the process of hiding the graphical operation interface of the sandbox is obtained, the control method further comprises:
storing the real-time image in a memory;
while displaying the real-time image of the graphical operation interface of the sandbox in the first window, the method further comprises:
and sending the real-time image in the memory to the first window.
7. The control method of claim 5, wherein the starting sandbox comprises:
and starting the setting process at the same time of starting the sandbox.
8. A control device for a sandbox, comprising:
the hiding module is used for hiding the graphical operation interface of the sandbox when the sandbox is started;
the acquisition module is used for acquiring a real-time image of the graphical operation interface of the sandbox, which is obtained in the process of hiding the graphical operation interface of the sandbox;
and the creating module is used for creating a first window on an operating system desktop of the electronic equipment and displaying a real-time image of the graphical operation interface of the sandbox in the first window.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of controlling a sandbox according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to execute the method of controlling a sandbox according to any one of claims 1 to 7.
CN202010477806.5A 2020-05-29 2020-05-29 Sandbox control method and device, electronic equipment and storage medium Pending CN111639335A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010477806.5A CN111639335A (en) 2020-05-29 2020-05-29 Sandbox control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010477806.5A CN111639335A (en) 2020-05-29 2020-05-29 Sandbox control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111639335A true CN111639335A (en) 2020-09-08

Family

ID=72328514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010477806.5A Pending CN111639335A (en) 2020-05-29 2020-05-29 Sandbox control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111639335A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6061695A (en) * 1996-12-06 2000-05-09 Microsoft Corporation Operating system shell having a windowing graphical user interface with a desktop displayed as a hypertext multimedia document
CN107463402A (en) * 2017-07-31 2017-12-12 腾讯科技(深圳)有限公司 The operation method and device of virtual opetrating system
CN108519900A (en) * 2018-03-28 2018-09-11 新华三云计算技术有限公司 display window control method, device and server
CN109284153A (en) * 2017-07-21 2019-01-29 中兴通讯股份有限公司 Method, relevant device and the computer media of single machine experience multiple operating system
CN109324903A (en) * 2018-09-21 2019-02-12 深圳前海达闼云端智能科技有限公司 Display resource regulating method and device for embedded system
CN109710343A (en) * 2017-10-25 2019-05-03 北京众纳鑫海网络技术有限公司 Windows switching method, device, equipment and the storage medium of computer desktop

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6061695A (en) * 1996-12-06 2000-05-09 Microsoft Corporation Operating system shell having a windowing graphical user interface with a desktop displayed as a hypertext multimedia document
CN109284153A (en) * 2017-07-21 2019-01-29 中兴通讯股份有限公司 Method, relevant device and the computer media of single machine experience multiple operating system
CN107463402A (en) * 2017-07-31 2017-12-12 腾讯科技(深圳)有限公司 The operation method and device of virtual opetrating system
CN109710343A (en) * 2017-10-25 2019-05-03 北京众纳鑫海网络技术有限公司 Windows switching method, device, equipment and the storage medium of computer desktop
CN108519900A (en) * 2018-03-28 2018-09-11 新华三云计算技术有限公司 display window control method, device and server
CN109324903A (en) * 2018-09-21 2019-02-12 深圳前海达闼云端智能科技有限公司 Display resource regulating method and device for embedded system

Similar Documents

Publication Publication Date Title
US9728164B2 (en) Moving a tile across multiple workspaces
CN106843715B (en) Touch support for remoted applications
CN109471626B (en) Page logic structure, page generation method, page data processing method and device
CN109144647B (en) Form design method and device, terminal equipment and storage medium
CN112214142B (en) Application information display method and device, electronic equipment and storage medium
CN107451244B (en) Folder naming method, mobile terminal and computer readable storage medium
US10146562B2 (en) Unlimited icon overlays
KR101975049B1 (en) Method and apparatus for setting background of ui control, and terminal
US20120262489A1 (en) Relative and Absolute Screen Rotation Draft Agent
CN110286819B (en) Window management method and computing device
EP3859522A1 (en) Method and system for controlling display orientation, and mobile terminal
CN110119299A (en) Information display method and equipment
CN112099690A (en) Page scaling method, device, terminal and storage medium
CN114489648A (en) Page generation method, system, terminal and medium
CN109298907B (en) Application program display method, application program display device and terminal
CN110174946A (en) Mouse action analogy method, simulation system, storage medium and electronic equipment
CN113867870A (en) Popup management system, popup control method, storage medium, and computer device
CN112015459A (en) Method and device for upgrading image file, terminal and readable storage medium
CN109582269B (en) Physical splicing screen display method and device and terminal equipment
CN105279164A (en) File processing method and device based on IOS system
CN111639335A (en) Sandbox control method and device, electronic equipment and storage medium
CN106919397B (en) A kind of method and mobile terminal of interface display
CN114629800A (en) Visual generation method, device, terminal and storage medium for industrial control network target range
CN112382379A (en) Soft keyboard implementation method and device of ultrasonic equipment, ultrasonic equipment and storage medium
CN112578961A (en) Application identifier display method and device

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