Method for realizing user isolation under online programming environment

A programming environment and user technology, applied in the field of use scenarios related to Web online programming, to achieve the effect of strong isolation, strong scalability and good security

Inactive Publication Date: 2016-07-27
北京量邦信息科技股份有限公司
View PDF2 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention mainly solves the problem of mutual isolation of each user environment in an online programming website, and designs a structure that can isolate multiple user spaces to share an operating system. These user spaces are isolated from each other, as if monopolizing the entire operating system, so that both Allow users to properly store data and files while ensuring security

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 for realizing user isolation under online programming environment
  • Method for realizing user isolation under online programming environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, so as to define the protection scope of the present invention more clearly.

[0013] figure 2 Be the concrete implementation flowchart of the present invention, combine figure 1 As shown, three nodes are taken as an example to describe the steps in detail.

[0014] In step 401, the user logs in to the website, writes the programming code on the page and submits it.

[0015] In step 402, the Nginx reverse proxy server performs load balancing and distributes requests to JupyterHub. JupyterHub is used to start the docker image to parse user code. And docker allows developers to package their applications and dependent packages and make them into image files into a portable container, and then publish them to any popular L...

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 for realizing user isolation in an online programming environment. Set up a server cluster, use the docker container engine to remotely start the mirror, and each user corresponds to a mirror. Start on use, stop on exit. Use docker swarm to manage docker clusters, use nfs to save files, and implement multiple nodes to access the same file system to save user files. Each user has a unique folder, which is mounted when the container starts. Through the above method, the present invention enables multiple user spaces to be isolated to share one operating system, breaks the limitation that one operating system can only have one programming environment, and realizes the function of starting multiple programming environments by one operating system. And it can be deployed and hot-scaled simply and quickly.

Description

1. Technical field [0001] The invention relates to the field of computer software, in particular to usage scenarios related to Web online programming. 2. Background technology [0002] At present, online programming websites generally adopt the traditional B / S architecture. Users transmit the written code to the server for processing, and each user shares the resources of the server and the same processing environment. This results in that the operations are not isolated from each other, and users It is possible to view each other's operations, and the confidentiality and security of data and user information and data are poor. Or, users cannot save their own written files in their own unique programming environment. 3. Contents of the invention [0003] The present invention mainly solves the problem of mutual isolation of each user environment in an online programming website, and designs a structure that can isolate multiple user spaces to share an operating system. Th...

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/44G06F21/53
CPCG06F8/30G06F21/53G06F2221/2149
Inventor 冯永昌
Owner 北京量邦信息科技股份有限公司
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