Method and device for operating development environment, equipment and storage medium

By pre-enabled computing resources and dynamically mounting remote storage resources, the problem of slow startup speed of cloud integrated development environment is solved, and the startup speed and development efficiency are improved.

CN119322679APending Publication Date: 2025-01-17BEIJING ZITIAO NETWORK TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411345451.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2025-01-17

AI Technical Summary

Technical Problem

The traditional startup method of cloud integrated development environment requires the startup of computing resources and binding storage volumes through the container orchestration platform, resulting in a slow startup speed and affecting development efficiency.

Method used

By pre-enabled the target computing resource and dynamically mounting the remote storage resource to the computing resource, receiving the request using the receiving module associated with the management unit, adding the remote storage resource as a logical storage resource, and mounting it to the target storage path, so that The target computing resources can use remote storage resources to run the development environment.

Benefits of technology

It effectively reduces the time to run the development environment and improves the startup speed and development efficiency of the cloud integrated development environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119322679A_ABST
    Figure CN119322679A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a method and device for operating a development environment, equipment and a storage medium. The method provided herein includes: receiving, by a management unit associated with a target computing resource, a request to run a development environment with the target computing resource, the target computing resource determined from a pre-enabled set of candidate computing resources, where the target computing resource is pre-enabled by mounting a local target storage path; adding the remote storage resource as a logic storage resource of a physical node corresponding to the management unit; and mounting the logic storage resource to a target storage path corresponding to the target computing resource, so that the target computing resource runs the development environment by using the remote storage resource.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example embodiments of the present disclosure generally relate to the field of computers, and more particularly, to a method, apparatus, device, and computer-readable storage medium for running a development environment. Background Art

[0002] With the popularization of integrated development environments on the operation side, the startup speed of cloud integrated development environments has become the core competitiveness of code editing products. The computing and storage resources in the cloud are usually scheduled and maintained by the container orchestration platform. The container orchestration platform can greatly reduce the maintenance costs of developers for large-scale cloud containers. However, the traditional startup method of the cloud integrated development environment requires starting a computing resource through the container orchestration platform and then binding the only storage volume. This startup method is slow, which to a certain extent affects the maintenance of the cloud integrated development environment and the development efficiency of projects in the cloud integrated development environment. Summary of the invention

[0003] In a first aspect of the present disclosure, a method for running a development environment is provided. The method includes: receiving, by a management unit associated with a target computing resource, a request to run the development environment using the target computing resource, the target computing resource being determined from a set of pre-enabled candidate computing resources, wherein the target computing resource is pre-enabled by mounting a local target storage path; adding a remote storage resource as a logical storage resource of a physical node corresponding to the management unit; and mounting the logical storage resource to the target storage path corresponding to the target computing resource, so that the target computing resource runs the development environment by using the remote storage resource.

[0004] In a second aspect of the present disclosure, a device for running a development environment is provided. The device includes: a receiving module configured to receive a request for running a development environment using a target computing resource by a management unit associated with a target computing resource, wherein the target computing resource is determined from a set of pre-enabled candidate computing resources, wherein the target computing resource is pre-enabled by mounting a local target storage path; an adding module configured to add a remote storage resource as a logical storage resource of a physical node corresponding to the management unit; and a mounting module configured to mount the logical storage resource to a target storage path corresponding to the target computing resource, so that the target computing resource runs the development environment by using the remote storage resource.

[0005] In a third aspect of the present disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit. When the instructions are executed by the at least one processing unit, the device executes the method of the first aspect.

