CN106469055B - A kind of Web graph shape dispositions method and device - Google Patents

A kind of Web graph shape dispositions method and device Download PDF

Info

Publication number
CN106469055B
CN106469055B CN201610437450.6A CN201610437450A CN106469055B CN 106469055 B CN106469055 B CN 106469055B CN 201610437450 A CN201610437450 A CN 201610437450A CN 106469055 B CN106469055 B CN 106469055B
Authority
CN
China
Prior art keywords
product
workspace
systems
unit
incidence relation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610437450.6A
Other languages
Chinese (zh)
Other versions
CN106469055A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201610437450.6A priority Critical patent/CN106469055B/en
Publication of CN106469055A publication Critical patent/CN106469055A/en
Priority to PCT/CN2017/076515 priority patent/WO2017215298A1/en
Application granted granted Critical
Publication of CN106469055B publication Critical patent/CN106469055B/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/44Arrangements for executing specific programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of method and devices of Web graph shape deployment, and wherein method includes detecting whether the placement operation for having by product figure drag and drop in workspace, the corresponding product information prestored of a product figure;Product figure is placed in workspace by placement operation if it exists according to the pictorial information of the product figure prestored;Detect whether there is the foundation operation for establishing the incidence relation in workspace between product figure;Operation is established if it exists, establishes the incidence relation between corresponding product figure;At least one product systems figure is constructed in workspace according to the product figure of drag and drop and the incidence relation of foundation;Dispose the product resource of each product systems figure.The embodiment of the present invention forms product systems figure and editing product figure in workspace, completes the resource deployment of application system, can the incidence relation more intuitively between product show while also improving establishment efficiency.

Description

