WO2017215298A1 - Web graphic deployment method, apparatus, system and computer readable storage medium - Google Patents
Web graphic deployment method, apparatus, system and computer readable storage medium Download PDFInfo
- Publication number
- WO2017215298A1 WO2017215298A1 PCT/CN2017/076515 CN2017076515W WO2017215298A1 WO 2017215298 A1 WO2017215298 A1 WO 2017215298A1 CN 2017076515 W CN2017076515 W CN 2017076515W WO 2017215298 A1 WO2017215298 A1 WO 2017215298A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- product
- graphics
- graphic
- work area
- establishing
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- 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/44—Arrangements for executing specific programs
Definitions
- the present invention relates to the field of computer technologies, and in particular, to a web graphics deployment method, apparatus, system, and computer readable storage medium.
- the embodiment of the invention provides a web graphics deployment method and system, which can establish a plurality of products and association relationships between products in the same view, and finally complete resource deployment of application services.
- an embodiment of the present invention provides a method for deploying a web graphic, the method comprising: detecting whether there is a placing operation of dragging and dropping a product graphic into a work area, and a product graphic corresponding to pre-stored product information; The product graphics are placed in the work area, and the product graphics are placed in the work area according to the picture information of the pre-stored product graphics; detecting whether there is an establishment operation for establishing an association relationship between product graphics in the work area; Establishing an association relationship between the related products, establishing an association relationship between the corresponding product graphics; constructing at least one product system map in the work area according to the drag-and-drop product graphics and the established association relationship; deploying each product system diagram Product resources.
- an embodiment of the present invention provides a web graphics deployment apparatus, where the web graphics deployment apparatus includes: a detecting unit, a placing unit, an establishing unit, and a building unit, wherein the detecting unit is configured to detect whether there is a drag and drop of the product graphic.
- the placement unit is configured to place the product graphic in the work area according to the picture information of the pre-stored product graphic if there is a placement operation for placing the product graphic in the work area;
- the detecting unit is further configured to detect whether there is a establishing operation for establishing an association relationship between the product graphics in the working area;
- the establishing unit is configured to establish a relationship between the corresponding product graphics if there is an establishing operation of establishing an association relationship between the product graphics
- the association unit is configured to construct at least one product system map in the work area according to the product graphics of the drag and drop and the established association relationship; the processing unit is used to deploy the product resources of each product system diagram.
- an embodiment of the present invention provides a computer readable storage medium storing one or more programs, one or more programs executable by one or more processors to perform the following operating:
- an embodiment of the present invention provides a Web graphics deployment system, the system including one or more processors, and one or more input/output devices and a memory connected to one or more processors,
- Input/output means for inputting user instructions and outputting response data of the web graphics deployment system to the input user instructions; memory for storing one or more programs with various functions; processor for executing the memory Store the program to do the following:
- the embodiment of the present invention provides a unified view for the user to edit the product graphics and association relationship corresponding to the product in the working area in the view, and finally forms a product system diagram representing the application system, and then completes according to the information carried on the product system diagram.
- FIG. 1 is a schematic diagram of a visual view of a web graphics deployment device according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart of a web graphics deployment method according to an embodiment of the present invention.
- FIG. 3 is a schematic diagram of a product system diagram in a visual view according to an embodiment of the present invention.
- 4a is a schematic diagram of a product diagram of all levels on a display product system diagram in the same view according to an embodiment of the present invention
- FIG. 4b is a product diagram showing a product graphics of a selected infrastructure level and hiding an application service level according to an embodiment of the present invention
- FIG. 5 is a schematic diagram of a composition of a web graphics deployment apparatus according to an embodiment of the present invention.
- FIG. 6 is a hardware structural diagram of a first embodiment of a web graphics deployment system according to an embodiment of the present invention.
- FIG. 7 is a hardware structural diagram of a second embodiment of a Web graphics deployment system according to an embodiment of the present invention.
- FIG. 1 is a schematic diagram of a visual view of a web graphics deployment device according to an embodiment of the present invention.
- the Web graphics deployment device provides a unified visual view based on SVG and VML for user operations.
- the visual view 10 includes three modules: a product list 11, a work area 12, and an attribute panel 13, and the product list 11 is used to display corresponding product graphics of a plurality of products for the user to correspond to the desired products.
- the product graphics are dragged to the workspace for editing; the workspace 12 is for the user to edit the product graphics selected from the product list to form a product system map for representing the application system.
- the editing includes, but is not limited to, creating an association relationship between product graphics, and adjusting the size of the product graphic; the property panel 13 is for the user to modify or set the parameters of the selected product, and the parameters of the product include but are not limited to the product.
- Name, product configuration for example, you can reset the CPU, memory size, number of instances, etc. of the selected cloud host on the property panel; set the mount point and size of the disk on the property panel 13.
- FIG. 2 is a schematic flowchart of a web graphics deployment method according to an embodiment of the present invention. As shown, the method includes:
- step S101 it is detected whether there is a placing operation of dragging and dropping the product graphic into the work area, and a product graphic corresponds to the pre-stored product information, because the product graphic corresponds to the product, and the product corresponds to the pre-stored product information.
- the product is a resource required for forming an application system, and the products include but are not limited to resources such as a host, a disk, an application server, a database, a network, and a virtual machine. This resource involves resources such as hardware devices, software services, and networks when building an application system. It should also be understood that the product corresponds to the product graphic in the product list; the product also corresponds to the pre-stored product information.
- the product information corresponding to the product is pre-stored, but the property panel of the web graphics deployment device may be modified for the preset part of the product information, wherein the product information includes but is not limited to the product type, the product name, and the product. Parameters and attributes, etc.
- step S107 if it is detected that there is no placement operation for dragging and dropping the product graphic into the work area, the end process of step S107 is performed.
- Step S102 If there is a placing operation of placing the product graphic in the work area, the product graphic is placed in the work area according to the picture information of the pre-stored product graphic. Specifically, the detecting operation of dragging and dropping the product graphic into the work area is regarded as the user selecting the product corresponding to the product graphic to form the application system, so the product graphic needs to be dragged and dropped to the work area for the user to edit.
- the pre-stored picture information includes, but is not limited to, a placement position, a size, a shape, a type, and the like. Step S102 specifically places the product graphic in a corresponding position in the work area according to the placement position in the picture information.
- Step S103 detecting whether there is an establishing operation of establishing an association relationship between product graphics in the work area.
- many products in the application system work in cooperation and have a rich relationship with each other. Therefore, when constructing a product system diagram for indicating an application system in this embodiment, it is used to represent a product graphic between products. The relationship is also very rich.
- different lines are preferably used to indicate different association relationships between product graphics, including but not limited to inclusion relationships, dependencies, reference relationships, and the like.
- the type of line can be distinguished by color, virtual solid line, and thickness. It should be understood that the correspondence between the type of the line and the associated relationship is preset, and when the user selects a certain line to connect the product graphic, the relationship between the connected product graphics is correspondingly known.
- other manners may be adopted to indicate the association relationship of the products. For example, when the inclusion relationship between the product A and the product B is indicated, the product graphic corresponding to the product graphic corresponding to the product B of the product A may be adopted.
- step S107 if it is detected that there is no establishment operation for establishing an association relationship between product graphics in the work area, the end process of step S107 is performed.
- Step S104 if there is an establishing operation of establishing an association relationship between product graphics, establishing an association relationship between corresponding product graphics.
- Step S105 constructing at least one product system map in the work area according to the product graphics of the drag and drop and the established association relationship.
- Step S106 deploying product resources of each product system diagram.
- the product resources are deployed according to the information carried in the product system diagram to form an application system. Editing the product graphics in the work area finally forms a product system diagram for representing the application system.
- the product system diagram includes product graphics and association relationships. Since the product graphics correspond to product information, the application system can be obtained from the product system diagram.
- the required product information including the type, name, parameters and attributes of the product.
- the specific implementation process converts the information carried in the product system diagram into data of a specific format, and then constructs corresponding product resources according to the data of a specific format.
- part of the product information of the corresponding product may be modified in the property panel module. Specifically, if the user corrects the modification operation of the product information on the property panel, the corresponding modification is pre-stored. Product information; and modify the mark on the corresponding product graphic in the work area to display the product information. For example, if the size of the data disk is modified on the property panel, the data for indicating the size on the corresponding data disk in the work area is also modified accordingly.
- the web graphics deployment method is mainly applied to a user-established application system in cloud computing, and automatically constructs a corresponding product system diagram for deploying application product resources according to user operations and preset rules.
- the product system diagram also needs to further limit the placement of the product graphics in the work area.
- the method of web graphics deployment also includes:
- the work area is divided into several areas according to the product information of the product, and the product graphic of each product corresponds to at least one area in the work area.
- the working area may be divided into a plurality of areas according to the product type in the product information; or may be divided according to the product attribute, which is not specifically limited in the embodiment of the present invention.
- the product graphics in the two regions of Shenzhen and Shanghai correspond to the different placement areas in the work area in order to distinguish the application systems built in the two cities to prevent clutter.
- placing the product graphic in the working area according to the picture information of the pre-stored product graphic specifically includes:
- the product graphic is removed from the area where the product graphic is placed in the work area and the product graphic is placed in the work area.
- the corresponding area if not located in a corresponding area in the work area, the product graphic is removed from the area where the product graphic is placed in the work area and the product graphic is placed in the work area.
- the graphic information of the product graphic includes the size, shape, type, and level characteristics in addition to the position.
- the product graphics are designed according to the product information, including the design of its size and shape; the level characteristics are used to indicate the level relationship between the product graphics and other product graphics, that is, the level of product graphics and other product graphics can be obtained according to the level characteristics of the product graphics. relationship.
- the product graphics are classified into two types according to the product type and the product attribute in the product information, wherein the size of the product graphic can accommodate other product graphics, and the size of the product graphic is not adjustable. Cannot be adjusted.
- the storage mode is used to indicate the relationship between the products, the product graphics can only be in the upper product graphics range, that is, the product graphics of the upper level can accommodate the next level of product graphics, but the next level of product graphics. Can not accommodate the product graphics of the previous level, and the product graphics of the same level can not intersect. Therefore, according to the level characteristic of the product graphic, the storage mode of the product graphic and other product graphics can be obtained, thereby further limiting the placement position of the product graphic.
- the product graphics of the region are of a size-adjustable type, wherein the product graphics of the network domain are placed in the product graphics of the region; the product graphics of the cloud host are placed in the product graphics of the network domain, but cannot be directly placed in the region.
- the product graphics of the cloud disk are placed in the product graphics of the cloud host.
- the product graphic of the geographical area is the upper level of the product graphic of the network domain; the product graphic of the network domain is the upper level of the product graphic of the cloud host; the product graphic of the cloud host is the upper level of the product graphic of the cloud disk.
- the method for web graphics deployment further includes: setting a level characteristic of the product graphic according to the service requirement and the product information. For example, if the service requirement is to establish a tomcat server cluster, and for the load balancing level feature, the load balancing level feature is set to the next level of the region according to the service requirement and the load balancing attribute, and then used to represent load balancing and The connection to the tomcat server association connects the load-balanced product graphics with the product graphics of the tomcat server.
- the method for deploying the Web graphics further includes:
- the product system diagram is divided into different levels according to the product hierarchy.
- the corresponding product graphics of the products of the same level are located in the same level in the product system diagram; the corresponding product graphics of different levels of products are located at different levels in the product system diagram.
- the product is divided into a basic product layer and an application product layer according to the product type in the product information
- the product system diagram is divided into an infrastructure level and an application service level according to the product hierarchy.
- the product graphics on the infrastructure level correspond to the products in the base product layer; the product graphics on the application service level correspond to the products in the application product layer.
- products on the infrastructure layer include, but are not limited to, geographies, networks, virtual machines, hosts, disks, and the like.
- Products on the application layer include but are not limited to Web containers, application servers, Tomcat and other middleware, load balancing, database products, and so on.
- middleware such as Tomcat needs to be placed in the application layer of the cloud host, that is, at the application service level of the product system diagram, but the cloud host is at the infrastructure level.
- the middleware at the infrastructure level on the product system diagram and the middleware such as Tomcat on the application service level form a rectangular parallelepiped on the plane, and the product system diagram is more intuitively displayed to the user.
- the application layer is integrated with the cloud host, represented as a host at the infrastructure level, and represented as a logical entity at the application service level. Therefore, the web graphics deployment method also includes:
- the operations of viewing the product system graphics include viewing the product graphics for all levels, viewing the product graphics for one of the layers, and viewing the product graphics for one of the layers and some of the product graphics for other levels.
- the web graphics deployment method further includes:
- the graphical data model includes a plurality of implementation data, each instance data corresponding to a combination of a product graphic or a product graphic on a product system map, and thus, an instance data includes product information and graphic information corresponding to the product graphic.
- the preferred graphical data model is a tree structure including a root node, a tree node, and a plurality of branch nodes, and the branch nodes are located on the tree nodes.
- Each node corresponds to one instance data, that is, each node corresponds to a combination of product graphics or product graphics.
- the inclusion relationship between the tree node and the branch node corresponds to the inclusion relationship between the product graphics. Therefore, in this embodiment, the product system diagram process is constructed, and the graphic data model is constructed according to the product graphics and the corresponding correspondence between the product graphics and the nodes.
- the construction of the product system diagram completes the creation of the graphical data model, and when the image is exported, the data model can be simultaneously exported in addition to the data of the graphic itself, so the product system diagram constructed can be used for webpage user interaction.
- the above-mentioned Web graphics deployment method provides a unified view for the user to establish a number of products and the relationship between the products, thereby completing the resource deployment of the application system, specifically by editing the product graphics corresponding to the product in the work area, and finally forming a
- the frame is used to represent the product system diagram of the application system, and then the product resources of the corresponding application system are deployed according to the information carried on the product system diagram.
- This process does not require a view to edit the product graphics one by one, which improves the assembly efficiency.
- the product graphics are designed according to the product information and the product system diagram is divided into multiple levels, which is more intuitive and will be more intuitive in the application system.
- the relationship of each product is displayed, which is convenient for users to view and improve the experience.
- a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
- the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
- the invention also provides a computer readable storage medium having stored one or more programs, one or more programs executable by one or more processors to perform the operations:
- the product graphic is placed in the work area according to the picture information of the pre-stored product graphic;
- the one or more programs may also be executed by one or more processors to perform the following operations: dividing the work area into a plurality of areas according to product information of the product, and the product graphic corresponding to each product At least one area within the work area;
- the operation of placing the product graphic in the work area according to the picture information of the pre-stored product graphic further includes:
- the product graphic is removed from the area in which the product graphic is placed in the work area, and if it is placed in a corresponding area in the work area, the product graphic is retained in the work area.
- the product graphic is divided into two types according to preset product information: the size is adjustable and the size is not adjustable, and the size-adjustable product graphic can accommodate other product graphics.
- the storage mode is used to indicate the relationship between the products, the product graphics can only be in the upper product graphics range, that is, the product graphics of the upper level can accommodate the next level of product graphics, but the next level of product graphics. Can not accommodate the product graphics of the previous level, and the product graphics of the same level can not intersect.
- one or more programs may also be executed by one or more processors to perform the following operations:
- one or more programs may also be executed by one or more processors to perform the following operations:
- the products are divided into different levels according to the product types in the pre-stored product information; wherein the product information includes the product types.
- the product system diagram is divided into different levels according to the product hierarchy.
- the corresponding product graphics of the products of the same level are located in the same level in the product system diagram; the corresponding product graphics of different levels of products are located at different levels in the product system diagram.
- one or more programs may also be executed by one or more processors to perform the following operations:
- the operations of viewing the product system graphics include viewing the product graphics for all levels, viewing the product graphics for one of the layers, and viewing the product graphics for one of the layers and some of the product graphics for other levels.
- the product graphics of all levels on the product system graphic are displayed in the same view. If an operation to view a product graphic of one of the layers is detected, the product graphics of the selected hierarchy are displayed in the same view and the product graphics of other levels are hidden. If it is detected that the product graphics of one layer and the product graphics of other layers are simultaneously viewed, all product graphics of the selected hierarchy and the product graphics of other selected levels are displayed in the same view, and other levels are hidden. Selected product graphics.
- FIG. 5 is a schematic diagram of a composition of a web graphics deployment apparatus 100 according to an embodiment of the present invention.
- the Web graphics deployment apparatus 100 includes a detection unit 501, a placement unit 502, an establishment unit 503, a construction unit 504, and a processing unit 505.
- the detecting unit 501 is configured to detect whether there is a placing operation of dragging and dropping the product graphic into the working area, and a product graphic corresponds to the pre-stored product information. This is because the product graphics correspond to the product, and the product corresponds to pre-stored product information.
- the product is a resource required for forming an application system, and the products include but are not limited to resources such as a host, a disk, an application server, a database, a network, and a virtual machine. This resource involves resources such as hardware devices, software services, and networks when building an application system. It should also be understood that the product corresponds one-to-one with the product graphics in the product list; the product also corresponds to the pre-stored product information.
- Product information includes, but is not limited to, product type, product name, product attributes, and parameters.
- the detecting unit 501 is further configured to detect whether there is an establishing operation of establishing an association relationship between product graphics in the working area.
- the placing unit 502 is configured to place the product graphic in the work area according to the picture information of the pre-stored product graphic if the detecting unit 501 detects that there is a placing operation of dragging and dropping the product graphic into the working area.
- the picture information includes, but is not limited to, a placement position, a size, a shape, a type, and the like.
- the establishing unit 503 is configured to establish an association relationship between corresponding product graphics if the detecting unit 501 detects that there is an establishing operation of establishing an association relationship between product graphics in the working area.
- many products in the application system work in cooperation and have a rich relationship with each other. Therefore, when constructing a product system diagram for indicating an application system in this embodiment, it is used to represent a product graphic between products. The relationship is also very rich.
- different lines are preferably used to indicate different association relationships between product graphics, including but not limited to inclusion relationships, dependencies, reference relationships, and the like. The type of line can be distinguished by color, virtual solid line, and thickness.
- the building unit 504 is configured to construct at least one product system map in the work area according to the product graphics of the drag and drop and the established association relationship.
- the processing unit 505 is configured to deploy product resources of each product system diagram. Specifically, the product resources are constructed according to product information and association relationships of all product graphics in each product system diagram. Then edit the product graphics in the work area to form a product system diagram for representing the application system.
- the product system diagram includes product graphics and association relationships. Since the product graphics correspond to product information, the application can be obtained from the product system diagram.
- the product information required by the system including the type, name, attributes and parameters of the product.
- the specific implementation process converts the information carried in the product system diagram into data of a specific format, and then constructs corresponding product resources according to the data of a specific format.
- the Web graphics deployment apparatus 100 further includes a dividing unit 506.
- the dividing unit 506 is configured to divide the working area into a plurality of areas according to the product information of the product, and the product graphic of each product corresponds to at least one area in the working area.
- the placing unit 502 further includes a determining unit 521 and a control unit 522, wherein the determining unit 512 is configured to determine whether the product graphic is placed in a corresponding area in the working area; and the control unit 522 is configured to determine that the determining unit 521 is not placed in the working area.
- the product graphic is removed from the area where the product graphic is placed in the working area, and is also used to retain the product graphic in the working area if the determining unit 521 determines that the corresponding area is placed in the working area. .
- control unit 522 is configured to: if the determining unit 521 determines that the corresponding area is not placed in the working area, remove the product graphic from the area where the product graphic is placed in the working area and the product The graphics are placed in the corresponding areas in the workspace.
- the graphic information of the product graphic includes the size, shape, type, and level characteristics in addition to the position.
- the product graphics are designed according to the product information, including the design of its size and shape; the level characteristics are used to indicate the level relationship between the product graphics and other product graphics, that is, the level of product graphics and other product graphics can be obtained according to the level characteristics of the product graphics. relationship.
- the product graphics are classified into two types according to the product type and the product attribute in the product information, wherein the size of the product graphic can accommodate other product graphics, and the size of the product graphic is not adjustable.
- the storage mode is used to indicate the relationship between the products
- the product graphics can only be in the upper product graphics range, that is, the product graphics of the upper level can accommodate the next level of product graphics, but the next level of product graphics. Can not accommodate the product graphics of the previous level, and the product graphics of the same level can not intersect. Therefore, according to the level characteristic of the product graphic, the storage mode of the product graphic and other product graphics can be obtained, thereby further limiting the placement position of the product graphic.
- the web graphics deployment apparatus 100 further includes a setting unit 507 for setting a level characteristic of the product graphic according to the business requirement and the product information.
- the Web graphics deployment device 100 further includes a classification unit 508, in order to facilitate the user to analyze and view the product system map from different angles when the product system map is formed. And a layering unit 509.
- the classification unit 508 is configured to divide the products into different levels according to the product types in the pre-stored product information.
- the layering unit 509 is configured to divide the product system diagram into different levels according to the level of the product, and the corresponding product graphics of the products of the same level are located in the same level in the product system diagram; the corresponding product graphics of the products of different levels are located in the product system diagram. Level.
- the product is divided into a basic product layer and an application product layer according to the product type in the product information
- the product system diagram is divided into an infrastructure level and an application service level according to the product hierarchy.
- the product graphics on the infrastructure level correspond to the products in the base product layer; the product graphics on the application service level correspond to the products in the application product layer.
- products on the infrastructure layer include, but are not limited to, geographies, networks, virtual machines, hosts, disks, and the like.
- Products on the application layer include but are not limited to Web containers, application servers, Tomcat and other middleware, load balancing, database products, and so on.
- the Web graphics deployment apparatus 100 further includes a detecting unit 510 and a display unit 511.
- the detecting unit 510 is configured to detect an operation of the user to select to view the product system graphic, and the operation of viewing the product system graphic includes viewing product graphics of all levels, viewing product graphics of one layer, and viewing product graphics and other layers of one layer at the same time. Part of the product graphics at the level.
- the display unit 511 is configured to: when the detecting unit 510 detects the operation of viewing the product graphics of all the levels, display the product graphics of all levels on the product system graphic in the same view; if the operation of viewing the product graphics of one of the layers is detected, the display The product graphics of the selected hierarchy are in the same view and hide the product graphics of other levels; if it is detected that the product graphics of one layer and the product graphics of other layers are simultaneously viewed, all product graphics of the selected hierarchy are displayed in the same view and Other levels of product graphics are selected, and other levels of unselected product graphics are hidden.
- the web graphics deployment apparatus 100 further includes a modeling unit 512, wherein the modeling unit 512 is configured to construct a graphical data model according to the product system diagram, where the graphical data model includes A plurality of implementation data, each instance data corresponding to a product graphic or a combination of product graphics on a product system map, therefore, an instance data includes product information and graphic information corresponding to the product graphic.
- the preferred graphical data model is a tree structure including a root node, a tree node, and a plurality of branch nodes, and the branch nodes are located on the tree nodes.
- Each node corresponds to one instance data, that is, each node corresponds to a combination of product graphics or product graphics.
- the inclusion relationship between the tree node and the branch node corresponds to the inclusion relationship between the product graphics. Therefore, in the embodiment, the product system map process is constructed, and the modeling unit 512 constructs the graphic according to the product graphic and the corresponding relationship between the product graphic and the node. Data model.
- the above-mentioned Web graphics deployment apparatus and method provide a unified view for a user to establish a number of products and associations between products, thereby completing resource deployment of the application system, and specifically editing the product graphics corresponding to the products in the work area by the user. Finally, a product system diagram representing the application system is formed, and then the resource deployment of the corresponding application system is completed according to the information carried on the product system diagram.
- the web graphics deployment method and tool are mainly applied to a user-established application system in cloud computing, and automatically construct a corresponding product system diagram according to user operations and preset rules.
- steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.
- the units in the apparatus of the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
- the above detecting unit 501, the placing unit 502, the establishing unit 503, and the like may be embedded in or independent of a Web graphics deployment system in hardware, or may be stored in a Web form in a hardware manner.
- the graphics are deployed in the memory of the system so that the processor performs the operations corresponding to the above units.
- the processor can be a central processing unit (CPU ), microprocessor, microcontroller, etc.
- FIG. 6 is a hardware structural diagram of a first embodiment of a Web graphics deployment system according to an embodiment of the present invention.
- the Web graphics deployment system includes one or more processes. 601, one or more input/output devices 602, and a memory 603 and display 604.
- the above processor 601, input/output device 602, and memory 603 and display 604 are connected by a bus.
- the input/output device 602 is configured to input a user instruction and output response data of the input graphical user command by the web graphics deployment system.
- the input/output device 602 of an embodiment of the present invention may be one or more physical buttons and/or a mouse and/or a joystick or the like.
- the display 604 is configured to display a human-computer interaction interface for the user to input an instruction, and output a response data indicating the user instruction of the web graphics deployment system;
- the memory 603 is for storing one or more programs with various functions.
- the memory 603 of the embodiment of the present invention may be a system memory such as volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.), or a combination of the two.
- the memory 603 of the embodiment of the present invention may also be an external memory outside the system, such as a magnetic disk, an optical disk, a magnetic tape, or the like.
- the processor 601 is configured to execute a program stored in the memory 603 to perform the following operations:
- the product graphic is placed in the work area according to the picture information of the pre-stored product graphic;
- the processor 601 executes the program stored in the memory 603, it also performs an operation of dividing the work area into a plurality of areas according to product information of the product, and the product graphic of each product corresponds to at least one area in the work area.
- processor 601 executes the program stored in the memory 603 to perform the operation of placing the product graphic in the work area according to the picture information of the pre-stored product graphic, the following operations are specifically performed:
- the product graphic will be removed from the area where the product graphic is placed in the workspace. If it is placed in the corresponding area of the workspace, the product graphic is retained in the workspace.
- the product graphic is divided into two types according to preset product information: the size is adjustable and the size is not adjustable, and the product graphic with adjustable size can accommodate other product graphics.
- the storage mode is used to indicate the relationship between the products, the product graphics can only be in the upper product graphics range, that is, the product graphics of the upper level can accommodate the next level of product graphics, but the next level of product graphics. Can not accommodate the product graphics of the previous level, and the product graphics of the same level can not intersect.
- processor 601 executes the program stored in the memory 603, it also performs the following operations:
- processor 601 executes the program stored in the memory 603, it also performs the following operations:
- the products are divided into different levels according to the product types in the pre-stored product information; wherein the product information includes the product types.
- the product system diagram is divided into different levels according to the product hierarchy.
- the corresponding product graphics of the products of the same level are located in the same level in the product system diagram; the corresponding product graphics of different levels of products are located at different levels in the product system diagram.
- processor 601 executes the program stored in the memory 603, it also performs the following operations:
- the operations of viewing the product system graphics include viewing the product graphics for all levels, viewing the product graphics for one of the layers, and viewing the product graphics for one of the layers and some of the product graphics for other levels.
- the product graphics of all levels on the product system graphic are displayed in the same view. If an operation to view a product graphic of one of the layers is detected, the product graphics of the selected hierarchy are displayed in the same view and the product graphics of other levels are hidden. If it is detected that the product graphics of one layer and the product graphics of other layers are simultaneously viewed, all product graphics of the selected hierarchy and the product graphics of other selected levels are displayed in the same view, and other levels are hidden. Selected product graphics.
- FIG. 7 is a hardware structural diagram of a second embodiment of a web graphics deployment system according to an embodiment of the present invention.
- the web graphics deployment system is in the first embodiment.
- the web graphics deployment system of this type is substantially similar, with the main difference being that the touch input/display device 702 is used in place of the input/output device 602 and the display 604 in the first embodiment.
- the touch input/display device 702 is configured to provide a human-computer interaction interface for the user to touch input commands based on the human-computer interaction interface, and output response data of the web graphics deployment system to the input user instruction.
- the touch input/display device 702 includes a touch input device and a display device, and the touch input device is used for touch input in a touch sensing area of the human-machine interaction interface.
- the display device is a display device with a touch panel.
- the human-computer interaction interface includes one or more virtual keys (not shown), which have the same functions as the physical keys in the first embodiment of the present invention, and are not described here.
- any physical button in the first embodiment can be replaced by a virtual button on the touch input/display device 702.
- the processor in the embodiment of the present invention may be a central processing unit (Central Processing) Unit, CPU), the processor can also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), Application Specific Integrated Circuit (ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
- the disclosed apparatus and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
- the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
- Including several instructions to make a computer device may be a personal computer, server, or network device, etc.
- the foregoing storage medium includes: a USB flash drive, a mobile hard disk, and a read only memory. (ROM, Read-Only Memory), random access memory (RAM, Random Access)
- ROM Read-Only Memory
- RAM Random Access
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
A web graphic deployment method, an apparatus, a system and a computer readable storage medium, said method comprising: detecting whether there is a placement operation of product graphics being dragged and dropped in a workspace, wherein product graphics correspond to pre-stored product information (S101); if there is a placement operation, then product graphics are placed within a workspace according to pre-stored image information of the product graphics (S102); detecting whether there is an establishment operation for establishing an association relationship between product graphics in the workspace (S103); and if there is an establishment operation, establishing an association relationship between corresponding product graphics (S104); constructing at least one product system diagram in the workspace according to the product graphics which have been dragged and dropped and the association relationship that has been established (S105); deploying the product resources for each product system diagram (S106). Resource deployment for an application system is completed by means of editing the product graphics and forming product system diagrams in the workspace, allowing for a more direct view of association relationships between products to be displayed, while also improving the organizational efficiency.
Description
技术领域Technical field
本发明涉及计算机技术领域,尤其涉及一种Web图形部署方法、装置、系统及计算机可读存储介质。The present invention relates to the field of computer technologies, and in particular, to a web graphics deployment method, apparatus, system, and computer readable storage medium.
背景技术Background technique
随着计算机领域的发展,诸多时候用户需要将多个产品组建为一组协同的应用服务,现有方式常为用户在视图中以每次单独操作一类产品的方式来逐个创建产品,再通过文字或者表格的形式展示产品之间的关系,此种方式产品之间的关联关系不够直观且单个创建后再进行组建的效率较低,容易出错。With the development of the computer field, many times users need to build multiple products into a set of collaborative application services. The existing methods often create a product one by one for each user to operate one type of product in the view. The relationship between products is displayed in the form of words or tables. In this way, the relationship between products is not intuitive enough, and the efficiency of building them after a single creation is low and error-prone.
发明内容Summary of the invention
本发明实施例提供一种Web图形部署方法及系统,可在同一视图中组建若干产品以及产品之间的关联关系,最终完成应用服务的资源部署。The embodiment of the invention provides a web graphics deployment method and system, which can establish a plurality of products and association relationships between products in the same view, and finally complete resource deployment of application services.
第一方面,本发明实施例提供了一种Web图形部署的方法,该方法包括:检测是否存在将产品图形拖放于工作区中的放置操作,一个产品图形对应预存的产品信息;若存在将产品图形放置于工作区的放置操作,根据预存的产品图形的图片信息将产品图形放置于工作区内;检测是否存在建立工作区内产品图形之间的关联关系的建立操作;若存在建立产品图形之间的关联关系的建立操作,建立相对应的产品图形之间的关联关系;根据拖放的产品图形以及所建立的关联关系在工作区构建出至少一个产品系统图;部署每个产品系统图的产品资源。In a first aspect, an embodiment of the present invention provides a method for deploying a web graphic, the method comprising: detecting whether there is a placing operation of dragging and dropping a product graphic into a work area, and a product graphic corresponding to pre-stored product information; The product graphics are placed in the work area, and the product graphics are placed in the work area according to the picture information of the pre-stored product graphics; detecting whether there is an establishment operation for establishing an association relationship between product graphics in the work area; Establishing an association relationship between the related products, establishing an association relationship between the corresponding product graphics; constructing at least one product system map in the work area according to the drag-and-drop product graphics and the established association relationship; deploying each product system diagram Product resources.
另一方面,本发明实施例提供了一种Web图形部署装置,该Web图形部署装置包括:检测单元、放置单元、建立单元以及构建单元,其中检测单元用于检测是否存在将产品图形拖放于工作区中的放置操作,一个产品图形对应预存的产品信息;放置单元用于若存在将产品图形放置于工作区的放置操作,根据预存的产品图形的图片信息将产品图形放置于工作区内;检测单元还用于检测是否存在建立工作区内产品图形之间的关联关系的建立操作;建立单元用于若存在建立产品图形之间的关联关系的建立操作,建立相对应的产品图形之间的关联关系;构建单元用于根据拖放的产品图形以及所建立的关联关系在工作区构建出至少一个产品系统图;处理单元用于部署每个产品系统图的产品资源。In another aspect, an embodiment of the present invention provides a web graphics deployment apparatus, where the web graphics deployment apparatus includes: a detecting unit, a placing unit, an establishing unit, and a building unit, wherein the detecting unit is configured to detect whether there is a drag and drop of the product graphic. a placement operation in the work area, a product graphic corresponding to the pre-stored product information; the placement unit is configured to place the product graphic in the work area according to the picture information of the pre-stored product graphic if there is a placement operation for placing the product graphic in the work area; The detecting unit is further configured to detect whether there is a establishing operation for establishing an association relationship between the product graphics in the working area; the establishing unit is configured to establish a relationship between the corresponding product graphics if there is an establishing operation of establishing an association relationship between the product graphics The association unit is configured to construct at least one product system map in the work area according to the product graphics of the drag and drop and the established association relationship; the processing unit is used to deploy the product resources of each product system diagram.
另一方面,本发明实施例提供了一种计算机可读存储介质,计算机可读存储介质存储有一个或者一个以上程序,一个或者一个以上程序可被一个或者一个以上的处理器执行,以执行以下操作:In another aspect, an embodiment of the present invention provides a computer readable storage medium storing one or more programs, one or more programs executable by one or more processors to perform the following operating:
检测是否存在将产品图形拖放于工作区中的放置操作,一个产品图形对应预存的产品信息;若存在将产品图形放置于工作区的放置操作,根据预存的产品图形的图片信息将产品图形放置于工作区内;检测是否存在建立工作区内产品图形之间的关联关系的建立操作;若存在建立产品图形之间的关联关系的建立操作,建立相对应的产品图形之间的关联关系;根据拖放的产品图形以及所建立的关联关系在工作区构建出至少一个产品系统图;部署每个产品系统图的产品资源。Detect whether there is a placing operation of dragging and dropping the product graphics into the work area, and a product graphic corresponds to the pre-stored product information; if there is a placing operation for placing the product graphic in the work area, the product graphic is placed according to the picture information of the pre-stored product graphic In the working area; detecting whether there is an establishing operation for establishing an association relationship between product graphics in the working area; if there is an establishing operation of establishing an association relationship between product graphics, establishing an association relationship between corresponding product graphics; Drag and drop product graphics and established relationships to build at least one product system map in the workspace; deploy product resources for each product system diagram.
另一方面,本发明实施例提供了一种Web图形部署系统,系统包括一个或者一个以上的处理器,以及与一个或者一个以上处理器连接的一个或者一个以上输入/输出装置、及存储器,In another aspect, an embodiment of the present invention provides a Web graphics deployment system, the system including one or more processors, and one or more input/output devices and a memory connected to one or more processors,
输入/输出装置,用于输入用户指令,并输出Web图形部署系统对输入的用户指令的响应数据;存储器,用于存储带有各种功能的一个或者一个以上程序;处理器,用于执行存储器中存储的程序,以执行以下操作:Input/output means for inputting user instructions and outputting response data of the web graphics deployment system to the input user instructions; memory for storing one or more programs with various functions; processor for executing the memory Store the program to do the following:
检测是否存在将产品图形拖放于工作区中的放置操作,一个产品图形对应预存的产品信息;若存在将产品图形放置于工作区的放置操作,根据预存的产品图形的图片信息将产品图形放置于工作区内;检测是否存在建立工作区内产品图形之间的关联关系的建立操作;若存在建立产品图形之间的关联关系的建立操作,建立相对应的产品图形之间的关联关系;根据拖放的产品图形以及所建立的关联关系在工作区构建出至少一个产品系统图;部署每个产品系统图的产品资源。Detect whether there is a placing operation of dragging and dropping the product graphics into the work area, and a product graphic corresponds to the pre-stored product information; if there is a placing operation for placing the product graphic in the work area, the product graphic is placed according to the picture information of the pre-stored product graphic In the working area; detecting whether there is an establishing operation for establishing an association relationship between product graphics in the working area; if there is an establishing operation of establishing an association relationship between product graphics, establishing an association relationship between corresponding product graphics; Drag and drop product graphics and established relationships to build at least one product system map in the workspace; deploy product resources for each product system diagram.
本发明实施例通过统一的视图供用户在视图中的工作区编辑与产品对应的产品图形以及关联关系,最终形成一幅代表应用系统的产品系统图,进而根据产品系统图上的携带的信息完成相应的应用系统的资源部署,所有的产品都可以在同一视图进行编辑,更直观地产品之间的关联关系展示出来同时还提高了组建效率。The embodiment of the present invention provides a unified view for the user to edit the product graphics and association relationship corresponding to the product in the working area in the view, and finally forms a product system diagram representing the application system, and then completes according to the information carried on the product system diagram. With the resource deployment of the corresponding application system, all products can be edited in the same view, and the relationship between the products is more intuitively displayed, and the assembly efficiency is also improved.
附图说明DRAWINGS
为了更清楚地说明本发明实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention. For the ordinary technicians, other drawings can be obtained based on these drawings without any creative work.
图 1是发明实施例提供一种Web图形部署装置的可视视图的示意图;1 is a schematic diagram of a visual view of a web graphics deployment device according to an embodiment of the present invention;
图 2本发明实施例提供的一种Web图形部署方法的示意流程图;2 is a schematic flowchart of a web graphics deployment method according to an embodiment of the present invention;
图 3是本发明实施例提供的在可视视图上的产品系统图的示意图;3 is a schematic diagram of a product system diagram in a visual view according to an embodiment of the present invention;
图 4a是本发明实施例提供的显示产品系统图上所有层级的产品图形于同一视图的示意图;4a is a schematic diagram of a product diagram of all levels on a display product system diagram in the same view according to an embodiment of the present invention;
图4b是本发明实施例提供的显示所选择的基础设施层级的产品图形并隐藏应用服务层级的产品图形;FIG. 4b is a product diagram showing a product graphics of a selected infrastructure level and hiding an application service level according to an embodiment of the present invention; FIG.
图 5是本发明实施例提供的一种Web图形部署装置的组成示意图;FIG. 5 is a schematic diagram of a composition of a web graphics deployment apparatus according to an embodiment of the present invention; FIG.
图6是本发明实施例提供的一种Web图形部署系统的第一实施例的硬件结构图;FIG. 6 is a hardware structural diagram of a first embodiment of a web graphics deployment system according to an embodiment of the present invention; FIG.
图7是本发明实施例提供的一种Web图形部署系统的第二实施例的硬件结构图。FIG. 7 is a hardware structural diagram of a second embodiment of a Web graphics deployment system according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和
“包含”指示所描述特征、整体、步骤、操作、元素和/或组建的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组建和/或其集合的存在或添加。还应当理解,在此本发明说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本发明。如在本发明说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。还应当进一步理解,在本发明说明书和所附权利要求书中使用的术语“和/
或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It will be understood that the terms "comprise" and "the" when used in the specification and the appended claims
"Comprising" indicates the existence of the described features, integers, steps, operations, elements and/or components, but does not exclude the presence of one or more other features, integers, steps, operations, elements, components and/or combinations thereof Add to. It is also to be understood that the terminology of the present invention is to be construed as a The singular forms "", ",",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, It should also be further understood that the term "and / is used in the description of the invention and the appended claims.
Or "" refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
参见图1,是本发明实施例提供一种Web图形部署装置的可视视图的示意图。其中Web图形部署装置基于SVG与VML提供统一的可视视图以供用户操作。如图所示,可视视图10包括产品列表11、工作区12以及属性面板13三大模块,产品列表11用于陈列若干产品的对应的产品图形,以供用户从中将所需的产品的对应产品图形拖至工作区进行编辑;工作区12用于供用户编辑从产品列表中选择的产品图形以形成用于表示应用系统的产品系统图。该编辑包括但是不限制为创建产品图形之间的关联关系、调整产品图形的尺寸大小;属性面板13用于供用户修改或者设定所选择的产品的参数,产品的参数包括但是不限制为产品名称、产品的配置,例如,可在属性面板上重新设置所选择的云主机的CPU、内存大小、实例数量等;在属性面板13上设置磁盘的挂载点和大小。1 is a schematic diagram of a visual view of a web graphics deployment device according to an embodiment of the present invention. The Web graphics deployment device provides a unified visual view based on SVG and VML for user operations. As shown, the visual view 10 includes three modules: a product list 11, a work area 12, and an attribute panel 13, and the product list 11 is used to display corresponding product graphics of a plurality of products for the user to correspond to the desired products. The product graphics are dragged to the workspace for editing; the workspace 12 is for the user to edit the product graphics selected from the product list to form a product system map for representing the application system. The editing includes, but is not limited to, creating an association relationship between product graphics, and adjusting the size of the product graphic; the property panel 13 is for the user to modify or set the parameters of the selected product, and the parameters of the product include but are not limited to the product. Name, product configuration, for example, you can reset the CPU, memory size, number of instances, etc. of the selected cloud host on the property panel; set the mount point and size of the disk on the property panel 13.
参见图2,是本发明实施例提供的一种Web图形部署方法的示意流程图。如图所示,该方法包括:FIG. 2 is a schematic flowchart of a web graphics deployment method according to an embodiment of the present invention. As shown, the method includes:
步骤S101,检测是否存在将产品图形拖放于工作区中的放置操作,一个产品图形对应预存的产品信息,是因为产品图形与产品相对应,而产品对应有预存的产品信息。具体的,产品为组建一个应用系统所需要的资源,产品包括但是不限制为主机、磁盘、应用服务器、数据库、网络、虚拟机等资源。该资源是组建应用系统时涉及到硬件设备、软件服务和网络等资源。还应当理解,产品与产品列表中的产品图形相对应;产品与预存的产品信息也相对应。需要说明的是,预存有与产品相对应的产品信息,但是在Web图形部署装置的属性面板可针对预设部分产品信息进行修改,其中,产品信息包括但是不限制为产品类型、产品名称、产品参数和属性等。In step S101, it is detected whether there is a placing operation of dragging and dropping the product graphic into the work area, and a product graphic corresponds to the pre-stored product information, because the product graphic corresponds to the product, and the product corresponds to the pre-stored product information. Specifically, the product is a resource required for forming an application system, and the products include but are not limited to resources such as a host, a disk, an application server, a database, a network, and a virtual machine. This resource involves resources such as hardware devices, software services, and networks when building an application system. It should also be understood that the product corresponds to the product graphic in the product list; the product also corresponds to the pre-stored product information. It should be noted that the product information corresponding to the product is pre-stored, but the property panel of the web graphics deployment device may be modified for the preset part of the product information, wherein the product information includes but is not limited to the product type, the product name, and the product. Parameters and attributes, etc.
需要说明的是,若检测出不存在将产品图形拖放于工作区中的放置操作,执行步骤S107的结束流程。It should be noted that, if it is detected that there is no placement operation for dragging and dropping the product graphic into the work area, the end process of step S107 is performed.
步骤S102,若存在将产品图形放置于工作区的放置操作,根据预存的产品图形的图片信息将产品图形放置于工作区内。具体的,检测到将产品图形拖放于工作区中的放置操作则视为用户选择该产品图形对应的产品进行组建应用系统,因此需将将产品图形拖放至工作区以供用户编辑。预存的图片信息包括但是不限制为摆放位置、尺寸、形状、类型等,步骤S102具体为根据图片信息中的摆放位置将产品图形放置于工作区内相对应的位置。Step S102: If there is a placing operation of placing the product graphic in the work area, the product graphic is placed in the work area according to the picture information of the pre-stored product graphic. Specifically, the detecting operation of dragging and dropping the product graphic into the work area is regarded as the user selecting the product corresponding to the product graphic to form the application system, so the product graphic needs to be dragged and dropped to the work area for the user to edit. The pre-stored picture information includes, but is not limited to, a placement position, a size, a shape, a type, and the like. Step S102 specifically places the product graphic in a corresponding position in the work area according to the placement position in the picture information.
步骤S103,检测是否存在建立工作区内产品图形之间的关联关系的建立操作。具体的,应用系统中的很多产品是协同工作的,相互之间具有丰富的关联关系,因此本实施例中构建用于表示应用系统的产品系统图时,用于表示产品的产品图形之间的关系也很丰富,本实施例中优选用不同的线条表示产品图形之间不同的关联关系,该关联关系包括但是不限制为包含关系、依赖关系、引用关系等。线条的类型可以以颜色、虚实线、粗细来区分。应当理解,线条的类型与关联关系的对应关系是预先设置的,当用户选择某一线条连接产品图形时,则相应地可获知被连接的产品图形之间的关系。其他可行的实施例中,还可以采取其他方式来表示产品的关联关系,例如表示产品A与产品B的包含关系时,可采取产品A对应产品图形容纳产品B对应的产品图形的方式。Step S103, detecting whether there is an establishing operation of establishing an association relationship between product graphics in the work area. Specifically, many products in the application system work in cooperation and have a rich relationship with each other. Therefore, when constructing a product system diagram for indicating an application system in this embodiment, it is used to represent a product graphic between products. The relationship is also very rich. In this embodiment, different lines are preferably used to indicate different association relationships between product graphics, including but not limited to inclusion relationships, dependencies, reference relationships, and the like. The type of line can be distinguished by color, virtual solid line, and thickness. It should be understood that the correspondence between the type of the line and the associated relationship is preset, and when the user selects a certain line to connect the product graphic, the relationship between the connected product graphics is correspondingly known. In other feasible embodiments, other manners may be adopted to indicate the association relationship of the products. For example, when the inclusion relationship between the product A and the product B is indicated, the product graphic corresponding to the product graphic corresponding to the product B of the product A may be adopted.
需要说明的是,若检测出不存在建立工作区内产品图形之间的关联关系的建立操作,执行步骤S107的结束流程。It should be noted that, if it is detected that there is no establishment operation for establishing an association relationship between product graphics in the work area, the end process of step S107 is performed.
步骤S104,若存在建立产品图形之间的关联关系的建立操作,建立相对应的产品图形之间的关联关系。Step S104, if there is an establishing operation of establishing an association relationship between product graphics, establishing an association relationship between corresponding product graphics.
步骤S105,根据拖放的产品图形以及所建立的关联关系在工作区构建出至少一个产品系统图。Step S105, constructing at least one product system map in the work area according to the product graphics of the drag and drop and the established association relationship.
步骤S106,部署每个产品系统图的产品资源。Step S106, deploying product resources of each product system diagram.
步骤S107,结束。Step S107, ending.
具体的,根据产品系统图所携带的信息部署产品资源以形成应用系统。在工作区内编辑产品图形最终形成一幅用于表示应用系统的产品系统图,产品系统图中包括产品图形以及关联关系,由于产品图形对应有产品信息,因此从产品系统图可获取到应用系统所需要的产品信息,其包括了产品的类型、名称、参数和属性等。具体实现过程,将产品系统图所携带的信息转换为特定格式的数据,再根据特定格式的数据构建相应的产品资源。Specifically, the product resources are deployed according to the information carried in the product system diagram to form an application system. Editing the product graphics in the work area finally forms a product system diagram for representing the application system. The product system diagram includes product graphics and association relationships. Since the product graphics correspond to product information, the application system can be obtained from the product system diagram. The required product information, including the type, name, parameters and attributes of the product. The specific implementation process converts the information carried in the product system diagram into data of a specific format, and then constructs corresponding product resources according to the data of a specific format.
需要说明的是,在工作区进行产品图形编辑时,可以在属性面板模块修改对应产品的部分产品信息,具体的,若接收到用户在属性面板上修改产品信息的修改操作,则相应的修改预存的产品信息;以及修改工作区内对应的产品图形上用于显示该产品信息的标记。例如在属性面板上修改数据盘的大小,则工作区内对应数据盘上用于表示大小的数据也相应的修改。It should be noted that, when performing product graphic editing in the work area, part of the product information of the corresponding product may be modified in the property panel module. Specifically, if the user corrects the modification operation of the product information on the property panel, the corresponding modification is pre-stored. Product information; and modify the mark on the corresponding product graphic in the work area to display the product information. For example, if the size of the data disk is modified on the property panel, the data for indicating the size on the corresponding data disk in the work area is also modified accordingly.
应当理解,该Web图形部署方法主要应用于云计算中用户组建应用系统,自动根据用户的操作以及预设的规则构建出相应的产品系统图以供部署应用系统的产品资源。It should be understood that the web graphics deployment method is mainly applied to a user-established application system in cloud computing, and automatically constructs a corresponding product system diagram for deploying application product resources according to user operations and preset rules.
相对上述方法进一步地,若产品图形的位置随意摆放,容易导致在工作区对多个产品图形编辑时产品图形相互重叠,不利于查看等,因此,为了提高用户体验,便于用户更直观的查看产品系统图,还需要进一步的限制产品图形在工作区的摆放位置,Web图形部署的方法还包括:Further, if the position of the product graphic is randomly placed, it is easy to cause the product graphics to overlap each other when editing the plurality of product graphics in the work area, which is disadvantageous for viewing, etc. Therefore, in order to improve the user experience, the user is more intuitive to view. The product system diagram also needs to further limit the placement of the product graphics in the work area. The method of web graphics deployment also includes:
根据产品的产品信息将工作区划分为若干区域,每个产品的产品图形对应工作区内的至少一个区域。具体的,可以是根据产品信息中的产品类型将工作区划分为若干个区域;还可以是根据产品属性划分,本发明实施例对此不进行具体的限定。例如深圳、上海两个地域的产品图形对应在工作区内的摆放区域不同以便区别在两个城市构建的应用系统,防止杂乱出错。The work area is divided into several areas according to the product information of the product, and the product graphic of each product corresponds to at least one area in the work area. Specifically, the working area may be divided into a plurality of areas according to the product type in the product information; or may be divided according to the product attribute, which is not specifically limited in the embodiment of the present invention. For example, the product graphics in the two regions of Shenzhen and Shanghai correspond to the different placement areas in the work area in order to distinguish the application systems built in the two cities to prevent clutter.
进一步地,步骤S102中若存在将产品图形放置于工作区的放置操作,根据预存的产品图形的图片信息将产品图形放置于工作区内具体包括:Further, if there is a placing operation of placing the product graphic in the work area in step S102, placing the product graphic in the working area according to the picture information of the pre-stored product graphic specifically includes:
判断产品图形是否放置于工作区中相对应区域;若不是放置于工作区中相对应的区域,则从工作区内放置该产品图形的区域中移除该产品图形;若是放置于工作区中相对应的区域,则保留该产品图形在工作区中。Determining whether the product graphic is placed in a corresponding area in the working area; if not in the corresponding area in the working area, removing the product graphic from the area where the product graphic is placed in the working area; if it is placed in the working area The corresponding area retains the product graphic in the workspace.
需要说明的是,其他可行的实施例中,若不是放置于工作区中相对应的区域,则从工作区内放置该产品图形的区域中移除该产品图形并将该产品图形放置于工作区中相对应的区域。It should be noted that, in other feasible embodiments, if not located in a corresponding area in the work area, the product graphic is removed from the area where the product graphic is placed in the work area and the product graphic is placed in the work area. The corresponding area.
还需要说明的是,虽针对前述设定了产品图形在工作区的摆放区域,但为了更直观的展示产品系统图中产品图形彼此之间的关系,还可进一步地限定产品图形的摆放位置。产品图形的图形信息除摆放位置还包括尺寸,形状、类型以及级别特性。其中产品图形是根据产品信息进行设计,包括设计其尺寸以及外形;级别特性用于表示产品图形与其他产品图形的级别关系,即根据产品图形的级别特性可获取到产品图形与其他产品图形的级别关系。It should also be noted that although the placement of the product graphics in the work area is set for the foregoing, in order to more intuitively display the relationship between the product graphics in the product system diagram, the placement of the product graphics can be further restricted. position. The graphic information of the product graphic includes the size, shape, type, and level characteristics in addition to the position. The product graphics are designed according to the product information, including the design of its size and shape; the level characteristics are used to indicate the level relationship between the product graphics and other product graphics, that is, the level of product graphics and other product graphics can be obtained according to the level characteristics of the product graphics. relationship.
本实施例中,根据产品信息中的产品类型以及产品属性划分产品图形为尺寸可调和尺寸不可调两种类型,其中尺寸可调的产品图形可以容纳其他产品图形,尺寸不可调的产品图形的形状不能进行调整。其中,容纳方式用于表示产品之间的上下级关系,产品图形只能在其上级的产品图形范围,即上一级的产品图形可以容纳下一级的产品图形,但是下一级的产品图形不能容纳上一级的产品图形,且同一级的产品图形是不能相交。因此根据产品图形的级别特性可以获取到产品图形与其他产品图形的容纳方式,进而进一步限定产品图形的摆放位置。例如,地域的产品图形是尺寸可调类型的,其中网络域的产品图形是放置于地域的产品图形中;云主机的产品图形是放置于网络域的产品图形中,但是不能直接放置于地域的产品图形中;云磁盘的产品图形是放置于云主机的产品图形中。应当理解,地域的产品图形是网络域的产品图形的上一级;网络域的产品图形是云主机的产品图形的上一级;云主机的产品图形是云磁盘的产品图形的上一级。In this embodiment, the product graphics are classified into two types according to the product type and the product attribute in the product information, wherein the size of the product graphic can accommodate other product graphics, and the size of the product graphic is not adjustable. Cannot be adjusted. Among them, the storage mode is used to indicate the relationship between the products, the product graphics can only be in the upper product graphics range, that is, the product graphics of the upper level can accommodate the next level of product graphics, but the next level of product graphics. Can not accommodate the product graphics of the previous level, and the product graphics of the same level can not intersect. Therefore, according to the level characteristic of the product graphic, the storage mode of the product graphic and other product graphics can be obtained, thereby further limiting the placement position of the product graphic. For example, the product graphics of the region are of a size-adjustable type, wherein the product graphics of the network domain are placed in the product graphics of the region; the product graphics of the cloud host are placed in the product graphics of the network domain, but cannot be directly placed in the region. In the product graphics; the product graphics of the cloud disk are placed in the product graphics of the cloud host. It should be understood that the product graphic of the geographical area is the upper level of the product graphic of the network domain; the product graphic of the network domain is the upper level of the product graphic of the cloud host; the product graphic of the cloud host is the upper level of the product graphic of the cloud disk.
本实施例中,Web图形部署的方法还包括:根据业务需求以及产品信息设置产品图形的级别特性。例如若业务需求为建立一个tomcat服务器集群,针对负载均衡的级别特性,则根据该业务需求以及负载均衡的属性将负载均衡的级别特性设置为地域的下一级,再利用用于表示负载均衡与tomcat服务器关联关系的连接连接负载均衡的产品图形与tomcat服务器的产品图形。In this embodiment, the method for web graphics deployment further includes: setting a level characteristic of the product graphic according to the service requirement and the product information. For example, if the service requirement is to establish a tomcat server cluster, and for the load balancing level feature, the load balancing level feature is set to the next level of the region according to the service requirement and the load balancing attribute, and then used to represent load balancing and The connection to the tomcat server association connects the load-balanced product graphics with the product graphics of the tomcat server.
进一步地,由于一个应用系统涉及到硬件设备、软件设备、网络等资源,为了便于用户在组建产品系统图时可以从不同角度对产品系统图进行分析查看,Web图形部署的方法还包括:Further, since an application system involves resources such as hardware devices, software devices, and networks, in order to facilitate the user to analyze and view the product system diagram from different angles when setting up the product system diagram, the method for deploying the Web graphics further includes:
根据预存产品信息中的产品类型将产品划分为不同层次;Divide the product into different levels according to the product type in the pre-stored product information;
根据产品的层次将产品系统图划分为不同的层级,同一层次的产品的对应产品图形位于产品系统图中同一层级;不同层次的产品的对应产品图形位于产品系统图中不同层级。The product system diagram is divided into different levels according to the product hierarchy. The corresponding product graphics of the products of the same level are located in the same level in the product system diagram; the corresponding product graphics of different levels of products are located at different levels in the product system diagram.
本实施例中,根据产品信息中的产品类型将产品划分为基础产品层以及应用产品层,根据产品层次将产品系统图划分为基础设施层级与应用服务层级。基础设施层级上的产品图形对应基础产品层的产品;应用服务层级上的产品图形对应应用产品层的产品。例如,基础设施层上的产品包括但是不限制为地域、网络、虚拟机、主机、磁盘等。应用产品层上的产品包括但是不限制为Web容器、应用服务器、Tomcat等中间件、负载均衡、数据库产品等。例如,Tomcat等中间件需放入云主机的应用层,即位于产品系统图的应用服务层级,但是云主机位于基础设施层级。请参见图3,本实施例中,产品系统图上基础设施层级上云主机与应用服务层级上Tomcat等中间件在平面上构成一个长方体,更直观将产品系统图展示给用户。应当可理解为应用层与云主机为一个整体,在基础设施层级表现为主机,在应用服务层级表现为一个逻辑实体。因此,Web图形部署方法还包括:In this embodiment, the product is divided into a basic product layer and an application product layer according to the product type in the product information, and the product system diagram is divided into an infrastructure level and an application service level according to the product hierarchy. The product graphics on the infrastructure level correspond to the products in the base product layer; the product graphics on the application service level correspond to the products in the application product layer. For example, products on the infrastructure layer include, but are not limited to, geographies, networks, virtual machines, hosts, disks, and the like. Products on the application layer include but are not limited to Web containers, application servers, Tomcat and other middleware, load balancing, database products, and so on. For example, middleware such as Tomcat needs to be placed in the application layer of the cloud host, that is, at the application service level of the product system diagram, but the cloud host is at the infrastructure level. Referring to FIG. 3, in the embodiment, the middleware at the infrastructure level on the product system diagram and the middleware such as Tomcat on the application service level form a rectangular parallelepiped on the plane, and the product system diagram is more intuitively displayed to the user. It should be understood that the application layer is integrated with the cloud host, represented as a host at the infrastructure level, and represented as a logical entity at the application service level. Therefore, the web graphics deployment method also includes:
检测用户选择查看产品系统图形的操作,该查看产品系统图形的操作包括查看全部层级的产品图形、查看其中一层的产品图形以及同时查看其中一层的产品图形和其他层级的部分产品图形。Detecting the user's choice to view the product system graphics. The operations of viewing the product system graphics include viewing the product graphics for all levels, viewing the product graphics for one of the layers, and viewing the product graphics for one of the layers and some of the product graphics for other levels.
若检测到查看全部层级的产品图形的操作,显示产品系统图形上的所有层级的产品图形于同一视图。若检测到查看其中一层的产品图形的操作,显示所选择的层级的产品图形于同一视图并隐藏其他层级的产品图形。若检测到同时查看其中一层的产品图形和其他层级的部分产品图形的操作,显示所选择的层级的所有产品图形以及所选择的其他层级的产品图形于同一视图,并隐藏其他层级的未被选择的产品图形。请参看图4a和图4b,图4a为将产品系统图形上的所有层级的产品图形展示于同一视图;图4b为显示所选择的基础设施层级的产品图形并隐藏应用服务层级的产品图形。If the operation of viewing the product graphics of all levels is detected, the product graphics of all levels on the product system graphic are displayed in the same view. If an operation to view a product graphic of one of the layers is detected, the product graphics of the selected hierarchy are displayed in the same view and the product graphics of other levels are hidden. If it is detected that the product graphics of one layer and the product graphics of other layers are simultaneously viewed, all product graphics of the selected hierarchy and the product graphics of other selected levels are displayed in the same view, and other levels are hidden. Selected product graphics. Referring to Figures 4a and 4b, Figure 4a shows the product graphics of all levels on the product system graphic in the same view; Figure 4b shows the product graphics of the selected infrastructure level and hides the product graphics of the application service level.
需要说明的是,为了使所构建的产品系统图能够用于网页做用户交互,Web图形部署方法还包括:It should be noted that, in order to enable the constructed product system diagram to be used for webpages for user interaction, the web graphics deployment method further includes:
根据产品系统图构建图形数据模型。该图形数据模型包括若干个实施数据,每个实例数据对应一个产品系统图上的产品图形或产品图形的组合,因此,一个实例数据包括对应产品图形的产品信息以及图形信息。本实施例中,优选图形数据模型为树形结构,其包括一个根节点、一个树节点以及若干个支节点,支节点位于树节点上。每个节点对应一个实例数据,即每个节点对应一个产品图形或产品图形的组合。树节点与支节点的包含关系与产品图形之间的包含关系相对应,因此本实施例中构建产品系统图过程,根据产品图形以及预设的产品图形与节点的对应关系构建图形数据模型。Construct a graphical data model based on the product system diagram. The graphical data model includes a plurality of implementation data, each instance data corresponding to a combination of a product graphic or a product graphic on a product system map, and thus, an instance data includes product information and graphic information corresponding to the product graphic. In this embodiment, the preferred graphical data model is a tree structure including a root node, a tree node, and a plurality of branch nodes, and the branch nodes are located on the tree nodes. Each node corresponds to one instance data, that is, each node corresponds to a combination of product graphics or product graphics. The inclusion relationship between the tree node and the branch node corresponds to the inclusion relationship between the product graphics. Therefore, in this embodiment, the product system diagram process is constructed, and the graphic data model is constructed according to the product graphics and the corresponding correspondence between the product graphics and the nodes.
综上,构建产品系统图的同时完成图形数据模型的建立,促使导出图片时,除图形本身的数据,还可以同步导出数据模型,因此所构建的产品系统图能够用于网页做用户交互。In summary, the construction of the product system diagram completes the creation of the graphical data model, and when the image is exported, the data model can be simultaneously exported in addition to the data of the graphic itself, so the product system diagram constructed can be used for webpage user interaction.
应当理解,上述Web图形部署方法提供统一的视图供用户组建若干产品以及产品之间的关联关系,进而完成应用系统的资源部署,具体通过用户在工作区编辑与产品对应的产品图形,最终形成一幅用于表示应用系统的产品系统图,进而根据产品系统图上的携带的信息完成相应的应用系统的产品资源部署。此过程不需要一个视图上逐个编辑产品图形再组合,进而提高了组建效率;进一步地,根据产品信息设计产品图形以及划分产品系统图为多个层级,更直观的将更直观的将应用系统中各产品的关系展示出来,便于用户查看,提高体验感受。It should be understood that the above-mentioned Web graphics deployment method provides a unified view for the user to establish a number of products and the relationship between the products, thereby completing the resource deployment of the application system, specifically by editing the product graphics corresponding to the product in the work area, and finally forming a The frame is used to represent the product system diagram of the application system, and then the product resources of the corresponding application system are deployed according to the information carried on the product system diagram. This process does not require a view to edit the product graphics one by one, which improves the assembly efficiency. Further, the product graphics are designed according to the product information and the product system diagram is divided into multiple levels, which is more intuitive and will be more intuitive in the application system. The relationship of each product is displayed, which is convenient for users to view and improve the experience.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
本发明还提供了一种计算机可读存储介质,计算机可读存储介质存储有一个或者一个以上程序,一个或者一个以上程序可被一个或者一个以上的处理器执行,以执行以下操作:The invention also provides a computer readable storage medium having stored one or more programs, one or more programs executable by one or more processors to perform the operations:
检测是否存在将产品图形拖放于工作区中的放置操作,一个产品图形对应预存的产品信息;Detect whether there is a placement operation of dragging and dropping the product graphics into the work area, and a product graphic corresponds to the pre-stored product information;
若存在将产品图形放置于工作区的放置操作,根据预存的产品图形的图片信息将产品图形放置于工作区内;If there is a placement operation for placing the product graphic in the work area, the product graphic is placed in the work area according to the picture information of the pre-stored product graphic;
检测是否存在建立工作区内产品图形之间的关联关系的建立操作;Detecting whether there is an establishment operation for establishing an association relationship between product graphics in the work area;
若存在建立产品图形之间的关联关系的建立操作,建立相对应的产品图形之间的关联关系;If there is an establishing operation for establishing an association relationship between product graphics, establishing an association relationship between corresponding product graphics;
根据拖放的产品图形以及所建立的关联关系在工作区构建出至少一个产品系统图;Constructing at least one product system map in the work area according to the product graphics of the drag and drop and the established relationship;
部署每个产品系统图的产品资源。Deploy product resources for each product system diagram.
优选地,所述一个或者一个以上程序还可被一个或者一个以上的处理器执行,以执行以下操作:根据产品的产品信息将所述工作区划分为若干区域,每个产品的产品图形对应所述工作区内的至少一个区域;Preferably, the one or more programs may also be executed by one or more processors to perform the following operations: dividing the work area into a plurality of areas according to product information of the product, and the product graphic corresponding to each product At least one area within the work area;
其中,根据预存的产品图形的图片信息将所述产品图形放置于工作区内的操作具体还包括:The operation of placing the product graphic in the work area according to the picture information of the pre-stored product graphic further includes:
判断所述产品图形是否放置于所述工作区中相对应区域;Determining whether the product graphic is placed in a corresponding area in the work area;
若不是,将从所述工作区内放置所述产品图形的区域中移除所述产品图形,若是放置于工作区中相对应的区域,则保留该产品图形在工作区中。If not, the product graphic is removed from the area in which the product graphic is placed in the work area, and if it is placed in a corresponding area in the work area, the product graphic is retained in the work area.
优选地,产品图形根据预设的产品信息划分为尺寸可调和尺寸不可调两种类型,所述尺寸可调的产品图形可容纳其他产品图形。其中,容纳方式用于表示产品之间的上下级关系,产品图形只能在其上级的产品图形范围,即上一级的产品图形可以容纳下一级的产品图形,但是下一级的产品图形不能容纳上一级的产品图形,且同一级的产品图形是不能相交。Preferably, the product graphic is divided into two types according to preset product information: the size is adjustable and the size is not adjustable, and the size-adjustable product graphic can accommodate other product graphics. Among them, the storage mode is used to indicate the relationship between the products, the product graphics can only be in the upper product graphics range, that is, the product graphics of the upper level can accommodate the next level of product graphics, but the next level of product graphics. Can not accommodate the product graphics of the previous level, and the product graphics of the same level can not intersect.
优选地,一个或者一个以上程序还可被一个或者一个以上的处理器执行,以执行以下操作:Preferably, one or more programs may also be executed by one or more processors to perform the following operations:
根据业务需求以及产品信息设置产品图形的级别特性。Set the level characteristics of product graphics based on business needs and product information.
优选地,一个或者一个以上程序还可被一个或者一个以上的处理器执行,以执行以下操作:Preferably, one or more programs may also be executed by one or more processors to perform the following operations:
根据预存产品信息中的产品类型将产品划分为不同层次;其中,产品信息包括产品类型。The products are divided into different levels according to the product types in the pre-stored product information; wherein the product information includes the product types.
根据产品的层次将产品系统图划分为不同的层级,同一层次的产品的对应产品图形位于产品系统图中同一层级;不同层次的产品的对应产品图形位于产品系统图中不同层级。The product system diagram is divided into different levels according to the product hierarchy. The corresponding product graphics of the products of the same level are located in the same level in the product system diagram; the corresponding product graphics of different levels of products are located at different levels in the product system diagram.
优选地,一个或者一个以上程序还可被一个或者一个以上的处理器执行,以执行以下操作:Preferably, one or more programs may also be executed by one or more processors to perform the following operations:
检测用户选择查看产品系统图形的操作,该查看产品系统图形的操作包括查看全部层级的产品图形、查看其中一层的产品图形以及同时查看其中一层的产品图形和其他层级的部分产品图形。Detecting the user's choice to view the product system graphics. The operations of viewing the product system graphics include viewing the product graphics for all levels, viewing the product graphics for one of the layers, and viewing the product graphics for one of the layers and some of the product graphics for other levels.
若检测到查看全部层级的产品图形的操作,显示产品系统图形上的所有层级的产品图形于同一视图。若检测到查看其中一层的产品图形的操作,显示所选择的层级的产品图形于同一视图并隐藏其他层级的产品图形。若检测到同时查看其中一层的产品图形和其他层级的部分产品图形的操作,显示所选择的层级的所有产品图形以及所选择的其他层级的产品图形于同一视图,并隐藏其他层级的未被选择的产品图形。If the operation of viewing the product graphics of all levels is detected, the product graphics of all levels on the product system graphic are displayed in the same view. If an operation to view a product graphic of one of the layers is detected, the product graphics of the selected hierarchy are displayed in the same view and the product graphics of other levels are hidden. If it is detected that the product graphics of one layer and the product graphics of other layers are simultaneously viewed, all product graphics of the selected hierarchy and the product graphics of other selected levels are displayed in the same view, and other levels are hidden. Selected product graphics.
请参看图5,为本发明实施例提供一种Web图形部署装置100的组成示意图。如图所示,Web图形部署装置100包括检测单元501、放置单元502、建立单元503、构建单元504以及处理单元505。FIG. 5 is a schematic diagram of a composition of a web graphics deployment apparatus 100 according to an embodiment of the present invention. As shown, the Web graphics deployment apparatus 100 includes a detection unit 501, a placement unit 502, an establishment unit 503, a construction unit 504, and a processing unit 505.
其中检测单元501用于检测是否存在将产品图形拖放于工作区中的放置操作,一个产品图形对应预存的产品信息。是因为产品图形与产品相对应,而产品对应有预存的产品信息。具体的,产品为组建一个应用系统所需要的资源,产品包括但是不限制为主机、磁盘、应用服务器、数据库、网络、虚拟机等资源。该资源是组建应用系统时涉及到硬件设备、软件服务和网络等资源。还应当理解,产品与产品列表中的产品图形一一对应;产品与预存的产品信息也一一对应。产品信息包括但是不限制为产品类型、产品名称、产品属性和参数等。The detecting unit 501 is configured to detect whether there is a placing operation of dragging and dropping the product graphic into the working area, and a product graphic corresponds to the pre-stored product information. This is because the product graphics correspond to the product, and the product corresponds to pre-stored product information. Specifically, the product is a resource required for forming an application system, and the products include but are not limited to resources such as a host, a disk, an application server, a database, a network, and a virtual machine. This resource involves resources such as hardware devices, software services, and networks when building an application system. It should also be understood that the product corresponds one-to-one with the product graphics in the product list; the product also corresponds to the pre-stored product information. Product information includes, but is not limited to, product type, product name, product attributes, and parameters.
检测单元501还用于检测是否存在建立工作区内产品图形之间的关联关系的建立操作。The detecting unit 501 is further configured to detect whether there is an establishing operation of establishing an association relationship between product graphics in the working area.
放置单元502用于若检测单元501检测到存在将产品图形拖放于工作区中的放置操作,根据预存的产品图形的图片信息将产品图形放置于工作区内。具体的,图片信息包括但是不限制为摆放位置、尺寸、形状、类型等。The placing unit 502 is configured to place the product graphic in the work area according to the picture information of the pre-stored product graphic if the detecting unit 501 detects that there is a placing operation of dragging and dropping the product graphic into the working area. Specifically, the picture information includes, but is not limited to, a placement position, a size, a shape, a type, and the like.
建立单元503用于若检测单元501检测到存在建立工作区内产品图形之间的关联关系的建立操作,建立相对应的产品图形之间的关联关系。具体的,应用系统中的很多产品是协同工作的,相互之间具有丰富的关联关系,因此本实施例中构建用于表示应用系统的产品系统图时,用于表示产品的产品图形之间的关系也很丰富,本实施例中优选用不同的线条表示产品图形之间不同的关联关系,该关联关系包括但是不限制为包含关系、依赖关系、引用关系等。线条的类型可以以颜色、虚实线、粗细来区分。The establishing unit 503 is configured to establish an association relationship between corresponding product graphics if the detecting unit 501 detects that there is an establishing operation of establishing an association relationship between product graphics in the working area. Specifically, many products in the application system work in cooperation and have a rich relationship with each other. Therefore, when constructing a product system diagram for indicating an application system in this embodiment, it is used to represent a product graphic between products. The relationship is also very rich. In this embodiment, different lines are preferably used to indicate different association relationships between product graphics, including but not limited to inclusion relationships, dependencies, reference relationships, and the like. The type of line can be distinguished by color, virtual solid line, and thickness.
构建单元504用于根据拖放的产品图形以及所建立的关联关系在工作区构建出至少一个产品系统图。The building unit 504 is configured to construct at least one product system map in the work area according to the product graphics of the drag and drop and the established association relationship.
处理单元505用于部署每个产品系统图的产品资源,具体的,根据每个产品系统图中所有产品图形对应的产品信息以及关联关系构建产品资源。进而在工作区内编辑产品图形最终形成一幅用于表示应用系统的产品系统图,产品系统图中包括产品图形以及关联关系,由于产品图形对应有产品信息,因此从产品系统图可获取到应用系统所需要的产品信息,其包括了产品的类型、名称、属性和参数等。具体实现过程,将产品系统图所携带的信息转换为特定格式的数据,再根据特定格式的数据构建相应的产品资源。The processing unit 505 is configured to deploy product resources of each product system diagram. Specifically, the product resources are constructed according to product information and association relationships of all product graphics in each product system diagram. Then edit the product graphics in the work area to form a product system diagram for representing the application system. The product system diagram includes product graphics and association relationships. Since the product graphics correspond to product information, the application can be obtained from the product system diagram. The product information required by the system, including the type, name, attributes and parameters of the product. The specific implementation process converts the information carried in the product system diagram into data of a specific format, and then constructs corresponding product resources according to the data of a specific format.
相对上述方法进一步地,若产品图形的位置随意摆放,容易导致在工作区对多个产品图形编辑时产品图形相互重叠,不利于查看等,因此,为了提高用户体验,便于用户更直观的查看产品系统图,还需要进一步的限制产品图形在工作区的摆放位置,Web图形部署装置100还包括划分单元506。Further, if the position of the product graphic is randomly placed, it is easy to cause the product graphics to overlap each other when editing the plurality of product graphics in the work area, which is disadvantageous for viewing, etc. Therefore, in order to improve the user experience, the user is more intuitive to view. The product system diagram further requires further limitation of the placement of the product graphics in the work area. The Web graphics deployment apparatus 100 further includes a dividing unit 506.
划分单元506用于根据产品的产品信息将工作区划分为若干区域,每个产品的产品图形对应工作区内的至少一个区域。The dividing unit 506 is configured to divide the working area into a plurality of areas according to the product information of the product, and the product graphic of each product corresponds to at least one area in the working area.
放置单元502还包括判断单元521以及控制单元522,其中判断单元512用于判断产品图形是否放置于工作区中相对应区域;控制单元522用于若判断单元521判断出不是放置于工作区中相对应的区域,则从工作区内放置该产品图形的区域中移除该产品图形以及还用于若判断单元521判断出是放置于工作区中相对应的区域,则保留产品图形在工作区中。The placing unit 502 further includes a determining unit 521 and a control unit 522, wherein the determining unit 512 is configured to determine whether the product graphic is placed in a corresponding area in the working area; and the control unit 522 is configured to determine that the determining unit 521 is not placed in the working area. Corresponding area, the product graphic is removed from the area where the product graphic is placed in the working area, and is also used to retain the product graphic in the working area if the determining unit 521 determines that the corresponding area is placed in the working area. .
其他可行的实施例中,控制单元522用于若判断单元521判断出不是放置于工作区中相对应的区域,则从工作区内放置该产品图形的区域中移除该产品图形并将该产品图形放置于工作区中相对应的区域。In other feasible embodiments, the control unit 522 is configured to: if the determining unit 521 determines that the corresponding area is not placed in the working area, remove the product graphic from the area where the product graphic is placed in the working area and the product The graphics are placed in the corresponding areas in the workspace.
还需要说明的是,针对前述定了产品图形在工作区的摆放区域,为了更直观的展示产品系统图中产品图形彼此之间的关系,还可进一步地限定产品图形的摆放位置。产品图形的图形信息除摆放位置还包括尺寸,形状、类型以及级别特性。其中产品图形是根据产品信息进行设计,包括设计其尺寸以及外形;级别特性用于表示产品图形与其他产品图形的级别关系,即根据产品图形的级别特性可获取到产品图形与其他产品图形的级别关系。本实施例中,根据产品信息中的产品类型以及产品属性划分产品图形为尺寸可调和尺寸不可调两种类型,其中尺寸可调的产品图形可以容纳其他产品图形,尺寸不可调的产品图形的形状不能进行调整。其中,容纳方式用于表示产品之间的上下级关系,产品图形只能在其上级的产品图形范围,即上一级的产品图形可以容纳下一级的产品图形,但是下一级的产品图形不能容纳上一级的产品图形,且同一级的产品图形是不能相交。因此根据产品图形的级别特性可以获取到产品图形与其他产品图形的容纳方式,进而进一步限定产品图形的摆放位置。It should also be noted that, in order to more accurately display the relationship between the product graphics in the product system diagram for the placement of the product graphics in the working area, the placement of the product graphics may be further defined. The graphic information of the product graphic includes the size, shape, type, and level characteristics in addition to the position. The product graphics are designed according to the product information, including the design of its size and shape; the level characteristics are used to indicate the level relationship between the product graphics and other product graphics, that is, the level of product graphics and other product graphics can be obtained according to the level characteristics of the product graphics. relationship. In this embodiment, the product graphics are classified into two types according to the product type and the product attribute in the product information, wherein the size of the product graphic can accommodate other product graphics, and the size of the product graphic is not adjustable. Cannot be adjusted. Among them, the storage mode is used to indicate the relationship between the products, the product graphics can only be in the upper product graphics range, that is, the product graphics of the upper level can accommodate the next level of product graphics, but the next level of product graphics. Can not accommodate the product graphics of the previous level, and the product graphics of the same level can not intersect. Therefore, according to the level characteristic of the product graphic, the storage mode of the product graphic and other product graphics can be obtained, thereby further limiting the placement position of the product graphic.
Web图形部署装置100还包括设置单元507,设置单元507用于根据业务需求以及产品信息设置产品图形的级别特性。The web graphics deployment apparatus 100 further includes a setting unit 507 for setting a level characteristic of the product graphic according to the business requirement and the product information.
进一步地,由于一个应用系统涉及到硬件设备、软件设备、网络等资源,为了便于用户在组建产品系统图时可以从不同角度对产品系统图进行分析查看,Web图形部署装置100还包括分类单元508以及分层单元509。Further, since an application system involves resources such as hardware devices, software devices, and networks, the Web graphics deployment device 100 further includes a classification unit 508, in order to facilitate the user to analyze and view the product system map from different angles when the product system map is formed. And a layering unit 509.
其中分类单元508用于根据预存产品信息中的产品类型将产品划分为不同层次。The classification unit 508 is configured to divide the products into different levels according to the product types in the pre-stored product information.
分层单元509用于根据产品的层次将产品系统图划分为不同的层级,同一层次的产品的对应产品图形位于产品系统图中同一层级;不同层次的产品的对应产品图形位于产品系统图中不同层级。The layering unit 509 is configured to divide the product system diagram into different levels according to the level of the product, and the corresponding product graphics of the products of the same level are located in the same level in the product system diagram; the corresponding product graphics of the products of different levels are located in the product system diagram. Level.
本实施例中,根据产品信息中的产品类型将产品划分为基础产品层以及应用产品层,根据产品层次将产品系统图划分为基础设施层级与应用服务层级。基础设施层级上的产品图形对应基础产品层的产品;应用服务层级上的产品图形对应应用产品层的产品。例如,基础设施层上的产品包括但是不限制为地域、网络、虚拟机、主机、磁盘等。应用产品层上的产品包括但是不限制为Web容器、应用服务器、Tomcat等中间件、负载均衡、数据库产品等。In this embodiment, the product is divided into a basic product layer and an application product layer according to the product type in the product information, and the product system diagram is divided into an infrastructure level and an application service level according to the product hierarchy. The product graphics on the infrastructure level correspond to the products in the base product layer; the product graphics on the application service level correspond to the products in the application product layer. For example, products on the infrastructure layer include, but are not limited to, geographies, networks, virtual machines, hosts, disks, and the like. Products on the application layer include but are not limited to Web containers, application servers, Tomcat and other middleware, load balancing, database products, and so on.
为了满足用户更直观的可查看产品系统图形以了解产品之间的关联关系,Web图形部署装置100还包括侦测单元510以及显示单元511。In order to satisfy the user's more intuitive view of the product system graphics to understand the relationship between the products, the Web graphics deployment apparatus 100 further includes a detecting unit 510 and a display unit 511.
其中侦测单元510用于检测用户选择查看产品系统图形的操作,该查看产品系统图形的操作包括查看全部层级的产品图形、查看其中一层的产品图形以及同时查看其中一层的产品图形和其他层级的部分产品图形。The detecting unit 510 is configured to detect an operation of the user to select to view the product system graphic, and the operation of viewing the product system graphic includes viewing product graphics of all levels, viewing product graphics of one layer, and viewing product graphics and other layers of one layer at the same time. Part of the product graphics at the level.
显示单元511用于若侦测单元510检测到查看全部层级的产品图形的操作,显示产品系统图形上的所有层级的产品图形于同一视图;若检测到查看其中一层的产品图形的操作,显示所选择的层级的产品图形于同一视图并隐藏其他层级的产品图形;若检测到同时查看其中一层的产品图形和其他层级的部分产品图形,显示所选择的层级的所有产品图形于同一视图以及所选择的其他层级的产品图形,并隐藏其他层级的未被选择的产品图形。The display unit 511 is configured to: when the detecting unit 510 detects the operation of viewing the product graphics of all the levels, display the product graphics of all levels on the product system graphic in the same view; if the operation of viewing the product graphics of one of the layers is detected, the display The product graphics of the selected hierarchy are in the same view and hide the product graphics of other levels; if it is detected that the product graphics of one layer and the product graphics of other layers are simultaneously viewed, all product graphics of the selected hierarchy are displayed in the same view and Other levels of product graphics are selected, and other levels of unselected product graphics are hidden.
为了使所构建的产品系统图能够用于网页做用户交互,Web图形部署装置100还包括建模单元512,其中建模单元512,用于根据产品系统图构建图形数据模型,该图形数据模型包括若干个实施数据,每个实例数据对应一个产品系统图上的产品图形或产品图形的组合,因此,一个实例数据包括对应产品图形的产品信息以及图形信息。本实施例中,优选图形数据模型为树形结构,其包括一个根节点、一个树节点以及若干个支节点,支节点位于树节点上。每个节点对应一个实例数据,即每个节点对应一个产品图形或产品图形的组合。树节点与支节点的包含关系与产品图形之间的包含关系相对应,因此本实施例中构建产品系统图过程,建模单元512根据产品图形以及预设的产品图形与节点的对应关系构建图形数据模型。In order to enable the constructed product system diagram to be used for webpages for user interaction, the web graphics deployment apparatus 100 further includes a modeling unit 512, wherein the modeling unit 512 is configured to construct a graphical data model according to the product system diagram, where the graphical data model includes A plurality of implementation data, each instance data corresponding to a product graphic or a combination of product graphics on a product system map, therefore, an instance data includes product information and graphic information corresponding to the product graphic. In this embodiment, the preferred graphical data model is a tree structure including a root node, a tree node, and a plurality of branch nodes, and the branch nodes are located on the tree nodes. Each node corresponds to one instance data, that is, each node corresponds to a combination of product graphics or product graphics. The inclusion relationship between the tree node and the branch node corresponds to the inclusion relationship between the product graphics. Therefore, in the embodiment, the product system map process is constructed, and the modeling unit 512 constructs the graphic according to the product graphic and the corresponding relationship between the product graphic and the node. Data model.
综上所示,上述Web图形部署装置和方法提供统一的视图供用户组建若干产品以及产品之间的关联关系,进而完成应用系统的资源部署,具体通过用户在工作区编辑与产品对应的产品图形,最终形成一幅代表应用系统的产品系统图,进而根据产品系统图上的携带的信息完成相应的应用系统的资源部署。该Web图形部署方法和工具主要应用于云计算中用户组建应用系统,自动根据用户的操作以及预设的规则构建出相应的产品系统图。In summary, the above-mentioned Web graphics deployment apparatus and method provide a unified view for a user to establish a number of products and associations between products, thereby completing resource deployment of the application system, and specifically editing the product graphics corresponding to the products in the work area by the user. Finally, a product system diagram representing the application system is formed, and then the resource deployment of the corresponding application system is completed according to the information carried on the product system diagram. The web graphics deployment method and tool are mainly applied to a user-established application system in cloud computing, and automatically construct a corresponding product system diagram according to user operations and preset rules.
需要说明的是,本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。本发明实施例装置中的单元可以根据实际需要进行合并、划分和删减。It should be noted that the steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs. The units in the apparatus of the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
另一方面,在硬件实现上,以上检测单元501、放置单元502以及建立单元503等可以以硬件形式内嵌于或独立于一种Web图形部署系统中,也可以以硬件形式存储于一种Web图形部署系统的存储器中,以便于处理器执行以上各个单元对应的操作。该处理器可以为中央处理单元(CPU
)、微处理器、单片机等。On the other hand, in hardware implementation, the above detecting unit 501, the placing unit 502, the establishing unit 503, and the like may be embedded in or independent of a Web graphics deployment system in hardware, or may be stored in a Web form in a hardware manner. The graphics are deployed in the memory of the system so that the processor performs the operations corresponding to the above units. The processor can be a central processing unit (CPU
), microprocessor, microcontroller, etc.
如图6所示,图6是本发明实施例提供的一种Web图形部署系统的第一实施例的硬件结构图,在本实施例中,该一种Web图形部署系统包括一个或者一个以上处理器601、一个或者一个以上输入/输出装置602、以及存储器603和显示器604。上述处理器601、输入/输出装置602以及存储器603和显示器604通过总线连接。As shown in FIG. 6, FIG. 6 is a hardware structural diagram of a first embodiment of a Web graphics deployment system according to an embodiment of the present invention. In this embodiment, the Web graphics deployment system includes one or more processes. 601, one or more input/output devices 602, and a memory 603 and display 604. The above processor 601, input/output device 602, and memory 603 and display 604 are connected by a bus.
输入/输出装置602,用于输入用户指令,并输出Web图形部署系统对输入的用户指令的响应数据。本发明实施例的输入/输出装置602可以是一个或多个物理按键和/或鼠标和/或操作杆等。The input/output device 602 is configured to input a user instruction and output response data of the input graphical user command by the web graphics deployment system. The input/output device 602 of an embodiment of the present invention may be one or more physical buttons and/or a mouse and/or a joystick or the like.
显示器604,用于显示人机交互界面,以供用户输入指令,且输出显示该Web图形部署系统对用户指令的响应数据;The display 604 is configured to display a human-computer interaction interface for the user to input an instruction, and output a response data indicating the user instruction of the web graphics deployment system;
存储器603,用于存储带有各种功能的一个或者一个以上程序。具体实现中,本发明实施例的存储器603可以是系统存储器,比如,挥发性的(诸如RAM),非易失性的(诸如ROM,闪存等),或者两者的结合。具体实现中,本发明实施例的存储器603还可以是系统之外的外部存储器,比如,磁盘、光盘、磁带等。The memory 603 is for storing one or more programs with various functions. In a specific implementation, the memory 603 of the embodiment of the present invention may be a system memory such as volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.), or a combination of the two. In a specific implementation, the memory 603 of the embodiment of the present invention may also be an external memory outside the system, such as a magnetic disk, an optical disk, a magnetic tape, or the like.
处理器601,用于执行存储器603中存储的程序,以执行以下操作:The processor 601 is configured to execute a program stored in the memory 603 to perform the following operations:
检测是否存在将产品图形拖放于工作区中的放置操作,一个产品图形对应预存的产品信息;Detect whether there is a placement operation of dragging and dropping the product graphics into the work area, and a product graphic corresponds to the pre-stored product information;
若存在将产品图形放置于工作区的放置操作,根据预存的产品图形的图片信息将产品图形放置于工作区内;If there is a placement operation for placing the product graphic in the work area, the product graphic is placed in the work area according to the picture information of the pre-stored product graphic;
检测是否存在建立工作区内产品图形之间的关联关系的建立操作;Detecting whether there is an establishment operation for establishing an association relationship between product graphics in the work area;
若存在建立产品图形之间的关联关系的建立操作,建立相对应的产品图形之间的关联关系;If there is an establishing operation for establishing an association relationship between product graphics, establishing an association relationship between corresponding product graphics;
根据拖放的产品图形以及所建立的关联关系在工作区构建出至少一个产品系统图;Constructing at least one product system map in the work area according to the product graphics of the drag and drop and the established relationship;
部署每个产品系统图的产品资源。Deploy product resources for each product system diagram.
优选地,处理器601执行存储器603中存储的程序时还执行以下操作:根据产品的产品信息将工作区划分为若干区域,每个产品的产品图形对应工作区内的至少一个区域。Preferably, when the processor 601 executes the program stored in the memory 603, it also performs an operation of dividing the work area into a plurality of areas according to product information of the product, and the product graphic of each product corresponds to at least one area in the work area.
处理器601执行存储器603中存储的程序时,以执行根据预存的产品图形的图片信息将产品图形放置于工作区内操作时,具体还执行以下操作:When the processor 601 executes the program stored in the memory 603 to perform the operation of placing the product graphic in the work area according to the picture information of the pre-stored product graphic, the following operations are specifically performed:
判断产品图形是否放置于工作区中相对应区域;Determining whether the product graphic is placed in a corresponding area in the work area;
若不是,将从工作区内放置产品图形的区域中移除产品图形,若是放置于工作区中相对应的区域,则保留该产品图形在工作区中。If not, the product graphic will be removed from the area where the product graphic is placed in the workspace. If it is placed in the corresponding area of the workspace, the product graphic is retained in the workspace.
优选地,产品图形根据预设的产品信息划分为尺寸可调和尺寸不可调两种类型,尺寸可调的产品图形可容纳其他产品图形。其中,容纳方式用于表示产品之间的上下级关系,产品图形只能在其上级的产品图形范围,即上一级的产品图形可以容纳下一级的产品图形,但是下一级的产品图形不能容纳上一级的产品图形,且同一级的产品图形是不能相交。Preferably, the product graphic is divided into two types according to preset product information: the size is adjustable and the size is not adjustable, and the product graphic with adjustable size can accommodate other product graphics. Among them, the storage mode is used to indicate the relationship between the products, the product graphics can only be in the upper product graphics range, that is, the product graphics of the upper level can accommodate the next level of product graphics, but the next level of product graphics. Can not accommodate the product graphics of the previous level, and the product graphics of the same level can not intersect.
优选地,处理器601执行存储器603中存储的程序时还执行以下操作:Preferably, when the processor 601 executes the program stored in the memory 603, it also performs the following operations:
根据业务需求以及产品信息设置产品图形的级别特性。Set the level characteristics of product graphics based on business needs and product information.
优选地,处理器601执行存储器603中存储的程序时还执行以下操作:Preferably, when the processor 601 executes the program stored in the memory 603, it also performs the following operations:
根据预存产品信息中的产品类型将产品划分为不同层次;其中,产品信息包括产品类型。The products are divided into different levels according to the product types in the pre-stored product information; wherein the product information includes the product types.
根据产品的层次将产品系统图划分为不同的层级,同一层次的产品的对应产品图形位于产品系统图中同一层级;不同层次的产品的对应产品图形位于产品系统图中不同层级。The product system diagram is divided into different levels according to the product hierarchy. The corresponding product graphics of the products of the same level are located in the same level in the product system diagram; the corresponding product graphics of different levels of products are located at different levels in the product system diagram.
优选地,处理器601执行存储器603中存储的程序时还执行以下操作:Preferably, when the processor 601 executes the program stored in the memory 603, it also performs the following operations:
检测用户选择查看产品系统图形的操作,该查看产品系统图形的操作包括查看全部层级的产品图形、查看其中一层的产品图形以及同时查看其中一层的产品图形和其他层级的部分产品图形。Detecting the user's choice to view the product system graphics. The operations of viewing the product system graphics include viewing the product graphics for all levels, viewing the product graphics for one of the layers, and viewing the product graphics for one of the layers and some of the product graphics for other levels.
若检测到查看全部层级的产品图形的操作,显示产品系统图形上的所有层级的产品图形于同一视图。若检测到查看其中一层的产品图形的操作,显示所选择的层级的产品图形于同一视图并隐藏其他层级的产品图形。若检测到同时查看其中一层的产品图形和其他层级的部分产品图形的操作,显示所选择的层级的所有产品图形以及所选择的其他层级的产品图形于同一视图,并隐藏其他层级的未被选择的产品图形。If the operation of viewing the product graphics of all levels is detected, the product graphics of all levels on the product system graphic are displayed in the same view. If an operation to view a product graphic of one of the layers is detected, the product graphics of the selected hierarchy are displayed in the same view and the product graphics of other levels are hidden. If it is detected that the product graphics of one layer and the product graphics of other layers are simultaneously viewed, all product graphics of the selected hierarchy and the product graphics of other selected levels are displayed in the same view, and other levels are hidden. Selected product graphics.
如图7所示,图7为本发明实施例提供的一种Web图形部署系统的第二实施例的硬件结构图,在本实施例中,该一种Web图形部署系统与第一实施例中的该一种Web图形部署系统基本相似,主要区别在于:采用触控输入/显示装置702来代替第一实施例中的输入/输出装置602和显示器604。As shown in FIG. 7 , FIG. 7 is a hardware structural diagram of a second embodiment of a web graphics deployment system according to an embodiment of the present invention. In this embodiment, the web graphics deployment system is in the first embodiment. The web graphics deployment system of this type is substantially similar, with the main difference being that the touch input/display device 702 is used in place of the input/output device 602 and the display 604 in the first embodiment.
该触控输入/显示装置702用于提供人机交互界面,以供用户基于该人机交互界面触控式输入指令,且输出Web图形部署系统对输入的用户指令的响应数据。在本实施例中,该触控输入/显示装置702包括触控输入设备和显示设备,所述触控输入设备用于在所述人机交互界面的触控感应区的触控式输入,所述显示设备为带触控面板的显示设备。该人机交互界面包括一个或多个虚拟按键(图中未示出),所述虚拟按键与本发明第一实施例中的物理按键的功能相同,在此不在累述。另外,可以理解,所述第一实施例中的任何物理按键均可采用触控输入/显示装置702上的虚拟按键替代。The touch input/display device 702 is configured to provide a human-computer interaction interface for the user to touch input commands based on the human-computer interaction interface, and output response data of the web graphics deployment system to the input user instruction. In the embodiment, the touch input/display device 702 includes a touch input device and a display device, and the touch input device is used for touch input in a touch sensing area of the human-machine interaction interface. The display device is a display device with a touch panel. The human-computer interaction interface includes one or more virtual keys (not shown), which have the same functions as the physical keys in the first embodiment of the present invention, and are not described here. In addition, it can be understood that any physical button in the first embodiment can be replaced by a virtual button on the touch input/display device 702.
本发明实施例中所述处理器可以是中央处理单元(Central Processing
Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal
Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列
(Field-Programmable Gate
Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor in the embodiment of the present invention may be a central processing unit (Central Processing)
Unit, CPU), the processor can also be other general purpose processors, digital signal processors (Digital Signal
Processor, DSP), Application Specific Integrated Circuit (ASIC), off-the-shelf programmable gate array
(Field-Programmable Gate
Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的工具和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the above-mentioned tools and units can refer to the corresponding processes in the foregoing method embodiments, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组建可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口、装置或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, or an electrical, mechanical or other form of connection.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备
( 可以是个人计算机,服务器,或者网络设备等 ) 执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括 :U 盘、移动硬盘、只读存储器
(ROM,Read-Only Memory)、随机存取存储器 (RAM,Random Access
Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. Including several instructions to make a computer device
(may be a personal computer, server, or network device, etc.) Performing all or part of the steps of the method described in various embodiments of the present invention. The foregoing storage medium includes: a USB flash drive, a mobile hard disk, and a read only memory.
(ROM, Read-Only Memory), random access memory (RAM, Random Access)
A variety of media that can store program code, such as a memory, a disk, or an optical disk.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any equivalent person can be easily conceived within the technical scope of the present invention by any person skilled in the art. Modifications or substitutions are intended to be included within the scope of the invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims (20)
- 一种Web图形部署的方法,其特征在于,包括: A method for web graphics deployment, comprising:检测是否存在将产品图形拖放于工作区中的放置操作,一个所述产品图形对应预存的产品信息;Detecting whether there is a placing operation of dragging and dropping a product graphic into a work area, and one of the product graphics corresponds to pre-stored product information;若存在将产品图形放置于工作区的放置操作,根据预存的产品图形的图片信息将所述产品图形放置于工作区内;If there is a placement operation of placing the product graphic in the work area, the product graphic is placed in the work area according to the picture information of the pre-stored product graphic;检测是否存在建立所述工作区内产品图形之间的关联关系的建立操作;Detecting whether there is an establishing operation for establishing an association relationship between product graphics in the work area;若存在建立产品图形之间的关联关系的建立操作,建立相对应的产品图形之间的所述关联关系;If there is an establishing operation of establishing an association relationship between product graphics, establishing the association relationship between corresponding product graphics;根据拖放的所述产品图形以及所建立的所述关联关系在所述工作区构建出至少一个产品系统图;Constructing at least one product system map in the work area according to the product graphic of the drag and drop and the associated relationship established;部署每个所述产品系统图的产品资源。 Deploy product resources for each of the product system diagrams.
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:根据产品的产品信息将所述工作区划分为若干区域,每个产品的产品图形对应所述工作区内的至少一个区域;Dividing the work area into a plurality of areas according to product information of the product, and a product graphic of each product corresponds to at least one area in the work area;所述根据预存的产品图形的图片信息将所述产品图形放置于工作区内还包括:The placing the product graphic in the work area according to the picture information of the pre-stored product graphic further includes:判断所述产品图形是否放置于所述工作区中相对应区域;Determining whether the product graphic is placed in a corresponding area in the work area;若不是,将从所述工作区内放置所述产品图形的区域中移除所述产品图形。If not, the product graphic will be removed from the area in which the product graphic is placed in the work area.
- 根据权利要求1所述的方法,其特征在于,所述产品图形根据预设的产品信息划分为尺寸可调和尺寸不可调两种类型,所述尺寸可调的产品图形可容纳其他产品图形。The method according to claim 1, wherein the product graphic is divided into two types according to preset product information: the size adjustable and the size non-adjustable, and the size adjustable product graphic can accommodate other product graphics.
- 根据权利要求1所述的方法,其特征在于,所述产品信息包括产品类型,所述方法还包括:The method of claim 1, wherein the product information comprises a product type, the method further comprising:根据预存产品信息中的产品类型将产品划分为不同层次;Divide the product into different levels according to the product type in the pre-stored product information;根据产品的层次将产品系统图划分为不同的层级,同一层次的产品的对应产品图形位于产品系统图中同一层级;不同层次的产品的对应产品图形位于产品系统图中不同层级。The product system diagram is divided into different levels according to the product hierarchy. The corresponding product graphics of the products of the same level are located in the same level in the product system diagram; the corresponding product graphics of different levels of products are located at different levels in the product system diagram.
- 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises:检测用户选择查看产品系统图形的操作,所述查看产品系统图形的操作包括查看全部层级的产品图形和查看其中一层的产品图形;Detecting an operation of the user selecting to view a product system graphic, the operation of viewing the product system graphic includes viewing a product graphic of all levels and viewing a product graphic of one of the layers;若检测到查看全部层级的产品图形的操作,显示产品系统图形上的所有层级的产品图形于同一视图;若检测到查看其中一层的产品图形的操作,则显示所选择的层级的产品图形于同一视图并隐藏其他层级的产品图形。If the operation of viewing the product graphics of all levels is detected, the product graphics of all levels on the product system graphics are displayed in the same view; if the operation of viewing the product graphics of one of the layers is detected, the product graphics of the selected hierarchy are displayed. The same view and hide product graphics from other levels.
- 一种Web图形部署装置,其特征在于,包括:A web graphics deployment device, comprising:检测单元,用于 检测是否存在将产品图形拖放于工作区中的放置操作,一个所述产品图形对应预存的产品信息;Detection unit for Detecting whether there is a placing operation of dragging and dropping a product graphic into a work area, and one of the product graphics corresponds to pre-stored product information;放置单元,用于若存在将产品图形放置于工作区的放置操作,根据预存的产品图形的图片信息将所述产品图形放置于工作区内;a placing unit, if there is a placing operation for placing the product graphic in the working area, placing the product graphic in the working area according to the picture information of the pre-stored product graphic;检测单元,还用于检测是否存在建立所述工作区内产品图形之间的关联关系的建立操作;The detecting unit is further configured to detect whether there is an establishing operation for establishing an association relationship between product graphics in the working area;建立单元,用于若存在建立产品图形之间的关联关系的建立操作,建立相对应的产品图形之间的所述关联关系;Establishing a unit, if there is an establishing operation of establishing an association relationship between product graphics, establishing the association relationship between corresponding product graphics;构建单元,用于根据拖放的所述产品图形以及所建立的所述关联关系在所述工作区构建出至少一个产品系统图;a building unit, configured to construct at least one product system map in the work area according to the product graphic of the drag and drop and the established relationship;处理单元,用于部署每个所述产品系统图的产品资源。A processing unit for deploying product resources of each of the product system diagrams.
- 根据权利要求6所述的Web图形部署装置,其特征在于,所述Web图形部署装置还包括划分单元,所述放置单元还包括判断单元以及控制单元,The web graphics deployment device according to claim 6, wherein the web graphics deployment device further comprises a dividing unit, the placing unit further comprising a determining unit and a control unit,所述划分单元,用于根据产品的产品信息将所述工作区划分为若干区域,每个产品的产品图形对应所述工作区内的至少一个区域;The dividing unit is configured to divide the working area into a plurality of areas according to product information of the product, and the product graphic of each product corresponds to at least one area in the working area;所述判断单元,用于判断所述产品图形是否放置于所述工作区中相对应区域;The determining unit is configured to determine whether the product graphic is placed in a corresponding area in the working area;所述控制单元,用于若判断出产品图形不是放置于所述工作区中相对应区域,将从所述工作区内放置所述产品图形的区域中移除所述产品图形。The control unit is configured to remove the product graphic from an area in which the product graphic is placed in the working area if it is determined that the product graphic is not placed in a corresponding area in the working area.
- 根据权利要求6所述的Web图形部署装置,其特征在于,所述产品图形根据预设的产品信息划分为尺寸可调和尺寸不可调两种类型,所述尺寸可调的产品图形可容纳其他产品图形。The web graphics deployment device according to claim 6, wherein the product graphics are divided into two types according to preset product information: the size is adjustable and the size is not adjustable, and the size-adjustable product graphics can accommodate other products. Graphics.
- 根据权利要求6所述的Web图形部署装置,其特征在于,所述Web图形部署装置还包括: The web graphics deployment device according to claim 6, wherein the web graphics deployment device further comprises:分类单元,用于根据预存产品信息中的产品类型将产品划分为不同层次;a classification unit for classifying products into different levels according to product types in pre-stored product information;分层单元,用于根据产品的层次将产品系统图划分为不同的层级,同一层次的产品的对应产品图形位于产品系统图中同一层级;不同层次的产品的对应产品图形位于产品系统图中不同层级。The hierarchical unit is used to divide the product system diagram into different levels according to the product hierarchy, and the corresponding product graphics of the products of the same level are located at the same level in the product system diagram; the corresponding product graphics of different levels of products are located in the product system diagram. Level.
- 根据权利要求9所述的Web图形部署装置,其特征在于,所述Web图形部署装置还包括:The web graphics deployment device according to claim 9, wherein the web graphics deployment device further comprises:侦测单元,用于检测用户选择查看产品系统图形的的操作,所述查看产品系统图形的操作包括查看全部层级的产品图形和查看其中一层的产品图形;a detecting unit, configured to detect an operation of the user to select a product system graphic, the operation of viewing the product system graphic includes viewing a product graphic of all levels and viewing a product graphic of one of the layers;显示单元,用于若检测到查看全部层级的产品图形的操作,显示产品系统图形上的所有层级的产品图形于同一视图;若检测到查看其中一层的产品图形的操作,显示所选择的层级的产品图形于同一视图并隐藏其他层级的产品图形。a display unit, configured to display the product graphics of all levels on the product system graphic in the same view if the operation of viewing the product graphics of all levels is detected; if the operation of viewing the product graphics of one of the layers is detected, the selected hierarchy is displayed The product graphics are in the same view and hide other levels of product graphics.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序可被一个或者一个以上的处理器执行,以执行以下操作:A computer readable storage medium, characterized in that the computer readable storage medium stores one or more programs, the one or more programs being executable by one or more processors to perform the operations:检测是否存在将产品图形拖放于工作区中的放置操作,一个所述产品图形对应预存的产品信息;Detecting whether there is a placing operation of dragging and dropping a product graphic into a work area, and one of the product graphics corresponds to pre-stored product information;若存在将产品图形放置于工作区的放置操作,根据预存的产品图形的图片信息将所述产品图形放置于工作区内;If there is a placement operation of placing the product graphic in the work area, the product graphic is placed in the work area according to the picture information of the pre-stored product graphic;检测是否存在建立所述工作区内产品图形之间的关联关系的建立操作;Detecting whether there is an establishing operation for establishing an association relationship between product graphics in the work area;若存在建立产品图形之间的关联关系的建立操作,建立相对应的产品图形之间的所述关联关系;If there is an establishing operation of establishing an association relationship between product graphics, establishing the association relationship between corresponding product graphics;根据拖放的所述产品图形以及所建立的所述关联关系在所述工作区构建出至少一个产品系统图;Constructing at least one product system map in the work area according to the product graphic of the drag and drop and the associated relationship established;部署每个所述产品系统图的产品资源。Deploy product resources for each of the product system diagrams.
- 根据权利要求11所述的计算机可读存储介质,其特征在于,所述一个或者一个以上程序还可被所述一个或者一个以上的处理器执行,以执行以下操作:The computer readable storage medium of claim 11 wherein the one or more programs are further executable by the one or more processors to perform the following operations:根据产品的产品信息将所述工作区划分为若干区域,每个产品的产品图形对应所述工作区内的至少一个区域;Dividing the work area into a plurality of areas according to product information of the product, and a product graphic of each product corresponds to at least one area in the work area;所述根据预存的产品图形的图片信息将所述产品图形放置于工作区内,具体包括:And placing the product graphic in the work area according to the picture information of the pre-stored product graphic, specifically including:判断所述产品图形是否放置于所述工作区中相对应区域;Determining whether the product graphic is placed in a corresponding area in the work area;若不是,将从所述工作区内放置所述产品图形的区域中移除所述产品图形。If not, the product graphic will be removed from the area in which the product graphic is placed in the work area.
- 根据权利要求11所述的计算机可读存储介质,其特征在于,所述产品图形根据预设的产品信息划分为尺寸可调和尺寸不可调两种类型,所述尺寸可调的产品图形可容纳其他产品图形。The computer readable storage medium according to claim 11, wherein the product graphic is divided into two types according to preset product information, which are adjustable in size and not adjustable in size, and the product graphic of the adjustable size can accommodate other products. Product graphics.
- 根据权利要求11所述的计算机可读存储介质,其特征在于,所述产品信息包括产品类型,所述一个或者一个以上程序还可被所述一个或者一个以上的处理器执行,以执行以下操作:The computer readable storage medium of claim 11, wherein the product information comprises a product type, and the one or more programs are further executable by the one or more processors to perform the following operations :根据预存产品信息中的产品类型将产品划分为不同层次;Divide the product into different levels according to the product type in the pre-stored product information;根据产品的层次将产品系统图划分为不同的层级,同一层次的产品的对应产品图形位于产品系统图中同一层级;不同层次的产品的对应产品图形位于产品系统图中不同层级。The product system diagram is divided into different levels according to the product hierarchy. The corresponding product graphics of the products of the same level are located in the same level in the product system diagram; the corresponding product graphics of different levels of products are located at different levels in the product system diagram.
- 根据权利要求14所述的计算机可读存储介质,其特征在于,所述一个或者一个以上程序还可被所述一个或者一个以上的处理器执行,以执行以下操作:The computer readable storage medium of claim 14, wherein the one or more programs are further executable by the one or more processors to perform the following operations:检测用户选择查看产品系统图形的操作,所述查看产品系统图形的操作包括查看全部层级的产品图形和查看其中一层的产品图形;Detecting an operation of the user selecting to view a product system graphic, the operation of viewing the product system graphic includes viewing a product graphic of all levels and viewing a product graphic of one of the layers;若检测到查看全部层级的产品图形的操作,显示产品系统图形上的所有层级的产品图形于同一视图;若检测到查看其中一层的产品图形的操作,则显示所选择的层级的产品图形于同一视图并隐藏其他层级的产品图形。If the operation of viewing the product graphics of all levels is detected, the product graphics of all levels on the product system graphics are displayed in the same view; if the operation of viewing the product graphics of one of the layers is detected, the product graphics of the selected hierarchy are displayed. The same view and hide product graphics from other levels.
- 一种Web图形部署系统,其特征在于,所述系统包括一个或者一个以上的处理器,以及与所述一个或者一个以上处理器连接的一个或者一个以上输入/输出装置、及存储器,A Web graphics deployment system, the system comprising one or more processors, and one or more input/output devices and memory coupled to the one or more processors,所述输入/输出装置,用于输入用户指令,并输出Web图形部署系统对输入的用户指令的响应数据;The input/output device is configured to input a user instruction, and output response data of the web graphics deployment system to the input user instruction;所述存储器,用于存储带有各种功能的一个或者一个以上程序;The memory for storing one or more programs with various functions;所述处理器,用于执行所述存储器中存储的程序,以执行以下操作:The processor is configured to execute a program stored in the memory to perform the following operations:检测是否存在将产品图形拖放于工作区中的放置操作,一个所述产品图形对应预存的产品信息;Detecting whether there is a placing operation of dragging and dropping a product graphic into a work area, and one of the product graphics corresponds to pre-stored product information;若存在将产品图形放置于工作区的放置操作,根据预存的产品图形的图片信息将所述产品图形放置于工作区内;If there is a placement operation of placing the product graphic in the work area, the product graphic is placed in the work area according to the picture information of the pre-stored product graphic;检测是否存在建立所述工作区内产品图形之间的关联关系的建立操作;Detecting whether there is an establishing operation for establishing an association relationship between product graphics in the work area;若存在建立产品图形之间的关联关系的建立操作,建立相对应的产品图形之间的所述关联关系;If there is an establishing operation of establishing an association relationship between product graphics, establishing the association relationship between corresponding product graphics;根据拖放的所述产品图形以及所建立的所述关联关系在所述工作区构建出至少一个产品系统图;Constructing at least one product system map in the work area according to the product graphic of the drag and drop and the associated relationship established;部署每个所述产品系统图的产品资源。Deploy product resources for each of the product system diagrams.
- 根据权利要求16所述的Web图形部署系统,其特征在于,所述处理器执行所述存储器中存储的程序时,还执行以下操作:The web graphics deployment system according to claim 16, wherein when the processor executes the program stored in the memory, the following operations are also performed:根据产品的产品信息将所述工作区划分为若干区域,每个产品的产品图形对应所述工作区内的至少一个区域;Dividing the work area into a plurality of areas according to product information of the product, and a product graphic of each product corresponds to at least one area in the work area;所述处理器执行所述存储器中存储的程序时,以执行所述根据预存的产品图形的图片信息将所述产品图形放置于工作区内时具体还执行以下操作:When the processor executes the program stored in the memory, when performing the placing of the product graphic in the work area according to the picture information of the pre-stored product graphic, the processor further performs the following operations:判断所述产品图形是否放置于所述工作区中相对应区域;Determining whether the product graphic is placed in a corresponding area in the work area;若不是,将从所述工作区内放置所述产品图形的区域中移除所述产品图形。If not, the product graphic will be removed from the area in which the product graphic is placed in the work area.
- 根据权利要求16所述的Web图形部署系统,其特征在于,所述产品图形根据预设的产品信息划分为尺寸可调和尺寸不可调两种类型,所述尺寸可调的产品图形可容纳其他产品图形。The web graphics deployment system according to claim 16, wherein the product graphics are divided into two types according to preset product information: the size is adjustable and the size is not adjustable, and the size-adjustable product graphics can accommodate other products. Graphics.
- 根据权利要求16所述的Web图形部署系统,其特征在于,所述产品信息包括产品类型,所述处理器执行所述存储器中存储的程序时,还执行以下操作:The web graphics deployment system according to claim 16, wherein the product information comprises a product type, and when the processor executes the program stored in the memory, the following operations are also performed:根据预存产品信息中的产品类型将产品划分为不同层次;Divide the product into different levels according to the product type in the pre-stored product information;根据产品的层次将产品系统图划分为不同的层级,同一层次的产品的对应产品图形位于产品系统图中同一层级;不同层次的产品的对应产品图形位于产品系统图中不同层级。The product system diagram is divided into different levels according to the product hierarchy. The corresponding product graphics of the products of the same level are located in the same level in the product system diagram; the corresponding product graphics of different levels of products are located at different levels in the product system diagram.
- 根据权利要求19所述的Web图形部署系统,其特征在于,所述处理器执行所述存储器中存储的程序时,还执行以下操作:The web graphics deployment system according to claim 19, wherein when the processor executes the program stored in the memory, the following operations are also performed:检测用户选择查看产品系统图形的操作,所述查看产品系统图形的操作包括查看全部层级的产品图形和查看其中一层的产品图形;Detecting an operation of the user selecting to view a product system graphic, the operation of viewing the product system graphic includes viewing a product graphic of all levels and viewing a product graphic of one of the layers;若检测到查看全部层级的产品图形的操作,显示产品系统图形上的所有层级的产品图形于同一视图;若检测到查看其中一层的产品图形的操作,则显示所选择的层级的产品图形于同一视图并隐藏其他层级的产品图形。If the operation of viewing the product graphics of all levels is detected, the product graphics of all levels on the product system graphics are displayed in the same view; if the operation of viewing the product graphics of one of the layers is detected, the product graphics of the selected hierarchy are displayed. The same view and hide product graphics from other levels.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610437450.6 | 2016-06-17 | ||
CN201610437450.6A CN106469055B (en) | 2016-06-17 | 2016-06-17 | A kind of Web graph shape dispositions method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017215298A1 true WO2017215298A1 (en) | 2017-12-21 |
Family
ID=58230059
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/076515 WO2017215298A1 (en) | 2016-06-17 | 2017-03-14 | Web graphic deployment method, apparatus, system and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106469055B (en) |
WO (1) | WO2017215298A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111625589A (en) * | 2019-02-28 | 2020-09-04 | 阿里巴巴集团控股有限公司 | Information display method and device |
Families Citing this family (3)
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 |
CN113138830A (en) * | 2021-06-22 | 2021-07-20 | 阿里云计算有限公司 | Method, device, equipment and storage medium for generating cloud application architecture diagram |
CN113138829B (en) * | 2021-06-22 | 2022-03-01 | 阿里云计算有限公司 | Management method, device, equipment and storage medium of cloud application architecture |
Citations (5)
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 |
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 |
CN106469055A (en) * | 2016-06-17 | 2017-03-01 | 平安科技(深圳)有限公司 | A kind of Web graph shape dispositions method and device |
-
2016
- 2016-06-17 CN CN201610437450.6A patent/CN106469055B/en active Active
-
2017
- 2017-03-14 WO PCT/CN2017/076515 patent/WO2017215298A1/en active Application Filing
Patent Citations (5)
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 |
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 |
CN106469055A (en) * | 2016-06-17 | 2017-03-01 | 平安科技(深圳)有限公司 | A kind of Web graph shape dispositions method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111625589A (en) * | 2019-02-28 | 2020-09-04 | 阿里巴巴集团控股有限公司 | Information display method and device |
CN111625589B (en) * | 2019-02-28 | 2023-04-14 | 阿里巴巴集团控股有限公司 | Information display method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106469055B (en) | 2019-11-08 |
CN106469055A (en) | 2017-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017215298A1 (en) | Web graphic deployment method, apparatus, system and computer readable storage medium | |
WO2014082500A1 (en) | Page loading method and system therefor, and computer storage medium | |
WO2020166892A1 (en) | Electronic device for providing augmented reality user interface and operating method thereof | |
WO2013169070A1 (en) | Multiple window providing apparatus and method | |
WO2013073904A1 (en) | Mobile device for executing multiple applications and method for same | |
WO2014088342A1 (en) | Display device and method of controlling the same | |
WO2014182089A1 (en) | Display apparatus and graphic user interface screen providing method thereof | |
WO2018120430A1 (en) | Page construction method, terminal, computer-readable storage medium and page construction device | |
WO2018205376A1 (en) | Association information querying method, terminal, server management system, and computer readable storage medium | |
WO2019100638A1 (en) | Data synchronization method, device and equipment, and storage medium | |
WO2016080733A1 (en) | Electronic device for identifying peripheral apparatus and method thereof | |
WO2014171705A1 (en) | Method for adjusting display area and electronic device thereof | |
WO2013162200A1 (en) | Method and terminal for displaying a plurality of pages, method and terminal for displaying a plurality of applications being executed on terminal, and method of executing a plurality of applications | |
WO2019037396A1 (en) | Account clearing method, device and equipment and storage medium | |
WO2019104876A1 (en) | Insurance product pushing method and system, terminal, client terminal, and storage medium | |
WO2015030564A1 (en) | Display apparatus, portable device and screen display methods thereof | |
WO2015109865A1 (en) | Customized control method and system for air conditioner operation mode | |
WO2014048231A1 (en) | Word processing method and apparatus for touchscreen intelligent device | |
WO2019075973A1 (en) | Application program testing method and device | |
WO2017036208A1 (en) | Method and system for extracting information in display interface | |
WO2014069917A1 (en) | Display apparatus and method thereof | |
WO2019024219A1 (en) | Automatic document generation method and apparatus, automatic document generator and medium | |
WO2014000635A1 (en) | Method for reader to provide service, reader, terminal and computer storage medium | |
WO2014007425A1 (en) | Display device including touchscreen and method for controlling the same | |
WO2018014567A1 (en) | Method for improving performance of virtual machine, and terminal, device and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17812413 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17.04.2019) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17812413 Country of ref document: EP Kind code of ref document: A1 |