Method and device for creating sandbox environment for plug-in operation, and computing equipment

A plug-in and sandbox technology, which is applied in computing, multi-programming, software engineering design, etc., can solve the problems of plug-in environment isolation, inflexible Docker solution, and inability to realize hardware hot-swapping, etc.

Active Publication Date: 2022-01-28
UNIONTECH SOFTWARE TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. As a general browser plug-in solution, different plug-in manufacturers and plug-in developers need different resources, permissions, and environments. However, the container environment created by Docker cannot be modified after the container is created. Therefore, the Docker solution In this context it becomes inflexible
[0005] 2. Plug-in process management and all loaded plug-ins run in a container environment. Although the environment is isolated from the host machine, complete environmental isolation between each plug-in is not achieved
[0006] 3. Unable to realize hot-swapping of hardware and dynamically read hardware resources (taking bank customers as an example, the plug-in system will require U-shield hot-swapping)

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for creating sandbox environment for plug-in operation, and computing equipment
  • Method and device for creating sandbox environment for plug-in operation, and computing equipment
  • Method and device for creating sandbox environment for plug-in operation, and computing equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0023] In view of the problems that the existing plug-in process management technology cannot be customized, plug-ins cannot be isolated, etc., resulting in the inability to modularize control and inflexibility, the present invention provides a method for creating a sandbox environment for plug-in operation, which can realize plug-in process resources The modular control can realize complete control in the entire life cycle of the s...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and device for creating a sandbox environment for plug-in operation, and computing equipment. The method for creating the sandbox environment for plug-in operation comprises: creating the sandbox environment, mapping a local directory for each plug-in into the sandbox environment, and mapping an equipment management directory of a host machine into the sandbox environment; adding different resource restrictions to different sandbox environments; loading plug-in process management; receiving a message transmitted by a front end, the message including the ID of the plug-in and the version of the plug-in, and transmitting the message to the plug-in process management; and managing and loading the corresponding plug-ins through the plug-in process, wherein only one master plug-in and the slave plug-ins on which the master plug-in depends are loaded in one sandbox environment. According to the scheme, modular management and control of plug-in process resources are achieved, complete management and control can be achieved in the whole life cycle of the sandbox, hardware resources can be dynamically accessed, and the disk read-write speed and the network uplink and downlink speed are limited.

Description

technical field [0001] The invention relates to the technical field of computer browser plug-in running, in particular to a method and device for creating a sandbox environment for plug-in running, a computing device and a readable storage medium. Background technique [0002] In the current practice, it is necessary to ensure the security and resource isolation of plug-in process management and plug-in. The existing technical solution is to isolate the plug-in process through Docker. Docker originated from the Linux Container (LXC) technology and is currently the mainstream virtualization container solution. It provides a set of standardized container solutions, the design diagram is as follows figure 1 shown. Such as figure 1 As shown, the host can manage plug-ins, and docker provides an interface for managing plug-ins. The local resource manager is responsible for managing the relationship between local resources and docker containers. The plug-in management and plu...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48G06F21/53G06F8/30
CPCG06F9/4881G06F21/53G06F8/315G06F9/44521
Inventor 陈弘唯张文斌
Owner UNIONTECH SOFTWARE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products