CN112511596A - Method and equipment for creating cloud resources in cloud platform - Google Patents

Method and equipment for creating cloud resources in cloud platform Download PDF

Info

Publication number
CN112511596A
CN112511596A CN202011224589.5A CN202011224589A CN112511596A CN 112511596 A CN112511596 A CN 112511596A CN 202011224589 A CN202011224589 A CN 202011224589A CN 112511596 A CN112511596 A CN 112511596A
Authority
CN
China
Prior art keywords
resource
cloud computing
cloud
resources
computing resources
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.)
Pending
Application number
CN202011224589.5A
Other languages
Chinese (zh)
Inventor
何若永
孔维亭
郭涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202011224589.5A priority Critical patent/CN112511596A/en
Publication of CN112511596A publication Critical patent/CN112511596A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]

Abstract

The invention provides a method and equipment for creating cloud resources in a cloud platform, wherein the method comprises the following steps: loading a plurality of cloud computing resources into a cloud platform; sorting direct dependency relationships of the cloud computing resources, and drawing a global resource relation table based on the direct dependency relationships; the global resource relation table is imaged to obtain a global resource relation graph, and the global resource relation graph is displayed to a user; and receiving the selection of the cloud computing resources in the global resource relation graph by the user based on the cloud resources to be created so as to configure the corresponding creation strategy. By using the scheme of the invention, the user can be simplified and clear when establishing the cloud resources, so that the resource management and control can be flexibly carried out when the cloud platform carries out resource maintenance on the cloud, and multi-level deep and agile preset resources are realized.

Description