A kind of Web graph shape dispositions method and device
Technical field
The present invention relates to field of computer technology more particularly to a kind of Web graph shape dispositions methods and device.
Background technique
With the development of computer field, user needs for multiple products to be constructed as the application clothes of one group of collaboration when many Business, existing way are often that user creates product in a manner of individually operated a kind of product every time in the view one by one, then passes through The form of text or table shows the relationship between product, and the incidence relation between such mode product is not intuitive enough and single The efficiency set up again after creation is lower, is easy error.
Summary of the invention
The embodiment of the present invention provides a kind of Web graph shape dispositions method and system, if dryed product can be set up in same view And the incidence relation between product, it is finally completed the resource deployment of application service.
In a first aspect, the embodiment of the invention provides a kind of methods of Web graph shape deployment, this method comprises: detecting whether In the presence of the placement operation by product figure drag and drop in workspace, the corresponding product information prestored of a product figure;If it exists Product figure is placed in the placement operation of workspace, is placed in product figure according to the pictorial information of the product figure prestored In workspace;Detect whether there is the foundation operation for establishing the incidence relation in workspace between product figure;It establishes if it exists The foundation of incidence relation between product figure operates, and establishes the incidence relation between corresponding product figure;According to drag and drop Product figure and the incidence relation established construct at least one product systems figure in workspace;Dispose each product system The product resource of system figure.
On the other hand, the embodiment of the invention provides a kind of Web graph shapes to dispose device, and Web graph shape deployment device includes: Detection unit, placement unit establish unit and construction unit, and wherein detection unit is for detecting whether in the presence of by product figure Placement operation of the drag and drop in workspace, the corresponding product information prestored of a product figure;Placement unit is used to if it exists to Product figure is placed in the placement operation of workspace, and product figure is placed in work according to the pictorial information of the product figure prestored Make in area;Detection unit is also used to detect whether to have the foundation behaviour for establishing the incidence relation in workspace between product figure Make;The foundation operation for establishing incidence relation of the unit for being established between product figure if it exists, establishes corresponding product figure Incidence relation between shape;Construction unit is used for the product figure according to drag and drop and the incidence relation established in workspace structure Build out at least one product systems figure;Processing unit is used to dispose the product resource of each product systems figure.
The embodiment of the present invention edits product corresponding with product for the workspace of user in the view by unified view Figure and incidence relation ultimately form the product systems figure that a width represents application system, and then according on product systems figure The information of carrying completes the resource deployment of corresponding application system, and all products can be edited in same view, more Incidence relation between intuitive local specialties shows while also improving establishment efficiency.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram for the visual view that inventive embodiments provide Web graph shape deployment device;
A kind of Fig. 2 schematic flow diagram of Web graph shape dispositions method provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of the product systems figure provided in an embodiment of the present invention on visual view;
Fig. 4 a is the product figure of all levels on display product systems figure provided in an embodiment of the present invention in same view Schematic diagram;
Fig. 4 b is the product figure and hiden application of the selected infrastructure level of display provided in an embodiment of the present invention Service the product figure of level;
A kind of Fig. 5 composition schematic diagram of Web graph shape deployment device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction Described feature, entirety, step, operation, element and/or the presence of establishment, but one or more of the other feature, whole is not precluded Body, step, operation, element, establishment and/or the presence or addition of its set.It is also understood that the institute in this description of the invention The term used is merely for the sake of being not intended to limit the present invention for the purpose of describing particular embodiments.Such as in description of the invention With it is used in the attached claims like that, other situations unless the context is clearly specified, otherwise singular " one ", "one" and "the" are intended to include plural form.It will be further appreciated that being wanted in description of the invention and appended right Term "and/or" used in book is asked to refer to any combination and all possibility of one or more of associated item listed Combination, and including these combinations.
It is a kind of schematic diagram for the visual view that the embodiment of the present invention provides Web graph shape deployment device referring to Fig. 1.Wherein Web graph shape disposes device and provides unified visual view based on SVG and VML for user's operation.As shown, visual view 10 Including product list 11, workspace 12 and the big module of Properties palette 13 3, if product list 11 is used to display pair of dryed product The product figure answered is edited so that the corresponding product figure of required product is therefrom dragged to workspace by user;Workspace 12 for editing the product figure selected from product list for user to form the product systems figure for indicating application system. The editor includes the incidence relation being still not limited between creation product figure, the size for adjusting product figure;Attribute Panel 13 is used to modify or set for user the parameter of selected product, and the parameter of product includes but is not limited to product The configuration of title, product, for example, the CPU of selected cloud host, memory size, example can be reset on Properties palette Quantity etc.;The mount point and size of disk are set on Properties palette 13.
It referring to fig. 2, is a kind of schematic flow diagram of Web graph shape dispositions method provided in an embodiment of the present invention.As shown, This method comprises:
Step S101 detects whether the placement operation for having by product figure drag and drop in workspace, a product figure The corresponding product information prestored is corresponding with product because of product figure, and product is corresponding with the product information prestored.Specifically , product is resource required for setting up an application system, and product includes but is not limited to host, disk, application service The resources such as device, database, network, virtual machine.The resource is to be related to hardware device, software service and net when setting up application system The resources such as network.It is also understood that product is corresponding with the product figure in product list;Product and the product information prestored also phase It is corresponding.It should be noted that product information corresponding with product is prestored, but in the attribute face of Web graph shape deployment device Plate can modify for predetermined fraction product information, wherein product information includes but is not limited to product type, ProductName Title, product parameters and attribute etc..
It should be noted that if detecting to execute step there is no the placement operation by product figure drag and drop in workspace The end process of rapid S107.
Product figure is placed in the placement operation of workspace by step S102 if it exists, according to the product figure prestored Product figure is placed in workspace by pictorial information.Specifically, detecting the placement by product figure drag and drop in workspace Operation is then considered as user and the corresponding product of product figure is selected to carry out establishment application system, therefore needing will be by product figure drag and drop To workspace so that user edits.The pictorial information prestored includes but is not limited to placement position, size, shape, type etc., Step S102 is specially that product figure is placed in corresponding position in workspace according to the placement position in pictorial information.
Step S103 detects whether there is the foundation operation for establishing the incidence relation in workspace between product figure.Tool Body, many products in application system are to cooperate, and have incidence relation abundant, therefore the present embodiment between each other When the middle product systems figure constructed for indicating application system, the relationship between product figure for indicating product is also very rich Richness preferably indicates incidence relation different between product figure with different lines in the present embodiment, the incidence relation include but It is to be not limited to inclusion relation, dependence, adduction relationship etc..The type of lines can come area with color, actual situation line, thickness Point.It should be appreciated that the type of lines and the corresponding relationship of incidence relation be it is pre-set, when user selects a certain line and curve connection When product figure, then it correspondingly would know that the relationship between connected product figure.It, can be in other feasible embodiments Other modes are taken product A can be taken when indicating the incidence relation of product, such as indicating the inclusion relation of product A and product B Corresponding product figure accommodates the mode of the corresponding product figure of product B.
It should be noted that if detecting that there is no the foundation behaviour for establishing the incidence relation in workspace between product figure Make, executes the end process of step S107.
Step S104 establishes the foundation operation of the incidence relation between product figure if it exists, establishes corresponding product Incidence relation between figure.
Step S105 constructs at least one in workspace according to the product figure of drag and drop and the incidence relation established Product systems figure.
Step S106 disposes the product resource of each product systems figure.
Step S107 terminates.
Specifically, the information according to entrained by product systems figure disposes product resource to form application system.In workspace Interior editor's product figure ultimately forms a width for indicating the product systems figure of application system, includes product figure in product systems figure Shape and incidence relation can get application system institute from product systems figure since product figure is corresponding with product information The product information needed comprising the type of product, title, parameter and attribute etc..Specific implementation process, by product systems figure Entrained information is converted to the data of specific format, constructs corresponding product resource further according to the data of specific format.
It should be noted that when workspace carries out product graphics edition corresponding produce can be modified in Properties palette module The parts of product information of product, specifically, if receiving the modification operation that user modifies product information on Properties palette, accordingly The product information that prestores of modification;And it is used to show the mark of the product information in modification area on corresponding product figure Note.Such as the size of data disks is modified on Properties palette, then it is used to indicate the data of size in workspace on corresponding data disk Also corresponding modification.
It should be appreciated that the Web graph shape dispositions method, which is mainly used in user in cloud computing, sets up application system, automatically according to The operation of user and default rule construct corresponding product systems figure for the product resource of application deployment system.
The opposite above method further, if the position of product figure is arbitrarily put, is easy to cause in workspace to multiple Product figure is overlapped when product graphics edition, is unfavorable for checking, therefore, in order to improve user experience, more convenient for user Intuitively check product systems figure, it is also necessary to which further limitation product figure is in the placement position of workspace, the deployment of Web graph shape Method further include:
Workspace is divided into several regions according to the product information of product, the product figure of each product corresponds to workspace At least one interior region.Workspace is divided by several areas according to the product type in product information specifically, can be Domain;It can also be and divided according to product attribute, the embodiment of the present invention is to this without specifically limiting.Such as Shenzhen, Shanghai two The corresponding placement area difference in workspace of the product figure of a region to distinguish the application system in the building of two cities, It prevents from malfunctioning in a jumble.
Further, product figure is placed in the placement operation of workspace if it exists, according to what is prestored in step S102 Product figure is placed in workspace and specifically includes by the pictorial information of product figure:
Judge whether product figure is placed in corresponding region in workspace;If not being placed in corresponding in workspace Region then removes the product figure from the region for placing the product figure in workspace;If being disposed in workspace opposite The region answered then retains the product figure in workspace.
It should be noted that in other feasible embodiments, if not be placed in corresponding region in workspace, then from It is placed in workspace and removes the product figure in the region of the product figure and be placed in the product figure in workspace relatively The region answered.
Though it should also be noted that, for the aforementioned product figure that sets in the placement area of workspace, in order to more straight Relationship in the displaying product systems figure of sight between product figure, can also further limit product figure puts position It sets.The graphical information of product figure further includes size, shape, type and level features except placement position.Wherein product figure It is to be designed according to product information, including design its size and shape;Level features are for indicating product figure and other The level relation of product figure can get the grade of product figure Yu other product figures according to the level features of product figure Not relationship.
In the present embodiment, according in product information product type and product attribute divide product figure be size adjustable With the non-adjustable two types of size, wherein the product figure of size adjustable can accommodate other product figures, and size is nonadjustable The shape of product figure cannot be adjusted.Wherein, receiving mode is used to indicate the relationship between superior and subordinate between product, product figure Can only grade on it product pattern range, i.e. the product figure of upper level can accommodate the product figure of next stage, but under The product figure of level-one cannot accommodate the product figure of upper level, and be that cannot intersect with the product figure of level-one.Therefore basis The available receiving mode to product figure and other product figures of the level features of product figure, and then further limit production The placement position of product figure.For example, the product figure of region is size adjustable type, wherein the product figure of network domains is to put It is placed in the product figure of region;The product figure of cloud host is disposed in the product figure of network domains, but cannot be direct It is placed in the product figure of region;The product figure of cloud disk is disposed in the product figure of cloud host.It should be appreciated that ground The product figure in domain is the upper level of the product figure of network domains;The product figure of network domains is the upper of the product figure of cloud host Level-one;The product figure of cloud host is the upper level of the product figure of cloud disk.
In the present embodiment, the method for Web graph shape deployment further include: product figure is arranged according to business demand and product information The level features of shape.Such as if business demand is to establish a tomcat server cluster, for the level features of load balancing, Then the level features of load balancing are set to according to the attribute of the business demand and load balancing the next stage of region, then benefit With the product figure and tomcat for indicating the connection connection load balancing of load balancing and tomcat server incidence relation The product figure of server.
Further, since an application system is related to the resources such as hardware device, software equipment, network, for the ease of User can carry out analysis to product systems figure from different perspectives when setting up product systems figure and check, the side of Web graph shape deployment Method further include:
Product is divided into different levels according to the product type prestored in product information;
Product systems figure is divided into different levels, the corresponding product figure of the product of same level according to the level of product Morpheme same level in product systems figure;The corresponding product figure of the product of different levels is located at different layers in product systems figure Grade.
In the present embodiment, product is divided by basic product layer and application product according to the product type in product information Layer, is divided into infrastructure level and application service level for product systems figure according to product level.In infrastructure level Product figure corresponds to the product of basic product layer;Product figure in application service level corresponds to the product of application product layer.Example Such as, the product on infrastructure layer includes but is not limited to region, network, virtual machine, host, disk etc..Application product layer On product include but be not limited to the middlewares such as Web container, application server, Tomcat, load balancing, database product Deng.For example, the middlewares such as Tomcat need to be put into the application layer of cloud host, that is, it is located at the application service level of product systems figure, but It is that cloud host is located at infrastructure layer grade.Refer to Fig. 3, in the present embodiment, cloud master in infrastructure level on product systems figure The middlewares such as Tomcat constitute a cuboid in the plane on machine and application service level, more intuitive to show product systems figure To user.Should can be regarded as application layer and cloud host is an entirety, shows as host in infrastructure level, is taken in application Business level shows as a logic entity.Therefore, Web graph shape dispositions method further include:
The operation of product systems figure is checked in detection user's selection, this checks that the operation of product systems figure includes checking entirely The product figure of portion's level, the product figure for checking wherein one layer and the product figure and other layers of checking wherein one layer simultaneously The portioned product figure of grade.
If detecting the operation for checking the product figure of whole levels, the production of all levels on product systems figure is shown Product figure is in same view.If detecting the operation for checking wherein one layer of product figure, the product of selected level is shown Figure is in same view and hides the product figures of other levels.If detect at the same check wherein one layer product figure and its The operation of the portioned product figure of his level, show selected level all product figures and other selected levels Product figure in same view, and hide the non-selected product figure of other levels.Please refer to Fig. 4 a and Fig. 4 b, Fig. 4 a For the product figure of all levels on product systems figure is showed in same view;Fig. 4 b is to show that selected basis is set Apply the product figure of the product figure of level and hiden application service level.
It should be noted that doing user's interaction, Web graph shape portion to make constructed product systems figure can be used in webpage Arranging method further include:
Graphical Data Model is constructed according to product systems figure.The Graphical Data Model includes that several implement data, each The combination of product figure or product figure on the corresponding product systems figure of instance data, therefore, an instance data includes The product information and graphical information of corresponding product figure.In the present embodiment, preferably Graphical Data Model is tree structure, packet A root node, a tree node and several branch nodes are included, detail point is located on tree node.The corresponding reality of each node Number of cases evidence, i.e., each node correspond to the combination of a product figure or product figure.The inclusion relation of tree node and Zhi Jiedian with Inclusion relation between product figure is corresponding, thus in the present embodiment construct product systems figure process, according to product figure with And the corresponding relationship building Graphical Data Model of preset product figure and node.
To sum up, the foundation that Graphical Data Model is completed while constructing product systems figure when promoting to export picture, removes figure The data of itself can also synchronize export data model, therefore constructed product systems figure can be used in webpage and do user's friendship Mutually.
It should be appreciated that above-mentioned Web graph shape dispositions method, which provides unified view, sets up several products and product for user Between incidence relation, and then complete application system resource deployment, especially by user workspace edit it is corresponding with product Product figure, ultimately form a width for indicating the product systems figure of application system, and then according to taking on product systems figure The information of band completes the product resource deployment of corresponding application system.This process does not need to edit product figure one by one on a view Shape recombinant, and then improve establishment efficiency;Further, according to product information deisgn product figure and division product systems Figure is multiple levels, more intuitively will more intuitively show the relationship of product each in application system, checks convenient for user, Improve experience sense by.
Fig. 5 is please referred to, provides a kind of composition schematic diagram of Web graph shape deployment device 100 for the embodiment of the present invention.As schemed Show, Web graph shape deployment device 100 include detection unit 501, placement unit 502, establish unit 503, construction unit 504 and Processing unit 505.
Wherein detection unit 501 is for detecting whether in the presence of the placement operation by product figure drag and drop in workspace, and one The corresponding product information prestored of a product figure.It is corresponding with product because of product figure, and product is corresponding with the production prestored Product information.Specifically, product is resource required for setting up an application system, product includes but is not limited to host, magnetic The resources such as disk, application server, database, network, virtual machine.The resource be set up application system when be related to hardware device, The resources such as software service and network.It is also understood that the product figure in product and product list corresponds;Product with prestore Product information also correspond.Product information includes but is not limited to product type, name of product, product attribute and parameter Deng.
Detection unit 501 is also used to detect whether to have the foundation for establishing the incidence relation in workspace between product figure Operation.
If placement unit 502 detects the presence of the placement by product figure drag and drop in workspace for detection unit 501 Product figure, is placed in workspace by operation according to the pictorial information of the product figure prestored.Specifically, pictorial information includes But be not limited to placement position, size, shape, type etc..
The association established in workspace between product figure is detected the presence of for detection unit 501 if establishing unit 503 The foundation of relationship operates, and establishes the incidence relation between corresponding product figure.Specifically, many products in application system It is to cooperate, there is incidence relation abundant between each other, therefore constructs in the present embodiment for indicating application system When product systems figure, the relationship between product figure for indicating product is also very abundant, preferably with different in the present embodiment Lines indicate that incidence relation different between product figure, the incidence relation include but are not limited to inclusion relation, rely on and close System, adduction relationship etc..The type of lines can be distinguished with color, actual situation line, thickness.
Construction unit 504 be used for according to the product figures of drag and drop and the incidence relation established workspace construct to A few product systems figure.
Processing unit 505 is used to dispose the product resource of each product systems figure, specifically, according to each product systems figure In the corresponding product information of all product figures and incidence relation construct product resource.And then product figure is edited in workspace It includes that product figure and association are closed that shape, which ultimately forms a width for indicating the product systems figure of application system, in product systems figure, System can get the letter of product required for application system from product systems figure since product figure is corresponding with product information Breath comprising the type of product, title, attribute and parameter etc..Specific implementation process, by information entrained by product systems figure The data for being converted to specific format construct corresponding product resource further according to the data of specific format.
The opposite above method further, if the position of product figure is arbitrarily put, is easy to cause in workspace to multiple Product figure is overlapped when product graphics edition, is unfavorable for checking, therefore, in order to improve user experience, more convenient for user Intuitively check product systems figure, it is also necessary to which further limitation product figure is in the placement position of workspace, the deployment of Web graph shape Device 100 further includes division unit 506.
Division unit 506 is used to that workspace to be divided into several regions, the production of each product according to the product information of product Product figure corresponds at least one region in workspace.
Placement unit 502 further includes judging unit 521 and control unit 522, and wherein judging unit 512 is produced for judging Whether product figure is placed in corresponding region in workspace;If control unit 522 judges it is not to place for judging unit 521 The corresponding region in workspace then removes the product figure and is gone back from the region for placing the product figure in workspace If judging to be disposed on corresponding region in workspace for judging unit 521, retained product figure is in workspace.
In other feasible embodiments, if control unit 522 is judged not to be disposed on workspace for judging unit 521 In corresponding region, then the product figure is removed from the region for placing the product figure in workspace and by the product figure It is placed in corresponding region in workspace.
It should also be noted that, having determined product figure in the placement area of workspace, in order to more intuitively open up for aforementioned Show the relationship in product systems figure between product figure, can also further limit the placement position of product figure.Product The graphical information of figure further includes size, shape, type and level features except placement position.Wherein product figure is according to production Product information is designed, including designs its size and shape;Level features are for indicating product figure and other product figures Level relation, i.e., the level relation of product figure Yu other product figures can be got according to the level features of product figure. In the present embodiment, according in product information product type and product attribute divide product figure be size adjustable and size not Adjustable two types, wherein the product figure of size adjustable can accommodate other product figures, the nonadjustable product figure of size Shape cannot be adjusted.Wherein, receiving mode is used to indicate the relationship between superior and subordinate between product, and product figure can only be at it Supervisory product pattern range, i.e. the product figure of upper level can accommodate the product figure of next stage, but the production of next stage Product figure cannot accommodate the product figure of upper level, and be that cannot intersect with the product figure of level-one.Therefore according to product figure The available receiving mode to product figure and other product figures of level features, and then further limit product figure Placement position.
Web graph shape deployment device 100 further includes setting unit 507, and setting unit 507 is used for according to business demand and production The level features of product information setting product figure.
Further, since an application system is related to the resources such as hardware device, software equipment, network, for the ease of User can carry out analysis to product systems figure from different perspectives when setting up product systems figure and check, Web graph shape disposes device 100 further include taxon 508 and delaminating units 509.
Wherein taxon 508 is used to that product to be divided into different levels according to the product type prestored in product information.
Delaminating units 509 are used to that product systems figure to be divided into different levels according to the level of product, same level The corresponding product figure of product is located at same level in product systems figure;The corresponding product figure of the product of different levels, which is located at, to be produced Different levels in product system diagram.
In the present embodiment, product is divided by basic product layer and application product according to the product type in product information Layer, is divided into infrastructure level and application service level for product systems figure according to product level.In infrastructure level Product figure corresponds to the product of basic product layer;Product figure in application service level corresponds to the product of application product layer.Example Such as, the product on infrastructure layer includes but is not limited to region, network, virtual machine, host, disk etc..Application product layer On product include but be not limited to the middlewares such as Web container, application server, Tomcat, load balancing, database product Deng.
Product systems figure can be checked to understand the incidence relation between product, Web graph in order to meet user more intuitively It further includes detecting unit 510 and display unit 511 that shape, which disposes device 100,.
Wherein detecting unit 510 is used to detect the operation that product systems figure is checked in user's selection, this checks product systems The operation of figure includes the product figure for checking whole levels, check wherein one layer of product figure and checks wherein one simultaneously The product figure of layer and the portioned product figure of other levels.
If display unit 511 detects that the operation for checking the product figure of whole levels, display produce for detecting unit 510 The product figure for all levels that strain is united on figure is in same view;If detecting the behaviour for checking wherein one layer of product figure Make, show the product figure of selected level in same view and hides the product figures of other levels;If detecting simultaneously It checks wherein one layer of product figure and the portioned product figure of other levels, shows all product figures of selected level In same view and the product figure of other selected levels, and hide the non-selected product figure of other levels.
User's interaction is done in order to make constructed product systems figure can be used in webpage, Web graph shape deployment device 100 also wraps Modeling unit 512 is included, wherein modeling unit 512, for constructing Graphical Data Model, the graph data mould according to product systems figure Type includes that several implement data, the group of product figure or product figure on the corresponding product systems figure of each instance data It closes, therefore, an instance data includes the product information and graphical information of corresponding product figure.In the present embodiment, preferably scheme Graphic data model is tree structure comprising a root node, a tree node and several branch nodes, detail point are located at tree On node.The corresponding instance data of each node, i.e., each node correspond to the combination of a product figure or product figure.Tree Inclusion relation between node and the inclusion relation of Zhi Jiedian and product figure is corresponding, therefore product system is constructed in the present embodiment It unites figure process, modeling unit 512 is according to the corresponding relationship structure figures figurate number of product figure and preset product figure and node According to model.
Shown in sum up, above-mentioned Web graph shape deployment device and method provide unified view for user set up several products with And the incidence relation between product, and then the resource deployment of application system is completed, it edits and produces in workspace especially by user The corresponding product figure of product ultimately forms the product systems figure that a width represents application system, and then according on product systems figure The information of carrying completes the resource deployment of corresponding application system.The Web graph shape dispositions method and tool are mainly used in cloud meter User sets up application system in calculation, and corresponding product systems figure is constructed in operation and default rule automatically according to user.
It should be noted that the steps in the embodiment of the present invention can the adjustment of carry out sequence, conjunction according to actual needs And it and deletes.
Unit in the terminal of that embodiment of the invention can be combined, divided and deleted according to actual needs.
It is apparent to those skilled in the art that for convenience of description and succinctly, the work of foregoing description The specific work process of tool and unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or establishment can tie Another system is closed or is desirably integrated into, or some features can be ignored or not executed.In addition, shown or discussed phase Mutually between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication of device or unit Connection is also possible to electricity, mechanical or other form connections.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.It is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection scope subject to.

