CN112256348A - Cloud service platform creation method and system, electronic equipment and storage medium - Google Patents
Cloud service platform creation method and system, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112256348A CN112256348A CN202011147015.2A CN202011147015A CN112256348A CN 112256348 A CN112256348 A CN 112256348A CN 202011147015 A CN202011147015 A CN 202011147015A CN 112256348 A CN112256348 A CN 112256348A
- Authority
- CN
- China
- Prior art keywords
- component
- functional
- cloud service
- service platform
- functional component
- 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
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000009434 installation Methods 0.000 claims abstract description 50
- 230000006870 function Effects 0.000 claims description 67
- 238000004590 computer program Methods 0.000 claims description 14
- 239000003999 initiator Substances 0.000 claims description 12
- 230000008569 process Effects 0.000 claims description 10
- 230000000007 visual effect Effects 0.000 claims description 9
- 238000005516 engineering process Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 230000009471 action Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44594—Unloading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
- G06F9/5072—Grid computing
-
- 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)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Stored Programmes (AREA)
Abstract
The application discloses a method, a system, equipment and a medium for creating a cloud service platform, wherein the method comprises the following steps: after the first query request is acquired, returning a functional component list corresponding to the first query request; receiving a selection instruction aiming at the components in the functional component list, and determining the corresponding target functional components; respectively installing functional modules corresponding to target functional components in a current installation cluster and a platform hosting cluster based on a preset template file, acquiring custom configuration information, and completing installation of the target functional components in a currently established cloud service platform; the preset template file is used for setting the functional modules corresponding to the functional components in different clusters. According to the method and the device, a user can select the target function component meeting the service requirement from the function component list, the installation and deployment of the components can be completed based on the preset template file, the platform function is simplified according to the actual requirement of the user, more physical resources can be released, the utilization rate of the physical resources of the platform is improved, and the physical cost is saved.
Description
Technical Field
The present application relates to the field of cloud computing technologies, and in particular, to a cloud service platform creation method, a cloud service platform creation system, an electronic device, and a computer-readable storage medium.
Background
In the cloud computing era, as the application field of cloud services is wider and wider, cloud service platforms are larger and larger, and the functions are more and more complete, but the functions of the platforms are more and more, and the physical resources occupied by the system are more and more, however, some functions are actually unnecessary functions for users, that is, the functions of the service platforms cannot be flexibly set.
Therefore, how to solve the above problems is a great concern for those skilled in the art.
Disclosure of Invention
The application aims to provide a cloud service platform creation method, a cloud service platform creation system, an electronic device and a computer readable storage medium, which can flexibly set platform functions according to actual needs of users and release physical resources occupied by the system.
In order to achieve the above object, the present application provides a cloud service platform creating method, including:
the method comprises the steps that after a first query request for querying a preset functional component in a cloud service platform is obtained, a functional component list corresponding to the first query request is returned;
receiving a selection instruction aiming at the components in the functional component list so as to determine a target functional component corresponding to the selection instruction;
acquiring a preset template file, wherein the preset template file is used for setting the functional modules of the functional components respectively corresponding to the current installation cluster and the platform hosting cluster;
and respectively installing the functional modules corresponding to the target functional components in the current installation cluster and the platform hosting cluster based on the preset template file, acquiring the custom configuration information aiming at the target functional components, and completing the installation of the target functional components in the currently created cloud service platform.
Optionally, after the first query request for querying the preset functional component in the cloud service platform is obtained, returning a functional component list corresponding to the first query request, where the returning includes:
acquiring a first query request comprising a functional component name or a functional component service type, and loading a preset functional component library aiming at a cloud service platform;
and searching the matched functional component in the preset functional component library according to the name or service type of the functional component, generating a functional component list and returning the functional component list to the visual interface.
Optionally, the searching for the matched functional component in the preset functional component library according to the functional component name or the functional component service type, generating a functional component list, and returning the functional component list to the visual interface includes:
searching a corresponding functional component in the functional component library in a fuzzy matching mode according to the functional component name;
and calculating the matching degree of the found actual names of the functional components and the names of the functional components, generating the functional component list according to the sequence from high to low of the matching degree, and returning the functional component list to a visual interface.
Optionally, after the installation of the target functional component is completed in the currently created cloud service platform, the method further includes:
receiving a second query request, wherein the second query request is used for querying all installed component service instances in the currently created cloud service platform;
acquiring all installed component service instances in the currently created cloud service platform, and returning all the component service instances to the initiator of the second query request according to a preset display mode;
and receiving an unloading instruction issued by the initiator for the target component service instance so as to unload the target component service instance.
Optionally, the creating process of the preset template file includes:
receiving a new request for creating a blank chart template so as to generate the blank chart template corresponding to the current functional component;
determining target function modules respectively corresponding to the current functional components in the current installation cluster and the platform hosting cluster, acquiring a yaml file corresponding to the target function modules which are compiled in advance, writing the yaml file into the blank chart template, and generating the preset template file; and the yaml file is used for setting the custom parameters and the fixed parameters of the target function module.
Optionally, after the generating the preset template file, the method further includes:
and acquiring a pre-written custom parameter list corresponding to the preset template file, wherein the custom parameter list is used for defining the modifiable parameters of the current functional component.
In order to achieve the above object, the present application provides a cloud service platform creation system, including:
the cloud service platform comprises a component return module, a function component list and a service component selection module, wherein the component return module is used for returning a function component list corresponding to a first query request after the first query request for querying a preset function component in the cloud service platform is acquired;
the component selection module is used for receiving a selection instruction aiming at the components in the functional component list so as to determine a target functional component corresponding to the selection instruction;
the system comprises a template acquisition module, a platform hosting cluster and a storage module, wherein the template acquisition module is used for acquiring a preset template file which is used for setting functional modules corresponding to all functional components in a current installation cluster and the platform hosting cluster respectively;
and the component installation module is used for respectively installing the functional modules corresponding to the target functional components in the current installation cluster and the platform hosting cluster based on the preset template file, acquiring the custom configuration information aiming at the target functional components, and completing the installation of the target functional components in the current created cloud service platform.
Optionally, the method further includes:
the installation query module is used for receiving a second query request, and the second query request is used for querying all installed component service instances in the currently created cloud service platform;
the instance returning module is used for acquiring all installed component service instances in the currently created cloud service platform and returning all the component service instances to the initiator of the second query request according to a preset display mode;
and the instance unloading module is used for receiving an unloading instruction issued by the initiator for the target component service instance so as to unload the target component service instance.
To achieve the above object, the present application provides an electronic device including:
a memory for storing a computer program;
a processor configured to implement the steps of any one of the cloud service platform creation methods disclosed above when executing the computer program.
To achieve the above object, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any one of the cloud service platform creation methods disclosed in the foregoing.
According to the scheme, the cloud service platform creation method provided by the application comprises the following steps: the method comprises the steps that after a first query request for querying a preset functional component in a cloud service platform is obtained, a functional component list corresponding to the first query request is returned; receiving a selection instruction aiming at the components in the functional component list so as to determine a target functional component corresponding to the selection instruction; acquiring a preset template file, wherein the preset template file is used for setting the functional modules of the functional components respectively corresponding to the current installation cluster and the platform hosting cluster; and respectively installing the functional modules corresponding to the target functional components in the current installation cluster and the platform hosting cluster based on the preset template file, acquiring the custom configuration information aiming at the target functional components, and completing the installation of the target functional components in the currently created cloud service platform. According to the method, the user can select the target function component meeting the self service requirement from the function component list supported by the cloud service platform, the function module corresponding to the target function component can be installed subsequently based on the preset template file, the user-defined configuration is carried out, the component installation and deployment are completed, namely the platform function is simplified according to the actual requirement of the user, so that more physical resources can be released, the utilization rate of the physical resources of the platform is improved, and the physical cost is saved.
The application also discloses a cloud service platform creating system, an electronic device and a computer readable storage medium, and the technical effects can be realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a cloud service platform creation method disclosed in an embodiment of the present application;
fig. 2 is a structural diagram of a cloud service platform creation system disclosed in an embodiment of the present application;
fig. 3 is a block diagram of an electronic device disclosed in an embodiment of the present application;
fig. 4 is a block diagram of another electronic device disclosed in the embodiments of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the conventional technology, as the application field of cloud services is wider and wider, cloud service platforms are larger and larger, and the functions are more and more complete, however, the functions of the platforms are more and more, the physical resources occupied by the system are more and more, but some functions are actually unnecessary functions for users, that is, the functions of the service platforms cannot be flexibly set.
Therefore, the embodiment of the application discloses a cloud service platform creation method, which can flexibly set the platform functions according to the actual requirements of users and release the physical resources occupied by the system.
Referring to fig. 1, a cloud service platform creation method disclosed in an embodiment of the present application includes:
s101: the method comprises the steps that after a first query request for querying a preset functional component in a cloud service platform is obtained, a functional component list corresponding to the first query request is returned;
in the embodiment of the application, a first query request sent by a user terminal can be obtained, wherein the first query request is specifically used for querying a preset functional component which can be supported in a cloud service platform, and the preset functional component refers to a functional component which is generated by pre-writing and can be subjected to plug-in. When the first query request is received, the corresponding function component list may be returned.
As a feasible implementation manner, the process of returning the function component list corresponding to the first query request after the first query request for querying the preset function component in the cloud service platform is obtained may specifically include: acquiring a first query request comprising a functional component name or a functional component service type, and loading a preset functional component library aiming at a cloud service platform; and searching the matched functional component in the preset functional component library according to the name or service type of the functional component, generating a functional component list and returning the functional component list to the visual interface. That is, the user may search for a desired functional component in the preset functional component library by the functional component name or the functional component service type. The preset function component library comprises all preset function components which are generated by pre-compiling.
In a specific implementation, when the matched functional component is searched in the preset functional component library according to the functional component name or the functional component service type, and the functional component list is generated and returned to the visual interface, the corresponding functional component can be searched in the functional component library in a fuzzy matching manner according to the functional component name; and calculating the matching degree of the actual name of each searched functional component and the name of the functional component, generating a functional component list according to the sequence from high matching degree to low matching degree, and returning the functional component list to the visual interface.
S102: receiving a selection instruction aiming at the components in the functional component list so as to determine a target functional component corresponding to the selection instruction;
after returning the functional component list to the user terminal, the user terminal may issue a selection instruction according to the functional component list, and may specifically select a desired target functional component according to its actual service requirement.
S103: acquiring a preset template file, wherein the preset template file is used for setting the functional modules of the functional components respectively corresponding to the current installation cluster and the platform hosting cluster;
in this step, a preset template file for setting the function modules corresponding to the function components in the current installation cluster and the platform hosting cluster may be obtained.
It should be noted that the creating process of the preset template file may include: receiving a new request for creating a blank chart template so as to generate the blank chart template corresponding to the current functional component; determining target function modules corresponding to the current functional components in the current installation cluster and the platform hosting cluster respectively, acquiring a yacml file corresponding to the target function module which is compiled in advance, writing the yacml file into a blank chart template, and generating a preset template file; the yaml file is used for setting the custom parameters and the fixed parameters of the target function module.
Further, after the preset template file is generated, a pre-written custom parameter list corresponding to the preset template file can be further obtained, and the custom parameter list is used for defining modifiable parameters of the current functional component. This is because each type of component is different, and therefore needs to be individually set for each component.
S104: and respectively installing the functional modules corresponding to the target functional components in the current installation cluster and the platform hosting cluster based on the preset template file, acquiring the custom configuration information aiming at the target functional components, and completing the installation of the target functional components in the currently created cloud service platform.
It can be understood that, based on the preset template file, the function modules corresponding to the target function components can be respectively installed in the current installation cluster and the platform hosting cluster by combining the target function components selected by the user. And then, user-defined configuration information of the user terminal aiming at the target functional component can be obtained, the target functional component is installed in the currently established cloud service platform, and finally the cloud service platform is established.
In a possible implementation manner, the embodiment of the present application may further receive a second query request, where the second query request is used to query all installed component service instances in the currently created cloud service platform; acquiring all installed component service instances in the currently created cloud service platform, and returning all the component service instances to an initiator of the second query request according to a preset display mode; and receiving an unloading instruction issued by the initiator for the target component service instance so as to unload the target component service instance. That is, after the installation and deployment are finished, the user can flexibly uninstall the installed component according to the requirement change.
According to the scheme, the cloud service platform creation method provided by the application comprises the following steps: the method comprises the steps that after a first query request for querying a preset functional component in a cloud service platform is obtained, a functional component list corresponding to the first query request is returned; receiving a selection instruction aiming at the components in the functional component list so as to determine a target functional component corresponding to the selection instruction; acquiring a preset template file, wherein the preset template file is used for setting the functional modules of the functional components respectively corresponding to the current installation cluster and the platform hosting cluster; and respectively installing the functional modules corresponding to the target functional components in the current installation cluster and the platform hosting cluster based on the preset template file, acquiring the custom configuration information aiming at the target functional components, and completing the installation of the target functional components in the currently created cloud service platform. According to the method, the user can select the target function component meeting the self service requirement from the function component list supported by the cloud service platform, the function module corresponding to the target function component can be installed subsequently based on the preset template file, the user-defined configuration is carried out, the component installation and deployment are completed, namely the platform function is simplified according to the actual requirement of the user, so that more physical resources can be released, the utilization rate of the physical resources of the platform is improved, and the physical cost is saved.
The cloud service platform creation method provided by the embodiment of the present application is described below by a specific implementation scenario, and specifically, the embodiment may implement flexible deployment and uninstallation of functions of a cloud service platform by performing plug-in management on functional components.
In the implementation process, firstly, a K8s environment must be provided, and each module in the environment is ensured to operate normally. And further installing and deploying functional components for plug-in management, specifically: firstly, an iplug plug-in management module is containerized and deployed, and the module is an autonomously developed module. The user can inquire a component list which can be subjected to plug-in management by the current cloud platform, specifically, the component list can be subjected to fuzzy screening according to names, and the component list can also be subjected to screening according to component service types. Further, installing the selected component in the component list on the cluster which is currently installed and deployed, setting basic information and parameter information of the component to complete installation, wherein the basic information specifically comprises domain information, and the parameter information comprises information such as a memory, a CPU (Central processing Unit), the number of instances and the like; and installing the selected component in the component list on the hosting cluster of the platform, setting basic information and parameter information of the component, and finishing installation. Subsequent users can query all clusters for installed plug-in components in the plug-in instance list, and can select a plug-in component which is installed completely for uninstalling. Further, writing the chart templates corresponding to various types of functional components, and uploading to a designated warehouse of the hardor, the process includes: firstly, creating a blank chart template, creating a yaml file corresponding to each module of the functional component in the template, wherein the content of the variable parameter can be set, and setting the value of the default parameter in the values file. Since when the same component is installed for the installation deployment cluster and the hosted cluster, the correspondingly deployed modules may be different, for example, the log service component: log-pilot-fluent, elastic search and ilog 3 module components are needed for installing log services on an installation and deployment cluster, and log-pilot-fluent 1 component is needed for installing log services on a hosting cluster, so that the mapping relationship between the components and the modules in different cluster environments needs to be set in a template file. After the template file is written, data parameters such as a basic image, a version and the like can be set and uploaded to a designated warehouse of a hardor. In addition, because the corresponding functions of each type of component template are different, separate settings need to be performed for each type of plug-in, that is, a custom parameter list of each module of each type of component template needs to be written and written into an initialization script.
After the installation and deployment are completed, an administrator can view a list of plug-ins that can be installed in the current platform, a list of components that have been installed currently, and can perform mirror image installation or uninstall corresponding components according to actual operating conditions and business requirements.
In the embodiment of the application, flexible deployment and unloading of the functional components can be realized through plug-in management, a user can simplify the platform function or enrich the platform function at any time according to actual requirements, and the flexibility of the cloud service platform is improved.
In the following, a cloud service platform creation system provided by an embodiment of the present application is introduced, and a cloud service platform creation system described below and a cloud service platform creation method described above may refer to each other.
Referring to fig. 2, a cloud service platform creation system provided in an embodiment of the present application includes:
the cloud service platform comprises a component returning module 201, a function component list and a function component searching module, wherein the component returning module is used for returning a function component list corresponding to a first query request after the first query request for querying a preset function component in the cloud service platform is acquired;
a component selection module 202, configured to receive a selection instruction for a component in the functional component list, so as to determine a target functional component corresponding to the selection instruction;
the template obtaining module 203 is configured to obtain a preset template file, where the preset template file is used to set function modules corresponding to the function components in the current installation cluster and the platform hosting cluster, respectively;
the component installation module 204 is configured to install, based on the preset template file, the function modules corresponding to the target function components in the current installation cluster and the platform hosting cluster, obtain custom configuration information for the target function components, and complete installation of the target function components in the currently created cloud service platform.
For the specific implementation process of the modules 201 to 204, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details are not repeated here.
On the basis of the foregoing embodiment, as a preferred implementation manner, the cloud service platform creation system provided in the embodiment of the present application may further include:
the installation query module is used for receiving a second query request, and the second query request is used for querying all installed component service instances in the currently created cloud service platform;
the instance returning module is used for acquiring all installed component service instances in the currently created cloud service platform and returning all the component service instances to the initiator of the second query request according to a preset display mode;
and the instance unloading module is used for receiving an unloading instruction issued by the initiator for the target component service instance so as to unload the target component service instance.
The present application further provides an electronic device, and as shown in fig. 3, an electronic device provided in an embodiment of the present application includes:
a memory 100 for storing a computer program;
the processor 200, when executing the computer program, may implement the steps provided by the above embodiments.
Specifically, the memory 100 includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operating system and the computer-readable instructions in the non-volatile storage medium to run. The processor 200 may be, in some embodiments, a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor, or other data Processing chip, and provides computing and controlling capabilities for the electronic device, and when executing the computer program stored in the memory 100, the cloud service platform creation method provided in any of the foregoing embodiments may be implemented.
On the basis of the above embodiment, as a preferred implementation, referring to fig. 4, the electronic device further includes:
and an input interface 300 connected to the processor 200, for acquiring computer programs, parameters and instructions imported from the outside, and storing the computer programs, parameters and instructions into the memory 100 under the control of the processor 200. The input interface 300 may be connected to an input device for receiving parameters or instructions manually input by a user. The input device may be a touch layer covered on a display screen, or a button, a track ball or a touch pad arranged on a terminal shell, or a keyboard, a touch pad or a mouse, etc.
And a display unit 400 connected to the processor 200 for displaying data processed by the processor 200 and for displaying a visualized user interface. The display unit 400 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like.
And a network port 500 connected to the processor 200 for performing communication connection with each external terminal device. The communication technology adopted by the communication connection can be a wired communication technology or a wireless communication technology, such as a mobile high definition link (MHL) technology, a Universal Serial Bus (USB), a High Definition Multimedia Interface (HDMI), a wireless fidelity (WiFi), a bluetooth communication technology, a low power consumption bluetooth communication technology, an ieee802.11 s-based communication technology, and the like.
While FIG. 4 shows only an electronic device having the assembly 100 and 500, those skilled in the art will appreciate that the configuration shown in FIG. 4 does not constitute a limitation of the electronic device, and may include fewer or more components than shown, or some components may be combined, or a different arrangement of components.
The present application also provides a computer-readable storage medium, which may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk. The storage medium stores thereon a computer program, and the computer program, when executed by a processor, implements the cloud service platform creation method provided by any of the foregoing embodiments.
According to the method and the device, the user can select the target function component meeting the self service requirement from the function component list supported by the cloud service platform, the function module corresponding to the target function component can be installed subsequently based on the preset template file, the user-defined configuration is carried out, the component installation and deployment are completed, the function of the platform is simplified according to the actual requirement of the user, therefore, more physical resources can be released, the utilization rate of the physical resources of the platform is improved, and the physical cost is saved.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Claims (10)
1. A cloud service platform creation method is characterized by comprising the following steps:
the method comprises the steps that after a first query request for querying a preset functional component in a cloud service platform is obtained, a functional component list corresponding to the first query request is returned;
receiving a selection instruction aiming at the components in the functional component list so as to determine a target functional component corresponding to the selection instruction;
acquiring a preset template file, wherein the preset template file is used for setting the functional modules of the functional components respectively corresponding to the current installation cluster and the platform hosting cluster;
and respectively installing the functional modules corresponding to the target functional components in the current installation cluster and the platform hosting cluster based on the preset template file, acquiring the custom configuration information aiming at the target functional components, and completing the installation of the target functional components in the currently created cloud service platform.
2. The cloud service platform creation method according to claim 1, wherein after the first query request for querying a preset functional component in a cloud service platform is obtained, returning a functional component list corresponding to the first query request includes:
acquiring a first query request comprising a functional component name or a functional component service type, and loading a preset functional component library aiming at a cloud service platform;
and searching the matched functional component in the preset functional component library according to the name or service type of the functional component, generating a functional component list and returning the functional component list to the visual interface.
3. The cloud service platform creation method according to claim 2, wherein the searching for the matched functional component in the preset functional component library according to the functional component name or the functional component service type, generating a functional component list, and returning the functional component list to a visual interface includes:
searching a corresponding functional component in the functional component library in a fuzzy matching mode according to the functional component name;
and calculating the matching degree of the found actual names of the functional components and the names of the functional components, generating the functional component list according to the sequence from high to low of the matching degree, and returning the functional component list to a visual interface.
4. The cloud service platform creation method according to claim 1, wherein after the installation of the target function component is completed in the currently created cloud service platform, the method further includes:
receiving a second query request, wherein the second query request is used for querying all installed component service instances in the currently created cloud service platform;
acquiring all installed component service instances in the currently created cloud service platform, and returning all the component service instances to the initiator of the second query request according to a preset display mode;
and receiving an unloading instruction issued by the initiator for the target component service instance so as to unload the target component service instance.
5. The cloud service platform creation method according to any one of claims 1 to 4, wherein the creation process of the preset template file includes:
receiving a new request for creating a blank chart template so as to generate the blank chart template corresponding to the current functional component;
determining target function modules respectively corresponding to the current functional components in the current installation cluster and the platform hosting cluster, acquiring a yaml file corresponding to the target function modules which are compiled in advance, writing the yaml file into the blank chart template, and generating the preset template file; and the yaml file is used for setting the custom parameters and the fixed parameters of the target function module.
6. The cloud service platform creation method according to claim 5, wherein after the generating the preset template file, the method further comprises:
and acquiring a pre-written custom parameter list corresponding to the preset template file, wherein the custom parameter list is used for defining the modifiable parameters of the current functional component.
7. A cloud service platform creation system, comprising:
the cloud service platform comprises a component return module, a function component list and a service component selection module, wherein the component return module is used for returning a function component list corresponding to a first query request after the first query request for querying a preset function component in the cloud service platform is acquired;
the component selection module is used for receiving a selection instruction aiming at the components in the functional component list so as to determine a target functional component corresponding to the selection instruction;
the system comprises a template acquisition module, a platform hosting cluster and a storage module, wherein the template acquisition module is used for acquiring a preset template file which is used for setting functional modules corresponding to all functional components in a current installation cluster and the platform hosting cluster respectively;
and the component installation module is used for respectively installing the functional modules corresponding to the target functional components in the current installation cluster and the platform hosting cluster based on the preset template file, acquiring the custom configuration information aiming at the target functional components, and completing the installation of the target functional components in the current created cloud service platform.
8. The cloud service platform creation system of claim 7, further comprising:
the installation query module is used for receiving a second query request, and the second query request is used for querying all installed component service instances in the currently created cloud service platform;
the instance returning module is used for acquiring all installed component service instances in the currently created cloud service platform and returning all the component service instances to the initiator of the second query request according to a preset display mode;
and the instance unloading module is used for receiving an unloading instruction issued by the initiator for the target component service instance so as to unload the target component service instance.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the cloud service platform creation method according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, realizes the steps of the cloud service platform creation method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011147015.2A CN112256348B (en) | 2020-10-23 | 2020-10-23 | Cloud service platform creation method and system, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011147015.2A CN112256348B (en) | 2020-10-23 | 2020-10-23 | Cloud service platform creation method and system, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112256348A true CN112256348A (en) | 2021-01-22 |
CN112256348B CN112256348B (en) | 2023-12-22 |
Family
ID=74265052
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011147015.2A Active CN112256348B (en) | 2020-10-23 | 2020-10-23 | Cloud service platform creation method and system, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112256348B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113014424A (en) * | 2021-02-09 | 2021-06-22 | 中国银联股份有限公司 | Cloud platform management method and device, electronic equipment and storage medium |
CN113504956A (en) * | 2021-07-19 | 2021-10-15 | 苏州浪潮智能科技有限公司 | Method, device, equipment and medium for calling public function under micro service platform |
CN113805853A (en) * | 2021-09-28 | 2021-12-17 | 重庆允成互联网科技有限公司 | Software product development system based on industrial internet |
WO2023019736A1 (en) * | 2021-08-20 | 2023-02-23 | 苏州浪潮智能科技有限公司 | Cloud host-based qga service management method and apparatus, device and medium |
CN116032747A (en) * | 2022-12-29 | 2023-04-28 | 中国民航信息网络股份有限公司 | Deployment method and system for pluggable components of Kubernetes cluster |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170041379A1 (en) * | 2014-04-23 | 2017-02-09 | Huawei Technologies Co., Ltd. | Cloud Application Processing Method, Cloud Application Deployment Method, and Related Apparatus and System |
CN106708597A (en) * | 2015-11-17 | 2017-05-24 | 中国移动通信集团公司 | Method, device and system for creating cluster environment on the basis of Openstack |
CN109445869A (en) * | 2018-09-17 | 2019-03-08 | 山东中创软件商用中间件股份有限公司 | A kind of micro services management method, device and storage medium across cloud adaptation |
CN110058863A (en) * | 2019-03-16 | 2019-07-26 | 平安城市建设科技(深圳)有限公司 | Construction method, device, equipment and the storage medium of Docker container |
CN110515628A (en) * | 2019-08-09 | 2019-11-29 | 济南浪潮数据技术有限公司 | Application deployment method and device |
CN111198695A (en) * | 2019-12-25 | 2020-05-26 | 航天信息股份有限公司 | Automatic deployment method of micro-service administration management platform and electronic equipment |
CN111338657A (en) * | 2020-02-26 | 2020-06-26 | 山东汇贸电子口岸有限公司 | Template-based palm parameter batch configuration method |
-
2020
- 2020-10-23 CN CN202011147015.2A patent/CN112256348B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170041379A1 (en) * | 2014-04-23 | 2017-02-09 | Huawei Technologies Co., Ltd. | Cloud Application Processing Method, Cloud Application Deployment Method, and Related Apparatus and System |
CN106708597A (en) * | 2015-11-17 | 2017-05-24 | 中国移动通信集团公司 | Method, device and system for creating cluster environment on the basis of Openstack |
CN109445869A (en) * | 2018-09-17 | 2019-03-08 | 山东中创软件商用中间件股份有限公司 | A kind of micro services management method, device and storage medium across cloud adaptation |
CN110058863A (en) * | 2019-03-16 | 2019-07-26 | 平安城市建设科技(深圳)有限公司 | Construction method, device, equipment and the storage medium of Docker container |
CN110515628A (en) * | 2019-08-09 | 2019-11-29 | 济南浪潮数据技术有限公司 | Application deployment method and device |
CN111198695A (en) * | 2019-12-25 | 2020-05-26 | 航天信息股份有限公司 | Automatic deployment method of micro-service administration management platform and electronic equipment |
CN111338657A (en) * | 2020-02-26 | 2020-06-26 | 山东汇贸电子口岸有限公司 | Template-based palm parameter batch configuration method |
Non-Patent Citations (1)
Title |
---|
邹保平;黄文思;张文晋;韩泽华;程仲汉;: "基于Docker的应用部署管理平台研究", 电子设计工程, no. 12 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113014424A (en) * | 2021-02-09 | 2021-06-22 | 中国银联股份有限公司 | Cloud platform management method and device, electronic equipment and storage medium |
WO2022170760A1 (en) * | 2021-02-09 | 2022-08-18 | 中国银联股份有限公司 | Method and apparatus for cloud platform management, electronic device, and storage medium |
CN113014424B (en) * | 2021-02-09 | 2023-08-01 | 中国银联股份有限公司 | Cloud platform management method and device, electronic equipment and storage medium |
CN113504956A (en) * | 2021-07-19 | 2021-10-15 | 苏州浪潮智能科技有限公司 | Method, device, equipment and medium for calling public function under micro service platform |
CN113504956B (en) * | 2021-07-19 | 2023-08-11 | 苏州浪潮智能科技有限公司 | Method, device, equipment and medium for calling public function under micro service platform |
WO2023019736A1 (en) * | 2021-08-20 | 2023-02-23 | 苏州浪潮智能科技有限公司 | Cloud host-based qga service management method and apparatus, device and medium |
CN113805853A (en) * | 2021-09-28 | 2021-12-17 | 重庆允成互联网科技有限公司 | Software product development system based on industrial internet |
CN116032747A (en) * | 2022-12-29 | 2023-04-28 | 中国民航信息网络股份有限公司 | Deployment method and system for pluggable components of Kubernetes cluster |
Also Published As
Publication number | Publication date |
---|---|
CN112256348B (en) | 2023-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112256348B (en) | Cloud service platform creation method and system, electronic equipment and storage medium | |
RU2421785C2 (en) | Automated control of device drivers | |
CN110413288B (en) | Application deployment method, device, server and storage medium | |
CN101453367B (en) | Software deployment method and system, software deployment server and user server | |
CN107896162B (en) | Deployment method and device of monitoring system, computer equipment and storage medium | |
US9880836B2 (en) | System and method for deploying a software program | |
CN101165654A (en) | Method and process for using common preinstallation environment for heterogeneous operating systems | |
CN110635944A (en) | Cluster network configuration method and device, electronic equipment and storage medium | |
US20150281398A1 (en) | Automated Cloud Set Up | |
CN111130891A (en) | Server management device and method, electronic equipment and storage medium | |
CN111008106B (en) | Server monitoring management method and device, electronic equipment and storage medium | |
US20060101372A1 (en) | Method, system, and software for determining platform management functionality | |
US20180059650A1 (en) | Techniques for multiple application banks in a welding or cutting system | |
US20100268925A1 (en) | System and method for populating a dedicated system service repository for an information handling system | |
US11675759B2 (en) | Datacenter inventory management | |
CN111045695A (en) | WebLogic middleware deployment device, method, equipment and medium | |
CN113138785A (en) | Application program updating method and device | |
US20150212866A1 (en) | Management system for service of multiple operating environments, and methods thereof | |
WO2014112973A1 (en) | Server-platform simulation service | |
CN115981788A (en) | Distributed storage deployment method, device, equipment and storage medium | |
CN109981798A (en) | A kind of method for writing data, system and electronic equipment and storage medium | |
CN111061503B (en) | Cluster system configuration method and cluster system | |
CN117472458B (en) | System function optimal configuration method and device, electronic equipment and storage medium | |
KR20150083476A (en) | Method and system for providing cloud service | |
CN117687703B (en) | Method, device and system for starting server, storage medium and electronic equipment |
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 |