CN113626189B - Method, device and medium for constructing resource management model - Google Patents

Method, device and medium for constructing resource management model Download PDF

Info

Publication number
CN113626189B
CN113626189B CN202110884982.5A CN202110884982A CN113626189B CN 113626189 B CN113626189 B CN 113626189B CN 202110884982 A CN202110884982 A CN 202110884982A CN 113626189 B CN113626189 B CN 113626189B
Authority
CN
China
Prior art keywords
service
information
cluster
resource
product line
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.)
Active
Application number
CN202110884982.5A
Other languages
Chinese (zh)
Other versions
CN113626189A (en
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.)
Ucloud Technology Co ltd
Original Assignee
Ucloud 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 Ucloud Technology Co ltd filed Critical Ucloud Technology Co ltd
Priority to CN202110884982.5A priority Critical patent/CN113626189B/en
Publication of CN113626189A publication Critical patent/CN113626189A/en
Application granted granted Critical
Publication of CN113626189B publication Critical patent/CN113626189B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources

Abstract

The invention particularly relates to a resource management model and a construction method, equipment and a medium thereof. The method comprises the following steps: constructing a resource instance position information module; constructing a product line information module; constructing a service cluster information module; and constructing a host information module. The invention provides a unified and diversified resource management model and a construction method, equipment and a medium thereof for resource management. A traditional configuration management mode mainly comprising a product, a server and a host is abandoned, a resource cluster configuration management system which starts from a resource instance angle and has multi-level expandability is constructed, resource model construction can be carried out more easily and conveniently, multi-service clusters of different scales are managed, and resource and information sharing with other operation systems is achieved more conveniently.

Description

