CN106598734A - Topology display method for Openstack virtual resources based on business views - Google Patents

Topology display method for Openstack virtual resources based on business views Download PDF

Info

Publication number
CN106598734A
CN106598734A CN201611140277.XA CN201611140277A CN106598734A CN 106598734 A CN106598734 A CN 106598734A CN 201611140277 A CN201611140277 A CN 201611140277A CN 106598734 A CN106598734 A CN 106598734A
Authority
CN
China
Prior art keywords
resource
tables
tag
virtual resources
virtual
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.)
Granted
Application number
CN201611140277.XA
Other languages
Chinese (zh)
Other versions
CN106598734B (en
Inventor
刘亮
田松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WUHAN FIBERHOME INTERGRATION TECHNOLOGIES Co Ltd
Original Assignee
WUHAN FIBERHOME INTERGRATION TECHNOLOGIES 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 WUHAN FIBERHOME INTERGRATION TECHNOLOGIES Co Ltd filed Critical WUHAN FIBERHOME INTERGRATION TECHNOLOGIES Co Ltd
Priority to CN201611140277.XA priority Critical patent/CN106598734B/en
Publication of CN106598734A publication Critical patent/CN106598734A/en
Application granted granted Critical
Publication of CN106598734B publication Critical patent/CN106598734B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a topology display method for Openstack virtual resources based on business views, relating to the display field of Openstack virtual resources. The method comprises following steps: generating Tag tables according to all tasks needed to be displayed; generating Tag_ Resource tables according to all virtual resources corresponding to all businesses in the Tag tables; generating Resource tables according to IDs of all virtual resources of the Tag_ Resource tables in Openstack; obtaining all virtual resources through existing resources topological graphs; determining all virtual resources corresponding to businesses in the Tag_ Resource tables when a user selects businesses in the Tag tables and obtaining corresponding virtual resources according to the virtual resources IDs obtained in the Resource tables and refreshing topological graphs. The topology display method for Openstack virtual resources based on business views has following beneficial effects: the method is capable of rapidly and visually displaying relations corresponding to the businesses and the virtual resources so that business personnel can conveniently manage business resources.

Description

Openstack virtual resource Topology display methods based on service view
Technical field
The present invention relates to Openstack virtual resource display fields, and in particular to a kind of based on service view Openstack virtual resource Topology display methods.
Background technology
With the maturation of cloud scheme, the cloud platform based on openstack is also increasingly widely applied to various fields, Substantial amounts of operation system is transplanted to cloud platform and provides service.But, business personnel watches existing virtual network, virtual machine etc. During the topological diagram of virtual resource, it is impossible to quickly and intuitively draw business and the corresponding relation of virtual resource, and then be not easy to industry Business personnel are managed to service resources.
The content of the invention
For defect present in prior art, present invention solves the technical problem that being:Business is corresponding with virtual resource Relation quickly and intuitively show, and then be easy to business personnel to be managed service resources.
To reach object above, the Openstack virtual resources Topology display side based on service view that the present invention is provided Method, method are comprised the following steps:
S1:The all service generation Tag tables for showing as needed;It is corresponding all virtual according to each business in Tag tables Resource, generates Tag_Resource tables;Virtually provide according to the type of every virtual resource in Tag_Resource tables and per bar ID of the source in Openstack, generates Resource tables, goes to S2;
S2:By existing virtual resource topological diagram, all virtual resources are obtained, S3 is gone to;
S3:When user chooses to the business for needing to show, if current business is present in Tag tables, in Tag_ In Resource tables determine current business it is corresponding displaying in need virtual resource, all need are obtained in Resource tables Virtual resource ID to be shown and type, obtain corresponding virtual resource according to the virtual resource ID for obtaining, go to S4;
S4:According to the current business chosen in S3 and all virtual resources for obtaining, the virtual resource topology refreshed in S2 Figure.
On the basis of above-mentioned technical proposal, Tag tables described in S1, Tag_Resource tables and Resource tables are advance Generate.
On the basis of above-mentioned technical proposal, the flow process of S3 passes through Python and the execution of Django frameworks.
On the basis of above-mentioned technical proposal, the flow process of S4 passes through AngularJS and HTML5 and performs.
Compared with prior art, it is an advantage of the current invention that:
The present invention, can be according to selected business, in 3 business for previously generating when the topological diagram of virtual resource is shown The corresponding all resources of selecting business are determined in virtual resource table (Tag tables, Tag_Resource tables and Resource tables), then Resource according to determining refreshes topological diagram again.With business and virtual resource pair cannot quickly and be intuitively drawn in prior art The relation answered is compared, and the topological diagram after the present invention refreshes intuitively presents the corresponding all virtual resources of business.Therefore, this The bright corresponding relation that can quickly and intuitively show business and virtual resource, is easy to business personnel to manage service resources Reason.
Description of the drawings
Fig. 1 be the embodiment of the present invention in based on service view Openstack virtual resource Topology display methods flow process Figure.
Specific embodiment
The present invention is described in further detail below in conjunction with drawings and Examples.
Openstack virtual resources Topology display side based on service view shown in Figure 1, in the embodiment of the present invention Method, comprises the following steps:
S1:The all business for showing as needed previously generate Tag tables (service label table), according to each industry in Tag tables It is engaged in corresponding all virtual resources, previously generates Tag_Resource tables (business and virtual resource contingency table);According to Tag_ In Resource tables, the ID of the type of every virtual resource and every virtual resource in Openstack, previously generates Resource tables (virtual resource positioning table), go to S2.
S2:By existing virtual resource topological diagram, all virtual resources are obtained, S3 is gone to.
S3:When user chooses to the business for needing to show, if current business is present in Tag tables, by Python languages Speech (a kind of script interpretation language) and Django frameworks (a kind of web services framework based on Python), in Tag_Resource The virtual resource of the corresponding institute of current business displaying in need is determined in table, in Resource tables acquisition displaying in need Virtual resource ID and type, obtain corresponding virtual resource according to the virtual resource ID for obtaining, go to S4.
S4:By a kind of AngularJS (web front end page based on Javascript language processes framework) and HTML5 (HTML5 painting canvas interfaces, for the graphing in the browser for supporting HTML5), according to the current business chosen in S3 and The all virtual resources for arriving, refresh virtual resource topological diagram.
Further, the present invention is not limited to above-mentioned embodiment, for those skilled in the art, Without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as the present invention Protection domain within.The content not being described in detail in this specification belongs to existing skill known to professional and technical personnel in the field Art.

Claims (4)

1. a kind of Openstack virtual resource Topology display methods based on service view, it is characterised in that the method include with Lower step:
S1:The all service generation Tag tables for showing as needed;According to the corresponding all virtual resources of each business in Tag tables, Generate Tag_Resource tables;Existed according to the type of every virtual resource in Tag_Resource tables and every virtual resource ID in Openstack, generates Resource tables, goes to S2;
S2:By existing virtual resource topological diagram, all virtual resources are obtained, S3 is gone to;
S3:When user chooses to the business for needing to show, if current business is present in Tag tables, in Tag_Resource tables It is middle determine current business it is corresponding institute displaying in need virtual resource, in Resource tables acquisition displaying in need void Intend resource ID and type, corresponding virtual resource is obtained according to the virtual resource ID for obtaining, S4 is gone to;
S4:According to the current business chosen in S3 and all virtual resources for obtaining, the virtual resource topological diagram refreshed in S2.
2. Openstack virtual resource Topology display methods based on service view as claimed in claim 1, its feature exist In:Tag tables described in S1, Tag_Resource tables and Resource tables are previously generated.
3. Openstack virtual resource Topology display methods based on service view as claimed in claim 1, its feature exist In:The flow process of S3 passes through Python and Django frameworks are performed.
4. Openstack virtual resource Topology display methods based on service view as claimed in claim 1, its feature exist In:The flow process of S4 passes through AngularJS and HTML5 and performs.
CN201611140277.XA 2016-12-12 2016-12-12 Openstack virtual resource topology display method based on service view Active CN106598734B (en)

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 true CN106598734A (en) 2017-04-26
CN106598734B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
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 (5)

* Cited by examiner, † Cited by third party
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
CN103152438A (en) * 2013-04-09 2013-06-12 上海理想信息产业(集团)有限公司 Method for obtaining business health degree under cloud computing environment
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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
CN103152438A (en) * 2013-04-09 2013-06-12 上海理想信息产业(集团)有限公司 Method for obtaining business health degree under cloud computing environment
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

Cited By (1)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN106598734B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
Mahalakshmi et al. Traditional SDLC vs scrum methodology–a comparative study
CN105608319B (en) A kind of mask method and annotation equipment of digital pathological section
CN108984650B (en) Computer-readable recording medium and computer device
CN103942050B (en) A kind of Android platform application cartoon implementing method and system
CN109426541A (en) A kind of method and apparatus that the page changes skin
CN106569790B (en) Card template generation method, service providing method, information providing method and device
CN108512879A (en) A kind of information-pushing method and device
WO2018223672A1 (en) Data processing method and device
CN105808217A (en) Flow chart drawing method and system based on XML
CN104503755A (en) Dynamic information fusing and presenting method based on HTML5 (hypertext markup language 5) high-definition bitmaps
DE60038826D1 (en) SYSTEM AND METHOD FOR MANAGING A SCALTERABLE LIST OF PRODUCT ADVERTISEMENTS
CN106598734A (en) Topology display method for Openstack virtual resources based on business views
CN105069092B (en) A kind of method, system and the mobile terminal of report displaying
CN103810216A (en) Article display identification sequencing method and server
CN109491654A (en) A kind of table method for drafting and system based on HTML5 Canvas
CN112069243A (en) Method for generating index analysis model based on visual page and storage device
CN100504771C (en) Method and system for creating application program interface
CN106155456A (en) The methods of exhibiting of a kind of interface alternation area information and device
CN108984175A (en) The power grid SVG line chart methods of exhibiting of object-oriented suitable for mobile device
CN103678261A (en) Method, device and equipment for rapidly displaying TTFs
CN105824925B (en) Dynamic label placement method based on browsing device net page element
CN104750847A (en) Association rule visualization system and method based on dynamic parallel coordinate
CN116088966A (en) Method and system for loading high-performance tree control
CN107436927B (en) Application method and system of UI component
CN109446295B (en) Svg data map editing tool, editing method and computer readable medium

Legal Events

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