Claims (8)

1. a kind of method of Web graph shape deployment characterized by comprising
Detect whether the placement operation for having by product figure drag and drop in workspace, each product figure has it respectively It is corresponding to prestore product information;
Product figure is placed in the placement operation of workspace if it exists, it will be described according to the pictorial information of the product figure prestored Product figure is placed in workspace;
Detect whether there is the foundation operation for establishing the incidence relation in the workspace between product figure;
The foundation operation for establishing the incidence relation between product figure if it exists, is established described between corresponding product figure Incidence relation;
At least one is constructed in the workspace according to the product figure of drag and drop and the incidence relation established Product systems figure;
Dispose the product resource of each product systems figure;
The method also includes:
The workspace is divided into several regions according to the product information of product, the product figure of each product corresponds to the work Make at least one region in area;
The product figure is placed in workspace by the pictorial information for the product figure that the basis prestores further include:
Judge whether the product figure is placed in corresponding region in the workspace;
If it is not, the product figure will be removed from the region for placing the product figure in the workspace, and will be described Product figure is placed in corresponding region in the workspace, and limits the placement position of the product figure.
2. the method according to claim 1, wherein the product figure is divided into according to preset product information Size adjustable and the non-adjustable two types of size, the product figure of the size adjustable can accommodate other product figures.
3. the method is also the method according to claim 1, wherein the product information includes product type Include:
Product is divided into different levels according to the product type prestored in product information;
Product systems figure is divided into different levels, the corresponding product pattern bit of the product of same level according to the level of product The same level in product systems figure;The corresponding product figure of the product of different levels is located at different levels in product systems figure.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
Detection user's selection checks that the operation of product systems figure, the operation for checking product systems figure include checking whole The product figure of level and the product figure for checking wherein one layer;
If detecting the operation for checking the product figure of whole levels, the product figure of all levels on product systems figure is shown Shape is in same view;If detecting the operation for checking wherein one layer of product figure, the product figure of selected level is shown Shape is in same view and hides the product figures of other levels.
5. a kind of Web graph shape disposes device characterized by comprising
Detection unit, for detecting whether in the presence of the placement operation by product figure drag and drop in workspace, each product Figure has it respectively corresponding to prestore product information;
Placement unit, for product figure to be placed in the placement operation of workspace if it exists, according to the product figure prestored The product figure is placed in workspace by pictorial information;
Detection unit is also used to detect whether to have the foundation behaviour for establishing the incidence relation in the workspace between product figure Make;
Unit is established, corresponding product is established in the foundation operation of the incidence relation for being established between product figure if it exists The incidence relation between figure;
Construction unit, for according to the product figures of drag and drop and the incidence relation established in the workspace structure Build out at least one product systems figure;
Processing unit, for disposing the product resource of each product systems figure;
Web graph shape deployment device further includes division unit, and the placement unit further includes judging unit and control unit,
The division unit, for the workspace to be divided into several regions according to the product information of product, each product Product figure corresponds at least one region in the workspace;
The judging unit, for judging whether the product figure is placed in corresponding region in the workspace;
Described control unit, if for judging that product figure is not disposed on corresponding region in the workspace, it will be from institute It states and removes the product figure in the region for placing the product figure in workspace, and the product figure is placed in described Corresponding region in workspace, and limit the placement position of the product figure.
6. Web graph shape according to claim 5 disposes device, which is characterized in that the product figure is according to preset production Product information is divided into size adjustable and the non-adjustable two types of size, and the product figure of the size adjustable can accommodate other products Figure.
7. Web graph shape according to claim 5 disposes device, which is characterized in that the Web graph shape deployment device also wraps It includes:
Taxon prestores the product type in product information for basis and product is divided into different levels;
Product systems figure is divided into different levels for the level according to product by delaminating units, the product of same level Corresponding product figure is located at same level in product systems figure;The corresponding product figure of the product of different levels is located at product systems Different levels in figure.
8. Web graph shape according to claim 7 disposes device, which is characterized in that the Web graph shape deployment device also wraps It includes:
Detecting unit checks the operation of product systems figure, the behaviour for checking product systems figure for detecting user's selection Make to include checking the product figure of whole levels and checking wherein one layer of product figure;
Display unit, if showing the institute on product systems figure for detecting the operation for checking the product figure of whole levels There is the product figure of level in same view;If detecting the operation for checking wherein one layer of product figure, show selected The product figure of level is in same view and hides the product figures of other levels.
CN201610437450.6A 2016-06-17 2016-06-17 A kind of Web graph shape dispositions method and device Active CN106469055B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610437450.6A CN106469055B (en) 2016-06-17 2016-06-17 A kind of Web graph shape dispositions method and device
PCT/CN2017/076515 WO2017215298A1 (en) 2016-06-17 2017-03-14 Web graphic deployment method, apparatus, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610437450.6A CN106469055B (en) 2016-06-17 2016-06-17 A kind of Web graph shape dispositions method and device