Method and equipment for creating cloud resources in cloud platform
Technical Field
The field relates to the field of computers, and more particularly to a method and apparatus for creating cloud resources in a cloud platform.
Background
Cloud computing technology has penetrated aspects of various fields, and medical treatment, finance, electronic commerce and the like strive for cloud-based cloud computing, so that the masses obtain more convenient services in the promotion of cloud computing, the success of cloud computing gradually enables cloud conversion to become a trend, and certainly, cloud computing has increasingly become an instant remarkable epoch feature.
Cloud computing comprises many types, one of the popular and widely known cloud computing types called IaaS (Infrastructure as a Service) has a very wide application and gained a great affirmation, and it has a very large number of theoretical update iterations and technical result conversions, and in the process of being continuously perfected, has been increasingly enriched with highly sophisticated and highly innovative. According to the cloud computing service, numerous physical components are virtualized into different cloud resources, and when tenant-end users use the resources, application experiences approximately similar to the corresponding physical components can be obtained. Although organizations and manufacturers providing cloud computing services are in the endlessly and variously designed, there are basically different common designs when referring to some cloud elements or cloud resources that can be embodied, and the service entities in the different clouds have highly similar abstract organizational structures. The cloud generally comprises resources of various modules such as computing, network and storage, and the resources are coordinated, cooperated and flexibly butted to jointly complete a cloud idea, and in the process, a user obtains application requirements.
In a cloud platform, many types of components are complicated in application relation, if certain technology and theoretical foundation and system pre-training are not provided, the optimal use effect is difficult to obtain, the reason is the incidence relation between an excessively complicated element system and deep weaving, each element in the cloud computing platform is designed and realized very delicately, in order to obtain better operation stability, robustness, reliability and safety, the design of most cloud platforms is usually subjected to layered distributed design, the data progressive relation is clear, and the coupling between functions is strong. Many high-level functions often rely on or include very many lower-level data, or some logic entities with collective significance for organizational relationship differentiation in a layer can be full of various multi-level cloud resources with distinct modules, when some local data are treated or maintained independently, the operation pressure of a user is low, the workload is not large, but repeated work is often difficult to avoid, but the work is irreplaceable, and even more, when some large-scale mechanical data are treated, system managers and users have to face troublesome data management and maintenance problems, and a huge upgrading space exists for initialization of system-level data.
However, the overly complex nature of cloud computing platform resource categories has made it difficult to circumvent some unusual system application problems when solving data maintenance problems. Although cloud application activities of users generally cannot be predicted in a refined manner, operation of application designs of different varieties has independent directivity in a production environment, macroscopically, function use conditions have certain tendency, system characteristics of large scale, complex management, flexibility and changeability and huge data volume maintenance work are difficult to get into the solution of usability, and the possibility of blending an excellent optimization scheme is not achieved. Most of the traditional schemes usually do not have any design idea of resource presetting, or some cloud computing platforms with advanced research and development features are added with some built-in resource solutions with special foundations, but the schemes are seriously rigid, basically the resource built-in is system-level reservation which cannot be changed, for example, internal partial data is initialized along with the creation of some resources, the data presetting is in a fixed mode, a user cannot effectively interfere with the setting, and a huge upgrading space still exists in terms of usability and innovation.
Disclosure of Invention
In view of this, an embodiment of the present invention provides a method and a device for creating cloud resources in a cloud platform, and by using the method of the present invention, a user can simplify and clarify when creating cloud resources, so that when performing resource maintenance on the cloud by the cloud platform, resource management and control can be flexibly performed, and multi-level, deep and quick preset resources are implemented.
In view of the above, an aspect of the embodiments of the present invention provides a method for creating cloud resources in a cloud platform, including the following steps:
loading a plurality of cloud computing resources into a cloud platform;
sorting direct dependency relationships of the cloud computing resources, and drawing a global resource relation table based on the direct dependency relationships;
the global resource relation table is imaged to obtain a global resource relation graph, and the global resource relation graph is displayed to a user;
and receiving the selection of the cloud computing resources in the global resource relation graph by the user based on the cloud resources to be created so as to configure the corresponding creation strategy.
According to an embodiment of the present invention, sorting direct dependencies of a plurality of cloud computing resources, and drawing a global resource relationship table based on the direct dependencies includes:
respectively sorting and creating resources which are directly required by cloud computing resources;
taking the cloud computing resources independent of other resources as the bottommost cloud computing resources, taking the cloud computing resources dependent on the bottommost cloud computing resources as the upper layer cloud computing resources, and pointing to the dependent resources by using arrows;
and sequentially pointing other cloud computing resources to the corresponding dependent cloud computing resources according to the direct dependency relationship and by using an arrow to form a global resource relationship table.
According to one embodiment of the invention, the global resource relation table comprises information about cloud computing resource primary key identification, cloud resource names, cloud resource categories, upper-level cloud resource identification, lower-level cloud resource identification and reusability.
According to an embodiment of the present invention, further comprising:
responding to a user configuration completion creation strategy, and judging whether the configured creation strategy comprises non-reusable cloud computing resources;
responding to the fact that the configured creation strategy comprises the non-reusable cloud computing resources, and judging whether the non-reusable cloud computing resources are depended on by more than one cloud computing resource;
in response to the non-reusable cloud computing resource being relied upon by more than one cloud computing resource, an alert is sent to the user of the policy error.
According to an embodiment of the present invention, further comprising:
marking the non-reusable cloud computing resources in a global resource relation graph by a preset color;
and responding to the cloud computing resources with the preset color marks selected when the user creates the strategy, and prompting the user that the cloud computing resources are not reusable.
In another aspect of the embodiments of the present invention, there is also provided an apparatus for creating cloud resources in a cloud platform, the apparatus including:
a loading module configured to load a number of cloud computing resources into a cloud platform;
the drawing module is configured to arrange direct dependency relationships of the cloud computing resources and draw a global resource relation table based on the direct dependency relationships;
the conversion module is configured to obtain a global resource relation graph by imaging the global resource relation table and display the global resource relation graph to a user;
and the creating module is configured to receive the selection of the cloud computing resources in the global resource relation graph by the user based on the cloud resources to be created so as to configure corresponding creating strategies.
According to one embodiment of the invention, the rendering module is further configured to:
respectively sorting and creating resources which are directly required by cloud computing resources;
taking the cloud computing resources independent of other resources as the bottommost cloud computing resources, taking the cloud computing resources dependent on the bottommost cloud computing resources as the upper layer cloud computing resources, and pointing to the dependent resources by using arrows;
and sequentially pointing other cloud computing resources to the corresponding dependent cloud computing resources according to the direct dependency relationship and by using an arrow to form a global resource relationship table.
According to one embodiment of the invention, the global resource relation table comprises information about cloud computing resource primary key identification, cloud resource names, cloud resource categories, upper-level cloud resource identification, lower-level cloud resource identification and reusability.
According to one embodiment of the invention, the system further comprises a warning module configured to:
responding to a user configuration completion creation strategy, and judging whether the configured creation strategy comprises non-reusable cloud computing resources;
responding to the fact that the configured creation strategy comprises the non-reusable cloud computing resources, and judging whether the non-reusable cloud computing resources are depended on by more than one cloud computing resource;
in response to the non-reusable cloud computing resource being relied upon by more than one cloud computing resource, an alert is sent to the user of the policy error.
According to an embodiment of the present invention, the apparatus further comprises a prompt module configured to:
marking the non-reusable cloud computing resources in a global resource relation graph by a preset color;
and responding to the cloud computing resources with the preset color marks selected when the user creates the strategy, and prompting the user that the cloud computing resources are not reusable.
The invention has the following beneficial technical effects: according to the method for creating the cloud resources in the cloud platform provided by the embodiment of the invention, a plurality of cloud computing resources are loaded into the cloud platform; sorting direct dependency relationships of the cloud computing resources, and drawing a global resource relation table based on the direct dependency relationships; the global resource relation table is imaged to obtain a global resource relation graph, and the global resource relation graph is displayed to a user; the technical scheme that a user selects the cloud computing resources in the global resource relation graph based on the cloud resources to be created to configure the corresponding creation strategy is received, so that the user can simplify and clarify the creation of the cloud resources, the resource management and control can be flexibly performed when the cloud platform performs resource maintenance on the cloud, and multi-level depth agile preset resources are realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention 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, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram of a method of creating cloud resources in a cloud platform in accordance with one embodiment of the present invention;
FIG. 2 is a schematic diagram of an apparatus for creating cloud resources in a cloud platform according to one embodiment of the present invention;
FIG. 3 is a diagram of a global resource relationship table according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
In view of the above object, a first aspect of the embodiments of the present invention provides an embodiment of a method for creating cloud resources in a cloud platform. Fig. 1 shows a schematic flow diagram of the method.
As shown in fig. 1, the method may include the steps of:
s1, loading a plurality of cloud computing resources into the cloud platform, wherein the plurality of cloud computing resources comprise hundreds or even thousands of cloud computing resources, and storing the cloud computing resources into a database of the cloud platform;
s2, sorting direct dependency relationships of a plurality of cloud computing resources, drawing a global resource relationship table based on the direct dependency relationships, enabling most of the cloud computing resources to depend on other resources when being created, and combing the relationship between the cloud computing resources and the resources directly dependent on the cloud computing resources to obtain the global resource relationship table;
s3, the global resource relation table is imaged to obtain a global resource relation diagram and the global resource relation diagram is displayed to a user, the global resource relation diagram is converted into the global resource relation diagram which can be displayed on an interface by any programming method, and if each cloud computing resource in the diagram is selected to be created, the cloud computing resources in the database are called;
s4 receives a selection of a user for a cloud computing resource in the global resource relationship diagram based on a cloud resource to be created to configure a corresponding creation policy, where the user may use many other resources when creating the cloud resource, and these resources may depend on other resources, so that the user can clearly see the cloud computing resource in the global resource relationship diagram to select the cloud computing resource according to the requirement.
According to the technical scheme, the user can be simplified and clear when the cloud resource is created, so that the resource management and control can be flexibly performed when the cloud platform performs resource maintenance on the cloud, and multi-level deep and agile preset resources are realized.
In a preferred embodiment of the present invention, sorting direct dependencies of the plurality of cloud computing resources, and drawing the global resource relationship table based on the direct dependencies includes:
respectively sorting and creating resources which are directly required by cloud computing resources;
taking the cloud computing resources independent of other resources as the bottommost cloud computing resources, taking the cloud computing resources dependent on the bottommost cloud computing resources as the upper layer cloud computing resources, and pointing to the dependent resources by using arrows;
and sequentially pointing other cloud computing resources to the corresponding dependent cloud computing resources according to the direct dependency relationship and by using an arrow to form a global resource relationship table.
The invention has a data structure which contains all cloud computing resources and the correlation relationship between the cloud computing resources, the structure is a directed acyclic graph, as shown in fig. 3, the nodes on the graph are dozens or even hundreds of cloud computing resources contained in a cloud platform, the nodes on the graph are connected through directed arrows, the two connected nodes have an attachment or superior-inferior relationship, which represents that the two cloud resources have a direct dependency ownership relationship, that is, a cloud resource depends on an existing cloud resource when being created, if the depended cloud resource does not exist, the superior cloud resource cannot be created, for example, when a cloud host is created, a virtual data center must be selected, and if no available virtual data center exists, the cloud host cannot be created. The method releases redundant and complex business operation from the hands of users, and is a convenient and intelligent development design embodiment, and the realization of the function is a higher-level business application for a large-scale system. The realization of the invention needs to rely on the common support of all the resources. The invention has strong operation independence without aiming at specific development languages and implementation modes, database systems which are specifically depended on and other third-party technical facilities, can have correspondingly flexible development and implementation schemes for any development language, realizes high similarity through other development languages, and is not repeated.
When the association relationship is stored, all cloud resources only store data with direct upper-lower relationship with the cloud resources, and the cross-level cloud resources are not stored, so that the most basic establishment of the whole topological structure is completed after all the resources are configured with the association relationship between the cloud resources and the nearest resource. It should be noted that the reason why the association relationship between the upper level and the lower level needs to be stored at the same time is that from a single cloud resource, fast and accurate traversal can always be performed in the forward direction and the reverse direction, and a tamping basis and sufficient, reliable and efficient preparation are laid for the subsequent automatic creation operation. The global resource relation table is used as a data table of a system level, which can not expose an independent maintenance interface, wherein all data can only be built in a built-in mode during installation and deployment or system initialization, or the data can be added, updated and deleted in a non-page control invisible mode such as an upgrade script when the system is required to be updated and upgraded.
In order to ensure the flexibility, freedom and configurability of resource presetting, the invention also provides a logic entity called a resource presetting strategy and capable of maintaining, has an independent page operation management function, belongs to the user-level operation category, stores strategy data to realize an independent resource presetting scheme of any node, and administrators in the cloud platform all have the right to freely establish, distribute and withdraw. The resource presetting strategy is targeted and is established for a specific single subject cloud resource, the strategy comprises a group of cloud resources, and after the activity of establishing the subject cloud resource is executed, all the cloud resources configured in the strategy are established in a silent mode one by one. The method takes a global resource relation table as a root base, all cloud resources and the association relation among the cloud resources are displayed in a graph mode when a resource presetting strategy is created and modified, then, which resources can be preset when a main resource is created can be selected from the cloud resources, all resources at the lower level and the last level of the main resource in the resource presetting strategy must be configured and cannot be changed due to the existence of dependency, and the resources at the upper level or resources without direct and indirect affiliation relations can be freely set as required. It should be further stated that after the final configuration of the policy, any one cluster in the policy must have completeness from high level to low level, that is, there is no cloud host resource whose upper level cloud host resource is configured into the resource presetting policy but is not included in itself. The resource preset strategy needs two independent tables to store various information in a database, namely a strategy information table and an associated resource table, in order to ensure the simplicity, the strategy information table only contains some necessary information, including a main key identifier, a name, a main body cloud resource identifier, accessory information (users, departments and the like), states, and additional data columns such as similar creation time, description and the like can be added, a cloud platform contains some attribution information for distinguishing ranges, such as projects, regions, resource sets and the like, and the access should be reasonable according to the difference of the cloud platform, and under the normal condition, various preset resources should be created in the same attribution; the associated resource table comprises a main key identifier, a strategy information identifier (corresponding to the main key identifier of the strategy information table, a one-to-many relationship exists), a preset resource identifier and a preset number (determining the number of the created corresponding cloud resource instances). The main cloud resource identification and the preset resource identification correspond to the main key identification of the cloud resource information in the global resource relation table, after a resource preset strategy is configured for one main cloud resource and a plurality of preset resources are selected, a row of data can be added to the strategy information table, meanwhile, the same number of data as the preset resources can be inserted into the associated resource table, and the data corresponding to the resource preset strategy can be changed due to creation, modification and deletion.
In a preferred embodiment of the present invention, the global resource relationship table includes information on a cloud computing resource key identifier, a cloud resource name, a cloud resource category, a higher level cloud resource identifier, a lower level cloud resource identifier, and whether the cloud computing resource key identifier, the cloud resource name, the cloud resource category, the higher level cloud resource identifier, the lower level cloud resource identifier, and the cloud computing resource key identifier are reusable.
In a preferred embodiment of the present invention, the method further comprises:
responding to a user configuration completion creation strategy, and judging whether the configured creation strategy comprises non-reusable cloud computing resources;
responding to the fact that the configured creation strategy comprises the non-reusable cloud computing resources, and judging whether the non-reusable cloud computing resources are depended on by more than one cloud computing resource;
in response to the non-reusable cloud computing resource being relied upon by more than one cloud computing resource, an alert is sent to the user of the policy error.
For some special resources or resources which can only be used once at most, the preset number of the upper level resources of the special resources can only be configured to be one, particularly, if a certain special resource has a plurality of upper level resources which are planned to be preset, at most, one resource can only be selected and preset once at most, whether a reusable field in the global resource relation table is special for the limitation, and the resource and the corresponding data can be checked when the resource preset strategy is managed.
In a preferred embodiment of the present invention, the method further comprises:
marking the non-reusable cloud computing resources in a global resource relation graph by a preset color;
and responding to the cloud computing resources with the preset color marks selected when the user creates the strategy, and prompting the user that the cloud computing resources are not reusable.
According to different requirements of a certain cloud resource, a plurality of resource preset strategies can be customized for screening to meet different service scenes, after the resource preset strategies are maintained, a user can optionally determine required resource preset strategy data according to actual requirements when the certain cloud resource is created, and if the user selects a certain resource preset strategy, a series of full-system automatic bottom layer operations are generated after the cloud resource is triggered to be created. Firstly, the data of the strategy information table and the associated resource table of the main cloud resource are loaded, which cloud resources need to be preset are determined, the data are compared with the data in the global resource relation table, whether the resource preset passes the integrity check is judged, the upper and lower level relations between the preset data and the data are confirmed, and a data structure is constructed to record preset resource information in a layered mode. And then, establishing all preset resources layer by layer in a bottom-to-top sequence, establishing data at the same level in a multithreading mode in parallel to improve the resource establishing efficiency, starting the integral establishing operation of an upper layer only after all data at a lower layer are established without errors, calling the establishing method of the resources when the cloud resources at the upper layer are established, and automatically transmitting a return value after the data at the lower layer are established to achieve the effects of completing the butt joint between the upper layer and the lower layer and forming dependence. The creating quantity of each resource depends on the preset quantity of the corresponding configuration, the subsequent operation is stopped immediately if any resource fails to be created, all the previously created data of the flow is rolled back and thoroughly cleared to prevent the heap of the garbage data, and meanwhile, an operation log and an audit log are recorded in detail so as to track the progress of the flow. After the whole process is finished, the resource presetting is finally realized.
In the technical aspect, the creation of various cloud resources needs to be subjected to specific method-level packaging in the implementation of the method, the cloud resources are exposed through interfaces, all the creation functions of the cloud resources are packaged into a method respectively, the parameters of the method are limited to general attributes and dependent lower-level data classes, each method has integrity when the business operation in the method is coded, namely the resources can be completely created by using the transmitted parameters after the creation method of a certain resource is called, the return values after the execution of the method are limited to the data instantiation class after the creation of the resources, and the method is convenient for the butt joint of the transmitted parameters when the method directly belongs to the creation of the upper-level data. In the resource creating process, except that lower-level data only needs to be transmitted, each resource generally has some self attributes, such as name, description and the like, in the automatic resource presetting execution, default data or specific data generated according to a set rule is not needed to be added after human intervention, and the result of packaging the scheme into the resource creating method is ideal. In addition, part of contents such as method selection and call, data flow, thread pool and the like according to the current operation need to use a plurality of underlying mechanisms such as reflection, dynamic parameter transmission, data persistence and the like in Java, the realization mode is various, the contents are more, the prior art is mature, and if a Java coding technology is not adopted, other coding ideas specific to a development language are provided.
Before the invention is not integrated, the management operation sheet of the cloud platform is only an effective management mode perhaps only through manpower management and control in terms of creativity maintenance of resources, and other efficient and available modes cannot be found to solve the problem, so that after the invention is put into functional application, a user has experience that only one resource is created in the cloud platform, and user-level operation with great intensity is not put into the resource application, and on the surface, some necessary data can be simply input and stored under the creating function of a certain resource, but after the work is finished, all dependent data and other expected various custom data are generated intelligently by the system, even though the bottom layer is subjected to ultra-large-scale data deployment, various preset multi-level data are created for the user in silence without sound, the process is transparent to the user, the user does not need to sense and directly intervene in the process, the whole system is automatically completed, and the integrity of the execution result and the fault tolerance system can be flexibly ensured. The method has the advantages that the limitation that the lower layer cannot be created as long as one resource is not created in the upper layer is eliminated, the bottleneck of traditional resource creation is broken, a user does not need to manually create required data layer by layer from bottom to top, the user can treat any layer of data without difference, and the data has the practical capability of direct creation.
It is to be understood that the invention is claimed as a whole concept of patent protection, and any coding or development method can be used to implement the design concept of the invention.
According to the technical scheme, the user can be simplified and clear when the cloud resource is created, so that the resource management and control can be flexibly performed when the cloud platform performs resource maintenance on the cloud, and multi-level deep and agile preset resources are realized.
It should be noted that, as will be understood by those skilled in the art, all or part of the processes in the methods of the above embodiments may be implemented by instructing relevant hardware through a computer program, and the above programs may be stored in a computer-readable storage medium, and when executed, the programs may include the processes of the embodiments of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Furthermore, the method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU, and the computer program may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method disclosed in the embodiments of the present invention.
In view of the above object, a second aspect of the embodiments of the present invention provides an apparatus for creating cloud resources in a cloud platform, as shown in fig. 2, the apparatus 200 includes:
a loading module configured to load a number of cloud computing resources into a cloud platform;
the drawing module is configured to arrange direct dependency relationships of the cloud computing resources and draw a global resource relation table based on the direct dependency relationships;
the conversion module is configured to obtain a global resource relation graph by imaging the global resource relation table and display the global resource relation graph to a user;
and the creating module is configured to receive the selection of the cloud computing resources in the global resource relation graph by the user based on the cloud resources to be created so as to configure corresponding creating strategies.
In a preferred embodiment of the present invention, the rendering module is further configured to:
respectively sorting and creating resources which are directly required by cloud computing resources;
taking the cloud computing resources independent of other resources as the bottommost cloud computing resources, taking the cloud computing resources dependent on the bottommost cloud computing resources as the upper layer cloud computing resources, and pointing to the dependent resources by using arrows;
and sequentially pointing other cloud computing resources to the corresponding dependent cloud computing resources according to the direct dependency relationship and by using an arrow to form a global resource relationship table.
In a preferred embodiment of the present invention, the global resource relationship table includes information on a cloud computing resource key identifier, a cloud resource name, a cloud resource category, a higher level cloud resource identifier, a lower level cloud resource identifier, and whether the cloud computing resource key identifier, the cloud resource name, the cloud resource category, the higher level cloud resource identifier, the lower level cloud resource identifier, and the cloud computing resource key identifier are reusable.
In a preferred embodiment of the present invention, the mobile terminal further comprises a warning module configured to:
responding to a user configuration completion creation strategy, and judging whether the configured creation strategy comprises non-reusable cloud computing resources;
responding to the fact that the configured creation strategy comprises the non-reusable cloud computing resources, and judging whether the non-reusable cloud computing resources are depended on by more than one cloud computing resource;
in response to the non-reusable cloud computing resource being relied upon by more than one cloud computing resource, an alert is sent to the user of the policy error.
In a preferred embodiment of the present invention, the apparatus further includes a prompt module, and the prompt module is configured to:
marking the non-reusable cloud computing resources in a global resource relation graph by a preset color;
and responding to the cloud computing resources with the preset color marks selected when the user creates the strategy, and prompting the user that the cloud computing resources are not reusable.
The embodiments described above, particularly any "preferred" embodiments, are possible examples of implementations and are presented merely to clearly understand the principles of the invention. Many variations and modifications may be made to the above-described embodiments without departing from the spirit and principles of the technology described herein. All such modifications are intended to be included within the scope of this disclosure and protected by the following claims.

Claims (10)

1. A method for creating cloud resources in a cloud platform is characterized by comprising the following steps:
loading a plurality of cloud computing resources into a cloud platform;
sorting the direct dependency relationship of the cloud computing resources, and drawing a global resource relation table based on the direct dependency relationship;
the global resource relation table is imaged to obtain a global resource relation graph, and the global resource relation graph is displayed to a user;
and receiving the selection of the cloud computing resources in the global resource relation graph by the user based on the cloud resources to be created so as to configure a corresponding creation strategy.
2. The method of claim 1, wherein sorting direct dependencies of the plurality of cloud computing resources and drawing a global resource relationship table based on the direct dependencies comprises:
respectively sorting and creating resources which are directly required by cloud computing resources;
taking the cloud computing resource independent of other resources as the bottommost cloud computing resource, taking the cloud computing resource dependent on the bottommost cloud computing resource as the upper layer cloud computing resource, and pointing to the dependent resource by using an arrow;
and sequentially pointing other cloud computing resources to the corresponding dependent cloud computing resources according to the direct dependency relationship and by using an arrow to form a global resource relationship table.
3. The method according to claim 1, wherein the global resource relation table includes information on a cloud computing resource key identifier, a cloud resource name, a cloud resource category, a higher level cloud resource identifier, a lower level cloud resource identifier, and whether the cloud computing resource is reusable.
4. The method of claim 1, further comprising:
responding to the user configuration completion creation strategy, and judging whether the configured creation strategy comprises non-reusable cloud computing resources;
responding to the fact that the configuration-completed creating strategy comprises the non-reusable cloud computing resources, and judging whether the non-reusable cloud computing resources are depended by more than one cloud computing resource;
in response to the non-reusable cloud computing resource being relied upon by more than one cloud computing resource, sending a warning of a policy error to a user.
5. The method of claim 1, further comprising:
marking the non-reusable cloud computing resources in the global resource relation graph by a preset color;
and responding to the cloud computing resource with the preset color mark selected when the user creates the strategy, and prompting the user that the cloud computing resource is not reusable.
6. An apparatus for creating cloud resources in a cloud platform, the apparatus comprising:
a loading module configured to load a number of cloud computing resources into a cloud platform;
a drawing module configured to sort direct dependencies of the plurality of cloud computing resources and draw a global resource relationship table based on the direct dependencies;
the conversion module is configured to obtain a global resource relation graph by imaging the global resource relation table and display the global resource relation graph to a user;
a creation module configured to receive a selection by the user of a cloud computing resource in the global resource relationship graph based on a cloud resource to be created to configure a corresponding creation policy.
7. The device of claim 6, wherein the rendering module is further configured to:
respectively sorting and creating resources which are directly required by cloud computing resources;
taking the cloud computing resource independent of other resources as the bottommost cloud computing resource, taking the cloud computing resource dependent on the bottommost cloud computing resource as the upper layer cloud computing resource, and pointing to the dependent resource by using an arrow;
and sequentially pointing other cloud computing resources to the corresponding dependent cloud computing resources according to the direct dependency relationship and by using an arrow to form a global resource relationship table.
8. The device according to claim 6, wherein the global resource relation table includes information on a cloud computing resource key identifier, a cloud resource name, a cloud resource category, a higher level cloud resource identifier, a lower level cloud resource identifier, and whether the cloud computing resource is reusable.
9. The device of claim 6, further comprising an alert module configured to:
responding to the user configuration completion creation strategy, and judging whether the configured creation strategy comprises non-reusable cloud computing resources;
responding to the fact that the configuration-completed creating strategy comprises the non-reusable cloud computing resources, and judging whether the non-reusable cloud computing resources are depended by more than one cloud computing resource;
in response to the non-reusable cloud computing resource being relied upon by more than one cloud computing resource, sending a warning of a policy error to a user.
10. The device of claim 6, further comprising a prompting module configured to:
marking the non-reusable cloud computing resources in the global resource relation graph by a preset color;
and responding to the cloud computing resource with the preset color mark selected when the user creates the strategy, and prompting the user that the cloud computing resource is not reusable.
CN202011224589.5A 2020-11-05 2020-11-05 Method and equipment for creating cloud resources in cloud platform Pending CN112511596A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011224589.5A CN112511596A (en) 2020-11-05 2020-11-05 Method and equipment for creating cloud resources in cloud platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011224589.5A CN112511596A (en) 2020-11-05 2020-11-05 Method and equipment for creating cloud resources in cloud platform

Publications (1)

Publication Number Publication Date
CN112511596A true CN112511596A (en) 2021-03-16

Family

ID=74955829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011224589.5A Pending CN112511596A (en) 2020-11-05 2020-11-05 Method and equipment for creating cloud resources in cloud platform

Country Status (1)

Country Link
CN (1) CN112511596A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301154A (en) * 2021-05-24 2021-08-24 建信金融科技有限责任公司 Public cloud resource creating method and device, storage medium and electronic equipment
CN113595827A (en) * 2021-07-29 2021-11-02 北京百度网讯科技有限公司 Cloud network monitoring method and device, electronic equipment and computer medium
CN115250278A (en) * 2022-09-22 2022-10-28 梯度云科技(北京)有限公司 Method and device for synchronizing multi-cloud management platform and cloud service provider resources
WO2023024663A1 (en) * 2021-08-27 2023-03-02 中兴通讯股份有限公司 Routing method and apparatus, cloud resource registration method and apparatus, storage medium, and electronic apparatus

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640613A (en) * 2009-09-11 2010-02-03 中兴通讯股份有限公司 Method and device for network resource relating management
CN105007323A (en) * 2015-07-22 2015-10-28 上海斐讯数据通信技术有限公司 System and method for arranging cloud resources
CN105183610A (en) * 2015-09-22 2015-12-23 浪潮集团有限公司 Cloud data center service monitoring system and method based on resource dependency relationship
CN107579851A (en) * 2017-09-14 2018-01-12 郑州云海信息技术有限公司 The method and apparatus for determining the execution sequence of resource layout template
CN109347663A (en) * 2018-09-28 2019-02-15 南京易捷思达软件科技有限公司 Resource visualizes method of combination in a kind of OpenStack cloud platform
CN109445923A (en) * 2018-11-01 2019-03-08 郑州云海信息技术有限公司 A kind of method and device of micro services task schedule
CN109936474A (en) * 2018-12-28 2019-06-25 上海云轴信息科技有限公司 A kind of method and apparatus generating network topological diagram
CN110865888A (en) * 2019-11-28 2020-03-06 米哈游科技(上海)有限公司 Resource loading method and device, server and storage medium
CN110955409A (en) * 2019-12-02 2020-04-03 郑州阿帕斯数云信息科技有限公司 Method and device for creating resources on cloud platform
CN111752677A (en) * 2020-06-06 2020-10-09 苏州浪潮智能科技有限公司 Cloud resource configuration method, system, terminal and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640613A (en) * 2009-09-11 2010-02-03 中兴通讯股份有限公司 Method and device for network resource relating management
CN105007323A (en) * 2015-07-22 2015-10-28 上海斐讯数据通信技术有限公司 System and method for arranging cloud resources
CN105183610A (en) * 2015-09-22 2015-12-23 浪潮集团有限公司 Cloud data center service monitoring system and method based on resource dependency relationship
CN107579851A (en) * 2017-09-14 2018-01-12 郑州云海信息技术有限公司 The method and apparatus for determining the execution sequence of resource layout template
CN109347663A (en) * 2018-09-28 2019-02-15 南京易捷思达软件科技有限公司 Resource visualizes method of combination in a kind of OpenStack cloud platform
CN109445923A (en) * 2018-11-01 2019-03-08 郑州云海信息技术有限公司 A kind of method and device of micro services task schedule
CN109936474A (en) * 2018-12-28 2019-06-25 上海云轴信息科技有限公司 A kind of method and apparatus generating network topological diagram
CN110865888A (en) * 2019-11-28 2020-03-06 米哈游科技(上海)有限公司 Resource loading method and device, server and storage medium
CN110955409A (en) * 2019-12-02 2020-04-03 郑州阿帕斯数云信息科技有限公司 Method and device for creating resources on cloud platform
CN111752677A (en) * 2020-06-06 2020-10-09 苏州浪潮智能科技有限公司 Cloud resource configuration method, system, terminal and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301154A (en) * 2021-05-24 2021-08-24 建信金融科技有限责任公司 Public cloud resource creating method and device, storage medium and electronic equipment
CN113301154B (en) * 2021-05-24 2023-07-28 建信金融科技有限责任公司 Public cloud resource creation method and device, storage medium and electronic equipment
CN113595827A (en) * 2021-07-29 2021-11-02 北京百度网讯科技有限公司 Cloud network monitoring method and device, electronic equipment and computer medium
CN113595827B (en) * 2021-07-29 2023-02-21 北京百度网讯科技有限公司 Cloud network monitoring method and device, electronic equipment and computer medium
WO2023024663A1 (en) * 2021-08-27 2023-03-02 中兴通讯股份有限公司 Routing method and apparatus, cloud resource registration method and apparatus, storage medium, and electronic apparatus
CN115250278A (en) * 2022-09-22 2022-10-28 梯度云科技(北京)有限公司 Method and device for synchronizing multi-cloud management platform and cloud service provider resources
CN115250278B (en) * 2022-09-22 2022-11-29 梯度云科技(北京)有限公司 Method and device for synchronizing multi-cloud management platform and cloud service provider resources

Similar Documents

Publication Publication Date Title
CN112511596A (en) Method and equipment for creating cloud resources in cloud platform
JP3590688B2 (en) Method and system for constructing an installation plan object for installing an application
CN104216912B (en) The implementation method and device of a kind of business form work fluidisation without intrusive mood
US7836055B2 (en) XNA relationship management
US8261248B2 (en) System and method of executing a dynamic program in a structured environment
US20030095143A1 (en) Mechanism allowing separation of graphical display of object status from underlying data
CN100375036C (en) Method and system for resource allocation in remembering grids
CA2484807A1 (en) Method, system, and program for a policy based storage manager
CN111353235B (en) Component port modeling method based on model drive and terminal
US9542161B2 (en) Method and system for generating a source code for a computer program for execution and simulation of a process
CN115993966B (en) Application development system and method
US20060047723A1 (en) Custom database system and method of building the same
CN109597764A (en) A kind of test method and relevant apparatus of catalogue quota
US8806490B1 (en) Method and apparatus for managing workflow failures by retrying child and parent elements
US11663349B2 (en) System and method for managing data object creation
US20100011018A1 (en) Custom database system and method of building the same
CN115578096A (en) Block chain parallel transaction method, device, equipment and storage medium
CN112486481A (en) Multi-module layered architecture implementation method, device, electronic equipment and medium
CN111782363A (en) Method and flow system for supporting multi-service scene calling
Goodwin et al. What goes wrong in serverless runtimes? A survey of bugs in Knative Serving
CN114785847B (en) Network control software development configuration method, terminal and storage medium
US8589471B2 (en) Dynamic dispatch for distributed object-oriented software systems
CN115640206A (en) Test plan establishing method, device and equipment
CN110427224A (en) A kind of EJB module loading method, device, server and readable storage medium storing program for executing
CN116185385A (en) Visual interface management method, system, terminal 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210316