Method, device and medium for constructing resource management model
Technical Field
The invention relates in particular to a resource management model, and a construction method, equipment and medium thereof.
Background
In the current environment, each company is basically provided with a resource management system, and each cloud manufacturer is also provided with a cloud resource management system on a platform of the respective manufacturer. The models of the resource management systems are basically similar, and are mainly managed in dimensions of products, servers, hosts and the like, the models mainly comprising application resources and service deployment cannot be built, the models cannot operate in linkage with other internal operation management systems, the resources and information cannot be shared, and the resource management platforms in cloud manufacturers in a cloudy environment are only high in coupling with internal services.
Disclosure of Invention
The invention provides a unified and multi-element resource management model for resource management, and a construction method, equipment and medium thereof, abandons the traditional configuration management mode which mainly comprises products, servers and hosts, constructs a resource cluster configuration management system which is provided with multi-level expandable and starts from the perspective of resource examples, can construct the resource model more simply and conveniently, manages multi-service clusters with different scales, and realizes resource and information sharing with other operation systems more conveniently.
The invention discloses a construction method of a resource management model, which comprises the following steps:
constructing a resource instance position information module, wherein the resource instance position information is associated with the physical position of the resource instance;
constructing a product line information module, the product line information being associated with product lines, each product line including one or more services;
constructing a service information module, wherein service information is associated with services, and each service comprises one or more resource instances;
constructing a business information module, wherein business information is associated with businesses, and each business comprises corresponding one or more services in corresponding one or more product lines;
constructing a service cluster information module, the service cluster information being associated with service clusters, each service cluster being created based on the respective service information and comprising one or more resource instances in the respective service;
constructing a service cluster information module, the service cluster information being associated with service clusters, each service cluster being created based on the respective service information and comprising one or more service clusters corresponding to one or more services in the respective service;
a host information module is constructed, the host information being associated with a host, each resource instance running on a respective host.
Optionally, the resource instance location information associated with the physical location of the resource instance includes:
resource instance region information, wherein the resource instance region information is associated with a region where the resource instance is located, and each region comprises one or more available regions;
resource instance availability zone information associated with an availability zone in which the resource instance is located, each availability zone comprising one or more machine rooms;
resource instance machine room information associated with the machine room in which the resource instance is located, each machine room including one or more racks;
resource instance rack information associated with a rack in which the resource instance is located.
Optionally, the product line information associated with a product line includes:
a product line name for uniquely locating the product line;
a product line description describing a function of the product line;
an associated department list including associated departments that can use respective one or more resource instances in respective one or more services in the product line;
a product line label for representing a relevant configuration of the product line information.
Optionally, the service information associated with a service includes:
the product line information comprises product line information of a product line to which the service belongs;
a service name for uniquely locating the service;
a service description describing a function of the service;
dependent service information including service information of a dependent service on which the service depends;
and the service label is used for representing the relevant configuration of the service information.
Optionally, the service information associated with a service includes:
a service name, the service name being used to uniquely locate the service;
the system comprises a plurality of services, wherein the services comprise one or more services of the businesses;
and the service label is used for representing the relevant configuration of the service information.
Optionally, the service cluster information associated with a service cluster includes:
the resource instance location information comprises resource instance location information of one or more resource instances in a service corresponding to the service cluster;
the product line information comprises the product line information of the service corresponding to the service cluster;
a contained service name including a service name of a service corresponding to the service cluster;
dependent service cluster information associated with the dependent service clusters, each of the dependent service clusters created based on the respective dependent service information and including one or more resource instances in the respective dependent service;
a service cluster name, the service cluster name being used to uniquely locate the service cluster;
a contained resource instance tag comprising an IP address, port number, role, and status of one or more resource instances in a service corresponding to the service cluster;
a service cluster label for representing a relevant configuration of the service cluster.
Optionally, the service cluster information associated with a service cluster includes:
the service name comprises the service name of the service corresponding to the service cluster;
the service cluster name is used for uniquely positioning the service cluster;
the system comprises service cluster information, wherein the service cluster information comprises service cluster information of one or more service clusters corresponding to one or more services in a service corresponding to the service cluster;
and the service cluster label is used for representing the relevant configuration of the service cluster.
Optionally, the host information associated with the host includes:
a host IP address;
host location information associated with a physical location of the host;
and the host tag is used for representing the relevant configuration of the host information.
The invention discloses a resource management model, which comprises the following steps:
a resource instance location information module, the resource instance location information being associated with a physical location of the resource instance;
a product line information module, the product line information being associated with product lines, each product line including one or more services;
a service information module, the service information being associated with services, each service comprising one or more resource instances;
a business information module, the business information being associated with businesses, each business including a respective one or more services in a respective one or more product lines;
a service cluster information module, the service cluster information being associated with service clusters, each service cluster being created based on respective service information and comprising one or more resource instances in a respective service;
a service cluster information module, the service cluster information being associated with service clusters, each service cluster being created based on the respective service information and comprising one or more service clusters corresponding to one or more services in the respective service;
and the host information module is used for associating host information with the hosts, and each resource instance runs on the corresponding host.
The present invention discloses a computer device comprising a memory storing computer executable instructions and a processor configured to execute the instructions to implement the method of constructing a resource management model described above.
The present invention discloses a computer storage medium encoded with a computer program comprising instructions that are executed by a computer to implement the method of constructing a resource management model described above.
Compared with the prior art, the invention has the main differences and effects that:
the invention abstracts the resource model into 7 layers, analyzes each layer with fine granularity, builds the association relation between the layers, and can control the application resource with fine granularity from multiple dimensions. In contrast to conventional configuration management database (Configuration Management Database, CMDB) systems, the present invention achieves application instance level resource management. Compared with the resource management system of each cloud manufacturer platform, the cloud resource management system has more flexible multi-cloud collaborative management and control capability, and realizes the multi-dimensional and different-level resource management capability through an abstract resource model. The universal unified tag system enables the invention to have more flexible and diversified configuration management capability. Different levels of design models and tag capabilities allow the present invention to achieve better information sharing and collaboration with other systems.
Drawings
FIG. 1 is a block diagram of a generic server implementing a method of building a resource management model in accordance with the present invention;
FIG. 2 is a block diagram of a resource management model in accordance with the present invention;
fig. 3 is a flow chart of a method of constructing a resource management model in accordance with the present invention.
Detailed Description
In order to make the purpose and technical solutions of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. It will be apparent that the described embodiments are some, but not all, embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without creative efforts, based on the described embodiments of the present invention fall within the protection scope of the present invention.
In accordance with the present invention, there is provided an embodiment of a method of constructing a resource management model, it being noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
The method embodiments provided by the application mode can be implemented in a mobile terminal, a computer terminal or a general-purpose server. Taking a general server as an example, fig. 1 is a block diagram of a general server implementing a method of constructing a resource management model according to the present invention. The general-purpose server herein refers broadly to a computer system capable of providing services such as network and computing to the outside, and is not limited to any particular server.
As shown in fig. 1, the general-purpose server 100 may include one or more (only one is shown in the figure) processors 101 (the processors 101 may include, but are not limited to, a central processing unit CPU, an image processor GPU, a digital signal processor DSP, a microprocessor MCU, a programmable logic device FPGA, etc.), an input-output interface 102 for interacting with a user, a memory 103 for storing data, and a transmission device 104 for communication functions. It will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 1 is merely illustrative and is not intended to limit the configuration of the electronic device described above. For example, the generic server 100 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The input output interface 102 may be coupled to one or more displays, touch screens, etc. for displaying data transferred from the general server 100, and may also be coupled to a keyboard, stylus, touch pad, and/or mouse, etc. for inputting user instructions such as selection, creation, editing, etc.
The memory 103 may be used to store a database, a queue, a software program of an application software, and a module, such as a program instruction/module corresponding to a method for constructing a resource management model in an embodiment of the present invention, and the processor 101 executes the software program and the module stored in the memory 103, thereby performing various functional applications and data processing, that is, implementing the method for constructing a resource management model as described above. Memory 103 may include high-speed random access memory, but may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 103 may further comprise memory remotely located with respect to processor 101, which may be connected to general server 100 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 104 is used to receive or transmit data via a network, which may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others. The specific example of the network described above may include the internet provided by a communication provider of the general server 100.
Fig. 2 is a block diagram of a resource management model according to the present invention. Fig. 3 is a flow chart of a method of constructing a resource management model in accordance with the present invention. The following is a detailed description with reference to fig. 2 and 3.
In step S301, the resource instance location information module 201 is constructed, the resource instance location information being associated with the physical location of the resource instance. The resource instance location information indicates the actual physical location where the resource instance is located, belongs to the general information portion of the resource management model, and may have a certain hierarchical relationship.
Wherein the resource instance location information associated with the physical location of the resource instance includes:
the resource instance zone information 2011, the resource instance zone information 2011 is associated with a zone where the resource instance is located, and each zone comprises one or more available areas. The zone may be used to describe the general area in which the resource instance is located and may be represented using a zone name.
The resource instance availability zone information 2012, the resource instance availability zone information 2012 being associated with an availability zone in which the resource instance is located, each availability zone comprising one or more machine rooms. The availability zone may be used to describe the abstract region where the resource instance is located and may be designed by the company's interior or by the cloud vendor itself.
Resource instance machine room information 2013, the resource instance machine room information 2013 is associated with the machine room in which the resource instance is located, each machine room including one or more racks. The machine room may be represented using a specific machine room name.
Resource instance chassis information 2014, the resource instance chassis information 2014 being associated with the chassis in which the resource instance is located. The racks may be represented using the relevant position numbers inside the machine room.
In step S302, a product line information module 202 is constructed, product line information associated with product lines, each product line including one or more services. The product line information indicates the type of the product line related to the service and business and the cluster thereof, belongs to the highest latitude information of the resource management model, and can be designed by the inside of a company or a cloud manufacturer.
Wherein the product line information associated with the product line includes:
product line name 2021, product line name 2021 is used to uniquely locate the product line. The product line names 2021 may include product line english names and product line chinese names, which are in one-to-one correspondence, may be used for resource sharing and coordinated use between systems, facilitate lookup identification, and may be coupled to a company's internal product line or organization, such as a network product line, a host product line, a monitoring product line, a public service product line, etc.
Product line description 2022, product line description 2022 is used to describe the functionality of the product line. The product line instructions 2022 facilitate understanding of the scope of influence of the product line.
An associated department list 2023, the associated department list 2023 comprising associated departments that can use respective one or more resource instances in respective one or more services in the product line. The association department list 2023 may control the rights of resource instances and may be cascaded with corporate internal organization architecture to form resource level management and control capabilities.
Product line labels 2024, the product line labels 2024 are used to represent the relevant configuration of product line information. The product line label 2024 may be represented using a tagk=tagv mode.
In step S303, a service information module 203 is constructed, the service information being associated with services, each service comprising one or more resource instances. The service information depends on the product line information and indicates a specific service category under a certain product line information, for example, a logspace service, a mysql service, etc. There may be some kind of dependency between services and services, which may be illustrated in the service information.
Wherein the service information associated with the service includes:
the belonging product line information 2031, the belonging product line information 2031 includes product line information serving the belonging product line. The belonging product line information 2031 facilitates understanding under which product line the service is specific, e.g., mysql service belongs to the network product line.
Service name 2032, service name 2032 is for a unique location service. The service names 2032 may include service english names and service chinese names, which are in one-to-one correspondence and may be used when selecting corresponding services in the business and service clusters.
Service description 2033 the service description 2033 is used to describe the functionality of the service. The service description 2033 facilitates understanding of the scope of influence of the service.
Depending service information 2034, depending service information 2034 includes depending service information of a depending service on which the service depends. If a service has dependent services, then the service cluster on which it depends may be specified first when creating the cluster of that service type.
Service tag 2035, service tag 2035 is used to represent the relevant configuration of service information. The service tag 2035 may be represented using a tagk=tagv mode.
In step S304, a business information module 204 is constructed, the business information being associated with businesses, each business including a respective one or more services in a respective one or more product lines. A business may span multiple services under multiple product lines and business information may be created from multiple service information, i.e., a business may need to be created using a single product line or multiple services under different product lines, which in a cloudy environment may be understood as a particular business implemented using different products of a cloudy vendor, e.g., a virtual network business, etc.
Wherein the service information associated with the service includes:
service name 2041, service name 2041 is used to uniquely locate the service. The service names 2041 may include service english names and service chinese names, which are in one-to-one correspondence.
The contained service information 2042, the contained service information 2042 comprising service information for one or more services of the business. The contained service information 2042 may take the form of a list, and a number of different services under a number of different product lines may be added to the visualization system, each of which may be set to be mandatory or optional. If a certain service comprises a certain service, the service and a product line to which the service belongs form an association relation at the same time.
Service tag 2043. Service tag 2043 is used to represent the relevant configuration of the service information. Traffic label 2043 may be represented using a tagk=tagv mode.
In step S305, a service cluster information module 205 is built, the service cluster information being associated with service clusters, each service cluster being created based on the respective service information and comprising one or more resource instances in the respective service. A service cluster is a resource instance cluster created using some specific service information, and belongs to the most core part of the resource management model.
Wherein the service cluster information associated with the service cluster includes:
the included resource instance location information 2051, the included resource instance location information 2051 including resource instance location information for one or more resource instances in a service corresponding to a service cluster. The included resource instance location information 2051 can facilitate lookup and categorization management of resource instances corresponding to a service cluster.
The contained product line information 2052, the contained product line information 2052 includes the belonging product line information of the service corresponding to the service cluster. The contained product line information 2052 may facilitate the lookup and sort management of product lines corresponding to a certain service cluster.
The contained service names 2053, the contained service names 2053 including service names of services corresponding to the service clusters. The contained service name 2053 may indicate which service information the service cluster is created based on, and one service cluster may specify only one fixed service information.
Depending service cluster information 2054, the depending service cluster information 2054 being associated with depending service clusters, each depending service cluster being created based on the respective depending service information and comprising one or more resource instances in the respective depending service. If a dependent service is noted in the service information used by a certain service cluster, it is necessary to select an already existing service cluster of the dependent service for the service cluster.
Service cluster name 2055, service cluster name 2055 is used to uniquely locate the service cluster. The service cluster name 2055 has a certain specific naming rule, such as that the dns naming manner may be selected for naming, for example, the service cluster name 2055 may be cluster, service, zone, region, xxx, a tail thereof, xxx, indicating a configurable internal dns domain name, a zone indicating the region information in the contained resource instance location information 2051, a zone indicating the available region information in the contained resource instance location information 2051, a service indicating the contained service name 2053, and a cluster being a short service cluster name. The service cluster name is core information of the service cluster, the service cluster information can be globally positioned through the service cluster name, and the capability of acquiring the service cluster resource information through the service cluster name can be realized through cascading of the machine name and the internal dns.
The contained resource instance tag 2056, the contained resource instance tag 2056 includes the IP address, port number, role, and status of one or more resource instances in the service corresponding to the service cluster. The resource instance can be uniquely positioned through the IP address and the Port number (Port), and the resource management of the cluster can be supported under the scene of the mixed deployment operation of the resources; roles (Role) can distinguish roles and cluster relations of different resource examples, and can be used for marking various architectures such as a master-slave architecture, a multi-master architecture and the like; the state (Status) may identify the running state of a particular resource instance, available for high availability and instance change use. In addition to these fixed tags, the resource instance tags 2056 included may also be any other customizable tags.
Service cluster tag 2057, service cluster tag 2057 is used to represent the relevant configuration of the service cluster. Service cluster tag 2057 may be represented using a tagk=tagv pattern.
In step S306, a service cluster information module 206 is constructed, the service cluster information being associated with service clusters, each service cluster being created based on the respective service information and comprising one or more service clusters corresponding to one or more services in the respective service. A service cluster is a collection of service clusters that are created based on corresponding service information and can be managed uniformly in a higher dimension.
Wherein the service cluster information associated with the service cluster comprises:
the contained service names 2061, the contained service names 2061 including service names of services corresponding to the service clusters. The contained service name 2061 may indicate which service information the service cluster was created based on, and a service cluster may specify only one fixed service information.
Service cluster name 2062, service cluster name 2062 being used to uniquely locate a service cluster. The service cluster name 2062 may be user-customized using a certain naming convention.
The contained service cluster information 2063, the contained service cluster information 2063 including service cluster information for one or more service clusters corresponding to one or more services in the service corresponding to the service cluster. The contained service cluster information 2063 may take the form of a list, and a number of different service clusters may be added to the visualization system.
Service cluster label 2064, service cluster label 2064 is used to represent the relevant configuration of a service cluster. Traffic cluster label 2064 may be represented using a tagk=tagv pattern.
In step S307, a host information module 207 is built, the host information being associated with a host, each resource instance running on a respective host. Host management belongs to the most basic server management category and is mainly used for representing basic information such as different IP addresses. Because the resource management model uses the application resource as a core, the host management can be used as a physical resource pool level management capability on which the application resource management depends, and the more complex host management capability can be used in cascade with a configuration management database (Configuration Management Database, CMDB) system of the internal operation and maintenance system.
Wherein the host information associated with the host includes:
host IP address 2071. The host IP address 2071 may represent IP address information of a certain host (e.g., server).
Host location information 2072, the host location information 2072 being associated with the physical location of the host. The host location information 2072 may represent a physical location indicated by the host IP address 2071.
Host tag 2073, host tag 2073 is used to represent the relevant configuration of host information. Host tag 2073 may be represented using tagk=tagv mode.
The invention also provides a computer device comprising a memory storing computer executable instructions and a processor configured to execute the instructions to implement the method of constructing a resource management model described above.
The present invention also provides a computer storage medium encoded with a computer program comprising instructions that are executed by a computer to implement the method of constructing a resource management model described above.
The resource model is abstracted, the model relation in the resource model is analyzed, and seven information modules which are closely related but relatively independent are further optimized and obtained:
1) The resource instance location information module can be used for distinguishing and searching physical dimensions by all resource models containing location information.
2) And the product line information module can be combined with an organization architecture and has a classification abstract attribute with higher dimension.
3) And the service information module is used for configuring abstract specific to the specific service and is an infrastructure of a resource management model.
4) The service information module, the service information is a further abstraction at the upper layer of service information, can span multiple service information.
5) And the service cluster information module is used for directly mapping the service cluster information, which is the most important resource abstract model, to the resource instance cluster.
6) And the service cluster information module is used for further abstracting the service cluster information at the upper layer of the service cluster information and restraining a plurality of service clusters of the same service.
7) And the host information module is used for enabling host information to be the most basic physical resource data and belong to the lowest resource abstraction model.
The invention clarifies the mutual dependency relationship among the seven information modules:
1) Through the design of the service cluster information, the management of a plurality of resource instances under the same service cluster, namely, which resource instances belong to the same service cluster, can be realized. The resource instance model takes a resource instance as a core, focuses on each specific running instance, and can also support multi-dimensional management requirements such as single machine multi-instance management, runtime management, service architecture management and the like on the dimension of a host.
2) By defining the service information of the service clusters, the service clusters can be classified in service dimension.
3) By using the service information, the service clusters with relevance can be formed into service clusters with higher dimensionality, the construction of a vertical operation system of the service can be realized by utilizing general capability in the field of service clusters, a service topological graph and an influence chain are constructed, and the service topological graph and the influence chain can be cascaded with other service deployment systems, so that the deployment and the change of one-key rapid service clusters can be realized.
4) And the cascade capability of the service cluster, the service cluster and the position information is realized by utilizing the relation between the resource instance and the host information.
The seven information modules of the present invention all have the capability of tag information, i.e. custom configuration can be set for each category:
1) The tagging system may use a NoSQL type storage system, such as mondab with document database capabilities. The use of this type of storage has the advantage that the tag can be dynamically expanded more conveniently and rapidly, and the tag can be added, deleted and modified at any time, and can be searched and classified more conveniently.
2) The tag system needs to establish a dependency level relationship with the seven information modules, namely, a priority order relationship of configuration dependency, so that tag information of a certain resource example has more dimensions. The hierarchy of dependencies may be in the following order: resource instance > service cluster > service information > product line > location information. Configuration change of clusters with different dimensions can be realized by modifying relevant configuration of a corresponding hierarchy, and the configuration change can be used in cascade with a deployment and change management system to achieve gray control capability.
The invention designs the service cluster name by using a dns-like naming mode or other modes which can uniquely locate the service cluster through naming service, and can realize dynamic control of service cluster resource information by combining a label system, thereby realizing higher-level management and control capabilities of service state management, high availability, load balancing and the like.
It should be noted that, each method embodiment of the present invention may be implemented in software, hardware, firmware, or the like. Regardless of whether the invention is implemented in software, hardware, or firmware, the instruction code may be stored in any type of computer accessible memory (e.g., permanent or modifiable, volatile or non-volatile, solid or non-solid, fixed or removable media, etc.). Also, the Memory may be, for example, programmable array logic (Programmable Array Logic, abbreviated as "PAL"), random access Memory (Random Access Memory, abbreviated as "RAM"), programmable Read-Only Memory (Programmable Read Only Memory, abbreviated as "PROM"), read-Only Memory (ROM), electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable ROM, abbreviated as "EEPROM"), magnetic disk, optical disk, digital versatile disk (Digital Versatile Disc, abbreviated as "DVD"), and the like.
It should be noted that, in each embodiment of the present invention, each unit/module mentioned in each embodiment of the device is a logic unit/module, and in physical terms, one logic unit may be a physical unit, or may be a part of a physical unit, or may be implemented by a combination of multiple physical units, where the physical implementation manner of the logic unit itself is not the most important, and the combination of functions implemented by the logic units is the key to solve the technical problem posed by the present invention. Furthermore, in order to highlight the innovative part of the present invention, the above-described device embodiments of the present invention do not introduce elements that are less closely related to solving the technical problem posed by the present invention, which does not indicate that the above-described device embodiments do not have other elements.
In the drawings, some structural or methodological features may be shown in a particular arrangement and/or order. However, it should be understood that such a particular arrangement and/or ordering may not be required. Rather, in some embodiments, these features may be arranged in a different manner and/or order than shown in the illustrative figures. Additionally, the inclusion of structural or methodological features in a particular figure is not meant to imply that such features are required in all embodiments, and in some embodiments, may not be included or may be combined with other features.
It should be noted that in the claims and the description of this patent, 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. Moreover, 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" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
While the invention has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention.

Claims (4)

1. A method for constructing a resource management model, the method comprising:
constructing a resource instance position information module, wherein the resource instance position information is associated with the physical position of the resource instance;
constructing a product line information module, the product line information being associated with product lines, each product line including one or more services;
constructing a service information module, wherein service information is associated with services, and each service comprises one or more resource instances;
constructing a business information module, wherein business information is associated with businesses, and each business comprises corresponding one or more services in corresponding one or more product lines;
constructing a service cluster information module, the service cluster information being associated with service clusters, each service cluster being created based on the respective service information and comprising one or more resource instances in the respective service;
constructing a service cluster information module, the service cluster information being associated with service clusters, each service cluster being created based on the respective service information and comprising one or more service clusters corresponding to one or more services in the respective service;
constructing a host information module, the host information being associated with a host, each resource instance running on a respective host,
the resource instance location information associated with a physical location of a resource instance includes:
resource instance region information, wherein the resource instance region information is associated with a region where the resource instance is located, and each region comprises one or more available regions;
resource instance availability zone information associated with an availability zone in which the resource instance is located, each availability zone comprising one or more machine rooms;
resource instance machine room information associated with the machine room in which the resource instance is located, each machine room including one or more racks;
resource instance rack information, the resource instance rack information associated with a rack in which the resource instance is located,
the product line information associated with a product line includes:
a product line name for uniquely locating the product line;
a product line description describing a function of the product line;
an associated department list including associated departments that can use respective one or more resource instances in respective one or more services in the product line;
a product line label for representing a relevant configuration of the product line information,
the service information associated with a service includes:
the product line information comprises product line information of a product line to which the service belongs;
a service name for uniquely locating the service;
a service description describing a function of the service;
dependent service information including service information of a dependent service on which the service depends;
a service tag for representing a relevant configuration of the service information,
the service information associated with a service includes:
a service name, the service name being used to uniquely locate the service;
the system comprises a plurality of services, wherein the services comprise one or more services of the businesses;
a service tag for representing a relevant configuration of the service information,
the service cluster information associated with a service cluster includes:
the resource instance location information comprises resource instance location information of one or more resource instances in a service corresponding to the service cluster;
the product line information comprises the product line information of the service corresponding to the service cluster;
a contained service name including a service name of a service corresponding to the service cluster;
dependent service cluster information associated with the dependent service clusters, each of the dependent service clusters created based on the respective dependent service information and including one or more resource instances in the respective dependent service;
a service cluster name, the service cluster name being used to uniquely locate the service cluster;
a contained resource instance tag comprising an IP address, port number, role, and status of one or more resource instances in a service corresponding to the service cluster;
a service cluster label for representing a relevant configuration of the service cluster,
the service cluster information associated with a service cluster includes:
the service name comprises the service name of the service corresponding to the service cluster;
the service cluster name is used for uniquely positioning the service cluster;
the system comprises service cluster information, wherein the service cluster information comprises service cluster information of one or more service clusters corresponding to one or more services in a service corresponding to the service cluster;
a service cluster label for indicating the relevant configuration of the service cluster,
the host information associated with a host includes:
a host IP address;
host location information associated with a physical location of the host;
and the host tag is used for representing the relevant configuration of the host information.
2. A resource management system, the system comprising:
a resource instance location information module, the resource instance location information being associated with a physical location of the resource instance; a product line information module, the product line information being associated with product lines, each product line including one or more services;
a service information module, the service information being associated with services, each service comprising one or more resource instances;
a business information module, the business information being associated with businesses, each business including a respective one or more services in a respective one or more product lines;
a service cluster information module, the service cluster information being associated with service clusters, each service cluster being created based on respective service information and comprising one or more resource instances in a respective service;
a service cluster information module, the service cluster information being associated with service clusters, each service cluster being created based on the respective service information and comprising one or more service clusters corresponding to one or more services in the respective service;
a host information module, the host information associated with a host, each resource instance running on a respective host,
the resource instance location information associated with a physical location of a resource instance includes:
resource instance region information, wherein the resource instance region information is associated with a region where the resource instance is located, and each region comprises one or more available regions;
resource instance availability zone information associated with an availability zone in which the resource instance is located, each availability zone comprising one or more machine rooms;
resource instance machine room information associated with the machine room in which the resource instance is located, each machine room including one or more racks;
resource instance rack information, the resource instance rack information associated with a rack in which the resource instance is located,
the product line information associated with a product line includes:
a product line name for uniquely locating the product line;
a product line description describing a function of the product line;
an associated department list including associated departments that can use respective one or more resource instances in respective one or more services in the product line;
a product line label for representing a relevant configuration of the product line information,
the service information associated with a service includes:
the product line information comprises product line information of a product line to which the service belongs;
a service name for uniquely locating the service;
a service description describing a function of the service;
dependent service information including service information of a dependent service on which the service depends;
a service tag for representing a relevant configuration of the service information,
the service information associated with a service includes:
a service name, the service name being used to uniquely locate the service;
the system comprises a plurality of services, wherein the services comprise one or more services of the businesses;
a service tag for representing a relevant configuration of the service information,
the service cluster information associated with a service cluster includes:
the resource instance location information comprises resource instance location information of one or more resource instances in a service corresponding to the service cluster;
the product line information comprises the product line information of the service corresponding to the service cluster;
a contained service name including a service name of a service corresponding to the service cluster;
dependent service cluster information associated with the dependent service clusters, each of the dependent service clusters created based on the respective dependent service information and including one or more resource instances in the respective dependent service;
a service cluster name, the service cluster name being used to uniquely locate the service cluster;
a contained resource instance tag comprising an IP address, port number, role, and status of one or more resource instances in a service corresponding to the service cluster;
a service cluster label for representing a relevant configuration of the service cluster,
the service cluster information associated with a service cluster includes:
the service name comprises the service name of the service corresponding to the service cluster;
the service cluster name is used for uniquely positioning the service cluster;
the system comprises service cluster information, wherein the service cluster information comprises service cluster information of one or more service clusters corresponding to one or more services in a service corresponding to the service cluster;
a service cluster label for indicating the relevant configuration of the service cluster,
the host information associated with a host includes:
a host IP address;
host location information associated with a physical location of the host;
and the host tag is used for representing the relevant configuration of the host information.
3. A computer device comprising a memory storing computer-executable instructions and a processor configured to execute the instructions to implement the method of constructing a resource management model according to claim 1.
4. A computer storage medium encoded with a computer program, the computer program comprising instructions that are executed by a computer to implement the method of constructing a resource management model according to claim 1.
CN202110884982.5A 2021-08-03 2021-08-03 Method, device and medium for constructing resource management model Active CN113626189B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110884982.5A CN113626189B (en) 2021-08-03 2021-08-03 Method, device and medium for constructing resource management model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110884982.5A CN113626189B (en) 2021-08-03 2021-08-03 Method, device and medium for constructing resource management model