[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and the computer program can be executed by a processor to implement the method of the first aspect.

[0007] In a fifth aspect of the present disclosure, a computer program product is provided, comprising computer executable instructions, wherein the computer executable instructions implement the method of the first aspect when executed by a processor.

[0008] It should be understood that the contents described in this content section are not intended to limit the key features or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:

[0010] Figure 1 shows a schematic diagram of an example system in which embodiments according to the present disclosure may be implemented;

[0011] Figure 2 A flowchart illustrating an example process of running a development environment according to some embodiments of the present disclosure;

[0012] Figure 3 A schematic structural block diagram showing an example apparatus for running a development environment according to some embodiments of the present disclosure; and

[0013] Figure 4 A block diagram of an electronic device capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0014] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0015] It should be noted that the titles of any sections / subsections provided herein are not restrictive. Various embodiments are described throughout this article, and any type of embodiment may be included under any section / subsection. In addition, the embodiments described in any section / subsection may be combined in any manner with any other embodiments described in the same section / subsection and / or different sections / subsections.

[0016] In the description of the embodiments of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may be included below. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.

[0017] The embodiments of the present disclosure may involve user data, data acquisition and / or use, etc. These aspects are subject to the corresponding laws, regulations and relevant provisions. In the embodiments of the present disclosure, all data collection, acquisition, processing, processing, forwarding, use, etc. are carried out on the premise that the user knows and confirms. Accordingly, when implementing each embodiment of the present disclosure, the type, scope of use, usage scenario, etc. of the data or information that may be involved should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with the relevant laws and regulations. The specific notification and / or authorization method can vary according to the actual situation and application scenario, and the scope of the present disclosure is not limited in this respect.

[0018] In this specification and the embodiments, if personal information processing is involved, it will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or it is necessary to perform a contract, etc.), and will only be processed within the scope of regulations or agreements. If a user refuses to process personal information other than the necessary information for basic functions, it will not affect the user's use of basic functions.

[0019] As mentioned above, with the popularization of integrated development environments on the operation side, the startup speed of cloud integrated development environments has become the core competitiveness of code editing products. The computing and storage resources in the cloud are usually scheduled and maintained by the container orchestration platform, which can greatly reduce the maintenance costs of developers for large-scale cloud containers. The traditional startup method of the cloud integrated development environment requires starting a computing resource through the container orchestration platform and then binding the only storage volume. This startup method is slow, which to a certain extent affects the maintenance of the cloud integrated development environment and the development efficiency of projects in the cloud integrated development environment.

[0020] The embodiment of the present disclosure proposes a scheme for running a development environment. The scheme includes: receiving, by a management unit associated with a target computing resource, a request to run a development environment using the target computing resource, the target computing resource being determined from a set of pre-enabled candidate computing resources, wherein the target computing resource is pre-enabled by mounting a local target storage path; adding a remote storage resource as a logical storage resource of a physical node corresponding to the management unit; and mounting the logical storage resource to a target storage path corresponding to the target computing resource, so that the target computing resource runs the development environment by using the remote storage resource.

[0021] In this way, by enabling computing resources in advance and dynamically mounting storage resources to the computing resources, embodiments of the present disclosure can effectively reduce the time required to run the development environment.

[0022] Various example implementations of the solution are described in detail below in conjunction with the accompanying drawings.

[0023] Example System

[0024] Figure 1 1 is a schematic diagram of an example system 100 in which embodiments of the present disclosure can be implemented. Figure 1 As shown, example system 100 may include physical nodes 110 , candidate computing resource pools 120 , and remote storage resources 130 .

[0025] The example system 100 may be run in an electronic device that supports running an integrated development environment (IDE), for example. In the example system 100, the physical node 110 may include a management unit 115. The management unit 115 is associated with a target computing resource and may receive a request to run a development environment using the target computing resource. A user 140 may request the electronic device to start the system 100 via a terminal device.

[0026] The specific processing flow of the system 100 will be referred to below. Figure 2 Detailed description.

[0027] The electronic device may be, for example, an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks, and big data and artificial intelligence platforms. The electronic device may include, for example, a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like.

[0028] In some embodiments, the terminal device communicates with the electronic device to realize the supply of services for the cloud integrated development platform. The terminal device can be any type of mobile terminal, fixed terminal or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable game terminals, VR / AR devices, personal communication systems (PersonalCommunicationSystem, PCS) devices, personal navigation devices, personal digital assistants (PersonalDigitalAssistant, PDA), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio broadcast receivers, e-book devices, game devices or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, the terminal device can also support any type of interface for the user (such as "wearable" circuits, etc.).

[0029] A communication connection may be established between the electronic device and the terminal device. The communication connection may be established in a wired manner or a wireless manner. The communication connection may include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, etc., and the embodiments of the present disclosure are not limited in this respect. In the embodiments of the present disclosure, the terminal device and the electronic device may realize signaling interaction through the communication connection between the two.

[0030] It should be understood that the structure and function of each element in the environment are described for illustrative purposes only and do not imply any limitation on the scope of the present disclosure.

[0031] Some example embodiments of the present disclosure will be described below with continued reference to the accompanying drawings.

[0032] Example Process

[0033] Figure 2 1 is a flow chart showing an example process 200 of running a development environment according to some embodiments of the present disclosure. Process 200 may be implemented at system 100. Figure 1 The process 200 is described below.

[0034] like Figure 2As shown, in block 210, the system 100 receives a request to use the target computing resource to run the development environment using the target computing resource using the management unit 115 associated with the target computing resource. In some embodiments, the target computing resource is determined from a set of pre-enabled candidate computing resources, and the target computing resource is pre-enabled by mounting a local target storage path.

[0035] As an example, Figure 1 As shown, a user can send a request to start the cloud integrated development platform to an electronic device running the cloud integrated development platform through a terminal device. After receiving the request, the electronic device can start the cloud integrated development platform and send the request to the management unit 115 in the physical node 110. After receiving the request, the management unit 115 obtains the target computing resource 150 selected from the computing resource pool 120 for running the development environment. The target computing resource 150 can be a predetermined computing resource or any idle computing resource in the computing resource pool 120. The target computing resource 150 is pre-enabled by mounting the local target storage path 165. There are multiple candidate computing resources in the computing resource pool 120, and multiple candidate computing resources are pre-enabled.

[0036] In some scenarios, when starting a candidate computing resource, the electronic device can mount the computing resource to a preset storage path to complete the startup of the candidate computing resource. When a target computing resource is selected to perform an integrated development platform startup task, the electronic device then mounts the target computing resource to a target storage path to perform the integrated development platform startup task.

[0037] In some embodiments, the target storage path is determined based on the identifier of the target computing resource. As an example, the local storage path may be, for example, " / hostpath / ${pod_name}", where hostpath is the local disk directory of the physical node and pod_name is the identifier of the target computing resource 150. In this way, the target storage path 170 of the remote storage resource 160 can be accurately propagated to the target computing resource.

[0038] In some embodiments, the target storage path is mounted to the target computing resource based on the slave propagation mode. As an example, when the mount point is set to the slave propagation mode, the mount or unmount operation of other namespaces will be propagated to this mount point, but the mount or unmount operation of this mount namespace will not be propagated to other namespaces. In this way, the dynamic mount process described below can be implemented. In addition, since the mount or unmount operation of the mount namespace will not be propagated to other namespaces, the independence of the mount operation can be guaranteed.

[0039] By pre-starting the candidate computing resources, when starting the cloud integrated development platform, there is no need to start the computing resources again, thereby effectively speeding up the startup speed of the cloud integrated development platform.

[0040] In some embodiments, the target computing resource is determined by the scheduling unit 130 from a set of candidate computing resources based on a user's request to run the development environment. The scheduling unit can determine a physical node corresponding to the target resource. Further, the scheduling unit can send a mount request associated with the target computing resource to a management unit associated with the physical node.

[0041] As an example, Figure 1 As shown, when the electronic device starts the cloud integrated development platform, it can send a request to start the cloud integrated development platform to the scheduling unit 130. After receiving the request, the scheduling unit 130 can select a target computing resource from a plurality of candidate computing resources in the computing resource pool 120. Further, after determining the physical node corresponding to the target resource, the scheduling unit 130 can send a mount request to the management unit 115 to mount the target computing resource to the target storage path in the physical node 110.

