WO2018036342A1 - Csar-based template design visualization method and device - Google Patents

Csar-based template design visualization method and device Download PDF

Info

Publication number
WO2018036342A1
WO2018036342A1 PCT/CN2017/095176 CN2017095176W WO2018036342A1 WO 2018036342 A1 WO2018036342 A1 WO 2018036342A1 CN 2017095176 W CN2017095176 W CN 2017095176W WO 2018036342 A1 WO2018036342 A1 WO 2018036342A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
file
model file
model
tosca
Prior art date
Application number
PCT/CN2017/095176
Other languages
French (fr)
Chinese (zh)
Inventor
王淼
徐代刚
吕波
黄健
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018036342A1 publication Critical patent/WO2018036342A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

A CSAR-based template design visualization method and device. The method comprises: developing, on a visualization interface of a user interface development environment (UIDE) platform, and on the basis of a preconfigured network function virtualization (NFV) scenario, a template tree, and creating a plurality of indexes based on CSAR template files (210); creating, on the basis of the indexes, a node type and a node correspondence type of the template files, and defining a topology structure between nodes (220); and scheduling workflows for the nodes to obtain the template files (230).

Description

基于CSAR的模型文件的可视化设计方法及装置Visual design method and device for model file based on CSAR 技术领域Technical field
本公开涉及信息技术领域,例如涉及一种基于CSAR的模型文件的可视化设计方法及装置。The present disclosure relates to the field of information technology, for example, to a visual design method and apparatus for a CSAR-based model file.
背景技术Background technique
近年来,云计算、虚拟化技术发展迅速,带来了很多创新,也给运营商带来很大的压力,运营商面临的问题是,如何寻找新的收入增长点,以抵消开放互联网的视频(Over the Top,OTT)业务带来的影响,降低企业的管理支出(Operating Expense,OPEX),快速开展业务。In recent years, cloud computing and virtualization technologies have developed rapidly, bringing a lot of innovations and putting a lot of pressure on operators. The problem facing operators is how to find new revenue growth points to offset the video of the open Internet. (Over the Top, OTT) The impact of the business, reducing the company's management expenditure (OPEX), and quickly launching business.
基于云应用的拓扑和业务流程规范(Topology and Orchestration Specification for Cloud Applications,TOSCA)由结构化标准促进组织(Organization For The Advancement Of Structured Information Standards,OASIS)提出。该规范包含两部分的内容:网络拓扑,描述云应用的构成及云应用的多个节点可提供的服务;编排信息,是拓扑结构中多个节点提供的服务的集合,可以表示为计划Plan工作流方式。如图1所示,图中左侧为TOSCA模型的服务模板结构图,右侧为TOSCA模型定义的文件结构图。在TOSCA中,模型文件相应的归档格式称为云服务存档(Cloud Service Archive,CSAR)。设计符合规范的CSAR,部署在特定的环境中,便能执行和管理一个云应用程序的生命周期。The Topology and Orchestration Specification for Cloud Applications (TOSCA) is proposed by the Organization for The Advancement Of Structured Information Standards (OASIS). The specification consists of two parts: the network topology, which describes the composition of the cloud application and the services that can be provided by multiple nodes of the cloud application. The orchestration information is a collection of services provided by multiple nodes in the topology, which can be expressed as planned Plan work. Flow mode. As shown in Figure 1, the left side of the figure is the service template structure diagram of the TOSCA model, and the right side is the file structure diagram defined by the TOSCA model. In TOSCA, the corresponding archive format of the model file is called Cloud Service Archive (CSAR). Design a CSAR that conforms to the specification and deploy it in a specific environment to execute and manage the lifecycle of a cloud application.
TOSCA是一套规范,它指出了如何对一个云应用进行描述。遵守TOSCA的应用都可以生成符合规范的模型,即TOSCA模型,并且该应用能对TOSCA模型进行解析。但是,TOSCA没有说明怎么才能设计生成模型文件,也没有说明模型文件应该如何部署使用。TOSCA is a set of specifications that point out how to describe a cloud application. A TOSCA-compliant application can generate a conforming model, the TOSCA model, and the application can parse the TOSCA model. However, TOSCA did not explain how to design a build model file, nor how the model file should be deployed.
例如,在TOSCA模型中,必须有TOSCA-Metadata文件夹,并包含有TOSCA.meta文件,用于记录模型的相关信息;而Plan工作流的开发,既可以选用多种不同的标准工作流语言(如BPEL2.0、BPMN2.0)、也可以自己编写处理流程。而针对开发者,没有合适的集成开发环境,标准模型文件的开发及修改较为复杂。同时,没有现成的环境可以部署TOSCA模型,难以进行测试及运用。 For example, in the TOSCA model, there must be a TOSCA-Metadata folder containing the TOSCA.meta file for recording information about the model; and for the development of the Plan workflow, you can use a variety of different standard workflow languages ( Such as BPEL2.0, BPMN2.0), you can also write the processing flow yourself. For developers, there is no suitable integrated development environment, and the development and modification of standard model files is more complicated. At the same time, there is no ready-made environment to deploy the TOSCA model, which is difficult to test and use.
发明内容Summary of the invention
本公开提供了一种基于云服务存档(Cloud Service Archive,CSAR)的模型文件的可视化设计方法及装置,以解决相关技术中基于CSAR的模型文件没有合适的集成开发环境,且标准的模型文件的开发及修改较为复杂的问题。The present disclosure provides a visual design method and apparatus for a model file based on a Cloud Service Archive (CSAR) to solve a CSAR-based model file in the related art without a suitable integrated development environment, and a standard model file. Develop and modify more complex issues.
本公开一方面提供了一种基于CSAR的模型文件的可视化设计方法,包括:An aspect of the present disclosure provides a visual design method for a CSAR-based model file, including:
在用户界面开发环境UIDE平台的可视化界面上,基于预设的网络功能虚拟化(Network Function Virtualization,NFV)场景开发模型树,创建基于云服务架构CSAR的模型文件的多个目录;On the visual interface of the UIDE platform of the user interface development environment, the model tree is developed based on the preset Network Function Virtualization (NFV) scenario, and multiple directories of the model file based on the cloud service architecture CSAR are created;
基于所述目录,创建所述模型文件的节点类型和节点关系类型,并定义节点之间的拓扑结构;Creating a node type and a node relationship type of the model file based on the directory, and defining a topology between the nodes;
对所述节点进行工作流编排,得到所述模型文件。Workflow orchestration is performed on the node to obtain the model file.
可选地,该方法还包括:Optionally, the method further includes:
将所述模型文件上传到TOSCA服务器,并触发TOSCA服务器完成对所述模型文件的解析和服务部署。The model file is uploaded to the TOSCA server, and the TOSCA server is triggered to complete the parsing and service deployment of the model file.
可选地,该方法还包括:Optionally, the method further includes:
触发TOSCA服务器获取所述模型文件可提供的服务,通过对所述服务调用完成模型文件的解析。The TOSCA server is triggered to obtain a service that can be provided by the model file, and the parsing of the model file is completed by calling the service.
可选地,所述触发TOSCA服务器完成对所述模型文件的解析和服务部署,包括:Optionally, the triggering the TOSCA server completes parsing and service deployment of the model file, including:
触发TOSCA服务器解压所述模型文件生成临时文件,对所述临时文件解析,保存节点属性及节点间的关系属性,根据节点定义保存节点的部署文件位置信息,并根据节点定义获取与节点提供的服务对应的实现文件,调用相应的插件进行部署,保存节点提供的服务及节点服务部署信息的对应关系。Triggering the TOSCA server to decompress the model file to generate a temporary file, parsing the temporary file, saving the node attribute and the relationship attribute between the nodes, saving the deployment file location information of the node according to the node definition, and acquiring the service provided by the node according to the node definition The corresponding implementation file, the corresponding plug-in is called for deployment, and the correspondence between the service provided by the node and the deployment information of the node service is saved.
可选地,所述NFV场景开发模型树为按照基于云应用的拓扑和业务流程规范TOSCA的所述模型文件的文件结构定义的开发目录。Optionally, the NFV scenario development model tree is a development directory defined by a file structure of the model file according to the cloud application-based topology and the business process specification TOSCA.
本公开另一方面提供了一种基于CSAR的模型文件的可视化设计装置,包括:Another aspect of the present disclosure provides a visual design device for a CSAR-based model file, including:
开发工程树组件,设置为在用户界面开发环境UIDE平台的可视化界面上,基于预设的网络功能虚拟化NFV场景开发模型树,创建所述基于CSAR的模型 文件的多个目录;Developing a project tree component, set to develop a model tree based on a preset network function virtualized NFV scenario on a visual interface of the UIDE platform of the user interface development environment, and creating the CSAR-based model Multiple directories of files;
建模工具组件,设置为基于所述目录,创建所述模型文件的节点类型和节点关系类型,并定义节点之间的拓扑结构;a modeling tool component, configured to create a node type and a node relationship type of the model file based on the directory, and define a topology between the nodes;
工作流设计器,设置为对所述节点进行工作流编排,得到所述基于CSAR的模型文件。A workflow designer is configured to perform workflow scheduling on the node to obtain the CSAR-based model file.
可选地,该装置还包括:部署服务器组件;Optionally, the device further includes: a deployment server component;
所述建模工具组件是设置为,将所述模型文件上传到TOSCA服务器,并触发所述部署服务器组件;The modeling tool component is configured to upload the model file to a TOSCA server and trigger the deployment server component;
所述部署服务器组件,设置为在所述建模工具组件触发下,使TOSCA服务器完成对所述模型文件的解析和服务部署。The deployment server component is configured to enable the TOSCA server to complete parsing and service deployment of the model file under the trigger of the modeling tool component.
可选地,该装置还包括:工作流服务器组件,设置为触发TOSCA服务器获取所述模型文件可提供的服务,通过对所述服务调用完成模型文件的解析。Optionally, the apparatus further includes: a workflow server component, configured to trigger the TOSCA server to obtain a service that the model file can provide, and complete the parsing of the model file by calling the service.
可选地,所述部署服务器组件是设置为,触发TOSCA服务器解压所述模型文件生成临时文件,对所述临时文件解析,保存节点属性及节点间的关系属性,根据节点定义保存节点的部署文件位置信息,并根据节点定义获取与节点提供的服务对应的实现文件,调用相应的插件进行部署,保存节点提供的服务及节点服务部署信息的对应关系。Optionally, the deployment server component is configured to: trigger a TOSCA server to decompress the model file to generate a temporary file, parse the temporary file, save a node attribute, and a relationship attribute between the nodes, and save the node deployment file according to the node definition. The location information is obtained, and the implementation file corresponding to the service provided by the node is obtained according to the node definition, and the corresponding plug-in is invoked for deployment, and the corresponding relationship between the service provided by the node and the deployment information of the node service is saved.
可选地,所述NFV场景开发模型树为按照TOSCA的所述模型文件的文件结构定义的开发目录。Optionally, the NFV scenario development model tree is a development directory defined according to a file structure of the model file of the TOSCA.
本公开还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述基于CSAR的模型文件的可视化设计方法。The present disclosure also provides a computer readable storage medium storing computer executable instructions for performing a visual design method of the CSAR-based model file described above.
本公开在集成开发环境UIDE平台的可视化界面上,基于预设的NFV场景开发模型树,创建模型文件的多个目录,并根据所述目录,创建模型文件的节点类型、节点关系类型,以及节点之间的拓扑结构,最后通过对多个节点进行工作流编排,得到模型文件。本公开使用集成开发环境UIDE进行开发,通过强大的功能组件,提高开发效率,并通过“所见即所得”的可视化开发方式以及标准化的开发流程,减小开发难度,简化了模型文件的开发及修改的步骤,有效避免相关技术中基于CSAR的模型文件没有合适的集成开发环境,且标准的模型文件的开发及修改较为复杂的问题。 The present disclosure develops a model tree based on a preset NFV scenario, creates a plurality of directories of a model file, and creates a node type, a node relationship type, and a node of the model file according to the directory, on a visual interface of the integrated development environment UIDE platform. The topology between the two, and finally through the workflow of multiple nodes orchestration, get the model file. The present disclosure uses the integrated development environment UIDE for development, enhances development efficiency through powerful functional components, and reduces development difficulty and simplifies development of model files through "what you see is what you get" visual development methods and standardized development processes. The modified steps effectively avoid the problem that the CSAR-based model files in the related technology do not have a suitable integrated development environment, and the development and modification of standard model files are complicated.
附图说明DRAWINGS
图1是相关技术中云服务存档的结构示意图;1 is a schematic structural diagram of a cloud service archive in the related art;
图2是本实施例的一种基于CSAR的模型文件的可视化设计方法的流程示意图;2 is a schematic flow chart of a visual design method of a CSAR-based model file according to the embodiment;
图3是本实施例的另一种基于CSAR的模型文件的可视化设计方法的流程示意图;3 is a schematic flow chart of another visual design method of a CSAR-based model file according to the embodiment;
图4是本实施例的一种基于CSAR的模型文件的自动化部署方法的流程示意图;4 is a schematic flowchart of a method for automatically deploying a CSAR-based model file according to the embodiment;
图5是本实施例的一种基于CSAR的模型文件的可视化设计及自动化部署方法的流程示意图;FIG. 5 is a schematic flowchart diagram of a visual design and an automated deployment method of a CSAR-based model file according to the embodiment; FIG.
图6是本实施例的一种基于CSAR的模型文件的可视化设计及自动化部署框架示意图;6 is a schematic diagram of a visual design and an automated deployment framework of a CSAR-based model file according to the embodiment;
图7是本实施例的一种基于CSAR的模型文件的可视化设计装置的结构示意图;7 is a schematic structural diagram of a visual design device for a CSAR-based model file according to the embodiment;
图8是本实施例的另一种基于CSAR的模型文件的可视化设计装置的结构示意图;8 is a schematic structural diagram of another visual design device for a CSAR-based model file according to the embodiment;
图9是本实施例的一种通信设备的硬件结构示意图。FIG. 9 is a schematic diagram showing the hardware structure of a communication device according to this embodiment.
具体实施方式detailed description
为了解决相关技术中基于CSAR的模型文件没有合适的集成开发环境,且标准的模型文件的开发及修改较为复杂的问题,本实施例提供了一种基于CSAR的模型文件的可视化设计方法及装置,本实施例使用用户界面开发环境(User Interface Development Environment,UIDE)对模型文件进行开发,其中,UIDE为一种集成开发环境(Integrated Development Environment,IDE),通过强大的功能组件,提高开发效率,并通过“所见即所得”的可视化开发方式以及标准化的开发流程,减小开发难度,最后通过UIDE与TOSCA服务器的关联,可以直接将开发完成的模型文件自动化部署到TOSCA服务器中,简化了模型文件的开发及修改的步骤,有效避免相关技术中基于CSAR的模型文件没有合适的集成开发环境,且标准的模型文件的开发及修改较为复杂的问题。以下结合附图以及实施例,对本公开进行详细说明。本实施例提供了一种基于CSAR的模型文 件的可视化设计方法,参见图2,该方法可以包括以下步骤。In order to solve the problem that the CSAR-based model file in the related art does not have a suitable integrated development environment, and the development and modification of the standard model file is complicated, the embodiment provides a visual design method and device for the CSAR-based model file. In this embodiment, a user interface development environment (UIDE) is used to develop a model file, wherein UIDE is an integrated development environment (IDE), and the development efficiency is improved by powerful functional components. Through the "what you see is what you get" visual development method and the standardized development process, the development difficulty is reduced. Finally, through the association of UIDE and TOSCA server, the developed model file can be directly deployed to the TOSCA server, simplifying the model file. The steps of development and modification effectively avoid the problem that the CSAR-based model files in the related technologies do not have a suitable integrated development environment, and the development and modification of standard model files are complicated. The present disclosure will be described in detail below with reference to the accompanying drawings and embodiments. This embodiment provides a model text based on CSAR The visual design method of the piece, see FIG. 2, the method may include the following steps.
在步骤210中,在集成开发环境UIDE平台的可视化界面上,基于预设的网络功能虚拟化(Network Function Virtualization,NFV)场景开发模型树,创建基于CSAR的模型文件的多个目录。In step 210, on the visual interface of the integrated development environment UIDE platform, a model tree based on a preset Network Function Virtualization (NFV) scenario is developed to create a plurality of directories of CSAR-based model files.
在步骤220中,基于所述目录,创建所述模型文件的节点类型和节点关系类型,并定义节点之间的拓扑结构。In step 220, based on the directory, a node type and a node relationship type of the model file are created, and a topology between the nodes is defined.
在步骤230中,对所述节点进行工作流编排,得到所述模型文件。In step 230, workflow processing is performed on the node to obtain the model file.
本实施例在集成开发环境UIDE平台的可视化界面上,基于预设的NFV场景开发模型树,创建模型文件的多个目录,并根据所述目录,创建模型文件的节点类型、节点关系类型,以及节点之间的拓扑结构,通过对多个节点进行工作流编排,得到模型文件。本实施例使用集成开发环境UIDE进行开发,通过强大的功能组件,提高开发效率,并通过“所见即所得”的可视化开发方式以及标准化的开发流程,减小开发难度,简化了模型文件的开发及修改的步骤,有效避免相关技术中基于CSAR的模型文件没有合适的集成开发环境,且标准的模型文件的开发及修改较为复杂的问题。In this embodiment, on the visual interface of the integrated development environment UIDE platform, the model tree is developed based on the preset NFV scenario, multiple directories of the model file are created, and the node type and node relationship type of the model file are created according to the directory, and The topology between nodes is obtained by workflow orchestration of multiple nodes to obtain a model file. This embodiment uses the integrated development environment UIDE for development, improves development efficiency through powerful functional components, and reduces development difficulty and simplifies development of model files through "what you see is what you get" visual development method and standardized development process. And the steps of modification can effectively avoid the problem that the CSAR-based model file in the related technology does not have a suitable integrated development environment, and the development and modification of the standard model file is complicated.
本实施例所述步骤210可以包括:本实施例使用集成开发环境UIDE平台,基于预设的NFV场景开发模型树,得到CSAR的计划Plans等目录。The step 210 of the embodiment may include: the embodiment uses an integrated development environment UIDE platform, develops a model tree based on a preset NFV scenario, and obtains a catalog of CSAR plan plans and the like.
本实施例所述的预置NFV场景的开发模型树为按照TOSCA的模型文件的文件结构定义的TOSCA-metadata、Plans等文件开发目录。The development model tree of the preset NFV scenario described in this embodiment is a TOCCA-metadata, Plans, and other file development directory defined according to the file structure of the TOSCA model file.
本实施例所述的目录包括:图1中云服务存档CSAR的模板的所有节点的目录,例如TOSCA元数据TOSCA-Metadata等等。The directory described in this embodiment includes a directory of all nodes of the template of the cloud service archive CSAR in FIG. 1, such as TOSCA metadata TOSCA-Metadata and the like.
本领域的技术人员可根据实际需要来设置NFV场景开发模型树,并通过UIDE平台的可视化界面清楚NFV场景开发模型树下多个目录之间的关系。Those skilled in the art can set the NFV scenario development model tree according to actual needs, and clear the relationship between multiple directories under the NFV scenario development model tree through the visual interface of the UIDE platform.
本实施例所述步骤220可以包括以下步骤。The step 220 described in this embodiment may include the following steps.
通过建模工具,在UIDE的可视化界面上,基于已有的目录创建节点类型和节点关系类型,定义节点之间的拓扑结构。Through the modeling tool, on the UIDE visual interface, create node types and node relationship types based on existing directories, and define the topology between nodes.
本实施例通过在可视化界面上定义节点类型node type、节点关系类型relationship type等节点的定义功能,并通过可视化界面的拖拽方式,选择、连接节点,设计出拓扑结构。In this embodiment, a definition function of a node type, a node type, a relationship type, and the like is defined on a visual interface, and a topology is designed by selecting and connecting nodes by dragging and dropping the visual interface.
本实施例所述步骤S230可以包括:使用工作流设计器,对流程进行编排。 The step S230 in this embodiment may include: programming the process by using a workflow designer.
可选地,本实施例通过在可视化界面上拖拽选择流程节点、设置先后关系等,设计出工作流文件。Optionally, in this embodiment, a workflow file is designed by dragging and selecting a process node, setting a sequence relationship, and the like on the visual interface.
本实施例是对Plans目录下保存的与模型对应的工作流定义信息,使用工作流设计器进行编排。In this embodiment, the workflow definition information corresponding to the model saved in the Plans directory is configured by using a workflow designer.
图3是本实施例的另一种基于CSAR的模型文件的可视化设计方法的流程示意图,如图3所示,在UIDE的可视化界面上,本实施例对模型文件的可视化设计方法包括以下步骤。FIG. 3 is a schematic flowchart of a visual design method of another CSAR-based model file according to the embodiment. As shown in FIG. 3, on the UIDE visual interface, the visual design method of the model file in this embodiment includes the following steps.
在步骤310中,定义节点类型,设置节点的属性和接口实现。In step 310, a node type is defined, and a node's attributes and interface implementations are set.
在步骤320中,定义节点的关系类型,设置关系的属性和接口实现。In step 320, the relationship type of the node is defined, and the attributes of the relationship and the interface implementation are set.
在步骤330中,创建一个或多个节点模板。In step 330, one or more node templates are created.
在步骤340中,根据关系类型创建新的关系模板,并连接节点。In step 340, a new relationship template is created based on the relationship type and the nodes are connected.
在步骤350中,通过工作流设计器,编排调用流程,设计Plan工作流,并将Plan工作流添加到模板定义中。In step 350, through the workflow designer, the calling process is programmed, the Plan workflow is designed, and the Plan workflow is added to the template definition.
在步骤360中,生成符合TOSCA的模型文件。In step 360, a TOSCA compliant model file is generated.
可选地,本实施例所述的方法还可以包括以下步骤。Optionally, the method in this embodiment may further include the following steps.
将所述模型文件上传到TOSCA服务器,并触发TOSCA服务器完成对模型文件的解析和服务部署。The model file is uploaded to the TOSCA server, and the TOSCA server is triggered to complete the parsing and service deployment of the model file.
可选地,本实施例是通过与TOSCA服务器的关联功能,直接将模型文件上传到TOSCA服务器里进行自动化部署。TOSCA服务器接收到模型文件的上传请求,保存模型文件,并完成对模型文件信息的解析和服务部署,并通过对服务调用完成NFV任务的编排。Optionally, in this embodiment, the model file is directly uploaded to the TOSCA server for automatic deployment by using an association function with the TOSCA server. The TOSCA server receives the upload request of the model file, saves the model file, completes the parsing and service deployment of the model file information, and completes the NFV task scheduling by calling the service.
本实施例所述触发TOSCA服务器完成对模型文件的解析和服务部署可以包括以下步骤。The step of triggering the TOSCA server to complete parsing and service deployment of the model file may include the following steps.
解压所述模型文件以生成临时文件,对所述临时文件解析,保存节点属性及节点间的关系属性,根据节点定义保存节点的部署文件位置信息。The model file is decompressed to generate a temporary file, the temporary file is parsed, the node attribute and the relationship attribute between the nodes are saved, and the deployment file location information of the node is saved according to the node definition.
根据节点定义获取与节点提供服务对应的实现文件,调用相应的插件进行部署,保存节点提供的服务及节点服务部署信息的对应关系。The implementation file corresponding to the node providing service is obtained according to the node definition, and the corresponding plug-in is invoked for deployment, and the corresponding relationship between the service provided by the node and the deployment information of the node service is saved.
如图4为本实施例基于CSAR的模型文件的自动化部署方法,如图4所示,本实施例所述的模型文件的自动化部署方法可以包括以下步骤。As shown in FIG. 4, the automatic deployment method of the model file according to the embodiment of the present invention may include the following steps.
在步骤410中,UIDE向TOSCA服务器上传模型文件。 In step 410, the UIDE uploads the model file to the TOSCA server.
在步骤420中,解压模型文件,生成临时文件。In step 420, the model file is decompressed to generate a temporary file.
在步骤430中,解析临时文件中的模板定义信息,保存节点属性及节点间的关系属性。In step 430, the template definition information in the temporary file is parsed, and the node attribute and the relationship attribute between the nodes are saved.
在步骤440中,根据节点定义,保存节点的部署文件位置信息。In step 440, the deployment file location information of the node is saved according to the node definition.
在步骤450中,根据节点定义获取与节点提供的服务对应的实现文件(脚本、WAR包等),调用相应的插件进行部署,保存节点提供的服务及节点服务部署信息的对应关系。In step 450, the implementation file (script, WAR package, etc.) corresponding to the service provided by the node is obtained according to the node definition, and the corresponding plug-in is invoked for deployment, and the correspondence between the service provided by the node and the deployment information of the node service is saved.
在步骤460中,根据模板中Plan工作流的定义,针对不同类型的Plan工作流调用相应的工作流服务器,部署流程定义信息,保存模板与部署流程之间的调用关系。In step 460, according to the definition of the Plan workflow in the template, the corresponding workflow server is invoked for different types of Plan workflows, the process definition information is deployed, and the calling relationship between the template and the deployment process is saved.
在步骤470中,删除临时文件信息,完成部署。In step 470, the temporary file information is deleted and the deployment is completed.
图5是本实施例的一种基于CSAR的模型文件的可视化设计及自动化部署方法的流程示意图,如图5所示,本实施例所述方法包括以下步骤。FIG. 5 is a schematic flowchart of a visual design and an automated deployment method of a CSAR-based model file according to the embodiment. As shown in FIG. 5, the method in this embodiment includes the following steps.
在步骤510中,基于集成开发环境UIDE平台,通过NFV场景开发模型树,得到CSAR的Plans等目录。In step 510, based on the integrated development environment UIDE platform, the model tree is developed through the NFV scenario, and a directory such as the CSAR Plans is obtained.
在步骤520中,通过建模工具,在UIDE可视化界面上,创建节点类型和节点关系类型,定义节点之间的拓扑结构。In step 520, a node type and a node relationship type are created on the UIDE visual interface through a modeling tool to define a topology between the nodes.
在步骤530中,Plans目录下保存的是模型对应的工作流定义信息,使用工作流设计器,对流程进行编排。In step 530, the workflow definition information corresponding to the model is saved in the Plans directory, and the workflow designer is used to arrange the flow.
在步骤540中,将设计的工作流文件导入到建模工具,完成基于CSAR的模型文件的设计。In step 540, the designed workflow file is imported into the modeling tool to complete the design of the CSAR-based model file.
在步骤550中,通过与TOSCA服务器的关联功能,直接将模型文件上传到TOSCA服务器里。In step 550, the model file is directly uploaded to the TOSCA server through an association function with the TOSCA server.
在步骤560中,TOSCA服务器接收到模型文件上传请求,保存模型文件,并完成对模型文件信息的解析和服务部署。In step 560, the TOSCA server receives the model file upload request, saves the model file, and completes parsing and service deployment of the model file information.
在步骤570中,工作流服务器解析并提供调用接口。In step 570, the workflow server parses and provides a call interface.
在步骤580中,从TOSAC服务器提供的服务,获取CSAR的模型信息、提供的服务信息等,通过对服务调用完成NFV任务的编排。In step 580, the model information of the CSAR, the provided service information, and the like are obtained from the service provided by the TOSAC server, and the arrangement of the NFV task is completed by calling the service.
图6是本实施例提供的一种基于CSAR的模型文件的可视化设计及自动化部署框架示意图,如图6所示,本实施例所述框架包括两个部分,一是集成开 发环境UIDE平台,包含开发工程树、建模工具和工作流设计器三个组件;二是TOSCA服务器,包含部署服务器和工作流服务器两个组件。其中,FIG. 6 is a schematic diagram of a visual design and an automated deployment framework of a CSAR-based model file according to the embodiment. As shown in FIG. 6, the framework includes two parts, one is integrated. The environment UIDE platform includes three components: development engineering tree, modeling tool and workflow designer. The second is the TOSCA server, which includes two components: deployment server and workflow server. among them,
开发工程树组件,设置为通过预置的NFV场景开发模型树。该模型树按照TOSCA的模型文件的文件结构,定义了TOSCA-metadata、Plans等文件开发目录。Develop an engineering tree component that is set up to develop a model tree through a preset NFV scenario. The model tree defines the file development directory of TOSCA-metadata, Plans, etc. according to the file structure of the TOSCA model file.
建模工具组件,提供node type、relationship type等节点的定义功能,并通过可视化界面的拖拽方式,选择、连接节点,设计出模型文件上传到TOSCA服务器。本领域的技术人员也可以设置其他方式将模型文件上传到TOSCA服务器,如通过工作流设计器将最终的模型文件上传,或者直接设置一个上传接口实现对最终的模型文件上传,等等。The modeling tool component provides definition functions for nodes such as node type and relationship type, and selects and connects nodes through drag and drop of the visual interface to design a model file to be uploaded to the TOSCA server. Those skilled in the art can also set other ways to upload the model file to the TOSCA server, such as uploading the final model file through the workflow designer, or directly setting an upload interface to upload the final model file, and so on.
工作流设计器组件,提供Plan工作流的定义功能,同样通过可视化界面的拖拽方式,选择流程节点、设置先后关系等,设计出模型文件。The workflow designer component provides the definition function of the Plan workflow. The model file is also designed by dragging and dropping the visual interface, selecting the process node, setting the sequence relationship, and so on.
部署服务器组件,提供解析模型文件内容与服务部署功能,以及信息查询和服务调用接口。Deploy server components that provide analytical model file content and service deployment capabilities, as well as information query and service invocation interfaces.
工作流服务器组件,提供工作流文件的解析与运行功能,通过对外接口使工作流文件可以被触发流程执行。The workflow server component provides the parsing and running functions of the workflow file, and the workflow file can be triggered by the external interface.
使用UIDE进行开发,具有如下优势:通过强大的功能组件,提高开发效率;通过“所见即所得”的可视化开发方式,减小开发难度;通过标准化的开发流程,生成标准的模型文件。通过UIDE与TOSCA服务器的关联,可以直接将开发完成的模型文件自动化部署到TOSCA服务器中。Using UIDE for development has the following advantages: improving development efficiency through powerful functional components; reducing development difficulty through "what you see is what you get" visual development method; generating standard model files through standardized development processes. Through the association of UIDE with the TOSCA server, the developed model files can be directly deployed to the TOSCA server.
下面通过实施案例对本公开所述的方法进行说明。The method described in the present disclosure will be described below by way of an implementation case.
实施案例1,操作人员需要创建一个虚拟网络功能(Virtual Network Function,VNF)的模型文件。操作人员在UIDE图形界面中新创建一个NFV项目,UIDE会自动生成模型文件目录结构。操作人员根据VNF的实际情况在UIDE中分别定义VNF的模型、并导入VNF定义的流程信息和提供的服务实现以完成模型文件的定义。In the implementation case 1, the operator needs to create a virtual network function (VNF) model file. The operator creates a new NFV project in the UIDE graphical interface, and UIDE automatically generates the model file directory structure. The operator defines the VNF model in UIDE according to the actual situation of the VNF, and imports the VNF defined process information and the provided service implementation to complete the definition of the model file.
实施案例2,操作人员在UIDE选中已经编辑完成的NFV项目进行自动部署。操作人员选中NFV项目并点击自动部署按钮,UIDE即会调用TOSCA服务器的上传模型文件接口,将定义好的模型文件部署到TOSCA服务器中。TOSCA服务器会自动解析并部署模型文件。 In the implementation case 2, the operator selects the edited NFV project in UIDE for automatic deployment. When the operator selects the NFV project and clicks the auto-deploy button, UIDE will call the upload model file interface of the TOSCA server and deploy the defined model file to the TOSCA server. The TOSCA server automatically parses and deploys the model files.
实施案例3,操作人员通过调用TOSCA服务器提供的接口查询模型文件中的定义信息,并调用模型文件中提供的服务,完成VNF的实例化及其他操作。In the implementation case 3, the operator queries the definition information in the model file by calling the interface provided by the TOSCA server, and invokes the service provided in the model file to complete the instantiation and other operations of the VNF.
本实施例提供了一种基于CSAR的模型文件的可视化设计装置,参见图7,该装置包括以下组件。This embodiment provides a visual design device for a CSAR-based model file. Referring to FIG. 7, the device includes the following components.
开发工程树组件710,设置为在集成开发环境UIDE平台的可视化界面上,基于预设的NFV场景开发模型树,创建基于CSAR的模型文件的多个目录。The development project tree component 710 is configured to develop a model tree based on the preset NFV scenario on the visual interface of the integrated development environment UIDE platform, and create multiple directories of the CSAR-based model file.
建模工具组件720,设置为基于所述目录,创建所述模型文件的节点类型和节点关系类型,并定义节点之间的拓扑结构。A modeling tool component 720 is configured to create a node type and a node relationship type of the model file based on the directory and define a topology between the nodes.
工作流设计器730,设置为对所述节点进行工作流编排,得到所述基于CSAR的模型文件。The workflow designer 730 is configured to perform workflow scheduling on the node to obtain the CSAR-based model file.
本实施例在集成开发环境UIDE平台的可视化界面上,基于预设的NFV场景开发模型树,创建模型文件的多个目录,并根据所述目录,创建模型文件的节点类型、节点关系类型,以及节点之间的拓扑结构,通过对多个节点进行工作流编排,得到模型文件。本实施例使用集成开发环境UIDE进行开发,通过强大的功能组件,提高开发效率,并通过“所见即所得”的可视化开发方式以及标准化的开发流程,减小开发难度,简化了模型文件的开发及修改的步骤,有效避免相关技术中基于CSAR的模型文件没有合适的集成开发环境,且标准的模型文件的开发及修改较为复杂的问题。In this embodiment, on the visual interface of the integrated development environment UIDE platform, the model tree is developed based on the preset NFV scenario, multiple directories of the model file are created, and the node type and node relationship type of the model file are created according to the directory, and The topology between nodes is obtained by workflow orchestration of multiple nodes to obtain a model file. This embodiment uses the integrated development environment UIDE for development, improves development efficiency through powerful functional components, and reduces development difficulty and simplifies development of model files through "what you see is what you get" visual development method and standardized development process. And the steps of modification can effectively avoid the problem that the CSAR-based model file in the related technology does not have a suitable integrated development environment, and the development and modification of the standard model file is complicated.
本实施例所述的预置NFV场景的开发模型树为按照TOSCA的模型文件的文件结构定义的TOSCA-metadata、Plans等文件开发目录。The development model tree of the preset NFV scenario described in this embodiment is a TOCCA-metadata, Plans, and other file development directory defined according to the file structure of the TOSCA model file.
本领域的技术人员可根据实际需要来设置NFV场景开发模型树,并通过UIDE平台的可视化界面清楚NFV场景开发模型树下多个目录之间的关系。Those skilled in the art can set the NFV scenario development model tree according to actual needs, and clear the relationship between multiple directories under the NFV scenario development model tree through the visual interface of the UIDE platform.
本领域的技术人员可通过建模工具组件720在可视化界面上拖拽,选择、连接节点,设计出拓扑结构。Those skilled in the art can drag and drop on the visual interface through the modeling tool component 720, select and connect nodes, and design a topology.
可选地,本领域的技术人员可通过工作流设计器730在可视化界面上拖拽选择流程节点、设置先后关系等,设计出工作流文件。Optionally, a workflow file can be designed by a workflow designer 730 by dragging and selecting a process node, setting a sequence relationship, and the like on the visual interface.
可选地,本实施例所述的装置还包括:部署服务器组件740和工作流服务器组件750,如图8所示。Optionally, the apparatus in this embodiment further includes: a deployment server component 740 and a workflow server component 750, as shown in FIG. 8.
所述建模工具组件720是设置为,将所述模型文件上传到TOSCA服务器, 并触发所述部署服务器组件740。The modeling tool component 720 is configured to upload the model file to a TOSCA server, The deployment server component 740 is triggered.
所述部署服务器组件740,设置为在所述建模工具组件720触发下,使TOSCA服务器完成对模型文件信息的解析和服务部署。The deployment server component 740 is configured to enable the TOSCA server to complete parsing and service deployment of model file information under the trigger of the modeling tool component 720.
工作流服务器组件750,设置为触发TOSCA服务器获取所述模型文件可提供的服务,通过对所述服务调用完成模型文件任务的编排。The workflow server component 750 is configured to trigger the TOSCA server to obtain a service that the model file can provide, and complete the orchestration of the model file task by calling the service.
其中,本实施例所述部署服务器组件740是通过触发TOSCA服务器解压所述模型文件生成临时文件,对所述临时文件解析,保存节点属性及节点间的关系属性,根据节点定义保存节点的部署文件位置信息;并根据节点定义获取与节点提供的服务对应的实现文件,调用相应的插件进行部署,保存节点提供的服务及节点服务部署信息的对应关系。The deployment server component 740 of the embodiment is configured to generate a temporary file by triggering the TOSCA server to decompress the model file, parse the temporary file, save the node attribute and the relationship attribute between the nodes, and save the deployment file of the node according to the node definition. The location information is obtained according to the node definition, and the implementation file corresponding to the service provided by the node is obtained, and the corresponding plug-in is invoked for deployment, and the corresponding relationship between the service provided by the node and the deployment information of the node service is saved.
本实施例所述的装置使用集成开发环境UIDE进行开发,通过强大的功能组件,提高开发效率,并通过“所见即所得”的可视化开发方式以及标准化的开发流程,减小开发难度,简化了模型文件的开发及修改的步骤。The device described in this embodiment uses the integrated development environment UIDE for development, improves development efficiency through powerful functional components, and reduces development difficulty and simplifies development through "what you see is what you get" visual development method and standardized development process. The steps to develop and modify the model file.
本实施例中的相关内容可参照装置实施例和方法实施例部分进行理解,在此不再赘述。The related content in this embodiment can be understood by referring to the device embodiment and the method embodiment, and details are not described herein again.
本实施例使用集成开发环境UIDE进行开发,通过强大的功能组件,提高开发效率,并通过“所见即所得”的可视化开发方式以及标准化的开发流程,减小开发难度,简化了模型文件的开发及修改的步骤,有效避免相关技术中基于CSAR的模型文件没有合适的集成开发环境,且标准的模型文件的开发及修改较为复杂的问题。This embodiment uses the integrated development environment UIDE for development, improves development efficiency through powerful functional components, and reduces development difficulty and simplifies development of model files through "what you see is what you get" visual development method and standardized development process. And the steps of modification can effectively avoid the problem that the CSAR-based model file in the related technology does not have a suitable integrated development environment, and the development and modification of the standard model file is complicated.
本实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述方法。The embodiment further provides a computer readable storage medium storing computer executable instructions for performing the above method.
图9是根据本实施例的一种通信设备的硬件结构示意图,如图9所示,该电子设备包括:一个或多个处理器810和存储器820。图9中以一个处理器810为例。FIG. 9 is a schematic diagram showing the hardware structure of a communication device according to the present embodiment. As shown in FIG. 9, the electronic device includes: one or more processors 810 and a memory 820. One processor 810 is taken as an example in FIG.
所述电子设备还可以包括:输入装置830和输出装置840。The electronic device may further include an input device 830 and an output device 840.
所述电子设备中的处理器810、存储器820、输入装置830和输出装置840可以通过总线或者其他方式连接,图9中以通过总线连接为例。 The processor 810, the memory 820, the input device 830, and the output device 840 in the electronic device may be connected by a bus or other means, as exemplified by a bus connection in FIG.
输入装置830可以接收输入的数字或字符信息,输出装置840可以包括显示屏等显示设备。 Input device 830 can receive input numeric or character information, and output device 840 can include a display device such as a display screen.
存储器820作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块。处理器810通过运行存储在存储器820中的软件程序、指令以及模块,从而执行多种功能应用以及数据处理,以实现上述实施例中的任意一种方法。The memory 820 is a computer readable storage medium that can be used to store software programs, computer executable programs, and modules. The processor 810 executes a plurality of functional applications and data processing by executing software programs, instructions, and modules stored in the memory 820 to implement any of the above embodiments.
存储器820可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器可以包括随机存取存储器(Random Access Memory,RAM)等易失性存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件或者其他非暂态固态存储器件。The memory 820 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the electronic device, and the like. In addition, the memory may include volatile memory such as random access memory (RAM), and may also include non-volatile memory such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device.
存储器820可以是非暂态计算机存储介质或暂态计算机存储介质。该非暂态计算机存储介质,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器820可选包括相对于处理器810远程设置的存储器,这些远程存储器可以通过网络连接至电子设备。上述网络的实例可以包括互联网、企业内部网、局域网、移动通信网及其组合。 Memory 820 can be a non-transitory computer storage medium or a transitory computer storage medium. The non-transitory computer storage medium, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 820 can optionally include memory remotely located relative to processor 810, which can be connected to the electronic device over a network. Examples of the above networks may include the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
输入装置830可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。输出装置840可包括显示屏等显示设备。 Input device 830 can be used to receive input digital or character information and to generate key signal inputs related to user settings and function control of the electronic device. The output device 840 can include a display device such as a display screen.
本实施例的电子设备还可以包括通信装置,通过通信网络传输和/或接收信息。The electronic device of this embodiment may further include communication means for transmitting and/or receiving information over the communication network.
本领域普通技术人员可理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来执行相关的硬件来完成的,该程序可存储于一个非暂态计算机可读存储介质中,该程序在执行时,可包括如上述方法的实施例的流程,其中,该非暂态计算机可读存储介质可以为磁碟、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by executing related hardware by a computer program, and the program can be stored in a non-transitory computer readable storage medium. The program, when executed, may include the flow of an embodiment of the method as described above, wherein the non-transitory computer readable storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM). Wait.
工业实用性Industrial applicability
本公开提供的基于CSAR的模型文件的可视化设计方法及装置,使用开发环境UIDE进行开发,通过强大的功能组件,提高开发效率,并通过“所见即所 得”的可视化开发方式以及标准化的开发流程,减小开发难度,简化了模型文件的开发及修改的步骤,有效避免相关技术中基于CSAR的模型文件没有合适的集成开发环境,且标准的模型文件的开发及修改较为复杂的问题。 The visual design method and device for the CSAR-based model file provided by the present disclosure are developed by using the development environment UIDE, and the development efficiency is improved through powerful functional components, and the "what is seen" "Developed" visual development method and standardized development process, reducing development difficulty, simplifying the development and modification of model files, effectively avoiding the CSAR-based model files in the related technology without a suitable integrated development environment, and standard model files The development and modification of more complex issues.

Claims (11)

  1. 一种基于云服务存档CSAR的模型文件的可视化设计方法,包括:A visual design method for a model file based on a cloud service archive CSAR, comprising:
    在用户界面开发环境UIDE平台的可视化界面上,基于预设的网络功能虚拟化NFV场景开发模型树,创建所述基于CSAR的模型文件的多个目录;On the visual interface of the user interface development environment UIDE platform, the model tree is developed based on the preset network function virtualization NFV scenario, and multiple directories of the CSAR-based model file are created;
    基于所述目录,创建所述模型文件的节点类型和节点关系类型,并定义节点之间的拓扑结构;Creating a node type and a node relationship type of the model file based on the directory, and defining a topology between the nodes;
    对所述节点进行工作流编排,得到所述模型文件。Workflow orchestration is performed on the node to obtain the model file.
  2. 根据权利要求1所述的方法,还包括:The method of claim 1 further comprising:
    将所述模型文件上传到基于云应用的拓扑和业务流程规范TOSCA服务器,并触发TOSCA服务器完成对所述模型文件的解析和服务部署。The model file is uploaded to the cloud application based topology and business process specification TOSCA server, and the TOSCA server is triggered to complete the parsing and service deployment of the model file.
  3. 根据权利要求2所述的方法,还包括:The method of claim 2 further comprising:
    触发TOSCA服务器获取所述模型文件可提供的服务,通过对所述服务调用完成模型文件的解析。The TOSCA server is triggered to obtain a service that can be provided by the model file, and the parsing of the model file is completed by calling the service.
  4. 根据权利要求2所述的方法,其中,所述触发TOSCA服务器完成对所述模型文件的解析和服务部署,包括:The method of claim 2, wherein the triggering the TOSCA server to complete parsing and service deployment of the model file comprises:
    触发TOSCA服务器解压所述模型文件生成临时文件,对所述临时文件解析,保存节点属性及节点间的关系属性,根据节点定义保存节点的部署文件位置信息,并根据节点定义获取与节点提供的服务对应的实现文件,调用相应的插件进行部署,保存节点提供的服务及节点服务部署信息的对应关系。Triggering the TOSCA server to decompress the model file to generate a temporary file, parsing the temporary file, saving the node attribute and the relationship attribute between the nodes, saving the deployment file location information of the node according to the node definition, and acquiring the service provided by the node according to the node definition The corresponding implementation file, the corresponding plug-in is called for deployment, and the correspondence between the service provided by the node and the deployment information of the node service is saved.
  5. 根据权利要求1-4中任意一项所述的方法,其中,所述NFV场景开发模型树为按照TOSCA的所述模型文件的文件结构定义的开发目录。The method according to any one of claims 1 to 4, wherein the NFV scenario development model tree is a development directory defined according to a file structure of the model file of the TOSCA.
  6. 一种基于CSAR的模型文件的可视化设计装置,包括:A visual design device for model files based on CSAR, comprising:
    开发工程树组件,设置为在用户界面开发环境UIDE平台的可视化界面上,基于预设的网络功能虚拟化NFV场景开发模型树,创建所述基于CSAR的模型文件的多个目录;Developing a project tree component, configured to virtualize the NFV scenario development model tree based on the preset network function on the visual interface of the user interface development environment UIDE platform, and create a plurality of directories of the CSAR-based model file;
    建模工具组件,设置为基于所述目录,创建所述模型文件的节点类型和节点关系类型,并定义节点之间的拓扑结构;a modeling tool component, configured to create a node type and a node relationship type of the model file based on the directory, and define a topology between the nodes;
    工作流设计器,设置为对所述节点进行工作流编排,得到所述基于CSAR的模型文件。A workflow designer is configured to perform workflow scheduling on the node to obtain the CSAR-based model file.
  7. 根据权利要求6所述的装置,还包括:部署服务器组件;The apparatus of claim 6 further comprising: a deployment server component;
    所述建模工具组件是设置为,将所述模型文件上传到TOSCA服务器,并触发所述部署服务器组件; The modeling tool component is configured to upload the model file to a TOSCA server and trigger the deployment server component;
    所述部署服务器组件,设置为在所述建模工具组件触发下,使TOSCA服务器完成对所述模型文件的解析和服务部署。The deployment server component is configured to enable the TOSCA server to complete parsing and service deployment of the model file under the trigger of the modeling tool component.
  8. 根据权利要求7所述的装置,还包括:The apparatus of claim 7 further comprising:
    工作流服务器组件,设置为触发TOSCA服务器获取所述模型文件可提供的服务,通过对所述服务调用完成模型文件的解析。The workflow server component is configured to trigger the TOSCA server to obtain a service that the model file can provide, and complete the parsing of the model file by calling the service.
  9. 根据权利要求7所述的装置,其中,所述部署服务器组件是设置为,触发TOSCA服务器解压所述模型文件生成临时文件,对所述临时文件解析,保存节点属性及节点间的关系属性,根据节点定义保存节点的部署文件位置信息,并根据节点定义获取与节点提供的服务对应的实现文件,调用相应的插件进行部署,保存节点提供的服务及节点服务部署信息的对应关系。The apparatus according to claim 7, wherein the deployment server component is configured to trigger the TOSCA server to decompress the model file to generate a temporary file, parse the temporary file, save node attributes, and relationship attributes between nodes, according to The node defines the deployment file location information of the node, and obtains the implementation file corresponding to the service provided by the node according to the node definition, invokes the corresponding plug-in to deploy, and saves the correspondence between the service provided by the node and the deployment information of the node service.
  10. 根据权利要求6-9中任意一项所述的装置,其中,所述NFV场景开发模型树为按照TOSCA的所述模型文件的文件结构定义的开发目录。The apparatus according to any one of claims 6-9, wherein the NFV scenario development model tree is a development directory defined according to a file structure of the model file of the TOSCA.
  11. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-5任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-5.
PCT/CN2017/095176 2016-08-23 2017-07-31 Csar-based template design visualization method and device WO2018036342A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610711368.8A CN107766042A (en) 2016-08-23 2016-08-23 A kind of visual data manager and device of the model file based on CSAR
CN201610711368.8 2016-08-23

Publications (1)

Publication Number Publication Date
WO2018036342A1 true WO2018036342A1 (en) 2018-03-01

Family

ID=61245407

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/095176 WO2018036342A1 (en) 2016-08-23 2017-07-31 Csar-based template design visualization method and device

Country Status (2)

Country Link
CN (1) CN107766042A (en)
WO (1) WO2018036342A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446570A (en) * 2018-09-26 2019-03-08 平安科技(深圳)有限公司 Operation flow methods of exhibiting, device, computer equipment and storage medium
CN111274000A (en) * 2020-01-21 2020-06-12 苏州浪潮智能科技有限公司 Service arranging method and device, electronic equipment and storage medium
CN111930372A (en) * 2020-08-06 2020-11-13 科大国创云网科技有限公司 Service arrangement solution method and system realized through draggable flow chart
CN112711783A (en) * 2021-01-07 2021-04-27 闫张宇 Jewelry design method and system based on three-dimensional software and illusion engine
CN112948110A (en) * 2021-02-23 2021-06-11 上海宽带技术及应用工程研究中心 Topology and arrangement system and method of cloud application, storage medium and electronic device
CN113687822A (en) * 2021-07-26 2021-11-23 安徽华元智控科技有限公司 Deployment tool chain and deployment method for edge side control system
CN116661767A (en) * 2023-07-28 2023-08-29 亚信科技(中国)有限公司 File generation method, device, equipment and storage medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110609675B (en) * 2018-06-14 2023-08-08 中兴通讯股份有限公司 Workflow modeling method and device and computer readable storage medium
CN109408066A (en) * 2018-10-18 2019-03-01 郑州云海信息技术有限公司 A kind of cloud platform dispositions method and device
KR102583241B1 (en) * 2020-07-15 2023-09-26 베이징 나우라 마이크로일렉트로닉스 이큅먼트 씨오., 엘티디. Semiconductor device modeling method and device
CN112464037A (en) * 2020-10-23 2021-03-09 北京思特奇信息技术股份有限公司 TOSCA service processing method, processing system and processor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334728A (en) * 2008-07-28 2008-12-31 北京航空航天大学 Interface creating method and platform based on XML document description
CN101446896A (en) * 2008-12-30 2009-06-03 浙江工业大学 MIB file editor
US20120054714A1 (en) * 2010-08-24 2012-03-01 Miroslav Novak Interactive layered visualization of a layered software architecture
CN103699425A (en) * 2013-09-26 2014-04-02 武汉中地数码科技有限公司 Software T/C/V architecture based on cloud computing and cloud computing method thereof
CN103905508A (en) * 2012-12-28 2014-07-02 华为技术有限公司 Cloud platform application deployment method and device
CN105592130A (en) * 2014-09-26 2016-05-18 华为技术有限公司 Service deployment method and device, and service management method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101334728A (en) * 2008-07-28 2008-12-31 北京航空航天大学 Interface creating method and platform based on XML document description
CN101446896A (en) * 2008-12-30 2009-06-03 浙江工业大学 MIB file editor
US20120054714A1 (en) * 2010-08-24 2012-03-01 Miroslav Novak Interactive layered visualization of a layered software architecture
CN103905508A (en) * 2012-12-28 2014-07-02 华为技术有限公司 Cloud platform application deployment method and device
CN103699425A (en) * 2013-09-26 2014-04-02 武汉中地数码科技有限公司 Software T/C/V architecture based on cloud computing and cloud computing method thereof
CN105592130A (en) * 2014-09-26 2016-05-18 华为技术有限公司 Service deployment method and device, and service management method

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446570A (en) * 2018-09-26 2019-03-08 平安科技(深圳)有限公司 Operation flow methods of exhibiting, device, computer equipment and storage medium
CN109446570B (en) * 2018-09-26 2024-03-05 平安科技(深圳)有限公司 Business process display method, device, computer equipment and storage medium
CN111274000A (en) * 2020-01-21 2020-06-12 苏州浪潮智能科技有限公司 Service arranging method and device, electronic equipment and storage medium
CN111274000B (en) * 2020-01-21 2023-01-10 苏州浪潮智能科技有限公司 Service arrangement method and device, electronic equipment and storage medium
CN111930372A (en) * 2020-08-06 2020-11-13 科大国创云网科技有限公司 Service arrangement solution method and system realized through draggable flow chart
CN111930372B (en) * 2020-08-06 2022-09-20 科大国创云网科技有限公司 Service arrangement solution method and system realized through draggable flow chart
CN112711783A (en) * 2021-01-07 2021-04-27 闫张宇 Jewelry design method and system based on three-dimensional software and illusion engine
CN112711783B (en) * 2021-01-07 2023-12-22 闫张宇 Jewelry design method and system based on three-dimensional software and illusion engine
CN112948110A (en) * 2021-02-23 2021-06-11 上海宽带技术及应用工程研究中心 Topology and arrangement system and method of cloud application, storage medium and electronic device
CN113687822A (en) * 2021-07-26 2021-11-23 安徽华元智控科技有限公司 Deployment tool chain and deployment method for edge side control system
CN116661767A (en) * 2023-07-28 2023-08-29 亚信科技(中国)有限公司 File generation method, device, equipment and storage medium
CN116661767B (en) * 2023-07-28 2023-10-27 亚信科技(中国)有限公司 File generation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN107766042A (en) 2018-03-06

