Development operation and maintenance management method, apparatus and system, and electronic device and storage medium
By obtaining and orchestrating development and operation and maintenance tasks in the local orchestrator and accessing the development and operation and maintenance management resource library to obtain configuration files, the problem of separation of the development and operation and maintenance management process and improving the efficiency of development and operation and maintenance management.
Patent Information
- Application Number
- PCT/CN2023/115911
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-08-30
- Publication Date
- 2025-03-06
AI Technical Summary
In the prior art, the development and operation and maintenance management process is separated from the application development process, which makes it difficult for non-professional development and operation personnel to carry out effective development and operation and maintenance management, and is inefficient.
Use a local orchestrator to obtain the development and operation and maintenance tasks for application orchestration, and access the development and operation and maintenance management resource library through the local orchestrator, obtain the required development and operation configuration files and execution files, and send them to a remote virtual machine for execution to perform the application's development and operation and maintenance operations.
It improves the efficiency of development, operation and maintenance management, enables non-professional development, operation and maintenance personnel to independently carry out development, maintenance operations, and is compatible with the existing development, operation and maintenance management architecture.
Smart Images

Figure CN2023115911_06032025_PF_FP_ABST
Abstract
Description
Development and operation management methods, devices, systems, electronic equipment and storage media Technical Field
[0001] Embodiments of the present invention relate to the field of Internet technology, and in particular to a development and operation management method, device, system, electronic device, and storage medium. Background Art
[0002] Generally speaking, application developers often encounter difficulties when setting up the test and / or production environment of their applications. This is because the development and operation (DevOps) skills required to complete all necessary tasks require high skills / knowledge. In other words, DevOps work is often only assigned to a few professional engineers in the development team, which also leads to excessive personal workload / pressure on a few patented engineers and single points of failure in DevOps nodes.
[0003] As a result, the application development and operation management process is often separated from the application development process. That is, non-professional development and operation personnel such as developers only provide code. During the development and operation management process, they must seek the help of development and operation professionals to prepare a working environment for testing and verification, resulting in low efficiency of development and operation management.
[0004] Existing technologies include automation tools such as Chef, Ansible, and Puppet, which are designed to automate development and operation management tasks. However, these tools are still designed for development and operation professionals. For non-development and operation professionals such as developers, a lot of training and knowledge transfer are still required, which increases the burden on developers and delays their time, and still fails to improve the efficiency of development and operation management.
[0005] Summary of the Invention
[0006] In order to solve the above problems, embodiments of the present invention provide a development and operation management method, apparatus, system, electronic device and storage medium to at least partially solve the above problems.
[0007] A first aspect of an embodiment of the present invention provides a development and operation management method, comprising: using a local orchestrator to obtain a development and operation task orchestrated for an application, wherein the application is installed in a remote virtual machine; accessing a development and operation management resource library through the local orchestrator to obtain a first development and operation configuration file and an execution file of the first development and operation configuration file required for the development and operation task, wherein each development and operation configuration file and its execution file in the development and operation management resource library are maintained independently of the development and operation task; and sending the first development and operation configuration file and its execution file to the remote virtual machine for execution to perform the development and operation operation of the application.
[0008] In another implementation of the present invention, the use of a local orchestrator to obtain development and operation tasks for application orchestration includes: writing the configuration information required for each subtask into each subtask component respectively; and orchestrating each subtask component based on subtask dependencies to obtain development and operation tasks.
[0009] In another implementation of the present invention, accessing the development and operation management resource library through the local orchestrator to obtain the first development and operation configuration file and the execution file of the first development and operation configuration file required for the development and operation task includes: a task executor that runs the development and operation task, wherein the task executor is configured to call the first development and operation configuration file and its execution file from the development and operation management resource library based on the development and operation task at runtime.
[0010] In another implementation of the present invention, sending the development and operation configuration file and its execution to the remote virtual machine for execution includes: configuring the interpreter of the remote virtual machine through the local virtual machine manager; executing the execution file of the first development and operation configuration file through the interpreter to update the application based on the configuration information of the first development and operation configuration file.
[0011] In another implementation of the present invention, sending the first development and operation configuration file and the executable file thereof to the remote virtual machine for execution includes: sending a development and operation access request from an untrusted network to a jump virtual machine, so that the jump virtual machine forwards the first development and operation configuration file and the executable file thereof in the development and operation access request to the remote virtual machine deployed in the trusted network, wherein the jump virtual machine is used to allow the untrusted network to access the trusted network when the development and operation access request is authenticated.
[0012] In another implementation of the present invention, after sending the first development and operation configuration file and its execution file to the remote virtual machine for execution, the method further includes: associating the first development and operation configuration file and its execution file with the development and operation task and saving them in a local storage space.
[0013] In another implementation of the present invention, the method further includes: when the local storage space does not contain the first development and operation configuration file and its execution file required for the development and operation task, starting to access the development and operation management resource library through the local orchestrator.
[0014] In another implementation of the present invention, sending the first development and operation configuration file and its execution file to the remote virtual machine for execution includes: displaying a task item list of the development and operation task; for a triggering operation of a task item in the task item list, sending the first development and operation configuration file and its execution file corresponding to the task item to the remote virtual machine for execution, and displaying the description information of the development and operation task in the development and operation management resource library.
[0015] In another implementation of the present invention, the method also includes: obtaining a second development and operation configuration file and an execution file thereof for the application development; sending the second development and operation configuration file and the execution file thereof to the remote virtual machine; and deploying the second development and operation configuration file and the execution file thereof to the development and operation management resource library.
[0016] According to a second aspect of an embodiment of the present invention, a development and operation management device is provided, comprising: a first acquisition module, which uses a local orchestrator to acquire a development and operation task orchestrated for an application, wherein the application is installed in a remote virtual machine; a second acquisition module, which accesses a development and operation management resource library through the local orchestrator to acquire a first development and operation configuration file and an execution file of the first development and operation configuration file required for the development and operation task, wherein each development and operation configuration file and its execution file in the development and operation management resource library are maintained independently of the development and operation task; and a sending module, which sends the first development and operation configuration file and its execution file to the remote virtual machine for execution, so as to perform the development and operation operation of the application.
[0017] A third aspect of an embodiment of the present invention provides a development and operation management system, including the development and operation management device according to the second aspect; and at least one remote virtual machine.
[0018] According to a fourth aspect of an embodiment of the present invention, an electronic device is provided, comprising: one or more processors, a memory, a display unit, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the embodiments of the present invention.
[0019] According to a fifth aspect of the embodiments of the present invention, a storage medium is provided, wherein the storage medium includes a stored program, wherein when the program is running, a device including the storage medium is controlled to execute any one of the methods described in the embodiments of the present invention.
[0020] In the solution of the embodiment of the present invention, the development and operation operations of the remote virtual machine are performed by obtaining the first development and operation configuration file and its execution file required for the development and operation task in the development and operation management resource library, which is compatible with the existing development and operation management architecture. In addition, each development and operation configuration file and its execution file in the development and operation management resource library are maintained independently of the development and operation tasks orchestrated by the local orchestrator, so that the development and operation tasks orchestrated by the local orchestrator can be maintained independently, which is convenient for non-professional development and operation personnel such as R&D personnel to perform development and maintenance operations. In addition, the use of the local orchestrator to obtain development and operation tasks orchestrated for the application improves the efficiency of development and operation management. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The following drawings are only intended to illustrate and explain the present invention, and do not limit the scope of the present invention.
[0022] FIG1 is a schematic diagram of a development, operation and maintenance management system according to an embodiment of the present invention.
[0023] FIG2 is a flowchart of the steps of a development, operation and maintenance management method according to another embodiment of the present invention.
[0024] FIG3 is a schematic diagram of a user interface for orchestrating development and operation tasks in the embodiment of FIG2 .
[0025] FIG4 is a schematic block diagram of a development, operation and maintenance management device according to another embodiment of the present invention.
[0026] FIG5 is a schematic block diagram of an electronic device according to another embodiment of the present invention.
[0027] List of reference numerals:
[0028] 100: Development and operation management system; 10: Development and operation management resource library; 11: Development and operation configuration file; 12: Development and operation configuration file execution file; 20: Development and operation management network; 21: Development and operation management device; 22: Jump virtual machine; 23: Remote virtual machine; 31: Development and operation professional; 32: Non-development and operation professional;
[0029] S210: Using a local orchestrator to obtain development and operation tasks for application orchestration, the application is installed in a remote virtual machine;
[0030] S220: Accessing the development and operation management resource library through the local orchestrator to obtain a first development and operation configuration file and an execution file of the first development and operation configuration file required for the development and operation task. Each development and operation configuration file and its execution file in the development and operation management resource library are maintained independently of the development and operation task.
[0031] S230: Sending the first development and operation configuration file and its execution file to the remote virtual machine for execution, so as to perform development and operation operations of the application program;
[0032] 300: User Interface; 31: Asset Management; 32: Application Version Management; 33: Application Interface Management; 34: Service Component Management;
[0033] 410: first acquisition module; 420: second acquisition module; 430: sending module;
[0034] 500: electronic device; 502: processor; 504: communication interface; 506: memory; 508: communication bus; 510: program. DETAILED DESCRIPTION
[0035] In order to have a clearer understanding of the technical features, purposes and effects of the embodiments of the present invention, specific implementation methods of the embodiments of the present invention are now described with reference to the accompanying drawings.
[0036] FIG1 is a schematic diagram of a development and operation management system according to an embodiment of the present invention. As shown in FIG1 , the development and operation management system 100 includes a development and operation management network 20, and the development and operation management network 20 includes a development and operation management device 21 and at least one remote virtual machine 23. In one example, the development and operation management network 20 can be used to adjust the environment and / or test the environment. An application program that needs to be maintained is installed in the remote virtual machine 23, and the development and operation management device 21 can directly access the at least one remote virtual machine 23, or can indirectly access the at least one remote virtual machine 23 through a jump virtual machine 22. For example, at least one remote virtual machine 23 is deployed in a trusted network, and the development and operation management device 21 is deployed in an untrusted network and is operated by non-development and operation professionals 32 such as developers. The jump virtual machine 22 can be deployed in an intermediate network between the trusted network and the untrusted network.
[0037] Furthermore, the development and operation management system 100 may further include a development and operation management resource library 10. Each development and operation configuration file 11 and its execution file 12 in the development and operation management resource library 10 are maintained independently of development and operation tasks, for example, by development and operation professionals 31.
[0038] FIG2 is a flowchart of the steps of a development and operation management method according to another embodiment of the present invention. The development and operation management method according to FIG2 includes:
[0039] S210: A local orchestrator is used to obtain development and operation tasks for application orchestration, and the application is installed in a remote virtual machine.
[0040] It should be understood that the local orchestrator can be supported by Semaphore and configured as a web application such as a native application APP or a browser.
[0041] It should be understood that Semaphore is a synchronization tool for controlling concurrent access. It can be used to limit the number of threads or processes that access a resource at the same time. Semaphore maintains an internal counter that represents the number of available licenses. When a thread or process needs to access a resource, it must first obtain a license. If the number of licenses is 0, the thread or process will be blocked until a license is available. When the thread or process completes access to the resource, it must release the license so that other threads or processes can obtain licenses and access the resource. Semaphore can be used to solve some concurrent access problems, such as resource pool management, current limiting, etc.
[0042] S220: Access the development and operation management resource library through the local orchestrator to obtain the first development and operation configuration file and the execution file of the first development and operation configuration file required for the development and operation task. The various development and operation configuration files and their execution files in the development and operation management resource library are maintained independently of the development and operation task.
[0043] It should be understood that access to the DevOps management repository can be achieved through a task executor such as Ansible. Ansible is a DevOps tool for DevOps professionals. The task executor is also capable of executing DevOps configuration files and their execution files. Operations configuration files can be static configuration files that define various services and are used to update the configuration of an application's user interface, service components, application version, and so on. Execution files are script files such as shell scripts that execute the configuration of the operations configuration files to update the application configuration. Operations configuration files and their execution files, as assets in the DevOps management repository, are part of the GitOps methodology.
[0044] That is, the actual deployment process of application updates is driven by shell scripts and service definitions, which are executed by Ansible with task definitions.
[0045] S230: Send the first development and operation configuration file and the execution file thereof to the remote virtual machine for execution, so as to perform development and operation operations of the application program.
[0046] It should be understood that task executors such as Ansible can also send DevOps configuration files and their execution files to applications running in remote virtual machines. The underlying layer of the task executor can be a virtual machine manager such as Docker or Kubernetes, which can be used to create virtual machines, maintain them, change their configuration, and delete them.
[0047] In the solution of the embodiment of the present invention, the development and operation operations of the remote virtual machine are performed by obtaining the first development and operation configuration file and its execution file required for the development and operation task in the development and operation management resource library, which is compatible with the existing development and operation management architecture. In addition, each development and operation configuration file and its execution file in the development and operation management resource library are maintained independently of the development and operation tasks orchestrated by the local orchestrator, so that the development and operation tasks orchestrated by the local orchestrator can be maintained independently, which is convenient for non-professional development and operation personnel such as R&D personnel to perform development and maintenance operations. In addition, the use of the local orchestrator to obtain development and operation tasks orchestrated for the application improves the efficiency of development and operation management.
[0048] That is, each DevOps configuration file and its execution file in the DevOps management resource library are maintained independently of the DevOps tasks, realizing the integration of the DevOps management resource library with remote virtual machines and local orchestrators, allowing DevOps professionals to focus on specific aspects of the solution when building or debugging.
[0049] Furthermore, when executing tasks, the local orchestrator can obtain development and operation configuration files and their execution files from the development and operation management resource library. For example, the Ansible task executor is on the client, and the development and operation management resource library belongs to the server. Therefore, the embodiment of the present invention conforms to the server / client model and can achieve better scalability and flexibility. Therefore, the solution can be easily expanded to hundreds of virtual machines and expanded to support components of different architectures and technology stacks.
[0050] In other examples, Table 1 shows a software stack for developing an operation and maintenance management device.
[0051] Table 1
[0052] It should be understood that the local orchestrator, task executor, script execution, and virtual machine manager in Table 1 are configuration layers from the upper layer to the lower layer. The lower layer of the software stack can be called by the upper layer of the software stack as an interface or component.
[0053] In some examples, a local orchestrator is used to obtain development and operation tasks for application orchestration, including: writing the configuration information required for each subtask into each subtask component; orchestrating each subtask component based on subtask dependencies to obtain development and operation tasks, thereby providing convenient user operations.
[0054] Furthermore, the first development and operation maintenance configuration file and its executable file are sent to the remote virtual machine for execution, including: displaying a list of task items for the development and operation maintenance task; and, in response to a triggering operation of a task item in the task item list, sending the first development and operation maintenance configuration file and its executable file corresponding to the task item to the remote virtual machine for execution, while also displaying the description of the development and operation maintenance task in the development and operation maintenance management resource library. In other words, the task item list improves user convenience in the user interface.
[0055] As shown in FIG3 , the user interface 300 for arranging development and operation tasks includes a task item list for development and operation tasks. In FIG3 , the task item list lists the various task items in the form of rows. For example, each task item includes asset management 31, application version management 32, application interface management 33, service component management 34, and the like of the development and operation management resource library. Specifically, the user can perform operations such as adding / deleting / modifying development and operation configuration files and their executable files in the development and operation management resource library in asset management 31. In addition, the user can perform operations such as version modification / update triggering of the application in the remote virtual machine in application version management 32. In addition, the user can perform operations such as modification / update of the user interface of the application in the remote virtual machine in application interface management 33. In addition, the user can perform operations such as update / modification of at least some service components in the application in the remote virtual machine in service component management 34.
[0056] That is, in an embodiment of the present invention, even non-development and operation management professionals can log in to the local orchestrator on an application such as a browser and easily perform development and operation management, for example, easily manage the test environment and deployment compilation process, thereby preparing a test and verification environment after completing the functional development of the application of the remote virtual machine.
[0057] The high availability and small granularity of DevOps management tasks and jobs can be designed in the user interface so that non-DevOps team members can deploy a specific version of a component in the software capability library or a specific branch of code in the source code library to the test environment with simple operations such as mouse operations.
[0058] In other examples, accessing a development and operations management resource repository through a local orchestrator to obtain a first development and operations configuration file and an executable file of the first development and operations configuration file required for a development and operations task includes: executing a task executor for the development and operations task. The task executor is configured to call the first development and operations configuration file and its executable file from the development and operations management resource repository at runtime based on the development and operations task. Because the task executor is configured based on the software stack of the development and operations management device, the efficiency of obtaining the first development and operations configuration file and its executable file is improved.
[0059] In other examples, sending a development and operations configuration file and its execution to a remote virtual machine for execution includes: configuring an interpreter for the remote virtual machine through a local virtual machine manager; and executing an executable file of the first development and operations configuration file through the interpreter to update an application based on the configuration information in the first development and operations configuration file. Because the software layer of the script execution can call the software interface of the virtual machine manager, the efficiency of remote application updates is improved based on the software stack configuration of the development and operations management device.
[0060] In other examples, sending a first development and operations configuration file and its executable file to a remote virtual machine for execution includes sending a development and operations access request from an untrusted network to a jump virtual machine, causing the jump virtual machine to forward the first development and operations configuration file and its executable file in the development and operations access request to a remote virtual machine deployed on a trusted network. The jump virtual machine is configured to allow the untrusted network to access the trusted network if authentication of the development and operations access request is successful. Thus, secure access to the remote virtual machine by the development and operations management device is achieved through the jump virtual machine.
[0061] In other examples, after sending the first development and operation configuration file and its execution file to a remote virtual machine for execution, the development and operation management method further includes: associating the first development and operation configuration file and its execution file with the development and operation task and saving them in a local storage space, thereby improving the efficiency of obtaining the first development and operation configuration file and its execution file, and ensuring the traceability of the development and operation task.
[0062] In other examples, the development and operations management method further includes: when the first development and operations configuration file and its execution file required for the development and operations task do not exist in the local storage space, accessing the development and operations management resource repository through the local orchestrator. Thus, to a certain extent, the efficiency of obtaining the first development and operations configuration file and its execution file locally and remotely is balanced.
[0063] In other examples, the development and operations management method further includes: obtaining a second development and operations configuration file and its executable file for application development; sending the second development and operations configuration file and its executable file to a remote virtual machine; and deploying the second development and operations configuration file and its executable file to a development and operations management resource library. This means that switch operations management professionals can also perform development and operations management using the second development and operations configuration file and its executable file, effectively supplementing the development and operations management operations performed by non-switch operations management professionals.
[0064] The following describes in detail a development, operation and maintenance management device according to another embodiment of the present invention in conjunction with FIG4. The development, operation and maintenance management device 21 of FIG4 includes:
[0065] The first acquisition module 410 uses a local orchestrator to acquire development and operation tasks for application program orchestration, where the application program is installed in a remote virtual machine.
[0066] The second acquisition module 420 accesses the development and operation management resource library through the local orchestrator to obtain the first development and operation configuration file and the execution file of the first development and operation configuration file required for the development and operation task. The various development and operation configuration files and their execution files in the development and operation management resource library are maintained independently of the development and operation task.
[0067] The sending module 430 sends the first development and operation configuration file and the execution file thereof to the remote virtual machine for execution, so as to perform development and operation operations of the application program.
[0068] In the solution of the embodiment of the present invention, the development and operation operations of the remote virtual machine are performed by obtaining the first development and operation configuration file and its execution file required for the development and operation task in the development and operation management resource library, which is compatible with the existing development and operation management architecture. In addition, each development and operation configuration file and its execution file in the development and operation management resource library are maintained independently of the development and operation tasks orchestrated by the local orchestrator, so that the development and operation tasks orchestrated by the local orchestrator can be maintained independently, which is convenient for non-professional development and operation personnel such as R&D personnel to perform development and maintenance operations. In addition, the use of the local orchestrator to obtain development and operation tasks orchestrated for the application improves the efficiency of development and operation management.
[0069] In other examples, the first acquisition module is specifically used to: write the configuration information required for each subtask into each subtask component; and arrange each subtask component based on the subtask dependency relationship to obtain a development and operation task.
[0070] In some other examples, the second acquisition module is specifically configured to: run a task executor of a development and operation task, wherein the task executor is configured to call the first development and operation configuration file and its execution file from a development and operation management resource library based on the development and operation task at runtime.
[0071] In other examples, the sending module is specifically used to: configure the interpreter of the remote virtual machine through the local virtual machine manager; execute the execution file of the first development and operation configuration file through the interpreter to update the application based on the configuration information of the first development and operation configuration file.
[0072] In other examples, the sending module is specifically used to: send a development and operation access request from an untrusted network to a jump virtual machine, so that the jump virtual machine forwards the first development and operation configuration file and its executable file in the development and operation access request to a remote virtual machine deployed in the trusted network, wherein the jump virtual machine is used to allow the untrusted network to access the trusted network when the development and operation access request is authenticated.
[0073] In other examples, the development and operation management device also includes a saving module, which saves the first development and operation configuration file and its execution file in association with the development and operation task to a local storage space after sending the first development and operation configuration file and its execution file to a remote virtual machine for execution.
[0074] In other examples, the saving module is specifically used to: when the local storage space does not have the first development and operation configuration file and its execution file required for the development and operation task, start accessing the development and operation management resource library through the local orchestrator.
[0075] In other examples, the sending module is specifically used to: display a list of task items for development and operation and maintenance tasks; for a trigger operation of a task item in the task item list, send the first development and operation and maintenance configuration file and its execution file corresponding to the task item to a remote virtual machine for execution, and at the same time display the description information of the development and operation and maintenance task in the development and operation and maintenance management resource library.
[0076] In other examples, the development and operation management device also includes: a third acquisition module: obtaining a second development and operation configuration file and its execution file for application development; sending the second development and operation configuration file and its execution file to a remote virtual machine; and deploying the second development and operation configuration file and its execution file to a development and operation management resource library.
[0077] Another embodiment of the present invention further provides an electronic device. FIG5 is a schematic diagram of the structure of an electronic device 500 provided by an embodiment of the present invention. The electronic device 500 may include: a processor 502 for executing a program 510, a communications interface 504, a memory 506, and a communication bus 508.
[0078] The processor, the communication interface, and the memory communicate with each other via a communication bus.
[0079] The communication interface is used to communicate with the server via a communication bus.
[0080] The processor is used to execute the program, and specifically can execute the relevant steps in the above method embodiment.
[0081] Specifically, the program may include program codes including computer operation instructions.
[0082] The processor may be a CPU, an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the smart device may be processors of the same type, such as one or more CPUs, or different types of processors, such as one or more CPUs and one or more ASICs.
[0083] Memory is used to store programs. The memory may include high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk storage.
[0084] The program may include multiple computer instructions, and the program can specifically enable the processor to execute the following through the multiple computer instructions: using a local orchestrator to obtain a development and operation task orchestrated for an application, where the application is installed in a remote virtual machine; accessing a development and operation management resource library through the local orchestrator to obtain a first development and operation configuration file and an execution file of the first development and operation configuration file required for the development and operation task, wherein each development and operation configuration file and its execution file in the development and operation management resource library are maintained independently of the development and operation task; and sending the first development and operation configuration file and its execution file to the remote virtual machine for execution to perform the development and operation operation of the application.
[0085] Another embodiment of the present invention further provides a storage medium, which includes a stored program. When the program is running, the device including the storage medium is controlled to execute the method described in any embodiment of the present invention.
[0086] It should be noted that the computer storage medium of the present invention may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. Computer-readable media may, for example, be, but are not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or components, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage medium, a magnetic storage medium, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present invention, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. This propagated data signal may take a variety of forms, including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program configured for use by or in conjunction with an instruction execution system, apparatus, or device. Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, or any suitable combination thereof.
[0087] It should be understood that although the present invention is described according to various embodiments, not every embodiment contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
[0088] The above is only an illustrative embodiment of the present invention and is not intended to limit the scope of the present invention. Any equivalent changes, modifications, and combinations made by any person skilled in the art without departing from the concept and principle of the present invention should fall within the scope of protection of the present invention.
Claims
1. A development and operation management method, characterized in that: include: Using a local orchestrator to obtain development and operation tasks for application program orchestration, the application program being installed in a remote virtual machine (S210); Accessing the development and operation management resource library through the local orchestrator to obtain a first development and operation configuration file and an execution file of the first development and operation configuration file required for the development and operation task, wherein each development and operation configuration file and its execution file in the development and operation management resource library are maintained independently of the development and operation task (S220); The first development and operation configuration file and the execution file thereof are sent to the remote virtual machine for execution, so as to perform development and operation operations of the application program (S230).
2. The method according to claim 1, characterized in that The use of a local orchestrator to obtain development and operation tasks for application orchestration includes: Write the configuration information required for each subtask into each subtask component; Based on the subtask dependencies, each subtask component is orchestrated to obtain the development and operation tasks.
3. The method according to claim 1, characterized in that The step of accessing the development and operation management resource library through the local orchestrator to obtain the first development and operation configuration file and the execution file of the first development and operation configuration file required for the development and operation task includes: A task executor for running a development and operation task, wherein the task executor is configured to call a first development and operation configuration file and an execution file thereof from the development and operation management resource library based on the development and operation task during runtime.
4. The method according to claim 1, characterized in that The sending the development and operation configuration file and its execution to the remote virtual machine for execution includes: Configuring the interpreter of the remote virtual machine through the local virtual machine manager; The execution file of the first development and operation configuration file is executed by the interpreter to update the application based on the configuration information of the first development and operation configuration file.
5. The method according to claim 1, characterized in that The sending the first development and operation configuration file and the execution file thereof to the remote virtual machine for execution includes: A development and operation access request is sent from an untrusted network to a jump virtual machine, so that the jump virtual machine forwards the first development and operation configuration file and its executable file in the development and operation access request to a remote virtual machine deployed in a trusted network, wherein the jump virtual machine is used to allow the untrusted network to access the trusted network when the development and operation access request is authenticated.
6. The method according to claim 1, characterized in that After sending the first development and operation configuration file and the execution file thereof to the remote virtual machine for execution, the method further includes: The first development and operation configuration file and its execution file are associated with the development and operation task and saved in a local storage space.
7. The method according to claim 6, characterized in that The method further comprises: When the first development and operation configuration file and the execution file thereof required for the development and operation task do not exist in the local storage space, access to the development and operation management resource library is started through the local orchestrator.
8. The method according to claim 1, characterized in that: The sending the first development and operation configuration file and the execution file thereof to the remote virtual machine for execution includes: Displaying a list of tasks for the development and operation tasks; For the triggering operation of the task item in the task item list, the first development and operation configuration file and the execution file corresponding to the task item are sent to the remote virtual machine for execution, and the description information of the development and operation task in the development and operation management resource library is displayed.
9. The method according to claim 1, characterized in that: The method further comprises: Obtaining a second development and operation configuration file and an execution file thereof for the application program; Sending the second development and operation configuration file and the execution file thereof to the remote virtual machine; The second development and operation configuration file and its execution file are deployed to the development and operation management resource library.
10. A development and operation management device, characterized in that: include: A first acquisition module (410) uses a local orchestrator to acquire development and operation tasks for application program orchestration, wherein the application program is installed in a remote virtual machine; A second acquisition module (420) accesses the development and operation management resource library through the local orchestrator to acquire a first development and operation configuration file and an execution file of the first development and operation configuration file required for the development and operation task, wherein each development and operation configuration file and its execution file in the development and operation management resource library are maintained independently of the development and operation task; A sending module (430) sends the first development and operation configuration file and its execution file to the remote virtual machine for execution, so as to perform the development and operation operation of the application.
11. A development and operation management system, characterized in that , The development, operation and maintenance management device according to claim 10; At least one remote virtual machine.
12. An electronic device, characterized in that: include: One or more processors (1001), a memory (1002), a display unit (1003), and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of claims 1 to 9.
13. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device including the storage medium is controlled to execute the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Virtual gateway protection method, virtual security gateway and system for server virtualization
CN102244622A
A method and device for configuring an application program
CN109597655A
Project deployment method and device
CN114416112A
Business application deployment method and device, computer equipment and storage medium
CN114443215A
Loading runtime configuration files into virtual machine instances
US20150178113A1