[0042] In some embodiments, a set of candidate computing resources includes multiple pods created via Kubernetes. Kubernetes is an open source for managing containerized applications on multiple hosts in a cloud platform. Pod is the smallest resource management component in Kubernetes and is also the minimum resource object for running containerized applications.

[0043] As an example, after receiving a request to start a cloud development platform, the scheduling unit 130 can select a target computing resource from multiple pods (i.e., candidate computing resources) created by Kubernetes, so that the management unit 115 mounts the target computing resource to the target storage path in the physical node 110.

[0044] At block 220, the system 100 adds the remote storage resource as a logical storage resource of the physical node corresponding to the management unit. Figure 1 As shown, after selecting the target computing resource 150, the physical node 110 can trigger an event of adding a remote storage resource through the management unit 115. Further, the management unit 115 can add the remote storage resource 160 to the physical node 110 through network protocol interaction, so as to use the remote storage resource as a logical storage resource in the physical node 110.

[0045] In some embodiments, remote storage resource 160 may correspond to user 140 who initiated the request to run the development environment. For example, such remote storage resource 160 may include a private cloud storage space of user 140 to store the user's historical development data, such as historical code or historical projects.

[0046] In block 230 , the system 100 mounts the logical storage resource to a target storage path corresponding to the target computing resource, so that the target computing resource runs the development environment by using the remote storage resource.

[0047] As an example, Figure 1 As shown, the management unit 115 can add the remote storage resource 160 to the physical node 110 as a logical storage resource 165. Further, the physical node 110 can mount the logical storage resource 165 to the target storage path corresponding to the target computing resource through the management unit 115. Further, the management unit 115 can propagate the target storage path to the target computing resource in the physical node 110, so that the target computing resource can run the development environment by using the remote storage resource. By dynamically mounting the target computing resource to run the development environment by using the remote storage resource, the embodiments of the present disclosure can improve the startup efficiency of the cloud integrated development platform.

[0048] In some embodiments, the physical node 110 may format the logical storage resource to determine the local storage path corresponding to the logical storage resource. Further, the physical node 110 may mount the determined local storage path to the target storage path through the management unit 115, thereby achieving dynamic mounting of storage resources.

[0049] As an example, the management unit 115 may determine the local storage path 170 corresponding to the logical storage resource 165 by formatting the logical storage resource 165. Further, the management unit 115 may propagate the mount point to the target computing resource 150. Mount point propagation is a feature provided by the operating system kernel to control the propagation of mount points between different mount namespaces. This feature allows the mount point of the same file system to be propagated between multiple namespaces, thereby allowing the administrator to control the visibility of mount and unmount operations.

[0050] In this way, the embodiments of the present disclosure can effectively reduce the startup time of the cloud integrated development platform by pre-starting computing resources. In addition, the embodiments of the present disclosure can mount remote storage resources to physical nodes by dynamic mounting, further improving the operating efficiency of the cloud integrated development platform.

[0051] Example devices and equipment

[0052] The embodiments of the present disclosure also provide corresponding devices for implementing the above methods or processes. Figure 3 A schematic structural block diagram of an example apparatus 300 for running a development environment according to some embodiments of the present disclosure is shown. The apparatus 300 may be implemented as or included in the system 100. Each module / component in the apparatus 300 may be implemented by hardware, software, firmware, or any combination thereof.

[0053] like Figure 3 As shown, the device 300 includes: a receiving module 310, configured to receive a request for using the target computing resource to run a development environment by a management unit associated with the target computing resource, the target computing resource is determined from a set of pre-enabled candidate computing resources, wherein the target computing resource is pre-enabled by mounting a local target storage path; an adding module 320, configured to add a remote storage resource as a logical storage resource of a physical node corresponding to the management unit; and a mounting module 330, configured to mount the logical storage resource to the target storage path corresponding to the target computing resource, so that the target computing resource runs the development environment by using the remote storage resource.

[0054] In some embodiments, the mounting module 330 is further configured to: format the logical storage resource to determine a local storage path corresponding to the logical storage resource; and mount the local storage path to the target storage path.

[0055] In some embodiments, the target storage path is determined based on an identification of the target computing resource.

[0056] In some embodiments, the target storage path is mounted to the target computing resource based on a slave propagation mode.

[0057] In some embodiments, the target computing resource is determined by a scheduling unit from a group of candidate computing resources based on a user's request to run the development environment, and the scheduling unit is further configured to: determine a physical node corresponding to the target computing resource; and send a mount request associated with the target computing resource to a management unit associated with the physical node.

[0058] In some embodiments, the set of candidate computing resources includes a plurality of pods created via Kubernetes.

[0059] like Figure 4In some embodiments, as shown, the electronic device 400 is in the form of a general electronic device. The components of the electronic device 400 may include, but are not limited to, one or more processors or processing units 410, a memory 420, a storage device 430, one or more communication units 440, one or more input devices 450, and one or more output devices 460. The processing unit 410 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 420. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capabilities of the electronic device 400.

[0060] The electronic device 400 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 400, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 420 may be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 430 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data and may be accessed within the electronic device 400.

[0061] The electronic device 400 may further include additional removable / non-removable, volatile / non-volatile storage media. Figure 4 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. The memory 420 may include a computer program product 425 having one or more program modules that are configured to perform various methods or actions of various embodiments of the present disclosure.

[0062] The communication unit 440 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 400 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 400 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0063] The input device 450 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 460 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 400 may also communicate with one or more external devices (not shown) through the communication unit 440 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 400, or communicate with any device that allows the electronic device 400 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0064] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above.

[0065] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0066] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0067] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0068] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0069] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.

Claims

1. A method for running a development environment, comprising: Receiving, by a management unit associated with a target computing resource, a request to use the target computing resource to run a development environment, the target computing resource being determined from a set of pre-enabled candidate computing resources, wherein the target computing resource is pre-enabled by mounting a local target storage path; Adding the remote storage resource as a logical storage resource of the physical node corresponding to the management unit; as well as The logical storage resource is mounted to the target storage path corresponding to the target computing resource, so that the target computing resource runs the development environment by using the remote storage resource.

2. The method according to claim 1, wherein mounting the logical storage resource to the target storage path corresponding to the target computing resource comprises: formatting the logical storage resource to determine a local storage path corresponding to the logical storage resource; as well as Mount the local storage path to the target storage path. 3 . The method of claim 1 , wherein the target storage path is determined based on an identification of the target computing resource. 4 . The method of claim 1 , wherein the target storage path is mounted to the target computing resource based on a slave propagation mode.

5. The method according to claim 1, wherein the target computing resource is determined by a scheduling unit from the set of candidate computing resources based on a user's request to run the development environment, and the scheduling unit is further configured to: determining the physical node corresponding to the target computing resource; and A mount request associated with the target computing resource is sent to the management unit associated with the physical node. The method of claim 1 , wherein the set of candidate computing resources comprises a plurality of pods created via Kubernetes.

7. An apparatus for running a development environment, comprising: A receiving module is configured to receive, by a management unit associated with a target computing resource, a request for using the target computing resource to run a development environment, wherein the target computing resource is determined from a set of pre-enabled candidate computing resources, wherein the target computing resource is pre-enabled by mounting a local target storage path; an adding module configured to add the remote storage resource as a logical storage resource of the physical node corresponding to the management unit; as well as The mounting module is configured to mount the logical storage resource to the target storage path corresponding to the target computing resource, so that the target computing resource runs the development environment by using the remote storage resource.

8. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 6 when executed by the at least one processing unit.

9. A computer-readable storage medium having a computer program stored thereon, wherein the computer program can be executed by a processor to implement the method according to any one of claims 1 to 6.

10. A computer program product comprising computer executable instructions, wherein the computer executable instructions, when executed by a processor, implement the method according to any one of claims 1 to 6.