CN114553688A - Cloud computing deployment method, device, equipment and computer readable storage medium - Google Patents
Cloud computing deployment method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN114553688A CN114553688A CN202011336440.6A CN202011336440A CN114553688A CN 114553688 A CN114553688 A CN 114553688A CN 202011336440 A CN202011336440 A CN 202011336440A CN 114553688 A CN114553688 A CN 114553688A
- Authority
- CN
- China
- Prior art keywords
- cloud
- configuration
- module
- plug
- cloud function
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
The application provides a cloud computing deployment method, a cloud computing deployment device, cloud computing equipment and a computer-readable storage medium; the method comprises the following steps: on a cloud computing deployment workbench interface, responding to trigger operation aiming at a preset cloud function configuration inlet, displaying a pipeline configuration sub-interface, and displaying a cloud function pipeline module on the pipeline configuration sub-interface, wherein each cloud function module of the cloud function pipeline module comprises a plug-in addition type control; responding to the adding operation of the plug-in adding class control, popping up a plug-in configuration class panel, and acquiring current configuration data through the plug-in configuration class panel; on the cloud computing deployment workbench interface, in response to an operation instruction for a preset release control, a target cloud function is generated based on current configuration data and a cloud function pipeline module and is released on a cloud server, so that a cloud service can call the target cloud function, and cloud computing deployment is completed. By the method and the device, the efficiency and reusability of cloud computing deployment can be improved.
Description
Technical Field
The present application relates to cloud computing technologies, and in particular, to a cloud computing deployment method, apparatus, device, and computer-readable storage medium.
Background
At present, when cloud computing deployment is performed on a mobile application or a WEB application, for example, a cloud service interface corresponding to a mobile applet is developed, a developer generally needs to implement a cloud function interface corresponding to a cloud service in a manner of manually writing codes on a development workbench in a distributed environment, and then deploy the cloud function interface in the cloud service to implement a cloud service function of the mobile applet. However, a large amount of repetitive work is generated by the code writing method, so that the cloud computing deployment efficiency is low, different developers are difficult to multiplex implementation codes with similar functions, and the reusability of the cloud computing deployment is reduced.
Disclosure of Invention
The embodiment of the application provides a cloud computing deployment method and device and a computer readable storage medium, which can improve the efficiency and reusability of cloud computing deployment.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a cloud computing deployment method, which comprises the following steps:
on a cloud computing deployment workbench interface, responding to trigger operation aiming at a preset cloud function configuration inlet, displaying a pipeline configuration sub-interface in the cloud computing deployment workbench interface, and displaying a cloud function pipeline module on the pipeline configuration sub-interface, wherein the cloud function pipeline module comprises at least one cloud function functional module; each cloud function functional module comprises a plug-in adding class control; the cloud function pipeline module represents a basic function framework of the cloud function;
responding to the adding operation of the plug-in adding class control, popping up a plug-in configuration class panel, and acquiring current configuration data corresponding to the cloud function pipeline module through the plug-in configuration class panel; the current configuration data characterizes the processing logic of each cloud function functional module;
and responding to an operation instruction aiming at a preset release control on the cloud computing deployment workbench interface, generating a target cloud function based on the current configuration data and the cloud function pipeline module, and releasing the target cloud function on a cloud server so that a cloud service in cloud computing can call the target cloud function, thereby completing the deployment of the cloud computing.
An embodiment of the present application provides a cloud computing deployment device, including:
the system comprises a pipeline configuration module, a cloud function configuration module and a control module, wherein the pipeline configuration module is used for responding to triggering operation aiming at a preset cloud function configuration inlet on a cloud computing deployment workbench interface, displaying a pipeline configuration sub-interface in the cloud computing deployment workbench interface and displaying a cloud function pipeline module on the pipeline configuration sub-interface, and the cloud function pipeline module comprises at least one cloud function module; each cloud function functional module comprises a plug-in adding class control; the cloud function pipeline module represents a basic function framework of the cloud function;
the plug-in module is used for responding to the adding operation aiming at the plug-in adding class control, popping up a plug-in configuration class panel and acquiring current configuration data corresponding to the cloud function pipeline module through the plug-in configuration class panel; the current configuration data characterizes the processing logic of each cloud function functional module;
and the code generation module is used for responding to an operation instruction aiming at a preset release control on the cloud computing deployment workbench interface, generating a target cloud function based on the current configuration data and the cloud function pipeline module, and releasing the target cloud function on a cloud server so that a cloud service in cloud computing can call the target cloud function, thereby completing the deployment of the cloud computing.
An embodiment of the present application provides an electronic device, including:
a memory for storing executable instructions;
the processor is configured to implement the cloud computing deployment method provided by the embodiment of the present application when executing the executable instructions stored in the memory.
The embodiment of the application provides a computer-readable storage medium, which stores executable instructions and is used for causing a processor to execute the executable instructions so as to realize the cloud computing deployment method provided by the embodiment of the application.
The embodiment of the application has the following beneficial effects:
the visual configuration of the functions of the cloud functions is realized by adding the class control and the cloud function pipeline module through the plug-in, and the cloud computing deployment efficiency is improved; meanwhile, the cloud function functional module and the plug-in which can be added can be multiplexed for multiple times, so that the reusability of the cloud function is improved.
Drawings
Fig. 1 is an alternative structural schematic diagram of a cloud computing deployment system architecture provided in an embodiment of the present application;
fig. 2 is an alternative structural schematic diagram of a cloud computing deployment apparatus provided in an embodiment of the present application;
fig. 3 is an alternative flowchart of a cloud computing deployment method provided in an embodiment of the present application;
fig. 4 is a schematic diagram illustrating an optional effect of a cloud function pipeline module according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram illustrating an alternative effect of a card configuration panel provided by an embodiment of the present application;
fig. 6 is an alternative flowchart of a cloud computing deployment method provided in an embodiment of the present application;
FIG. 7 is a schematic diagram illustrating an alternative effect of a plug-in selection panel provided by an embodiment of the present application;
fig. 8 is an alternative flowchart of a cloud computing deployment method provided in an embodiment of the present application;
fig. 9 is an alternative flowchart of a cloud computing deployment method provided by an embodiment of the present application;
fig. 10 is a schematic diagram illustrating an alternative effect of performing a drag operation on a cloud function pipeline module according to an embodiment of the present application;
fig. 11 is an alternative flowchart of a cloud computing deployment method provided in an embodiment of the present application;
FIG. 12 is a schematic diagram illustrating an alternative effect of the basic configuration sub-interface provided by an embodiment of the present application;
fig. 13 is an optional flowchart illustration of a cloud computing deployment method provided in an embodiment of the present application.
Detailed Description
In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the attached drawings, the described embodiments should not be considered as limiting the present application, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
Before further detailed description of the embodiments of the present application, terms and expressions referred to in the embodiments of the present application will be described, and the terms and expressions referred to in the embodiments of the present application will be used for the following explanation.
1) Cloud technology refers to a hosting technology for unifying serial resources such as hardware, software, network and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data.
The Cloud technology (Cloud technology) is based on the general names of network technology, information technology, integration technology, management platform technology, application technology and the like applied in a Cloud computing business model, can form a resource pool, can be used as required, and is flexible and convenient. Cloud computing technology will become an important support. Background services of technical network systems require a large amount of computing and storage resources, such as video websites, picture-like websites and more portal websites. With the high development and application of the internet industry, each article may have its own identification mark and needs to be transmitted to a background system for logic processing, data in different levels are processed separately, and various industrial data need strong system background support and can only be realized through cloud computing.
2) The Database (Database), which can be regarded as an electronic file cabinet in short, is a place for storing electronic files, and a user can add, query, update, delete, etc. data in the files. A "database" is a collection of data that is stored together in a manner that can be shared by multiple users, has as little redundancy as possible, and is independent of the application.
A Database Management System (DBMS) is a computer software System designed for managing a Database, and generally has basic functions of storage, interception, security assurance, backup, and the like. The database management system may classify the database according to the database model it supports, such as relational, XML (Extensible Markup Language); or classified according to the type of computer supported, e.g., server cluster, mobile phone; or sorted according to the Query Language used, such as SQL (Structured Query Language), XQuery, or sorted according to performance impulse emphasis, such as max size, maximum operating speed, or other sorting.
3) Cloud computing (cloud computing) is a computing model that distributes computing tasks over a pool of resources formed by a large number of computers, enabling various application systems to obtain computing power, storage space, and information services as needed. The network that provides the resources is referred to as the "cloud". Resources in the "cloud" appear to the user as being infinitely expandable and available at any time, available on demand, expandable at any time, and paid for on-demand.
As a basic capability provider of cloud computing, a cloud computing resource pool (called as an ifas (Infrastructure as a Service) platform for short is established, and multiple types of virtual resources are deployed in the resource pool and are selectively used by external clients.
According to the logic function division, a PaaS (Platform as a Service) layer can be deployed on an IaaS (Infrastructure as a Service) layer, a SaaS (Software as a Service) layer is deployed on the PaaS layer, and the SaaS can be directly deployed on the IaaS. PaaS is a platform on which software runs, such as a database, a web container, etc. SaaS is a variety of business software, such as web portal, sms, and mass texting. Generally speaking, SaaS and PaaS are upper layers relative to IaaS.
With the development of diversification of internet, real-time data stream and connecting equipment and the promotion of demands of search service, social network, mobile commerce, open collaboration and the like, cloud computing is rapidly developed. Different from the prior parallel distributed computing, the generation of cloud computing can promote the revolutionary change of the whole internet mode and the enterprise management mode in concept.
4) A server-less architecture: ServerLess, also known as light service, contains two parts: the first part is Function as a Service (FaaS), which provides computing power, each Function is a Service, and functions can be written in any language without concern for any operation and maintenance details, such as: computing resources, flexible capacity expansion, etc., and supporting event-driven. The second is Backend as a Service (BaaS), which integrates many middleware technologies, and can invoke services regardless of environments, such as data as a Service (database Service), cache Service, object storage, database application, and the like, when using these products, it is also unnecessary to pay attention to what a specific server is or where the server is deployed, but the Service can be used when the Service is opened, and the subsequent operation and maintenance work is given to the cloud, so that it is unnecessary to perceive the bottommost server thereof.
5) Cloud function: the cloud function is a specific implementation of the FaaS mode. Cloud functions provide the ability to run directly on the cloud, stateless, transient, event-triggered code. The cloud function has zero operation: a server for managing underlying resources is no longer required; second-level deployment: the operation is stateless, and quick iteration is easily realized; automatic triggering: completely triggered by an event, and no resource runs when the system is idle; focus code logic: developers only concern the most core code segment and skip other complex and boring work; infinite elastic computing power: the service resources are automatically adjusted in parallel according to the request, and the system has the characteristics of almost infinite capacity expansion capacity and the like. Developers of cloud functions do not need to own and manage infrastructures such as servers, and only need to write core codes by using languages supported by the platform and set code running conditions, the codes can be flexibly and safely run on the cloud infrastructures.
At present, cloud computing and cloud processing capabilities are a great trend, terminal resources occupied by an application client are less and less, most of computing and data processing work is delivered to a cloud server to be completed, and finally a data processing result is returned to the client by the server. The cloud function can be used as the back end of the mobile Application and the Web Application, to realize the Application logic of the server side, and to provide services to the outside through an Application Programming Interface (API). The cloud functions can be closely combined with products such as cloud cache, cloud database, object storage and the like to construct mobile or W eb application programs capable of being elastically expanded, rich server-free back ends can be easily created, the application programs can be operated at high availability in a plurality of data centers, and any management work in the aspects of expandability and backup redundancy is not required to be executed. Specifically, a single application may be split into a plurality of services according to a service module, and each service may also be split into a plurality of cloud functions according to a usage scenario. For example, one advertisement service can split at least cloud functions such as real-time bidding, display counting, report query and the like, and each cloud function is independently deployed and executed as required. Generally, in the application under the current two-way communication scene, some event-driven and response-type architecture service modules can be transformed into a cloud function mode, so that the service performance of the application is optimized by using the characteristics of simplicity, easiness in use, stability, reliability, local resource saving, convenience in management and the like of the cloud function.
Embodiments of the present application provide a cloud computing deployment method, apparatus, device, and computer-readable storage medium, which can improve efficiency and reusability of cloud computing deployment, and an exemplary application of an electronic device provided in an embodiment of the present application is described below. In the following, an exemplary application will be explained when the device is implemented as a terminal.
Referring to fig. 1, fig. 1 is an alternative architecture diagram of a cloud function deployment system 100 provided in this embodiment of the present application, a terminal 400 is connected to a server 200 through a network 300, and the network 300 may be a wide area network or a local area network, or a combination of both.
The terminal 400 is configured to display a pipeline configuration sub-interface in the cloud computing deployment workbench interface in response to a trigger operation for a preset cloud function configuration entry on the cloud computing deployment workbench interface 410, and display a cloud function pipeline module on the pipeline configuration sub-interface, where the cloud function pipeline module includes at least one cloud function functional module; each cloud function functional module comprises a plug-in adding class control; the cloud function pipeline module represents a basic function framework of the cloud function; responding to the adding operation of the plug-in adding class control, popping up a plug-in configuration class panel, and acquiring current configuration data corresponding to the cloud function pipeline module through the plug-in configuration class panel; the current configuration data represents the processing logic of each cloud function functional module; on the cloud computing deployment workbench interface, responding to an operation instruction aiming at a preset release control, generating a target cloud function based on current configuration data and a cloud function pipeline module, and releasing the target cloud function on a cloud server so that cloud service in cloud computing can call the target cloud function, thereby completing deployment of the cloud computing. The server 200 is configured to, when saving the current configuration data in the database 500 and when the terminal 400 initiates pulling of the current configuration data, obtain the current configuration data from the database 500 and return the current configuration data to the terminal 400, so that the terminal 400 generates a target cloud function based on the current configuration data and saves the target cloud function generated by the terminal in the database 500.
In some embodiments, the server 200 may be an independent physical server, may also be a server cluster or a distributed system formed by a plurality of physical servers, and may also be a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, a middleware service, a domain name service, a security service, a CDN, and a big data and artificial intelligence platform. The terminal 400 may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the embodiment of the present application is not limited.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a terminal 400 provided in an embodiment of the present application, where the terminal 400 shown in fig. 2 includes: at least one processor 410, memory 450, at least one network interface 420, and a user interface 430. The various components in the terminal 400 are coupled together by a bus system 440. It is understood that the bus system 440 is used to enable communications among the components. The bus system 440 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 440 in fig. 2.
The Processor 410 may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor, or the like.
The user interface 430 includes one or more output devices 431, including one or more speakers and/or one or more visual displays, that enable the presentation of media content. The user interface 430 also includes one or more input devices 432, including user interface components to facilitate user input, such as a keyboard, mouse, microphone, touch screen display screen, camera, other input buttons and controls.
The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard disk drives, optical disk drives, and the like. Memory 450 optionally includes one or more storage devices physically located remote from processor 410.
The memory 450 includes either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM), and the volatile Memory may be a Random Access Memory (RAM). The memory 450 described in embodiments herein is intended to comprise any suitable type of memory.
In some embodiments, memory 450 is capable of storing data, examples of which include programs, modules, and data structures, or a subset or superset thereof, to support various operations, as exemplified below.
An operating system 451, including system programs for handling various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and handling hardware-based tasks;
a network communication module 452 for communicating to other computing devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 including: bluetooth, wireless compatibility authentication (WiFi), and Universal Serial Bus (USB), etc.;
a presentation module 453 for enabling presentation of information (e.g., user interfaces for operating peripherals and displaying content and information) via one or more output devices 431 (e.g., display screens, speakers, etc.) associated with user interface 430;
an input processing module 454 for detecting one or more user inputs or interactions from one of the one or more input devices 432 and translating the detected inputs or interactions.
In some embodiments, the apparatus provided in the embodiments of the present application may be implemented in software, and fig. 2 illustrates a cloud computing deployment apparatus 455 stored in a memory 450, which may be software in the form of programs and plug-ins, and includes the following software modules: pipeline configuration module 4551, plug-in module 4552 and code generation module 4553, which are logical and thus may be arbitrarily combined or further split depending on the functions implemented.
The functions of the respective modules will be explained below.
In other embodiments, the apparatus provided in the embodiments of the present application may be implemented in hardware, and for example, the apparatus provided in the embodiments of the present application may be a processor in the form of a hardware decoding processor, which is programmed to execute the embodiments of the present application. . Methods, for example, a processor in the form of a hardware decoding processor may employ one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic components.
The cloud computing deployment method provided by the embodiment of the present application will be described in conjunction with exemplary applications and implementations of the terminal provided by the embodiment of the present application.
Referring to fig. 3, fig. 3 is an optional flowchart of a cloud computing deployment method provided in the embodiment of the present application, and will be described with reference to the steps shown in fig. 3.
S101, responding to trigger operation aiming at a preset cloud function configuration inlet on a cloud computing deployment workbench interface, displaying a pipeline configuration sub-interface in the cloud computing deployment workbench interface, and displaying a cloud function pipeline module on the pipeline configuration sub-interface, wherein the cloud function pipeline module comprises at least one cloud function functional module; each cloud function functional module comprises a plug-in adding class control; the cloud function pipeline module represents a basic function framework of the cloud function.
The cloud computing deployment method provided by the embodiment of the application is suitable for a scene of cloud function development in cloud service and cloud computing deployment on a cloud computing platform developed in a distributed mode.
In the embodiment of the present application, in response to a trigger operation for a preset cloud function configuration entry 41 on a cloud computing deployment workbench interface 40 as shown in fig. 4, a cloud function pipeline configuration sub-interface 42 is opened on the cloud computing deployment workbench interface, so as to implement a modular cloud function configuration process through the cloud function pipeline configuration sub-interface.
In this embodiment, a cloud function pipeline module 43 is displayed on the cloud function pipeline interface 42, where the cloud function pipeline module 43 may include at least one cloud function module connected in sequence. The cloud function pipeline module represents a basic function framework of the cloud function, and at least one cloud function module is a method flow module corresponding to the necessary basic function in the obtained cloud function by decoupling and modularly abstracting generalized processing flows contained in different cloud functions. Correspondingly, each cloud function functional module is correspondingly packaged with processing logic for realizing the processing flow, and the processing logic can be in a configuration statement form or a code form and is used for realizing the unified method for the general processing flows contained in different functional cloud functions.
Illustratively, fig. 4 shows a cloud function pipeline module 43 displayed in the cloud function pipeline configuration sub-interface 42 when the configuration of the cloud function 1 is performed on the cloud computing deployment workbench interface 40, where at least one cloud function module includes: a request parameter module 43-1, a data processing module 43-2 and a return result module 43-3. The request parameter module 43-1 is used for acquiring data to be processed; the data processing module 43-2 is configured to perform corresponding data processing on data to be processed to obtain a data processing result, and a specific data processing method can be implemented by a plug-in configured in the module 43-2; the return result module 43-3 is configured to return the data processing result to the caller of the cloud function as a return value of the cloud function. The request parameter module 43-1 is encapsulated with a general method for acquiring data, and may illustratively be a general implementation method for establishing a connection with a data source, searching for data to be processed from the data source, downloading the data to be processed to a local place in a data block manner, and the return result module 43-3 is encapsulated with a general method for returning a data processing result to a calling party.
In the embodiment of the application, the cloud function pipeline module can be directly loaded according to a preset pipeline template when the pipeline configuration sub-interface is displayed, or the cloud function pipeline module can be obtained by gradually adding at least one cloud function module on a blank pipeline configuration sub-interface, and the cloud function pipeline module is specifically selected according to actual conditions, which is not limited in the embodiment of the application.
S102, responding to the adding operation of the plug-in adding type control, popping up a plug-in configuration type panel, and acquiring current configuration data corresponding to the cloud function pipeline module through the plug-in configuration type panel; the current configuration data characterizes the processing logic of each cloud function functional module.
In the embodiment of the application, each cloud function functional module comprises a plug-in addition type control, and the plug-in addition type control is used for performing differentiated configuration processing on at least one cloud function functional module according to the actual deployment requirement.
In the embodiment of the application, when the cloud function deployment device receives an adding operation on a plug-in adding class control, a plug-in configuration class panel is popped up in response to the adding operation aiming at the plug-in adding class control, and current configuration data corresponding to the cloud function pipeline module is obtained through a preset input data receiving type control on the plug-in configuration class panel; the current configuration data characterizes processing logic externally operated to configure for said each cloud function functional module.
In some embodiments, the plug-in add class control may be as shown by the add control 44 in FIG. 4.
In the embodiment of the application, the cloud computing deployment device can automatically adapt a target plug-in type suitable for the cloud function module according to the cloud function module where the plug-in adding class control receiving the adding operation is located, and directly display a data receiving control corresponding to the target plug-in type on a plug-in configuration class interface; the cloud computing deployment device can also respond to the adding operation of the plug-in adding type control, firstly pops up a plug-in selection panel on the assembly line configuration sub-interface, displays plug-in configuration entries of different plug-in types on the plug-in selection panel, receives the operation of the target plug-in entry, and displays the corresponding data receiving control on the plug-in configuration interface according to the plug-in type corresponding to the target plug-in entry.
In some embodiments, when the add-on class control 44 in the data processing module 43-2 in fig. 4 receives an add-on operation, the add-on deployment Interface entered by the cloud computing deployment apparatus may be as shown in fig. 5, where fig. 5 shows a plug-in configuration panel 50 correspondingly exposed when the plug-in type is a Common Gateway Interface (CGI) request type. The plug-in configuration panel 50 includes at least one target plug-in configuration control corresponding to the CGI request type, such as a CGI path, a request method, an entry configuration, an exit configuration, and the like, for example, and the cloud computing deployment apparatus may receive a configuration operation corresponding to the at least one target plug-in configuration control on the plug-in configuration panel 50, and obtain at least one configuration data from the configuration operation, as target plug-in configuration data corresponding to the data processing module 43-2. The cloud computing deployment device performs the same processing on each cloud function functional module to obtain target plug-in configuration data corresponding to each cloud function functional module, and then the target plug-in configuration data corresponding to each cloud function functional module is used as current configuration data corresponding to the cloud function pipeline module.
S103, responding to an operation instruction aiming at a preset release control on the cloud computing deployment workbench interface, generating a target cloud function based on the current configuration data and the cloud function pipeline module, and releasing the target cloud function on a cloud server so that cloud service in cloud computing can call the target cloud function, and the cloud computing deployment is completed.
In the embodiment of the application, the cloud function pipeline module represents a basic function framework of a cloud function processing flow, and the current configuration data represents specific processing logic corresponding to each basic function in the cloud function basic function framework. Therefore, the cloud computing deployment device can assemble the current configuration data and the cloud function pipeline module to generate the target cloud function.
In some embodiments, as shown in fig. 4, a preset publishing control 45 is displayed on the cloud computing deployment workbench interface, when the cloud computing deployment device receives an operation instruction for the preset publishing control 45, in response to the operation instruction for the preset publishing control 45, a cloud function template is generated according to at least one cloud function module in the cloud function pipeline module, different configuration data description statements corresponding to different target plug-in configuration data are generated according to current configuration data, the configuration data description statements are correspondingly assembled to positions corresponding to different cloud function modules in the cloud function template, a target configuration file containing the current configuration data and the cloud function pipeline module is finally obtained, a target cloud function is further generated according to the target configuration file, and configuration of differential configuration data corresponding to different function functions on the visual interface is achieved, and combining the universal cloud function templates to generate the target cloud function.
In the embodiment of the application, the cloud computing deployment device can store the target configuration file in the cloud server, so that the target cloud function can be further updated and reused through the target configuration file in the following process.
In the embodiment of the application, the cloud computing deployment device can publish the target cloud function on the cloud server, the target cloud function can be visible to the cloud service in the cloud computing after the target cloud function is published, and then the cloud service function can be realized through the cloud service in the cloud computing calling the target cloud function, so that the cloud computing deployment is realized.
It can be understood that in the embodiment of the application, the cloud function is decomposed into the modularized micro service units through the cloud function pipeline module, so that the elasticity and the flexibility of the system are improved, the visual configuration of the cloud function differentiation function is realized through adding the class control through the plug-in, and the cloud computing deployment efficiency is improved; meanwhile, the cloud function functional module and the plug-in which can be added can be multiplexed for multiple times, so that the reusability of the cloud function is improved.
In some embodiments, referring to fig. 6, fig. 6 is an optional flowchart schematic diagram of a cloud computing deployment method provided in an embodiment of the present application, and based on fig. 3, the plug-in configuration class panel includes: a plug-in selection panel and a plug-in configuration panel; s102 can be specifically realized by S1021 to S1024, and the description will be given with reference to each step.
And S1021, in the cloud function pipeline module, responding to the adding operation aiming at the plug-in adding type control for each cloud function module, popping up a plug-in selection panel on a pipeline configuration sub-interface, and displaying at least one plug-in configuration inlet corresponding to at least one type of plug-in on the plug-in selection panel.
In the embodiment of the application, for each cloud function functional module in the cloud function pipeline module, when a plug-in addition class control in the cloud function functional module receives an addition operation, the cloud computing deployment device firstly pops up a plug-in selection panel on a function pipeline configuration interface. The plug-in selection panel is provided with at least one plug-in configuration inlet corresponding to at least one type of plug-in, and the at least one plug-in configuration inlet is used for a developer to select a target plug-in added to a corresponding cloud function module in at least one type of plug-in.
In some embodiments, referring to fig. 7, fig. 7 is a schematic diagram illustrating an optional effect of the plug-in selection panel provided by the embodiment of the present application. As shown in fig. 7, at least one plug-in configuration entry 70-1 displayed on the plug-in selection panel 70 is a Protocol Buffer (PB) file request entry, a CGI request entry, and a tutorial login status check entry.
S1022, responding to a trigger operation of a target plug-in entry in the at least one plug-in configuration entry, entering a plug-in configuration panel from a plug-in selection panel, and displaying at least one target plug-in configuration control corresponding to the target plug-in entry on the plug-in configuration panel.
In the embodiment of the application, when a target plug-in inlet in at least one plug-in configuration inlet receives a trigger operation, the cloud computing deployment device responds to the trigger operation of the target plug-in inlet to enter a plug-in configuration class interface from a plug-in selection panel, and displays at least one corresponding target plug-in configuration control as a plug-in configuration panel according to a plug-in type corresponding to the target plug-in inlet.
In some embodiments, based on fig. 7, when the target plug-in portal is a CGI request portal, in response to a trigger operation for the CGI request portal, the cloud computing deployment apparatus may enter the plug-in configuration panel 50 corresponding to the CGI request type as in fig. 5 from the plug-in selection panel 70, and display at least one target plug-in configuration control corresponding to the CGI request type on the plug-in configuration panel 50, so as to receive target configuration data corresponding to the CGI request type through the at least one target plug-in configuration control. When the PB file request entry in fig. 7 receives a trigger operation, in response to the trigger operation for the PB file request entry, the cloud computing deployment apparatus may enter a plug-in configuration panel corresponding to the PB file request type from the plug-in selection panel of fig. 7, and display at least one target plug-in configuration control corresponding to the PB file request type on the plug-in configuration panel corresponding to the PB file request type.
In some embodiments, for the data input module and the data output module, the at least one target plug-in configuration control may be a related control that configures a network interface and a verification method for data input and output, and may exemplarily be a routing statement, entry detection, login state verification, interface invocation, and the like.
S1023, at least one item of configuration data is received through at least one plug-in configuration control.
In the embodiment of the application, the cloud computing deployment device correspondingly receives at least one item of configuration data through at least one plug-in configuration control.
S1024, responding to trigger operation aiming at a preset confirmation control on the plug-in configuration panel, generating target plug-in configuration data corresponding to each cloud function functional module according to at least one item of configuration data, and further obtaining current configuration data corresponding to the cloud function pipeline module according to the target plug-in configuration data.
In the embodiment of the application, when the preset confirmation control on the plug-in configuration class interface receives the triggering operation, the representation developer confirms the configuration data input on the plug-in configuration panel at present, the cloud computing deployment device responds to the triggering operation aiming at the preset confirmation control, closes the plug-in configuration panel, returns to the pipeline configuration sub-interface, and displays the plug-in control which is just added in the corresponding cloud function functional module.
In the embodiment of the application, the cloud computing deployment device takes at least one item of configuration data as the target plug-in configuration data corresponding to the cloud function functional module, and then can obtain the current configuration data corresponding to the cloud function pipeline module according to the target plug-in configuration data corresponding to each cloud function functional module.
It should be noted that, in this embodiment of the application, as shown in fig. 4, the cloud computing deployment device may also receive an operation instruction for the plug-in deletion control 47 through the plug-in deletion control 47 shown in fig. 4, and delete the corresponding plug-in and the target configuration data in response to the operation instruction for the plug-in deletion control 47.
It can be understood that in the embodiment of the application, the visual configuration of the functions of the cloud function is realized by adding the class control through the plug-in, and the efficiency of cloud computing deployment is improved; meanwhile, the specific data processing logic of the cloud function can be realized through the plug-in, so that the decoupling of the complete function of the cloud function is realized, and the maintainability and reusability of the cloud function are improved.
In some embodiments, referring to fig. 8, fig. 8 is an optional flowchart illustration of a cloud computing deployment method provided in an embodiment of the present application, and based on fig. 3 or fig. 6, at least one cloud function module includes: the device comprises a data acquisition module, a data processing module and a data output module. The process of displaying the cloud function pipeline module on the pipeline configuration sub-interface in S101 may be implemented by executing S1011 to S1012, and will be described with reference to each step.
And S1011, on the pipeline configuration sub-interface, responding to the creation operation of the new inlet of the cloud function pipeline, and respectively adding and displaying the data acquisition module, the data processing module and the data output module.
In this embodiment, the cloud function pipeline module on the pipeline configuration sub-interface may also be set based on the operation of the developer. Specifically, the cloud function deployment device may provide a preset new cloud function pipeline entrance on the pipeline configuration sub-interface, and when receiving a creation operation on the new cloud function pipeline entrance, the cloud function deployment device is applied to the creation operation on the new cloud function pipeline entrance, and the data acquisition module, the data processing module and the data output module are respectively added and displayed on the pipeline configuration sub-interface, so as to obtain at least one cloud function module.
And S1012, sequentially connecting the data acquisition module, the data processing module and the data output module to obtain a cloud function pipeline module.
In the embodiment of the application, the cloud function deployment device sequentially connects the data acquisition module, the data processing module and the data output module according to a default processing sequence of a cloud function processing flow, so as to obtain the cloud function pipeline module shown in fig. 4.
It should be noted that, in the embodiment of the present application, as shown in fig. 4, a cloud function adding control 46 is displayed on a connection line of at least one cloud function module. The cloud computing deployment apparatus can flexibly add the cloud function modules at the corresponding positions by responding to the operation of the cloud function addition control 46 on each connection line.
It can be understood that, in the embodiment of the present application, the cloud function deployment apparatus can flexibly configure the functional modules of the cloud function by establishing the cloud function pipeline module, so that the flexibility of cloud computing deployment is improved.
In some embodiments, referring to fig. 9, fig. 9 is an optional flowchart schematic diagram of a cloud computing deployment method provided in the embodiments of the present application, and based on fig. 8, the generation of the target cloud function based on the current configuration data and the cloud function pipeline module in S103 may be specifically implemented by S1031 to S1033, which will be described with reference to each step.
And S1031, generating a target configuration file template with a preset data format according to the cloud function pipeline module, and converting the current configuration data into a target configuration statement with the preset data format.
In this embodiment, the cloud computing deployment device may generate a target configuration file template in a preset data format according to the connection sequence of the cloud function pipeline modules and the generalized processing logic corresponding to each cloud function module.
In the embodiment of the application, the cloud computing deployment device can convert the current configuration data corresponding to the cloud function pipeline module into the target configuration statement in the preset data format.
In some embodiments, the preset data format may be a JSON format, or may be other data formats, which is specifically selected according to an actual situation, and the embodiment of the present application is not limited.
In some embodiments, the data structure of the target configuration statement may be as follows:
in some embodiments, for a plug-in added in the data processing module to implement data processing logic, the structure of its target configuration data may include a plug-in name, plugin name, plug-in master logic index. The plug-in host logic is used for implementing specific method logic of data processing, and may be, for example, as follows:
module.exports=async(ctx,config,params)=>{…}
where ctx is the ctx of the koa frame. config is target configuration data of the plug-in, params is data of the plug-in specified to be participated in, and the specific data is provided by the main logic.
S1032, correspondingly assembling the target configuration statements into a target configuration file template to obtain a target configuration file.
In the embodiment of the application, the target configuration statements of the cloud computing deployment device are correspondingly assembled into the target configuration file template to obtain the target configuration file.
In this embodiment, the cloud computing deployment device may store the target configuration file in a database corresponding to the cloud server.
In some embodiments, the data structure of the target profile template corresponding to the data acquisition module may be as follows:
in some embodiments, the data structure of the data output module corresponding to the target profile template may be as follows:
in some embodiments, the data structure of the data to be processed corresponding to the data source may be as follows:
s1033, through the code generation module, a target cloud function is correspondingly generated based on the target configuration file.
In the embodiment of the application, after the cloud computing deployment device pulls the target configuration file from the database through the code generation module, the current configuration data corresponding to the cloud function pipeline module is analyzed, the plug-in module corresponding to the current configuration data is installed in advance, and then the generated main entry file code is used as the target cloud function in a code template assembling mode.
In some embodiments, the code template may be as follows:
let$query=await app.plugins.query.index(ctx,config,params);
let$cgiData1=await app.plugins.requestCgi.index(ctx,config,params);
let$pbData1=await app.plugins.requestPB.index(ctx,config,params);
let$result=await app.plugins.result.index(ctx,config,params);
here, the awake app.plunger.query.index corresponds to the request parameter module 43-1 in fig. 4, the awake app.plunger.requestcgi.index and the awake app.plunger.requestpb.index correspond to the plug-in of the CGI request type and the plug-in of the PB file request type included in the data processing module 43-2, respectively, and the awake app.plunger.result.index corresponds to the result returning module 43-3.
In some embodiments, the data processing module includes at least one processing sub-module connected in sequence, and based on fig. 8, after the data acquisition class module, the data processing class module and the data output class module are connected in sequence and displayed in S1012, S1013-S1014 may also be executed, which will be described with reference to each step.
S1013, in response to the dragging operation aiming at the target processing sub-module in the at least one processing sub-module, adjusting the connection sequence of the at least one processing sub-module to obtain the adjusted connection sequence; the connection sequence represents the execution sequence of the function methods corresponding to the data processing class modules.
In this embodiment, the cloud computing deployment device may further adjust the sequence of the at least one processing submodule by receiving the dragging operation, so as to more conveniently configure the processing flow of the cloud function. As shown in fig. 10, when the target processing sub-module 90-2 of the at least one processing sub-module receives the drag operation, the cloud computing deployment apparatus adjusts the connection order of the target processing sub-module 90-2 to be before the processing sub-module 90-1 according to the target drag position executed by the drag operation, so as to adjust the cloud function processing flow order by adjusting the connection order of the at least one processing sub-module.
And S1014, correspondingly updating the adjusted connection sequence in the cloud function pipeline module.
In some embodiments, referring to fig. 11, fig. 11 is an optional flowchart schematic diagram of a cloud computing deployment method provided in the embodiments of the present application, where a preset basic configuration entry is displayed on a cloud computing deployment workbench interface, and based on fig. 8 and before S103, S201 to S203 may also be executed, which will be described with reference to each step.
S201, responding to a trigger operation aiming at a preset cloud function configuration inlet on a cloud computing deployment workbench interface, and jumping to a basic configuration sub-interface.
In the embodiment of the application, the cloud computing deployment device can further perform configuration operation on the basic attribute corresponding to the cloud function through the preset basic configuration sub-interface, so that the visualization and the interactivity of the cloud function configuration are further improved.
S202, displaying at least one preset cloud function basic configuration control on a basic configuration sub-interface, and receiving cloud function basic configuration data through the at least one cloud function basic configuration control; the cloud function basic configuration data is used for configuring network interface information and function names of cloud functions.
In the embodiment of the application, the cloud computing deployment device displays at least one preset cloud function basic configuration control on the basic configuration sub-interface so as to receive the network interface information and the cloud function basic configuration data of the function name for configuring the cloud function through the at least one cloud function basic configuration control.
In the embodiment of the application, at least one cloud function basic configuration control can configure customizable attribute information such as a running environment, resource configuration, timeout time, environment variables and the like of a cloud function. In some embodiments, the resource configuration may be configured to allocate computing resources according to a specified memory allocation, or automatically allocate CPUs in proportion; the timeout time can be configured to be forcibly interrupted when the function is not finished beyond the time, such as not being greater than 20 s; the environment variable may be configured such that the environment variable accessible from the function code may be defined using a form of a key/value pair.
In some embodiments, referring to fig. 12, fig. 12 is a schematic diagram illustrating an optional effect of a basic configuration sub-interface provided in an embodiment of the present application. The at least one cloud function infrastructure configuration control may include a CGI name, SCF Config, and the like.
And S203, responding to a storage instruction aiming at the preset storage control on the basic configuration sub-interface, and storing the basic configuration data of the cloud function to a cloud server.
In the embodiment of the application, when the cloud computing deployment device receives the saving instruction for the preset saving control on the basic configuration sub-interface, the cloud computing deployment device responds to the saving instruction for the preset saving control and saves the basic configuration data of the cloud function to the cloud server.
In some embodiments, based on fig. 12, S103 may also be implemented through S1034-S1035, which will be described in connection with the steps.
S1034, correspondingly assembling the target configuration statement and the cloud function basic configuration data into a target configuration file template to obtain a target configuration file.
In the embodiment of the application, if a developer performs corresponding configuration on the basic configuration sub-interface, when a target cloud function is generated, the cloud computing deployment device assembles the cloud function basic configuration data and a target configuration statement corresponding to current configuration data acquired on the cloud function pipeline interface into the cloud function configuration template to obtain a target configuration file.
And S1035, correspondingly generating a target cloud function based on the target configuration file through a preset code generation module.
In this embodiment of the application, a process of generating, by the cloud computing deployment apparatus, the target cloud function based on the target configuration file through the code generation module is consistent with the description of S1033, and details are not repeated here.
Next, an exemplary application of the embodiment of the present application in a practical application scenario will be described.
As shown in fig. 13, the cloud computing deployment method provided in the embodiment of the present application may be implemented by 5 software functional modules: the system comprises a visual pipeline module, a plug-in module, a cloud function configuration module, a code generation module and a cloud function release module. The visual pipeline module is a background function module corresponding to the pipeline configuration sub-interface and is responsible for visual arrangement work of each module of the interface and the plug-ins, illustratively, a data block can be moved and a flow can be adjusted through dragging, a plug-in can be added by clicking a newly added plug-in control, and finally JSON configuration describing the interface pipeline is led out and stored in the server. The plug-in module is a background function module corresponding to the plug-in adding type control and is mainly responsible for providing a UI interface for an interface developer to select and configure the plug-in, and storing current configuration data corresponding to the plug-in into a database for a code generation module to use. The cloud function configuration module is a background function module corresponding to the basic configuration sub-interface and is mainly responsible for setting and storing the cloud function configuration. The code generation module is responsible for generating codes by pipeline configuration, plug-in configuration and cloud function configuration. The cloud function release module is a background function module corresponding to the preset release control and is mainly responsible for releasing the cloud function to a test environment, a pre-release environment and a current network environment.
Continuing with the exemplary structure of the cloud computing deployment device 455 provided by the embodiments of the present application as implemented as software modules, in some embodiments, as shown in fig. 2, the software modules stored in the cloud function deployment device 455 of the memory 450 may include:
the pipeline configuration module 4551 is configured to display a pipeline configuration sub-interface in a cloud computing deployment workbench interface in response to a trigger operation for a preset cloud function configuration entry on the cloud computing deployment workbench interface, and display a cloud function pipeline module on the pipeline configuration sub-interface, where the cloud function pipeline module includes at least one cloud function module; each cloud function functional module comprises a plug-in adding class control; the cloud function pipeline module represents a basic function framework of the cloud function;
the plug-in module 4552 is configured to pop up a plug-in configuration class panel in response to an addition operation for the plug-in addition class control, and obtain current configuration data corresponding to the cloud function pipeline module through the plug-in configuration class panel; the current configuration data characterizes the processing logic of each cloud function functional module;
a code generation module 4553, configured to generate, on the cloud computing deployment workbench interface, a target cloud function based on the current configuration data and the cloud function pipeline module in response to an operation instruction for a preset release control, and release the target cloud function on a cloud server, so that a cloud service in cloud computing calls the target cloud function, thereby completing deployment of cloud computing.
In some embodiments, the plugin configuration class panel includes: a plug-in selection panel and a plug-in configuration panel; the plug-in module 4552 is further configured to, in the cloud function pipeline module, for each cloud function module, in response to an addition operation for the plug-in addition class control, pop up a plug-in selection panel on the pipeline configuration sub-interface, and display at least one plug-in configuration entry corresponding to at least one class of plug-ins on the plug-in selection panel; in response to a trigger operation aiming at a target plugin entry in the at least one plugin configuration entry, entering the plugin configuration panel from the plugin selection panel, and displaying at least one target plugin configuration control corresponding to the target plugin entry on the plugin configuration panel; receiving at least one configuration data through the at least one plug-in configuration control; and responding to a trigger operation aiming at a preset confirmation control on the plug-in configuration panel, generating target plug-in configuration data corresponding to each cloud function functional module according to the at least one item of configuration data, and further obtaining the current configuration data corresponding to the cloud function pipeline module according to the target plug-in configuration data.
In some embodiments, the at least one cloud function functional module comprises: the device comprises a data acquisition module, a data processing module and a data output module; the pipeline configuration module 4551 is further configured to add and display the data acquisition module, the data processing module, and the data output module on the pipeline configuration sub-interface in response to a creation operation for a new entry of a cloud function pipeline; and sequentially connecting the data acquisition module, the data processing module and the data output module to obtain the cloud function assembly line module.
In some embodiments, the code generating module 4553 is further configured to generate a target configuration file template in a preset data format according to the cloud function pipeline module, and convert the current configuration data into a target configuration statement in the preset data format; correspondingly assembling the target configuration statements into the target configuration file template to obtain a target configuration file; and correspondingly generating the target cloud function based on the target configuration file through a preset code generation module.
In some embodiments, the data processing module comprises: at least one processing submodule connected in sequence; the pipeline configuration module 4551 is further configured to adjust a connection order of the at least one processing sub-module in response to a drag operation for a target processing sub-module of the at least one processing sub-module, so as to obtain an adjusted connection order; the connection sequence represents an execution sequence of the function methods corresponding to the data processing module; and correspondingly updating the adjusted connection sequence in the cloud function pipeline module.
In some embodiments, a preset base configuration portal is displayed on the cloud computing deployment workbench interface; the cloud computing deployment device further comprises a cloud function configuration module, and the cloud function configuration module is further used for responding to triggering operation aiming at the preset cloud function configuration inlet on the cloud computing deployment workbench interface and jumping to a basic configuration sub-interface; displaying at least one preset cloud function basic configuration control on the basic configuration sub-interface; receiving cloud function basic configuration data through the at least one cloud function basic configuration control; the cloud function basic configuration data is used for configuring network interface information and function names of cloud functions; and responding to a saving instruction aiming at a preset saving control, and saving the cloud function basic configuration data to the cloud server.
In some embodiments, the code generating module 4553 is further configured to generate a target configuration file template in a preset data format according to the cloud function pipeline module, convert the current configuration data into a target configuration statement in the preset data format, and correspondingly assemble the target configuration statement and the cloud function basic configuration data into the target configuration file template to obtain a target configuration file; and correspondingly generating the target cloud function based on the target configuration file through the preset code generation module.
It should be noted that the above description of the embodiment of the apparatus, similar to the description of the embodiment of the method, has similar beneficial effects as the embodiment of the method. For technical details not disclosed in the embodiments of the apparatus of the present application, reference is made to the description of the embodiments of the method of the present application for understanding.
Embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, so that the computer device executes the cloud function deployment method described in the embodiment of the present application.
Embodiments of the present application provide a computer-readable storage medium having stored therein executable instructions that, when executed by a processor, cause the processor to perform a method provided by embodiments of the present application, for example, the method as illustrated in fig. 3.
In some embodiments, the computer-readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.
In some embodiments, executable instructions may be written in any form of programming language (including compiled or interpreted languages), in the form of programs, software modules, scripts or code, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
By way of example, executable instructions may correspond, but do not necessarily have to correspond, to files in a file system, and may be stored in a portion of a file that holds other programs or data, such as in one or more scripts in a hypertext Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
As an example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices located at one site or distributed across multiple sites and interconnected by a communication network.
In summary, in the embodiment of the application, the visual configuration of the functions of the cloud functions is realized by adding the class control and the cloud function pipeline module through the plug-in, so that the cloud computing deployment efficiency is improved; meanwhile, the cloud function functional module and the plug-in which can be added can be multiplexed for multiple times, so that the reusability of the cloud function is improved.
The above description is only an example of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims (10)
1. A cloud computing deployment method is characterized by comprising:
on a cloud computing deployment workbench interface, responding to trigger operation aiming at a preset cloud function configuration inlet, displaying a pipeline configuration sub-interface in the cloud computing deployment workbench interface, and displaying a cloud function pipeline module on the pipeline configuration sub-interface, wherein the cloud function pipeline module comprises at least one cloud function functional module; each cloud function functional module comprises a plug-in adding class control; the cloud function pipeline module represents a basic function framework of the cloud function;
responding to the adding operation of the plug-in adding class control, popping up a plug-in configuration class panel, and acquiring current configuration data corresponding to the cloud function pipeline module through the plug-in configuration class panel; the current configuration data characterizes the processing logic of each cloud function functional module;
and responding to an operation instruction aiming at a preset release control on the cloud computing deployment workbench interface, generating a target cloud function based on the current configuration data and the cloud function pipeline module, and releasing the target cloud function on a cloud server so that a cloud service in cloud computing can call the target cloud function, thereby completing the deployment of the cloud computing.
2. The method of claim 1, wherein the plugin configuration class panel comprises: a plug-in selection panel and a plug-in configuration panel; the popping up a plug-in configuration class panel in response to the adding operation of the plug-in adding class control, and acquiring the current configuration data corresponding to the cloud function pipeline module through the plug-in configuration class panel comprises the following steps:
in the cloud function pipeline module, for each cloud function module, responding to an adding operation for the plug-in adding class control, popping up a plug-in selection panel on the pipeline configuration sub-interface, and displaying at least one plug-in configuration inlet corresponding to at least one class of plug-ins on the plug-in selection panel;
in response to a trigger operation for a target plug-in inlet in the at least one plug-in configuration inlet, entering the plug-in configuration panel from the plug-in selection panel, and displaying at least one target plug-in configuration control corresponding to the target plug-in inlet on the plug-in configuration panel;
receiving at least one configuration data through the at least one plug-in configuration control;
and responding to a trigger operation aiming at a preset confirmation control on the plug-in configuration panel, generating target plug-in configuration data corresponding to each cloud function functional module according to the at least one item of configuration data, and further obtaining the current configuration data corresponding to the cloud function pipeline module according to the target plug-in configuration data.
3. The method according to claim 1 or 2, wherein the at least one cloud function module comprises: the device comprises a data acquisition module, a data processing module and a data output module; the displaying of the cloud function pipeline module on the pipeline configuration sub-interface includes:
on the assembly line configuration sub-interface, in response to the creation operation of a new inlet of the cloud function assembly line, respectively adding and displaying the data acquisition module, the data processing module and the data output module;
and sequentially connecting the data acquisition module, the data processing module and the data output module to obtain the cloud function assembly line module.
4. The method of claim 3, wherein generating the target cloud function based on the current configuration data and the cloud function pipeline module comprises:
generating a target configuration file template with a preset data format according to the cloud function assembly line module, and converting the current configuration data into a target configuration statement with the preset data format;
correspondingly assembling the target configuration statements into the target configuration file template to obtain a target configuration file;
and correspondingly generating the target cloud function based on the target configuration file through a preset code generation module.
5. The method of claim 3, wherein the data processing module comprises: at least one processing submodule connected in sequence; after the data obtaining module, the data processing module and the data output module are sequentially connected to obtain the cloud function pipeline module, the method further includes:
responding to the dragging operation aiming at the target processing submodule in the at least one processing submodule, and adjusting the connection sequence of the at least one processing submodule to obtain an adjusted connection sequence; the connection sequence represents the execution sequence of the function method corresponding to the data processing module;
and correspondingly updating the adjusted connection sequence in the cloud function pipeline module.
6. The method according to claim 4, wherein a preset base configuration portal is displayed on the cloud computing deployment workbench interface; before, on the pipeline configuration sub-interface, responding to an operation instruction for a preset release control and generating a target cloud function based on the current configuration data corresponding to each cloud function module and the cloud function pipeline module, the method further includes:
responding to the triggering operation aiming at the preset cloud function configuration entrance on the cloud computing deployment workbench interface, and jumping to a basic configuration sub-interface;
displaying at least one preset cloud function basic configuration control on the basic configuration sub-interface;
receiving cloud function basic configuration data through the at least one cloud function basic configuration control; the cloud function basic configuration data is used for configuring network interface information and function names of cloud functions;
and responding to a storage instruction aiming at a preset storage control, and storing the basic configuration data of the cloud function to the cloud server.
7. The method of claim 6, wherein after generating a target configuration file template in a preset data format according to the cloud function pipeline module and converting the current configuration data into a target configuration statement in the preset data format, the method further comprises:
correspondingly assembling the target configuration statement and the cloud function basic configuration data into the target configuration file template to obtain a target configuration file;
and correspondingly generating the target cloud function based on the target configuration file through the preset code generation module.
8. A cloud computing deployment apparatus, comprising:
the system comprises a pipeline configuration module, a cloud function configuration module and a control module, wherein the pipeline configuration module is used for responding to triggering operation aiming at a preset cloud function configuration inlet on a cloud computing deployment workbench interface, displaying a pipeline configuration sub-interface in the cloud computing deployment workbench interface and displaying a cloud function pipeline module on the pipeline configuration sub-interface, and the cloud function pipeline module comprises at least one cloud function module; each cloud function functional module comprises a plug-in adding class control; the cloud function pipeline module represents a basic function framework of the cloud function;
the plug-in module is used for responding to the adding operation aiming at the plug-in adding class control, popping up a plug-in configuration class panel and acquiring current configuration data corresponding to the cloud function pipeline module through the plug-in configuration class panel; the current configuration data characterizes the processing logic of each cloud function functional module;
and the code generation module is used for responding to an operation instruction aiming at a preset release control on the cloud computing deployment workbench interface, generating a target cloud function based on the current configuration data and the cloud function pipeline module, and releasing the target cloud function on a cloud server so that a cloud service in cloud computing can call the target cloud function, thereby completing the deployment of the cloud computing.
9. An electronic device, comprising:
a memory for storing executable instructions;
a processor for implementing the method of any one of claims 1 to 7 when executing executable instructions stored in the memory.
10. A computer-readable storage medium having stored thereon executable instructions for, when executed by a processor, implementing the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011336440.6A CN114553688B (en) | 2020-11-25 | 2020-11-25 | Cloud computing deployment method, device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011336440.6A CN114553688B (en) | 2020-11-25 | 2020-11-25 | Cloud computing deployment method, device, equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114553688A true CN114553688A (en) | 2022-05-27 |
CN114553688B CN114553688B (en) | 2023-07-14 |
Family
ID=81660657
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011336440.6A Active CN114553688B (en) | 2020-11-25 | 2020-11-25 | Cloud computing deployment method, device, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114553688B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140047341A1 (en) * | 2012-08-07 | 2014-02-13 | Advanced Micro Devices, Inc. | System and method for configuring cloud computing systems |
US20170161101A1 (en) * | 2015-12-04 | 2017-06-08 | Vmware, Inc. | Modularized automated-application-release-management subsystem |
CN110032519A (en) * | 2019-04-22 | 2019-07-19 | 广州腾讯科技有限公司 | Cloud function adjustment method, device, computer equipment and storage medium |
-
2020
- 2020-11-25 CN CN202011336440.6A patent/CN114553688B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140047341A1 (en) * | 2012-08-07 | 2014-02-13 | Advanced Micro Devices, Inc. | System and method for configuring cloud computing systems |
US20170161101A1 (en) * | 2015-12-04 | 2017-06-08 | Vmware, Inc. | Modularized automated-application-release-management subsystem |
CN110032519A (en) * | 2019-04-22 | 2019-07-19 | 广州腾讯科技有限公司 | Cloud function adjustment method, device, computer equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
刘云浩 等: ""云计算应用服务开发环境:从代码逻辑到数据流图"", 《中国科学:信息科学》 * |
Also Published As
Publication number | Publication date |
---|---|
CN114553688B (en) | 2023-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110795195B (en) | Webpage rendering method and device, electronic equipment and storage medium | |
US11797273B2 (en) | System and method for enhancing component based development models with auto-wiring | |
US9645989B2 (en) | Techniques to generate custom electronic forms using custom content | |
CN114064024B (en) | Method, apparatus, device, storage medium and program product for developing micro-application | |
US20130117719A1 (en) | Context-Based Adaptation for Business Applications | |
CN108108986B (en) | Design method and device of customer relationship management system and electronic equipment | |
US20130067456A1 (en) | Application configuration framework for enterprise resource planning application installation | |
US20230108560A1 (en) | Methods and Systems for Representation, Composition and Execution of Artificial Intelligence Centric Applications | |
US9491266B2 (en) | Representational state transfer communications via remote function calls | |
US10725795B2 (en) | Systems, methods, and apparatuses for dynamic creation of an external code segment within a cloud based computing environment | |
US20120166977A1 (en) | User programming access to data model in user interface design | |
CN112698921A (en) | Logic code operation method and device, computer equipment and storage medium | |
CN113094028A (en) | Windows desktop program development framework, method and related components | |
US20230409295A1 (en) | Building base applications with user interface micro frontends | |
CN114117190A (en) | Data processing method, data processing device, storage medium and electronic equipment | |
CN112506854A (en) | Method, device, equipment and medium for storing page template file and generating page | |
CN106371931B (en) | A kind of high-performance geoscience computing service system based on Web frame | |
CN118502992A (en) | Service arrangement method and related equipment | |
CN112631563A (en) | System development method and device based on framework, computer equipment and storage medium | |
US9606775B2 (en) | Developing rich internet application | |
US9059992B2 (en) | Distributed mobile enterprise application platform | |
CN118113275A (en) | Back-end low-code development method, device, equipment and medium | |
CN114553688A (en) | Cloud computing deployment method, device, equipment and computer readable storage medium | |
US11132374B2 (en) | Property painter | |
CN111880775A (en) | Multi-module layered architecture implementation method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |