Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and apparatus and computing device for creating a sandbox environment for plug-in operation

A computing device and plug-in technology, which is applied in the field of computer browser plug-in operation, can solve the problems of inflexibility of the Docker solution, failure to realize plug-in environment isolation, and inability to realize hardware hot-swapping, etc.

Active Publication Date: 2022-06-24
UNIONTECH SOFTWARE TECH CO LTD
View PDF0 Cites 0 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 apparatus and computing device for creating a sandbox environment for plug-in operation
  • Method and apparatus and computing device for creating a sandbox environment for plug-in operation
  • Method and apparatus and computing device for creating a sandbox environment for plug-in operation

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. While 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 so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.

[0023] Aiming at the problems that the existing plug-in process management technology cannot be customized, cannot be isolated between plug-ins, etc., resulting in 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 modularized management and control of the sandbox can achieve compl...

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, a device and a computing device for creating a sandbox environment for plug-in running. The method for creating a sandbox environment for plug-in operation of the present invention includes: creating a sandbox environment, mapping a local directory for each plug-in to the sandbox environment, and mapping the device management directory of the host machine to the sandbox environment; add different resource limits to different sandbox environments; load the plug-in process management; receive the message sent by the front end, the message contains the plug-in ID, the plug-in version, and pass it to the plug-in process management; through the plug-in The process management loads corresponding plug-ins, wherein only one master plug-in and the slave plug-ins that the master plug-in depends on are loaded in a sandbox environment. The solution of the present invention realizes the modular management and control of plug-in process resources, can realize complete management and control in the entire life cycle of the sandbox, and enables dynamic access to hardware resources, and limits the read and write speed of the disk and the uplink and downlink speed of the network .

Description

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

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 Patents(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products