Publications (2)

Publication Number Publication Date
CN106469055A CN106469055A (en) 2017-03-01
CN106469055B true CN106469055B (en) 2019-11-08

Family

ID=58230059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610437450.6A Active CN106469055B (en) 2016-06-17 2016-06-17 A kind of Web graph shape dispositions method and device

Country Status (2)

Country Link
CN (1) CN106469055B (en)
WO (1) WO2017215298A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106469055B (en) * 2016-06-17 2019-11-08 平安科技(深圳)有限公司 A kind of Web graph shape dispositions method and device
CN111625589B (en) * 2019-02-28 2023-04-14 阿里巴巴集团控股有限公司 Information display method and device
CN113138829B (en) * 2021-06-22 2022-03-01 阿里云计算有限公司 Management method, device, equipment and storage medium of cloud application architecture
CN113138830A (en) * 2021-06-22 2021-07-20 阿里云计算有限公司 Method, device, equipment and storage medium for generating cloud application architecture diagram

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005684A (en) * 2006-12-25 2007-07-25 华为技术有限公司 Method and device for realizing equipment operation, and method and device for forming equipment interface
CN103514310A (en) * 2012-06-26 2014-01-15 上海宝信软件股份有限公司 Visualized editing and displaying method for IT infrastructure topology

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5986653A (en) * 1997-01-21 1999-11-16 Netiq Corporation Event signaling in a foldable object tree
CN1567295A (en) * 2003-06-18 2005-01-19 英业达股份有限公司 Method for managing network resource on page
CN106469055B (en) * 2016-06-17 2019-11-08 平安科技(深圳)有限公司 A kind of Web graph shape dispositions method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005684A (en) * 2006-12-25 2007-07-25 华为技术有限公司 Method and device for realizing equipment operation, and method and device for forming equipment interface
CN103514310A (en) * 2012-06-26 2014-01-15 上海宝信软件股份有限公司 Visualized editing and displaying method for IT infrastructure topology

