CN115904720A - Resource group generation method, device, equipment and storage medium - Google Patents

Resource group generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN115904720A
CN115904720A CN202211559614.4A CN202211559614A CN115904720A CN 115904720 A CN115904720 A CN 115904720A CN 202211559614 A CN202211559614 A CN 202211559614A CN 115904720 A CN115904720 A CN 115904720A
Authority
CN
China
Prior art keywords
resource group
resource
identification information
type
page
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
CN202211559614.4A
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.)
Shanghai Pudong Development Bank Co Ltd
Original Assignee
Shanghai Pudong Development Bank 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 Shanghai Pudong Development Bank Co Ltd filed Critical Shanghai Pudong Development Bank Co Ltd
Priority to CN202211559614.4A priority Critical patent/CN115904720A/en
Publication of CN115904720A publication Critical patent/CN115904720A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a resource group generation method, a device, equipment and a storage medium. The method comprises the following steps: acquiring resource group identification information and a newly added type input by a user; if the newly added type is the first type, cluster module configuration information corresponding to the resource group identification information is obtained; according to the technical scheme, the resource group is generated according to the resource group identification information and the cluster module configuration information corresponding to the resource group identification information, the put-in-production resource information can be quickly acquired, and the efficiency and the accuracy of EOS project collection integration requirements are improved.

Description

Resource group generation method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a resource group generation method, a resource group generation device, resource group generation equipment and a storage medium.
Background
The goal of the EOS project is to implement an operating system-like blockchain architecture that supports distributed applications. The EOS project integration requirement table is composed of resource groups.
In the prior art, in the collection stage of the EOS project integration requirement table, upgrade information is often configured on the resources already put into production, and project groups are also required to supplement information related to the resources already put into production. Because the collection of the integrated requirement table data relates to more operation and maintenance resources, multi-party personnel coordination is involved, a project group needs to be developed, and an operation and maintenance manager needs to verify the resources which are put into production in the early stage, the collection burden of the project group personnel is increased, and a large amount of time cost and labor cost are consumed.
Disclosure of Invention
The embodiment of the invention provides a resource group generation method, a resource group generation device, equipment and a storage medium, which can quickly acquire the information of the resources which are put into production and improve the high efficiency and the accuracy of the EOS project collection integration requirement.
According to an aspect of the present invention, there is provided a resource group generation method, including:
acquiring resource group identification information and a newly added type input by a user;
if the newly added type is the first type, cluster module configuration information corresponding to the resource group identification information is obtained;
and generating the resource group according to the resource group identification information and the cluster module configuration information corresponding to the resource group identification information.
Further, acquiring resource group identification information and a new type input by a user includes:
responding to a preset trigger operation, and displaying a task detail page;
responding to the trigger operation of a requirement filling control corresponding to the target system name in the task detail page, and displaying a resource group detail page;
responding to the trigger operation of a newly-built resource group control on the resource group detail page, and displaying a newly-built resource group page;
and responding to the detected editing operation aiming at the newly-built resource group page, and acquiring the resource group identification information and the newly-added type input by the user.
Further, the method also comprises the following steps:
if the new type is not the first type, acquiring at least one of a resource type, a deployment place, a deployment machine room, a network area, a service directory, a service quantity, an OS type, a cluster mode, a host name prefix, a host name initial ID and software identification information input by a user;
and generating resource groups according to the resource group identification information and the newly added type input by the user and at least one of the resource type, the deployment site, the deployment machine room, the network area, the service directory, the host number, the OS type, the cluster mode, the host name prefix, the host name initial ID and the software identification information.
Further, the method also comprises the following steps:
responding to the trigger operation of a resource detail reporting control corresponding to the target resource group on the resource group detail page, and displaying a resource detail reporting page;
responding to the trigger operation of a filling control corresponding to the target resource group on the resource detail item filling page, and displaying a resource detail item editing page;
acquiring resource detail item information input by a user in response to the detection of the editing operation aiming at the resource detail item editing interface;
and generating resource detailed items corresponding to the target resource group according to the resource detailed item information input by the user.
Further, the method also comprises the following steps:
responding to the trigger operation of the editing control corresponding to the target resource group on the resource group detail page, and displaying a resource group editing page;
acquiring edited resource information in response to the detection of the editing operation aiming at the resource group editing page;
and responding to the trigger operation of the storage control aiming at the resource group editing page, and updating the target resource group according to the edited resource information.
According to another aspect of the present invention, there is provided a resource group generation apparatus including:
the first acquisition module is used for acquiring resource group identification information and a newly added type input by a user;
the second obtaining module is used for obtaining cluster module configuration information corresponding to the resource group identification information if the newly added type is the first type;
and the first resource group generation module is used for generating the resource groups according to the resource group identification information and the cluster module configuration information corresponding to the resource group identification information.
Further, the first obtaining module is specifically configured to:
responding to a preset trigger operation, and displaying a task detail page;
responding to the trigger operation of a requirement filling control corresponding to the target system name in the task detail page, and displaying a resource group detail page;
responding to the trigger operation of a newly-built resource group control on the resource group detail page, and displaying a newly-built resource group page;
and responding to the detected editing operation aiming at the newly-built resource group page, and acquiring the resource group identification information and the newly-added type input by the user.
Further, the method also comprises the following steps:
the third obtaining module is used for obtaining at least one of resource type, deployment place, deployment machine room, network area, service directory, quantity, OS type, cluster mode, host name prefix, host name initial ID and software identification information input by a user if the new type is not the first type;
and the second resource group generation module is used for generating resource groups according to the resource group identification information and the added type input by the user and at least one of the resource type, the deployment site, the deployment machine room, the network region, the service directory, the host number, the OS type, the cluster mode, the host name prefix, the host name initial ID and the software identification information.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the resource group generation method according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement the resource group generation method according to any one of the embodiments of the present invention when the computer instructions are executed.
The embodiment of the invention obtains the resource group identification information and the newly added type input by a user; if the newly added type is the first type, cluster module configuration information corresponding to the resource group identification information is obtained; and generating a resource group according to the resource group identification information and the cluster module configuration information corresponding to the resource group identification information, so that the put-in-production resource information can be quickly acquired, and the efficiency and accuracy of the EOS project collection integration requirement are improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a flowchart of a resource group generation method in an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a resource group generation apparatus in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device in an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It is understood that before the technical solutions disclosed in the embodiments of the present disclosure are used, the type, the use range, the use scene, etc. of the personal information related to the present disclosure should be informed to the user and obtain the authorization of the user through a proper manner according to the relevant laws and regulations.
Example one
Fig. 1 is a flowchart of a resource group generating method provided in an embodiment of the present invention, where this embodiment is applicable to a situation of resource group generation, and the method may be executed by a resource group generating apparatus in an embodiment of the present invention, where the apparatus may be implemented in a software and/or hardware manner, as shown in fig. 1, the method specifically includes the following steps:
and S110, acquiring resource group identification information and a new type input by a user.
The new type can be a synchronous new increase of opening or a synchronous new increase of closing. The step of starting the synchronous new increase refers to the step of automatically synchronizing the resource configuration which is put into production in the configuration management system to the online integration demand portal.
The resource group identification information may be a name of a cluster module, and for example, the resource group identification information may be a database server and a cloud PaaS server of an ITM cluster in the unified operation and maintenance platform system.
Specifically, the manner of acquiring the resource group identification information and the new type input by the user may be: responding to a preset trigger operation, and displaying a task detail page; responding to the trigger operation of a requirement filling control corresponding to the target system name in the task detail page, and displaying a resource group detail page; responding to the trigger operation of a newly-built resource group control on the resource group detail page, and displaying a newly-built resource group page; and responding to the detected editing operation aiming at the newly-built resource group page, and acquiring the resource group identification information and the newly-added type input by the user.
And S120, if the newly added type is the first type, obtaining cluster module configuration information corresponding to the resource group identification information.
The cluster module configuration information is the configuration information of the cluster modules which are put into production in the configuration management system. In addition, the configuration management system stores the resource configuration already put into production in advance, and for example, the configuration management system may store: configuration information of a system that has been commissioned, the configuration information of the system that has been commissioned including: configuration information of the commissioned cluster, the configuration information of the commissioned cluster comprising: configuration information of the commissioned cluster modules.
Specifically, if the newly added type is the first type, cluster module configuration information corresponding to the resource group identification information is obtained. For example, if the new addition type is the start-up synchronization addition, a query request is sent to the configuration management system according to the resource group identification information, the query request carries the resource group identification information, and the configuration management system searches the cluster module configuration information corresponding to the resource group identification information according to the resource group identification information carried in the query request and returns the cluster module configuration information corresponding to the resource group identification information.
And S130, generating the resource group according to the resource group identification information and the cluster module configuration information corresponding to the resource group identification information.
Specifically, the manner of generating the resource group according to the resource group identification information and the cluster module configuration information corresponding to the resource group identification information may be: the cluster module configuration information corresponding to the resource group identification information includes: resource group identification information, resource type, deployment location, deployment room, network region, service directory, number of services, OS type, cluster mode, hostname prefix, hostname start ID, software identification information, and resource usage. The manner of generating the resource group according to the resource group identification information and the cluster module configuration information corresponding to the resource group identification information may also be: and querying a configuration management system according to the resource group identification information to obtain data of resource details constituting the resource group, and generating the resource group according to cluster module configuration information corresponding to the resource group identification information, the data of the resource details constituting the resource group and the resource group identification information.
For example, if the new type is to start synchronous new addition, the cluster module configuration information corresponding to the resource group identification information is synchronized to the online integration requirement, and a resource group is generated according to the resource group identification information and the cluster module configuration information corresponding to the resource group identification information.
It should be noted that, the way to newly configure resource items in the already-put-in-production resource group may be: responding to the trigger operation of the resource detail filling control on the resource group detail page, and displaying the resource detail filling page; responding to the trigger operation of a filling control corresponding to the target resource group on the resource detail item filling page, and displaying a resource detail item editing page; acquiring resource detail item information input by a user in response to the detection of the editing operation aiming at the resource detail item editing interface; and newly adding the resource detail items corresponding to the target resource group according to the resource detail item information input by the user.
Optionally, the obtaining of the resource group identifier information and the new type input by the user includes:
responding to a preset trigger operation, and displaying a task detail page;
responding to the trigger operation of a requirement filling control corresponding to the target system name in the task detail page, and displaying a resource group detail page;
responding to the trigger operation of a newly-built resource group control on the resource group detail page, and displaying a newly-built resource group page;
and responding to the detected editing operation aiming at the newly-built resource group page, and acquiring the resource group identification information and the newly-added type input by the user.
Wherein the task detail page includes: a task list, wherein the task list comprises: the task list comprises a task number, a project name, a system name, an application responsible person, a system responsible person, online time and a creator, and it needs to be explained that each task in the task list can be modified by clicking a modification control or newly adding a resource group by clicking a demand filling control.
Wherein the resource group details page comprises: a resource group list, the resource group list comprising: resource group identification information, resource type, deployment site, deployment room, network region, service directory, number of services, OS type, cluster mode, hostname prefix, hostname start ID, and software identification information. It should be noted that each resource group in the resource group list can be edited by clicking the editing control, copied by clicking the copying control, and deleted by clicking the deleting control.
It should be noted that the user may perform the search for the resource group by inputting at least one of the resource group identification information, the resource type, the deployment location, the OS type, and the software identification information on the resource group detail page. The user can also export all resource groups in the resource group detail page by clicking the export integration requirement table space in the resource group detail page.
The new resource group page comprises the following steps: the resource group identification information, the resource type, the deployment location, the deployment machine room, the network region, the service directory, the service quantity, the OS type, the cluster mode, the host name prefix, the host name start ID, and the filling region of the software identification information may be manually input by the user or selected through a drop-down box, which is not limited in the embodiment of the present invention.
It should be noted that, if the new type is the first type, after the user inputs resource group identification information, the resource type, the deployment location, the deployment machine room, the network region, the service directory, the number of services, the OS type, the cluster mode, the host name prefix, the host name initial ID, the software identification information, and the like, are automatically filled according to cluster module configuration information corresponding to the resource group identification information, and after the user clicks a storage control of a new resource group page, a resource group is generated according to the user input resource group identification information and the cluster module configuration information corresponding to the resource group identification information.
Optionally, the method further includes:
if the new type is not the first type, acquiring at least one of a resource type, a deployment place, a deployment machine room, a network area, a service directory, a service quantity, an OS type, a cluster mode, a host name prefix, a host name initial ID and software identification information input by a user;
and generating resource groups according to the resource group identification information and the added type input by the user and at least one of the resource type, the deployment site, the deployment machine room, the network area, the service directory, the host number, the OS type, the cluster mode, the host name prefix, the host name initial ID and the software identification information.
It should be noted that, if the new type is not the first type, it is indicated that the new resource group is an unproductive resource group, and all the contents need to be filled.
Optionally, when a resource group is newly added, the user can fill in the resource usage on the page of the newly added resource group according to the requirement.
Optionally, the method further includes:
responding to the trigger operation of a resource detail reporting control corresponding to the target resource group on the resource group detail page, and displaying a resource detail reporting page;
responding to the trigger operation of a filling control corresponding to the target resource group on the resource detail item filling page, and displaying a resource detail item editing page;
acquiring resource detail item information input by a user in response to the detection of the editing operation aiming at the resource detail item editing interface;
and generating resource detailed items corresponding to the target resource group according to the resource detailed item information input by the user.
And the resource detail item filling control can be displayed in the vicinity of the newly-built resource group control.
The display content of the resource detail report page is related to a target resource group, and for example, the resource detail report page may include: an example basic information filling area and a personalized configuration filling area.
It should be noted that, if the new type of the target resource group is the first type, the resource detail editing page includes: resource details for the commissioned resource group. The user can add new resource details according to the requirement. And if the newly-added type of the target resource group is not the first type, the user is required to fill in the resource details of the target resource group.
Specifically, after the resource details of the resource groups in the resource group list are all filled, the integrated demand table is generated based on the resource groups in the resource group list.
Optionally, the method further includes:
responding to the trigger operation of the editing control corresponding to the target resource group on the resource group detail page, and displaying a resource group editing page;
acquiring edited resource information in response to the detection of the editing operation aiming at the resource group editing page;
and responding to the trigger operation of the storage control aiming at the resource group editing page, and updating the target resource group according to the edited resource information.
The editing operation may be an operation of modifying resource group identification information, a newly added type, and at least one of a resource type, a deployment location, a deployment machine room, a network region, a service directory, the number of hosts, an OS type, a cluster mode, a host name prefix, a host name start ID, and software identification information.
The technical scheme provided by the embodiment of the invention relieves the burden brought by the collection of the EOS project integration requirement, and combines with configuration management to automatically synchronize the put-in-service resource configuration to the on-line integration requirement portal and reversely generate the preliminary integration requirement table, so that the user can improve the requirement filling quality by supplementing the configuration to be modified on the basis of the preliminary integration requirement table.
In a specific example, a user fills in EOS project demand resources according to online integrated demands, when resource groups are filled and reported, configuration information of cluster modules is synchronized to online integrated demands by selecting a system name which is put into production and matching the cluster and the module with the system name which is put into production in a configuration management system, and after taking configuration information of the resource groups in an integrated demand table, the user can select resource groups which need to be changed in configuration and update configuration items on the resource groups. And after the resource group is changed, synchronously generating resource items in the resource group. It should be noted that, according to the selected resource group, the resource configuration information under the cluster and the module in the configuration management is matched, the resource configuration information is synchronously provided for the online integrated requirement, after the integrated requirement table takes the resource configuration information, the user can update the original resource again if modifying the original resource, if a resource item is added on the original resource group, the newly added resource configuration information is supplemented, and the integrated requirement table distinguishes the update of the original resource item and the newly added resource item and provides the new resource item for the subsequent resource leader and the implementation manager.
According to the technical scheme of the embodiment, the resource group identification information and the new type input by a user are acquired; if the newly added type is the first type, cluster module configuration information corresponding to the resource group identification information is obtained; and generating a resource group according to the resource group identification information and the cluster module configuration information corresponding to the resource group identification information, so that the put-in-production resource information can be quickly acquired, and the efficiency and accuracy of the EOS project collection integration requirement are improved.
Example two
Fig. 2 is a schematic structural diagram of a resource group generating apparatus according to an embodiment of the present invention. The present embodiment may be applicable to the situation of resource group generation, the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be integrated in any device that provides a resource group generation function, as shown in fig. 2, where the resource group generation apparatus specifically includes: a first acquisition module 210, a second acquisition module 220, and a first resource group generation module 230.
The first acquisition module is used for acquiring resource group identification information and a newly added type input by a user;
the second obtaining module is used for obtaining cluster module configuration information corresponding to the resource group identification information if the newly added type is the first type;
and the first resource group generation module is used for generating the resource groups according to the resource group identification information and the cluster module configuration information corresponding to the resource group identification information.
Optionally, the first obtaining module is specifically configured to:
responding to a preset trigger operation, and displaying a task detail page;
responding to the trigger operation of a requirement filling control corresponding to the target system name in the task detail page, and displaying a resource group detail page;
responding to the trigger operation of a newly-built resource group control on the resource group detail page, and displaying a newly-built resource group page;
and responding to the detected editing operation aiming at the newly-built resource group page, and acquiring the resource group identification information and the newly-added type input by the user.
Optionally, the method further includes:
a third obtaining module, configured to obtain at least one of a resource type, a deployment location, a deployment machine room, a network area, a service directory, a quantity, an OS type, a cluster mode, a host name prefix, a host name start ID, and software identification information, which are input by a user, if the new type is not the first type;
and the second resource group generation module is used for generating resource groups according to the resource group identification information and the newly added type input by the user and at least one of the resource type, the deployment site, the deployment machine room, the network region, the service directory, the host number, the OS type, the cluster mode, the host name prefix, the host name initial ID and the software identification information.
The product can execute the method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
According to the technical scheme of the embodiment, the resource group identification information and the newly added type input by a user are acquired; if the newly added type is the first type, cluster module configuration information corresponding to the resource group identification information is obtained; and generating a resource group according to the resource group identification information and the cluster module configuration information corresponding to the resource group identification information, so that the put-in-production resource information can be quickly acquired, and the efficiency and accuracy of the EOS project collection integration requirement are improved.
EXAMPLE III
FIG. 3 illustrates a block diagram of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 3, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, and the like, wherein the memory stores a computer program executable by the at least one processor, and the processor 11 can perform various suitable actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from a storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data necessary for the operation of the electronic apparatus 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to the bus 14.
A number of components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, or the like; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The processor 11 performs the various methods and processes described above, such as the resource group generation method:
acquiring resource group identification information and a new type input by a user;
if the newly added type is the first type, cluster module configuration information corresponding to the resource group identification information is obtained;
and generating the resource group according to the resource group identification information and the cluster module configuration information corresponding to the resource group identification information.
In some embodiments, the resource group generation method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the resource group generation method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the resource group generation method by any other suitable means (e.g. by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for generating a resource group, comprising:
acquiring resource group identification information and a newly added type input by a user;
if the newly added type is the first type, cluster module configuration information corresponding to the resource group identification information is obtained;
and generating the resource group according to the resource group identification information and the cluster module configuration information corresponding to the resource group identification information.
2. The method of claim 1, wherein obtaining resource group identification information and new addition type input by a user comprises:
responding to a preset trigger operation, and displaying a task detail page;
responding to the trigger operation of a requirement filling control corresponding to the target system name in the task detail page, and displaying a resource group detail page;
responding to the trigger operation of a newly-built resource group control on the resource group detail page, and displaying a newly-built resource group page;
and responding to the detected editing operation aiming at the newly-built resource group page, and acquiring the resource group identification information and the newly-added type input by the user.
3. The method of claim 1, further comprising:
if the newly added type is not the first type, acquiring at least one of a resource type, a deployment site, a deployment machine room, a network area, a service directory, a service quantity, an OS type, a cluster mode, a host name prefix, a host name initial ID and software identification information input by a user;
and generating resource groups according to the resource group identification information and the newly added type input by the user and at least one of the resource type, the deployment site, the deployment machine room, the network area, the service directory, the host number, the OS type, the cluster mode, the host name prefix, the host name initial ID and the software identification information.
4. The method of claim 3, further comprising:
responding to the trigger operation of a detailed resource filling control corresponding to the target resource group on the resource group detail page, and displaying a detailed resource filling page;
responding to the trigger operation of a filling control corresponding to the target resource group on the resource detail item filling page, and displaying a resource detail item editing page;
acquiring resource detail item information input by a user in response to the detection of the editing operation aiming at the resource detail item editing interface;
and generating resource detailed items corresponding to the target resource group according to the resource detailed item information input by the user.
5. The method of claim 2, further comprising:
responding to the trigger operation of the editing control corresponding to the target resource group on the resource group detail page, and displaying a resource group editing page;
acquiring edited resource information in response to the detection of the editing operation aiming at the resource group editing page;
and responding to the trigger operation of the storage control aiming at the resource group editing page, and updating the target resource group according to the edited resource information.
6. A resource group generation apparatus, comprising:
the first acquisition module is used for acquiring resource group identification information and a newly added type input by a user;
the second obtaining module is used for obtaining cluster module configuration information corresponding to the resource group identification information if the newly added type is the first type;
and the first resource group generation module is used for generating the resource groups according to the resource group identification information and the cluster module configuration information corresponding to the resource group identification information.
7. The apparatus of claim 6, wherein the first obtaining module is specifically configured to:
responding to a preset trigger operation, and displaying a task detail page;
responding to the trigger operation of a requirement filling control corresponding to the target system name in the task detail page, and displaying a resource group detail page;
responding to the trigger operation of a newly-built resource group control on the resource group detail page, and displaying a newly-built resource group page;
and responding to the detected editing operation aiming at the newly-built resource group page, and acquiring the resource group identification information and the newly-added type input by the user.
8. The apparatus of claim 6, further comprising:
the third obtaining module is used for obtaining at least one of resource type, deployment place, deployment machine room, network area, service directory, quantity, OS type, cluster mode, host name prefix, host name initial ID and software identification information input by a user if the new type is not the first type;
and the second resource group generation module is used for generating resource groups according to the resource group identification information and the newly added type input by the user and at least one of the resource type, the deployment site, the deployment machine room, the network region, the service directory, the host number, the OS type, the cluster mode, the host name prefix, the host name initial ID and the software identification information.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the resource group generation method of any of claims 1-5.
10. A computer-readable storage medium having stored thereon computer instructions for causing a processor to execute a method for resource group generation as defined in any one of claims 1-5.
CN202211559614.4A 2022-12-06 2022-12-06 Resource group generation method, device, equipment and storage medium Pending CN115904720A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211559614.4A CN115904720A (en) 2022-12-06 2022-12-06 Resource group generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211559614.4A CN115904720A (en) 2022-12-06 2022-12-06 Resource group generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115904720A true CN115904720A (en) 2023-04-04

Family

ID=86489453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211559614.4A Pending CN115904720A (en) 2022-12-06 2022-12-06 Resource group generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115904720A (en)

Similar Documents

Publication Publication Date Title
CN113076186B (en) Task processing method, device, electronic equipment and storage medium
CN116860751A (en) Data processing method and device, electronic equipment and storage medium
CN115543423A (en) Method, device and equipment for generating benchmarks and storage medium
CN115454971A (en) Data migration method and device, electronic equipment and storage medium
CN116089739A (en) Message pushing method, device, electronic equipment and storage medium
CN115904720A (en) Resource group generation method, device, equipment and storage medium
CN114741072B (en) Page generation method, device, equipment and storage medium
CN117113942B (en) Model synchronization method and device, electronic equipment and storage medium
CN115202538B (en) Menu configuration method and device, electronic equipment and storage medium
CN115687529A (en) Data synchronization method and device, electronic equipment and storage medium
CN118394323A (en) Visual control processing method, device, equipment and medium
CN111639032B (en) Method and apparatus for testing applications
CN114416040A (en) Page construction method, device, equipment and storage medium
CN114564133A (en) Application program display method, device, equipment and medium
CN115033270A (en) Multi-domain-based software management method, device, equipment and storage medium
CN114996243A (en) Database operation method and device, electronic equipment and storage medium
CN117076048A (en) Container application starting method and device, storage medium and electronic equipment
CN116107700A (en) Cluster monitoring deployment method and device, electronic equipment and storage medium
CN114546478A (en) Method, device, equipment and medium for updating code and database version
CN115951921A (en) Service processing method, device and storage medium
CN115510838A (en) Template generation method and device, electronic equipment and storage medium
CN117596141A (en) Message assembling method, device, equipment and storage medium
CN117271667A (en) Data reading method and device, electronic equipment and storage medium
CN115098520A (en) Device data updating method and device, electronic device and storage medium
CN118093048A (en) Multi-module starting management method, device, equipment and 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