Similar Documents

Publication Publication Date Title
WO2018036342A1 (en) Csar-based template design visualization method and device
US11693624B2 (en) AI capability research and development platform and data processing method
US11635974B2 (en) Providing a different configuration of added functionality for each of the stages of predeployment, deployment, and post deployment using a layer of abstraction
US20210034336A1 (en) Executing a process-based software application in a first computing environment and a second computing environment
US9047160B2 (en) Designing and building virtual images using semantically rich composable software image bundles
CN110928529B (en) Method and system for assisting operator development
WO2022170801A1 (en) Ios application program construction method and apparatus, electronic device, and storage medium
US8589864B2 (en) Automating the creation of an application provisioning model
US11797273B2 (en) System and method for enhancing component based development models with auto-wiring
US9772862B2 (en) Integration project center
WO2017020459A1 (en) Method and apparatus for configuring plugin package for host
CN110674083A (en) Workflow migration method, device, equipment and computer readable storage medium
US10901984B2 (en) Enhanced batch updates on records and related records system and method
CN109840074B (en) Service generation method, device and network equipment
WO2017007466A1 (en) Orchestration template generation
CN112948110A (en) Topology and arrangement system and method of cloud application, storage medium and electronic device
Bhattacharjee et al. A model-driven approach to automate the deployment and management of cloud services
US10990264B2 (en) User interface development in a transcompiling environment
US10338891B2 (en) Migration between model elements of different types in a modeling environment
US20100250228A1 (en) Modeling a composite application
CN111124386B (en) Animation event processing method, device, equipment and storage medium based on Unity
CN114936152A (en) Application testing method and device
CN113037582A (en) Network Function Virtualization (NFV) test method, device and system
CN114070764A (en) Network Function Virtualization (NFV) test method, device and system
CN115454416A (en) Information processing method and device, equipment and 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: 17842765

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17842765

Country of ref document: EP

Kind code of ref document: A1