Also Published As

Publication number Publication date
WO2017215298A1 (en) 2017-12-21
CN106469055A (en) 2017-03-01

Similar Documents

Publication Publication Date Title
CN106469055B (en) A kind of Web graph shape dispositions method and device
CN105117835B (en) A kind of electric network information computer room three-dimensional visualization management platform based on B/S frameworks
Shang et al. Social manufacturing cloud service platform for the mass customization in apparel industry
US9882961B2 (en) System and method for abstraction of objects for cross virtual universe deployment
CN105843182B (en) A kind of power scheduling accident prediction system and method based on OMS
CN102034152B (en) The method for integrating of heterogeneous software system data and system based on SOA framework
CN107967574A (en) Digitlization check of drawings method and its system based on BIM
CN106100880B (en) A kind of deployment of cloud data resource and visual management method
CN106408170A (en) Electronic worksheet processing method, workflow engine and electronic worksheet system
CN103744647B (en) A kind of Java workflow development system and method based on workflow visualization toolkit
CN102077166A (en) Using visual landmarks to organize diagrams
CN110807015A (en) Big data asset value delivery management method and system
CN106557457A (en) A kind of system for automatically generating cross-platform Complicated Flow figure based on QT
CN101894192A (en) Simulation and demonstration system for design and validation of AFDX (Avionics Full Duplex Switched Ethernet) network and simulation and demonstration method thereof
WO2016165321A1 (en) Method and apparatus for establishing requirement meta model for high-speed train
WO2007108061A1 (en) Network design processing device, network design processing method and network design processing program
CN103258149A (en) Online reading system and method based on cloud computing
CN110502803A (en) Wiring method and device based on BIM technology
CN107291880A (en) The creation method and device of a kind of resource graphics
CN114039856B (en) Network topology structure display system and method
CN105703923A (en) Network asset information demonstration method and device
CN102801565A (en) Method for carrying out centralized management on service configuration in network management system
CN106708941A (en) Multi-task on-line collaborative editing method for power grid
CN107122627A (en) Digital publishing system based on cloud computing
CN109697055A (en) Generate the method and system of the mobile App page

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