Online programming method and device, electronic equipment and storage medium

A programming method and storage medium technology, which is applied in the field of online programming method, electronic equipment and storage medium, and devices, and can solve the problems of not being able to obtain compilation results in a timely manner and making full use of server processing capabilities, etc.

Pending Publication Date: 2020-07-07
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The server in this method is public, and all users can send the source code to the server for compilation through the browser, but there is only one compilation environment in the server, so it is necessary to linearly process the user’s request for compiling the source code, which may cause the user After the source code is sent to the server, the compilation result cannot be obtained in a timely manner, and the processing capability of the server itself is much stronger than that of the equipment used by the user. It is difficult to make full use of the server's ability to process the user's request for compiling the source code linearly. processing power

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
  • Online programming method and device, electronic equipment and storage medium
  • Online programming method and device, electronic equipment and storage medium
  • Online programming method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0066] It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consi...

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 relates to an online programming method and device, electronic equipment and a storage medium. The method comprises the steps of receiving a source code compiling request sent by a terminal; starting a Docker, and marking the Docker to be special for the terminal; creating a compiling environment through the Docker; compiling the source code requested to be compiled by the terminal in a compiling environment to obtain an executable code; and sending the executable code to the terminal. According to the embodiment of the invention, since the Docker started by the server is specialfor the terminal, the compiling environment created by the Docker can continuously provide service for the terminal to compile the source code without conflict with the service that other terminals request to compile the source code, so that the source code requested to be compiled by the terminal can be compiled in time. And the server can start a plurality of Dockers and create a plurality of compiling environments to respectively provide services for each terminal, so that the processing capacity of the server is fully utilized.

Description

technical field [0001] The present disclosure relates to the technical field of programming, and in particular to an online programming method, device, electronic equipment and storage medium. Background technique [0002] After the user writes the source code, he can compile the source code to obtain the executable code. But compiling the source code requires a specific compilation environment, but not all devices have an appropriate compilation environment. In order to make it convenient for users to write source codes and obtain executable codes on various devices, an online compiling technology is proposed in the related art. [0003] The current online compilation technology mainly includes the following two methods: [0004] One way is to compile through the browser, the user can write the source code in the browser, and the compilation environment is pre-created in the browser, so that the browser can compile the source code written by the user into executable code ...

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): G06F8/41G06F9/455
CPCG06F8/41G06F9/45558G06F2009/45595G06F2009/45562
Inventor 刘胜
Owner BEIJING DAJIA INTERNET INFORMATION 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