Publications (2)

Publication Number Publication Date
CN113626189A CN113626189A (en) 2021-11-09
CN113626189B true CN113626189B (en) 2024-02-06

Family

ID=78382373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110884982.5A Active CN113626189B (en) 2021-08-03 2021-08-03 Method, device and medium for constructing resource management model

Country Status (1)

Country Link
CN (1) CN113626189B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745378A (en) * 2022-02-14 2022-07-12 优刻得科技股份有限公司 Function module distribution method and system based on edge cloud scene

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6725456B1 (en) * 1999-11-29 2004-04-20 Lucent Technologies Inc. Methods and apparatus for ensuring quality of service in an operating system
CN102142105A (en) * 2010-01-28 2011-08-03 镇江金钛软件有限公司 Enterprise cluster distributed cooperative operation system
CN102420697A (en) * 2011-09-07 2012-04-18 北京邮电大学 Service-configurable comprehensive resource monitoring managing system and method
CN102576354A (en) * 2009-07-31 2012-07-11 电子湾有限公司 Extensible framework to support different deployment architectures
CN107743611A (en) * 2015-04-29 2018-02-27 微软技术许可有限责任公司 The optimum allocation of dynamic cloud computing platform resource
CN108810094A (en) * 2018-05-17 2018-11-13 江苏容源电力设备有限公司 A kind of electric system based on grid system
CN109997114A (en) * 2016-10-07 2019-07-09 康维达无线有限责任公司 Service layer's resource management for general intercommunication and scalability
CN110583005A (en) * 2017-05-02 2019-12-17 纳木技术株式会社 Cloud platform system
CN111800462A (en) * 2020-05-28 2020-10-20 中国平安财产保险股份有限公司 Micro-service instance processing method and device, computer equipment and storage medium
CN111859463A (en) * 2014-09-13 2020-10-30 先进元素科技公司 Method and system for secure and reliable identification based computing
CN112181602A (en) * 2020-10-23 2021-01-05 济南浪潮数据技术有限公司 Resource arranging method and device, electronic equipment and storage medium
CN112463363A (en) * 2020-11-06 2021-03-09 苏州浪潮智能科技有限公司 Resource arranging method, device, equipment and storage medium
CN112988752A (en) * 2021-03-29 2021-06-18 北京大米科技有限公司 Resource management method, device, storage medium and electronic equipment
CN113157267A (en) * 2021-04-24 2021-07-23 中国海洋大学 Open type resource management model and construction method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640613B (en) * 2009-09-11 2012-01-25 中兴通讯股份有限公司 Method and device for network resource relating management
US9848041B2 (en) * 2015-05-01 2017-12-19 Amazon Technologies, Inc. Automatic scaling of resource instance groups within compute clusters
US11513864B2 (en) * 2018-03-22 2022-11-29 Amazon Technologies, Inc. Adoption of existing virtual computing resources into logical containers for management operations
US11403280B2 (en) * 2019-09-25 2022-08-02 Salesforce.Com, Inc. Master data management technologies

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6725456B1 (en) * 1999-11-29 2004-04-20 Lucent Technologies Inc. Methods and apparatus for ensuring quality of service in an operating system
CN102576354A (en) * 2009-07-31 2012-07-11 电子湾有限公司 Extensible framework to support different deployment architectures
CN102142105A (en) * 2010-01-28 2011-08-03 镇江金钛软件有限公司 Enterprise cluster distributed cooperative operation system
CN102420697A (en) * 2011-09-07 2012-04-18 北京邮电大学 Service-configurable comprehensive resource monitoring managing system and method
CN111859463A (en) * 2014-09-13 2020-10-30 先进元素科技公司 Method and system for secure and reliable identification based computing
CN107743611A (en) * 2015-04-29 2018-02-27 微软技术许可有限责任公司 The optimum allocation of dynamic cloud computing platform resource
CN109997114A (en) * 2016-10-07 2019-07-09 康维达无线有限责任公司 Service layer's resource management for general intercommunication and scalability
CN110583005A (en) * 2017-05-02 2019-12-17 纳木技术株式会社 Cloud platform system
CN108810094A (en) * 2018-05-17 2018-11-13 江苏容源电力设备有限公司 A kind of electric system based on grid system
CN111800462A (en) * 2020-05-28 2020-10-20 中国平安财产保险股份有限公司 Micro-service instance processing method and device, computer equipment and storage medium
CN112181602A (en) * 2020-10-23 2021-01-05 济南浪潮数据技术有限公司 Resource arranging method and device, electronic equipment and storage medium
CN112463363A (en) * 2020-11-06 2021-03-09 苏州浪潮智能科技有限公司 Resource arranging method, device, equipment and storage medium
CN112988752A (en) * 2021-03-29 2021-06-18 北京大米科技有限公司 Resource management method, device, storage medium and electronic equipment
CN113157267A (en) * 2021-04-24 2021-07-23 中国海洋大学 Open type resource management model and construction method thereof

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A Multi-agent Based Load Balancing Framework in Cloud Environment;Jiadong Zhang等;《2016 9th International Symposium on Computational Intelligence and Design (ISCID)》;全文 *
基于动态自组织网络的云资源管理系统的设计与实现;张凯;《中国优秀硕士学位论文全文数据库 信息科技辑》;全文 *
物联网通用资源管理平台设计与实现;高乐;《中国优秀硕士学位论文全文数据库 信息科技辑》;全文 *

