CN106598734B - Openstack virtual resource topology display method based on service view - Google Patents
Openstack virtual resource topology display method based on service view Download PDFInfo
- Publication number
- CN106598734B CN106598734B CN201611140277.XA CN201611140277A CN106598734B CN 106598734 B CN106598734 B CN 106598734B CN 201611140277 A CN201611140277 A CN 201611140277A CN 106598734 B CN106598734 B CN 106598734B
- Authority
- CN
- China
- Prior art keywords
- resource
- virtual
- tag
- service
- virtual resource
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
- G06F9/5077—Logical partitioning of resources; Management or configuration of virtualized resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/22—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses an Openstack virtual resource topology display method based on a service view, and relates to the field of Openstack virtual resource display. The method comprises the following steps: generating a Tag table according to all the services required to be displayed; generating a Tag _ Resource table according to all virtual resources corresponding to each service in the Tag table; generating a Resource table according to the ID of each virtual Resource in the Tag _ Resource table in Openstack; acquiring all virtual resources through the existing virtual resource topological graph; when a user selects a service existing in the Tag table, all virtual resources corresponding to the service are determined in the Tag _ Resource table, and the topological graph is refreshed after the corresponding virtual resources are obtained according to the virtual Resource ID acquired in the Resource table. The invention can quickly and visually display the corresponding relation between the business and the virtual resources, thereby facilitating business personnel to manage the business resources.
Description
Technical Field
The invention relates to the field of Openstack virtual resource display, in particular to an Openstack virtual resource topology display method based on a service view.
Background
With the maturity of the cloud technical scheme, the openstack-based cloud platform is also widely applied to various fields, and a large number of business systems are transplanted to the cloud platform to provide services. However, when a service person views a topology map of virtual resources such as a virtual network and a virtual machine, the service person cannot quickly and intuitively obtain a corresponding relationship between the service and the virtual resources, and thus the service person is not convenient to manage the service resources.
Disclosure of Invention
Aiming at the defects in the prior art, the invention solves the technical problems that: the corresponding relation between the service and the virtual resource is displayed quickly and visually, so that service personnel can manage the service resource conveniently.
In order to achieve the above object, the Openstack virtual resource topology display method based on the service view provided by the invention comprises the following steps:
s1: generating a Tag table according to all the services required to be displayed; generating a Tag _ Resource table according to all virtual resources corresponding to each service in the Tag table; generating a Resource table according to the type of each virtual Resource in the Tag _ Resource table and the ID of each virtual Resource in Openstack, and turning to S2;
s2: obtaining all virtual resources through the existing virtual resource topological graph, and turning to S3;
s3: when the user selects the service to be displayed, if the current service exists in the Tag table, determining all virtual resources to be displayed corresponding to the current service in the Tag _ Resource table, acquiring all virtual Resource IDs and types to be displayed in the Resource table, acquiring corresponding virtual resources according to the acquired virtual Resource IDs, and turning to S4;
s4: and refreshing the virtual resource topological graph in the S2 according to the current service selected in the S3 and all the obtained virtual resources.
On the basis of the above technical solution, the Tag table, the Tag _ Resource table, and the Resource table in S1 are all generated in advance.
On the basis of the technical scheme, the process of S3 is executed through Python language and Django framework.
On the basis of the above technical solution, the flow of S4 is executed by AngularJS and HTML 5.
Compared with the prior art, the invention has the advantages that:
when the topological graph of the virtual resources is displayed, all resources corresponding to the selected service can be determined in the pre-generated 3 service virtual Resource tables (Tag table, Tag _ Resource table and Resource table) according to the selected service, and then the topological graph is refreshed again according to the determined resources. Compared with the prior art that the corresponding relation between the service and the virtual resource cannot be obtained quickly and intuitively, the topological graph refreshed by the method intuitively shows all the virtual resources corresponding to the service. Therefore, the method and the system can quickly and intuitively display the corresponding relation between the service and the virtual resource, and are convenient for service personnel to manage the service resource.
Drawings
Fig. 1 is a flowchart of an Openstack virtual resource topology display method based on a service view 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.
Referring to fig. 1, the Openstack virtual resource topology display method based on the service view in the embodiment of the present invention includes the following steps:
s1: a Tag table (service label table) is generated in advance according to all services to be displayed, and a Tag _ Resource table (service and virtual Resource association table) is generated in advance according to all virtual resources corresponding to each service in the Tag table; according to the type of each virtual Resource in the Tag _ Resource table and the ID of each virtual Resource in Openstack, a Resource table (virtual Resource location table) is generated in advance, and the process goes to S2.
S2: all virtual resources are acquired through the existing virtual resource topological graph, and the process goes to S3.
S3: when the user selects the service to be displayed, if the current service exists in the Tag table, all virtual resources to be displayed corresponding to the current service are determined in the Tag _ Resource table through a Python language (a script interpretation language) and a Django frame (a web service frame based on Python), all virtual Resource IDs and types to be displayed are obtained in the Resource table, the corresponding virtual resources are obtained according to the obtained virtual Resource IDs, and the process goes to S4.
S4: and refreshing the virtual resource topological graph according to the current service selected in the step S3 and all the obtained virtual resources by AngularJS (a Web front-end page processing frame based on Javascript language) and HTML5 (an HTML5 canvas interface for drawing graphics in a browser supporting HTML 5).
Further, the present invention is not limited to the above-mentioned embodiments, and it will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements are also considered to be within the scope of the present invention. Those not described in detail in this specification are within the skill of the art.
Claims (1)
1. An Openstack virtual resource topology display method based on a service view is characterized by comprising the following steps:
s1: generating a Tag table according to all the services required to be displayed; generating a Tag _ Resource table according to all virtual resources corresponding to each service in the Tag table; generating a Resource table according to the type of each virtual Resource in the Tag _ Resource table and the ID of each virtual Resource in Openstack, and turning to S2;
s2: obtaining all virtual resources through the existing virtual resource topological graph, and turning to S3;
s3: when the user selects the service to be displayed, if the current service exists in the Tag table, determining all virtual resources to be displayed corresponding to the current service in the Tag _ Resource table, acquiring all virtual Resource IDs and types to be displayed in the Resource table, acquiring corresponding virtual resources according to the acquired virtual Resource IDs, and turning to S4;
s4: refreshing the virtual resource topological graph in the step S2 according to the current service selected in the step S3 and all obtained virtual resources;
the Tag table, the Tag _ Resource table and the Resource table in the S1 are all generated in advance;
the flow of S3 is executed through Python language and Django framework;
the flow of S4 is performed by AngularJS and HTML 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611140277.XA CN106598734B (en) | 2016-12-12 | 2016-12-12 | Openstack virtual resource topology display method based on service view |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611140277.XA CN106598734B (en) | 2016-12-12 | 2016-12-12 | Openstack virtual resource topology display method based on service view |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106598734A CN106598734A (en) | 2017-04-26 |
CN106598734B true CN106598734B (en) | 2020-01-14 |
Family
ID=58597597
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611140277.XA Active CN106598734B (en) | 2016-12-12 | 2016-12-12 | Openstack virtual resource topology display method based on service view |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106598734B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107257299A (en) * | 2017-08-03 | 2017-10-17 | 郑州云海信息技术有限公司 | The methods of exhibiting and exhibiting device of a kind of virtual resource |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102681899A (en) * | 2011-03-14 | 2012-09-19 | 金剑 | Virtual computing resource dynamic management system of cloud computing service platform |
CN103414589A (en) * | 2013-08-13 | 2013-11-27 | 华为技术有限公司 | Method and device for managing resource information |
CN104981783A (en) * | 2013-03-07 | 2015-10-14 | 思杰系统有限公司 | Dynamic configuration in cloud computing environments |
CN105516266A (en) * | 2015-11-30 | 2016-04-20 | 华为技术有限公司 | Service monitoring methods and system, and related devices |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103152438B (en) * | 2013-04-09 | 2015-11-18 | 上海理想信息产业(集团)有限公司 | Business health degree acquisition methods under a kind of cloud computing environment |
-
2016
- 2016-12-12 CN CN201611140277.XA patent/CN106598734B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102681899A (en) * | 2011-03-14 | 2012-09-19 | 金剑 | Virtual computing resource dynamic management system of cloud computing service platform |
CN104981783A (en) * | 2013-03-07 | 2015-10-14 | 思杰系统有限公司 | Dynamic configuration in cloud computing environments |
CN103414589A (en) * | 2013-08-13 | 2013-11-27 | 华为技术有限公司 | Method and device for managing resource information |
CN105516266A (en) * | 2015-11-30 | 2016-04-20 | 华为技术有限公司 | Service monitoring methods and system, and related devices |
Also Published As
Publication number | Publication date |
---|---|
CN106598734A (en) | 2017-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106445484B (en) | The method and system of data tracking are realized by Software Development Kit | |
CN109683998B (en) | Internationalization realization method, device and system | |
CN109426541A (en) | A kind of method and apparatus that the page changes skin | |
CN104503755A (en) | Dynamic information fusing and presenting method based on HTML5 (hypertext markup language 5) high-definition bitmaps | |
CN105354014A (en) | Application interface rendering display method and apparatus | |
CN104809209A (en) | Display method, display device and server of social network information flow | |
CN108156510B (en) | Page focus processing method and device and computer readable storage medium | |
TWI656768B (en) | Method, system, client device and server for providing internet application service | |
CN109635260B (en) | Method, device, equipment and storage medium for generating article template | |
CN105824517B (en) | A kind of implementation method and device of desktop | |
CN110955803A (en) | Drawing method, device, equipment and medium of relational graph based on graph database | |
CN106598734B (en) | Openstack virtual resource topology display method based on service view | |
CN110555145A (en) | Browser-based webpage content acquisition system and acquisition method thereof | |
CN103246709A (en) | Webpage data capture method | |
CN105100958B (en) | A kind of method and apparatus of the video flow guidance based on android system | |
CN106155456A (en) | The methods of exhibiting of a kind of interface alternation area information and device | |
CN109032747B (en) | Data updating method and device | |
CN109426878A (en) | Method and apparatus for output information | |
CN107545062B (en) | Entrance recall method and device, storage medium and electronic equipment | |
CN107436927B (en) | Application method and system of UI component | |
US20150205867A1 (en) | Method and device for grouping contacts in social network | |
CN110874253B (en) | Display method and display system | |
CN105512128B (en) | The processing method and processing device of the ID attribute of page elements | |
CN106156371B (en) | Method and device for realizing complete background picture of webpage | |
CN104462319A (en) | Processing method and device for webpage information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |