CN114116847A - Centralized management method and device for multi-region service, electronic equipment and storage medium - Google Patents
Centralized management method and device for multi-region service, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114116847A CN114116847A CN202111436098.1A CN202111436098A CN114116847A CN 114116847 A CN114116847 A CN 114116847A CN 202111436098 A CN202111436098 A CN 202111436098A CN 114116847 A CN114116847 A CN 114116847A
- Authority
- CN
- China
- Prior art keywords
- computing service
- target
- performance
- query request
- node
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2458—Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
- G06F16/2471—Distributed queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/248—Presentation of query results
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- Fuzzy Systems (AREA)
- Mathematical Physics (AREA)
- Probability & Statistics with Applications (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a centralized management method and device for multi-region services, electronic equipment and a storage medium. The method comprises the following steps: generating a target node query request of a high-performance elastic computing service node in a target management area by adopting a front-end component; scheduling and forwarding a target node query request to at least part of high-performance elastic computing service nodes in a target management area by adopting a scheduling component so as to indicate to return a query result of the high-performance elastic computing service nodes; and displaying the query result returned by the high-performance elastic computing service node by adopting a response component. By adopting the scheme, the unified management and query entry is provided, the problems of resource decentralized management, repeated login and low query efficiency are solved, and the unified management and query of the high-performance flexible computing service nodes of different versions in different management areas are realized.
Description
Technical Field
The embodiment of the invention relates to the technical field of cloud computing, in particular to a centralized management method and device for multi-region services, electronic equipment and a storage medium.
Background
With the continuous increase of the scale of cloud services, cloud host nodes distributed in the world are continuously increased, the distribution area is wide, new areas are continuously expanded, different service versions may appear in high-performance flexible computing services in different areas according to different user requirements, data management of the high-performance flexible computing services in different versions in different areas becomes difficult, and the problems of unified management incapability and poor compatibility exist.
Disclosure of Invention
The embodiment of the invention provides a centralized management method and device for multi-region services, electronic equipment and a storage medium, so as to realize the unified management of high-performance flexible computing services of different regions and versions and improve the compatibility.
In a first aspect, an embodiment of the present invention provides a centralized management method for multi-region services, where the method includes:
generating a target node query request of a high-performance elastic computing service node in a target management area by adopting a front-end component;
scheduling and forwarding a target node query request to at least part of high-performance elastic computing service nodes in a target management area by adopting a scheduling component so as to indicate to return a query result of the high-performance elastic computing service nodes;
and displaying the query result returned by the high-performance elastic computing service node by adopting a response component.
In a second aspect, an embodiment of the present invention further provides a centralized management apparatus for multi-region services, where the apparatus includes:
the front-end component module is used for generating a target node query request of a high-performance elastic computing service node in a target management area by adopting the front-end component;
the scheduling component module is used for scheduling and forwarding a target node query request to at least part of high-performance elastic computing service nodes in a target management area by adopting a scheduling component so as to indicate to return a query result of the high-performance elastic computing service nodes;
and the response component module is used for displaying the query result returned by the high-performance elastic computing service node by adopting the response component.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processing devices;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processing devices, the one or more processing devices are enabled to implement the centralized management method for the multi-region service as provided in any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processing apparatus, implements the centralized management method for multi-region services as provided in any of the embodiments of the present invention.
The embodiment of the invention provides a centralized management method of multi-region service, which adopts a front end component to generate a target node query request of a high-performance elastic calculation service node in a target management region; scheduling and forwarding a target node query request to at least part of high-performance elastic computing service nodes in a target management area by adopting a scheduling component so as to indicate to return a query result of the high-performance elastic computing service nodes; and displaying the query result returned by the high-performance elastic computing service node by adopting a response component. By adopting the scheme, the unified management and query entry is provided, the problems of resource decentralized management, repeated login and low query efficiency are solved, and the unified management and query of the high-performance flexible computing service nodes of different versions in different management areas are realized.
The above summary of the present invention is merely an overview of the technical solutions of the present invention, and the present invention can be implemented in accordance with the content of the description in order to make the technical means of the present invention more clearly understood, and the above and other objects, features, and advantages of the present invention will be more clearly understood.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart of a centralized management method for multi-region services provided in an embodiment of the present invention;
fig. 2 is a schematic diagram of a centralized management page of a multi-region service provided in an embodiment of the present invention;
fig. 3 is a flowchart of another centralized management method for multi-region services provided in an embodiment of the present invention;
fig. 4 is a block diagram of a centralized management apparatus for multi-zone services according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations (or steps) can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Hereinafter, a centralized management method, an apparatus, an electronic device, and a storage medium for multi-region services provided in the present application will be described in detail by the following embodiments and alternatives thereof.
Fig. 1 is a flowchart of a centralized management method for multi-region services according to an embodiment of the present invention. The embodiment of the invention can be suitable for uniformly managing the high-performance elastic computing service nodes in different areas. The method can be executed by a centralized management device of a multi-region service, which can be implemented in a software and/or hardware manner and integrated on any electronic equipment with a network communication function. As shown in fig. 1, the centralized management method for multi-region services provided in the embodiment of the present application may include the following steps:
s110, generating a target node query request for the high-performance elastic computing service node in the target management area by adopting the front-end component.
Referring to fig. 2, the front-end component may be provided with a paged query portal which is deployed through the front-end visualization framework and is used for selecting a management area, and a user may input a management area to be queried and managed and a high-performance elastic computing service node under the corresponding management area through the paged query portal. Wherein, the front-end visualization framework can be a VUE front-end visualization development tool.
Optionally, the high-performance elastic computing service node is constructed based on a cloud computing framework cloud Stack with high availability and expansibility; for example, a high performance resilient compute service node may be a cloudstock protocol compliant interface for managing a pool of compute resources and supporting large scale computing nodes. The cloud computing framework cloudstock is an open-source cloud computing platform with high availability and extensibility, for example, the cloud computing platform is compatible with open-source cloudstock multi-version management and supports multiple versions of cloudstock 4.8-4.15.
Referring to fig. 2, the target management area may be one or more areas selected from a plurality of areas, and the different areas may be divided by regions. The front-end component can generate target node query requests for checking and managing different high-performance elastic computing service nodes in a target management area according to the target management area input by a user through a page query entry, so that the different high-performance elastic computing service nodes in the target management area are uniformly and intensively checked and managed, and the problems of resource dispersion management, repeated login and low query efficiency are solved.
The application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The electronic device mentioned above may be a terminal device, a server, and the like, and the server may be an independent server, or a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), and a big data and artificial intelligence platform.
And S120, scheduling and forwarding the target node query request to at least part of the high-performance elastic computing service nodes in the target management area by adopting a scheduling component so as to indicate to return a query result of the high-performance elastic computing service nodes.
When the centralized display of the data of the high-performance elastic computing service nodes is realized, if a centralized library scheme is adopted, the data of the high-performance elastic computing service nodes in each region need to be synchronized to the centralized library in real time, a data interruption scene exists, such as node version upgrading, operation related to the change of a database table structure can cause synchronous interruption, manual intervention is needed to restore synchronization, and a user cannot inquire the latest data; and the synchronization of the database tables needs to know the bottom table structure of the high-performance elastic computing service node, so that the difficulty is high.
Based on the analysis, after the target node query request generated by the front-end component is obtained, the set scheduling component can be used for scheduling and forwarding to different high-performance elastic computing service nodes in the target management area, data can be directly acquired from the high-performance elastic computing service nodes in real time based on the target node query request forwarding, and meanwhile, the data can be acquired again after the version of the high-performance elastic computing service nodes is upgraded through the target node query request. Therefore, the data can be obtained again after version upgrading is completed based on request forwarding, the latest data can be inquired without manual intervention, the data is not temporarily stored, and the data inquiry is not delayed.
And S130, displaying the query result returned by the high-performance elastic computing service node by adopting a response component.
In a possible implementation manner of this embodiment, displaying the query result returned by the high-performance resilient computing service node may include the following steps:
and configuring the query result into a query result in a preset format for displaying according to the node version of the high-performance elastic computing service node corresponding to the returned query result so as to carry out multi-version compatibility shielding of the bottom-layer version difference.
The versions of the high-performance resilient computing service nodes in different areas may be different, and the versions of different high-performance resilient computing service nodes in the same area may also be different, so that after the response component receives the query result returned by the high-performance resilient computing service node in the target management area, it is required to detect whether the version type of the high-performance resilient computing service node meets the requirement of the preset format. If the version type of the high-performance elastic computing service node meets the preset format requirement, the query result returned by the high-performance elastic computing service node is selected to be transmitted and displayed; and if the version type of the high-performance elastic computing service node does not meet the requirement of the preset format, selecting the query result which is obtained by rewriting the query result returned by the high-performance elastic computing service node to be in the preset format and displaying the query result.
By adopting the optional mode, according to different versions of the high-performance elastic computing service node which is dispatched and forwarded, the synchronous version is issued through the interface transmission parameter, the transparent transmission or the rewriting response content of the returned query result is adaptively selected, the bottom version difference is shielded, the requirements of the same interface and different high-performance elastic computing service node versions are met, the uniform format content is returned, the bottom version difference is shielded, and the multi-version compatibility and the bottom version compatibility of the high-performance elastic computing service node are realized. Meanwhile, the compatible interface realizes request forwarding and response content processing, and only the stability of the API interface needs to be maintained without knowing the underlying structure.
According to the centralized management method of the multi-region service, provided by the embodiment of the invention, a unified management and query entry is provided, and a front end component is adopted to generate a target node query request of the high-performance elastic computing service node in a target management region, so that the problems of resource decentralized management, repeated login and low query efficiency are solved, and the unified management and query of the high-performance elastic computing service nodes of different versions in different management regions are realized.
Fig. 3 is a flowchart of another centralized management method for multi-region services provided in the embodiment of the present invention, and the embodiment of the present invention further optimizes the foregoing embodiment on the basis of the foregoing embodiment, and the embodiment of the present invention may be combined with various alternatives in one or more embodiments. As shown in fig. 3, the centralized management method for multi-region services provided in the embodiment of the present application may include the following steps:
s310, generating a target node query request of the high-performance elastic computing service node in the target management area by adopting the front-end component.
In a possible implementation manner of this embodiment, the generating, by the front-end component, a target node query request of a high-performance resilient computing service node in a target management area may include steps a1-a 2:
step a1, determining a target management area based on an area selection trigger operation at the front-end component.
Step A2, adding the area information of the target management area into the request head field of the preset Web request to obtain a target node query request for querying and managing different high-performance elastic computing service nodes.
Referring to fig. 2, a paged query entry provided by the front end component is correspondingly provided with a high-performance flexible computing service node management page, where the high-performance flexible computing service node management page includes a high-performance flexible computing service node control panel, and an area selection window or an area selection list for selecting a management area may be included under the high-performance flexible computing service node control panel. The selected at least one management zone may be determined by triggering a control of a zone selection window or a zone selection list. Optionally, the region selection triggering operation includes inputting one or more management regions required to be viewed and managed in the region selection window or clicking one or more management regions required to be viewed and managed in the region selection list.
After the target management area is obtained, area information (such as area marks, area addresses, area numbers and other information capable of representing area identities) of the target management area is obtained, the area information of the target management area is added into a request header field header of a preset Web request, and a node query request which accords with query management of different high-performance elastic computing service nodes is generated through the preset Web request added with the area information.
Optionally, the high-performance resilient computing service node management page may include, in addition to the high-performance resilient computing service node control panel, a window under management indexes such as an infrastructure, computation, storage, a network, a mirror image, and a service plan. Optionally, the control of the window under the management index allows the control to be selected for triggering, and the management parameters under the triggered management index are displayed on a high-performance elastic computing service node management page supported by the front-end component after triggering.
S320, extracting the area information of the target management area from the request head field of the target node query request by adopting a scheduling component.
S330, scheduling and forwarding the target node query request to at least part of high-performance elastic computing service nodes in the target management area according to the extracted area information of the target management area.
Different high-performance elastic computing service nodes can be queried in real time through the node query request, data of all the high-performance elastic computing service nodes do not need to be gathered together, the node query request is only sent to each high-performance elastic computing service node, and the high-performance elastic computing service nodes can feed back the node, so that the platform pressure is reduced. Meanwhile, the area information of the management area is placed in the header for subsequent direct extraction and use, the path and the resource of the original request are not influenced, and the clear scheduling and forwarding request is realized.
In a possible implementation manner of this embodiment, scheduling and forwarding the target node query request to at least a part of the high performance resilient computing service nodes under the target management area may include the following steps B1-B2:
and step B1, converting the target node query request by adopting an authentication component so as to ensure that the converted target node query request conforms to the preset authentication mode of the high-performance flexible computing service node.
And step B2, the converted target node query request is dispatched and forwarded to different high-performance elastic computing service nodes in the target management area.
The authentication component may include a component for performing authentication Based on jwt (json WEB token) and RBAC (Role-Based Access Control). The method for converting the target node query request by using the authentication component specifically includes: and converting the target node query request into a node query request according with a preset authentication mode of the high-performance elastic computing service node according to the Api key and the Secert key of the high-performance elastic computing service node. For example, the node query request from the front-end component is encoded into a mode of meeting the authentication and certification of the high-performance flexible computing service node according to the api-key and the secert-key of the high-performance flexible computing service node to obtain the query request meeting the requirements so as to be compatible with the api-key and the secert-key certification modes of the original high-performance flexible computing service node.
By adopting the optional mode, the node query request can be ensured to be compatible with the api-key and secert-key authentication modes of the original high-performance flexible computing service node, the bottom layer adaptation is not needed, the centralized management platform is compatible with the RBAC-based authentication and authentication, and the ECSP multi-version compatibility and the bottom layer version compatibility are realized.
In a possible implementation manner of this embodiment, scheduling and forwarding the target node query request to at least a part of the high performance resilient computing service nodes under the target management area may include steps C1-C3:
and step C1, encapsulating the target node query request by adopting a forwarding component based on a reverse proxy service built in a Golang standard library.
And step C2, the encapsulated target node query request is forwarded to different high-performance elastic computing service nodes of the target management area by adopting the traffic to respond.
And a forwarding component is also arranged in the centralized management scheme of the multi-region high-performance elastic computing service node, and the forwarding component can encapsulate a target node query request from a front-end component based on httputil.revertproxy in a Golang standard library, and forward the encapsulated target node query request as flow to different high-performance elastic computing service nodes corresponding to the target management region for response. The method is realized based on the httputil.Reversepproxy of Golang and has the characteristics of high performance and stability.
And S340, displaying the query result returned by the high-performance elastic computing service node by adopting a response component.
In a possible implementation manner of this embodiment, the authentication component may filter the parameter type of the query result of the high-performance flexible computing service node displayed by the front-end component, and control and display the management index parameter that meets the role authority. And further, according to the query result returned to the high-performance elastic computing service node, specific parameters and parameter values thereof under the management index matched with the role authority are correspondingly set in the paged query entry provided by the front-end component on the management page of the high-performance elastic computing service node.
According to the centralized management method of the multi-region service, provided by the embodiment of the invention, unified management and query entries are provided, the problems of resource decentralized management, repeated login and low query efficiency are solved, and unified management and query are realized on high-performance elastic computing service nodes of different versions in different management regions; the interface compatibility based on the node query request has the following advantages: adding the regional information to a request header to realize clear scheduling and forwarding; the method is realized based on the httputil.Reversepproxy of Golang, and has the characteristics of high performance and stability; the method is compatible with the api-key and secert-key authentication modes of the original high-performance elastic computing service node, and does not need bottom layer adaptation; the method is compatible with the RBAC-based authentication of the centralized management platform; the interface requests the rewriting of the response value, realizes the multi-version compatibility and the bottom-layer version compatibility of the high-performance flexible computing service node, and solves the problem of data isolation; the compatible interface realizes request forwarding and response content processing, does not need to know the underlying structure, and only needs to maintain the stability of the API interface; the method and the device realize the management of the nodes by crossing the high-performance elastic computing service nodes and crossing the available areas, and improve the management efficiency.
Fig. 4 is a block diagram of a centralized management apparatus for multi-zone services according to an embodiment of the present invention. The embodiment of the invention can be suitable for uniformly managing the high-performance elastic computing service nodes in different areas. The device can be implemented in software and/or hardware and integrated on any electronic equipment with network communication function. As shown in fig. 4, the centralized management apparatus for multi-region services provided in the embodiment of the present application may include the following: a front end module 410, a scheduling module 420, and a response module 430. Wherein:
a front-end module 410, configured to generate a target node query request of a high-performance resilient computing service node in a target management area by using a front-end component;
the scheduling module 420 is used for scheduling and forwarding the target node query request to at least part of the high-performance elastic computing service nodes in the target management area by adopting a scheduling component so as to indicate to return a query result of the high-performance elastic computing service nodes;
and the response module 430 is configured to display the query result returned by the high-performance resilient computing service node by using a response component.
On the basis of the above embodiment, optionally, the front-end component is provided with a paged query entry which is developed and deployed through a front-end visualization framework and is used for selecting a management area; the high-performance elastic computing service node is constructed based on a cloud computing framework CloudStack with high availability and expansibility.
On the basis of the above embodiment, optionally, the front end module 410 includes:
determining a target management area according to an area selection trigger operation on a front-end component;
and adding the area information of the target management area into a request header field of a preset Web request to obtain a target node query request for querying and managing different high-performance elastic computing service nodes.
On the basis of the foregoing embodiment, optionally, the scheduling module 420 includes:
extracting the area information of a target management area from a request header field of a target node query request by adopting a scheduling component;
and scheduling and forwarding the target node query request to at least part of high-performance elastic computing service nodes under the target management area according to the extracted area information of the target management area.
On the basis of the foregoing embodiment, optionally, scheduling and forwarding the target node query request to at least part of the high performance resilient computing service nodes in the target management area includes:
adopting an authentication component to convert the target node query request so that the converted target node query request conforms to a preset authentication mode of the high-performance elastic computing service node;
and scheduling and forwarding the converted target node query request to different high-performance elastic computing service nodes in the target management area.
On the basis of the above embodiment, optionally, the converting the target node query request by using the authentication component includes:
and converting the target node query request into a node query request according with a preset authentication mode of the high-performance elastic computing service node according to the Api key and the Secert key of the high-performance elastic computing service node.
On the basis of the foregoing embodiment, optionally, scheduling and forwarding the target node query request to at least part of the high performance resilient computing service nodes in the target management area includes:
a forwarding component is adopted to encapsulate a target node query request based on a built-in reverse proxy service in a Golang standard library;
and forwarding the encapsulated target node query request to different high-performance elastic computing service nodes of the target management area by adopting flow to respond.
On the basis of the foregoing embodiment, optionally, displaying the query result returned by the high-performance resilient computing service node includes:
and configuring the query result into a query result in a preset format for displaying according to the node version of the high-performance elastic computing service node corresponding to the returned query result so as to carry out multi-version compatibility shielding of the bottom-layer version difference.
The centralized management device for multi-region services provided in the embodiments of the present invention can execute the centralized management method for multi-region services provided in any embodiments of the present invention, and has the corresponding functions and advantages of executing the centralized management method for multi-region services.
Fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention. As shown in the drawing, the electronic device provided in the embodiment of the present invention includes: one or more processors 510 and storage 520; the processor 510 in the electronic device may be one or more, and fig. 5 illustrates one processor 510 as an example; storage 520 is used to store one or more programs; the one or more programs are executed by the one or more processors 510, so that the one or more processors 510 implement the centralized management method for a multi-region service according to any one of the embodiments of the present invention.
The electronic device may further include: an input device 530 and an output device 540.
The processor 510, the storage device 520, the input device 530 and the output device 540 in the electronic apparatus may be connected by a bus or other means, and fig. 5 illustrates an example of connection by a bus.
The storage device 520 in the electronic device is used as a computer-readable storage medium for storing one or more programs, which may be software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the centralized management method for multi-region services provided in the embodiments of the present invention. The processor 510 executes various functional applications and data processing of the electronic device by running software programs, instructions and modules stored in the storage device 520, that is, implements the centralized management method of the multi-region service in the above method embodiments.
The storage device 520 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, the storage 520 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage 520 may further include memory located remotely from the processor 510, which may be connected to the device over 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 input device 530 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. The output device 540 may include a display device such as a display screen.
And, when the one or more programs included in the electronic device are executed by the one or more processors 510, the programs perform the following operations:
generating a target node query request of a high-performance elastic computing service node in a target management area by adopting a front-end component;
scheduling and forwarding a target node query request to at least part of high-performance elastic computing service nodes in a target management area by adopting a scheduling component so as to indicate to return a query result of the high-performance elastic computing service nodes;
and displaying the query result returned by the high-performance elastic computing service node by adopting a response component.
Of course, it can be understood by those skilled in the art that when one or more programs included in the electronic device are executed by the one or more processors 510, the programs may also perform related operations in the centralized management method for multi-region services provided in any embodiment of the present invention.
An embodiment of the present invention provides a computer-readable medium having stored thereon a computer program, which when executed by a processor, is configured to perform a centralized management method for a multi-zone service, the method including:
generating a target node query request of a high-performance elastic computing service node in a target management area by adopting a front-end component;
scheduling and forwarding a target node query request to at least part of high-performance elastic computing service nodes in a target management area by adopting a scheduling component so as to indicate to return a query result of the high-performance elastic computing service nodes;
and displaying the query result returned by the high-performance elastic computing service node by adopting a response component.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having 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), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. A computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take a variety of forms, including, but not limited to: an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (11)
1. A method for centralized management of multi-zone services, the method comprising:
generating a target node query request of a high-performance elastic computing service node in a target management area by adopting a front-end component;
scheduling and forwarding a target node query request to at least part of high-performance elastic computing service nodes in a target management area by adopting a scheduling component so as to indicate to return a query result of the high-performance elastic computing service nodes;
and displaying the query result returned by the high-performance elastic computing service node by adopting a response component.
2. The method of claim 1, wherein the front-end component is provided with a paged query portal for development deployment through a front-end visualization framework and for selection of management zones; the high-performance elastic computing service node is constructed based on a cloud computing framework CloudStack with high availability and expansibility.
3. The method of claim 1, wherein generating, with a front-end component, a target node query request for a high performance resilient computing service node in a target management area comprises:
determining a target management area according to an area selection trigger operation on a front-end component;
and adding the area information of the target management area into a request header field of a preset Web request to obtain a target node query request for querying and managing different high-performance elastic computing service nodes.
4. The method of claim 1, wherein scheduling forwarding the target node query request to at least a portion of the high performance resilient computing service nodes under the target management area with a scheduling component comprises:
extracting the area information of a target management area from a request header field of a target node query request by adopting a scheduling component;
and scheduling and forwarding the target node query request to at least part of high-performance elastic computing service nodes under the target management area according to the extracted area information of the target management area.
5. The method of claim 4, wherein scheduling forwarding of the target node query request to at least a portion of the high performance resilient computing service nodes under the target management area comprises:
adopting an authentication component to convert the target node query request so that the converted target node query request conforms to a preset authentication mode of the high-performance elastic computing service node;
and scheduling and forwarding the converted target node query request to different high-performance elastic computing service nodes in the target management area.
6. The method of claim 5, wherein transforming the target node query request using the authentication component comprises:
and converting the target node query request into a node query request according with a preset authentication mode of the high-performance elastic computing service node according to the Api key and the Secert key of the high-performance elastic computing service node.
7. The method of claim 1 or 4, wherein scheduling forwarding the target node query request to at least a portion of the high performance resilient computing service nodes under the target management area comprises:
a forwarding component is adopted to encapsulate a target node query request based on a built-in reverse proxy service in a Golang standard library;
and forwarding the encapsulated target node query request to different high-performance elastic computing service nodes of the target management area by adopting flow to respond.
8. The method of claim 1, wherein displaying the query result returned by the high performance resilient computing service node comprises:
and configuring the query result into a query result in a preset format for displaying according to the node version of the high-performance elastic computing service node corresponding to the returned query result so as to carry out multi-version compatibility shielding of the bottom-layer version difference.
9. A centralized management apparatus for multi-zone services, the apparatus comprising:
the front-end module is used for generating a target node query request of a high-performance elastic computing service node in a target management area by adopting a front-end component;
the scheduling module is used for scheduling and forwarding a target node query request to at least part of high-performance elastic computing service nodes in a target management area by adopting a scheduling component so as to indicate to return a query result of the high-performance elastic computing service nodes;
and the response module is used for displaying the query result returned by the high-performance elastic computing service node by adopting the response component.
10. An electronic device, comprising:
one or more processing devices;
storage means for storing one or more programs;
when executed by the one or more processing devices, cause the one or more processing devices to implement the centralized management method for multi-zone services of any of claims 1-8.
11. A computer-readable medium, on which a computer program is stored, characterized in that the program, when executed by a processing means, implements the centralized management method of a multi-zone service of any of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111436098.1A CN114116847A (en) | 2021-11-29 | 2021-11-29 | Centralized management method and device for multi-region service, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111436098.1A CN114116847A (en) | 2021-11-29 | 2021-11-29 | Centralized management method and device for multi-region service, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114116847A true CN114116847A (en) | 2022-03-01 |
Family
ID=80367749
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111436098.1A Pending CN114116847A (en) | 2021-11-29 | 2021-11-29 | Centralized management method and device for multi-region service, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114116847A (en) |
-
2021
- 2021-11-29 CN CN202111436098.1A patent/CN114116847A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200090172A1 (en) | Containerization of network services | |
US11010217B2 (en) | Application programming interfaces in a multi-server environment | |
US9122510B2 (en) | Querying and managing computing resources in a networked computing environment | |
CN111371679A (en) | Method for realizing API gateway based on kubernets and Kong | |
US10656972B2 (en) | Managing idempotent operations while interacting with a system of record | |
CN113572689A (en) | Microservice gateway management method, system, device, readable storage medium and product | |
CN113709810B (en) | Method, equipment and medium for configuring network service quality | |
US20210250244A1 (en) | Internet of things system topology generation | |
CN110519379A (en) | Request processing method and equipment based on micro services | |
US20180196647A1 (en) | Application Programming Interface Discovery Using Pattern Recognition | |
CN108279882B (en) | Framework generation method, device, equipment and computer readable medium | |
CN104135507A (en) | A method and a device for hotlink protection | |
CN111427701A (en) | Workflow engine system and business processing method | |
CN116089090A (en) | Virtual resource configuration method, device, equipment and medium of graphic display | |
CN113949639B (en) | Resource allocation method, device, equipment and medium | |
CN114365107A (en) | Network-based media processing (NBMP) workflow management controlled by 5G real-time uplink streaming framework (plus) | |
CN116389599A (en) | Gateway service request processing method and device and cloud native gateway system management method and device | |
CN115408569A (en) | Process traceability tree simplification method, device, equipment and medium | |
CN113468445B (en) | Request processing method, apparatus, electronic device and computer readable medium | |
US20150280996A1 (en) | Cloud topology visualizations | |
CN113168333A (en) | Workflow configuration for a coordinated device environment | |
US11184251B2 (en) | Data center cartography bootstrapping from process table data | |
CN114218590B (en) | Authority configuration method, device, equipment and medium | |
CN114116847A (en) | Centralized management method and device for multi-region service, electronic equipment and storage medium | |
KR102685492B1 (en) | 3rd Generation Partnership Project (3GPP) Framework for Live Uplink Streaming (FLUS) sync capability determination |
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 |