Also Published As

Publication number Publication date
CN113626189A (en) 2021-11-09

Similar Documents

Publication Publication Date Title
US9734247B2 (en) Topology service using closure tables and metagraphs
CN1645841B (en) Adaptive dispatch of received messages to code using inter-positioned message modification
CN101802815B (en) Data-driven synchronization
CN110888736A (en) Application management method and system based on container cloud platform and related components
CN113626189B (en) Method, device and medium for constructing resource management model
CN115964646A (en) Heterogeneous graph generation for application microservices
US10007879B2 (en) Authoring system for assembling clinical knowledge
US20190188259A1 (en) Decomposing composite product reviews
US11184251B2 (en) Data center cartography bootstrapping from process table data
CN111698326B (en) Method and device for determining cost attribution of cloud service resources
US10241816B2 (en) Tag inheritance
CN1645856B (en) Deterministic rule-based dispatch of objects to code
CN115793911A (en) Data processing method and device, electronic equipment and storage medium
Rasouli Kenari et al. A hyper-heuristic selector algorithm for cloud computing scheduling based on workflow features
US10176000B2 (en) Dynamic assistant for applications based on pattern analysis
CN117859309A (en) Automatically selecting a node on which to perform a task
US11651235B2 (en) Generating a candidate set of entities from a training set
US11288291B2 (en) Method and system for relation discovery from operation data
US20230110520A1 (en) Ui service package generation and registration method and apparatus, and ui service loading method and apparatus
KR102651294B1 (en) Method for assisting collect information about screen component
US11599357B2 (en) Schema-based machine-learning model task deduction
CN108923973B (en) Monitoring method and device
US20210286819A1 (en) Method and System for Operation Objects Discovery from Operation Data
US10664378B2 (en) Visualizing a user-centric stack frame graph
CN114626556A (en) Resource management method and device of target system, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant