CN111061723B - Workflow realization method and device - Google Patents

Workflow realization method and device Download PDF

Info

Publication number
CN111061723B
CN111061723B CN201811205296.5A CN201811205296A CN111061723B CN 111061723 B CN111061723 B CN 111061723B CN 201811205296 A CN201811205296 A CN 201811205296A CN 111061723 B CN111061723 B CN 111061723B
Authority
CN
China
Prior art keywords
service
resource
module
user
user interaction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811205296.5A
Other languages
Chinese (zh)
Other versions
CN111061723A (en
Inventor
孟琳
邓灵莉
沈涛
杨艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201811205296.5A priority Critical patent/CN111061723B/en
Publication of CN111061723A publication Critical patent/CN111061723A/en
Application granted granted Critical
Publication of CN111061723B publication Critical patent/CN111061723B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a workflow realization method and device, and belongs to the field of business models of ONAP. The workflow realization method is applied to an instantiation template of an end-to-end service, the instantiation template allows a plurality of resource instances to be dynamically instantiated according to needs, a simple service is a resource of a compound service, the resource instances in a compound service instantiation data record are stored in a list structure, the instantiation template comprises a maximum resource quantity parameter, and describes the upper limit quantity of the resource to be instantiated in the compound service, and the method comprises the following steps: and dynamically increasing the number of resources of the instantiation template, and judging whether the number of resources can be dynamically increased according to the number limit of the maximum resource number parameter. By the technical scheme, only one unified template is required to be designed for complex business, a plurality of business templates are not required to be designed, the solidifying limit of the business templates on the number of resources is changed, the flexibility is enhanced, and the workflow for guiding the business arrangement module to dynamically update the business is increased.

Description

Workflow realization method and device
Technical Field
The invention relates to the field of business models of ONAP (online application program), in particular to a workflow realization method and device.
Background
ONAP (Open Network Automation Platform ) is used as the brain of NFV (Network Function Virtualization, network function virtualization)/SDN (software Defined Network ), and the four links of service design, service arrangement, service online and strategy operation are used for realizing the automatic management of the whole life cycle of the network, thus being a core component of a new-generation network management. The service design is completed in an operation state, and in an SDC (Service Design and Create, service design module, ONAP design state module) link, a resource template of a third party manufacturer is online, and the network service model is assembled by selecting corresponding network elements and adopting a dragging mode. The service orchestration analyzes the service template through SO (Service Orchestration, service orchestration module, ONAP's service orchestration module) and disassembles it into multiple tasks to form a workflow. When the service is on line, service configuration is carried out according to the service requirement, and the current network user data is loaded to finish the service on line. When the strategy is operated, based on the strategy and combining with the network state, the functions of network elastic expansion and contraction, network element iteration and the like are automatically realized, and closed-loop control is realized.
The current ONAP business model is based on the existing capability design of a business design module, only has two types of business (service) and resource (resource), can only assemble a simple business template, does not have the design capability of a complex business template, and for a compound business (composite service), a plurality of business templates need to be designed for combination and implementation, and cannot be realized in a unified business template. And only the quantity of resources and the topological structure required by service instantiation are described in the existing template, the quantity is solidified, and the dynamic adjustment of the service is not supported. Further, the existing workflow does not have a workflow for dynamically updating the service, and cannot guide the service arrangement module to dynamically update the service. This limits the construction and assembly of end-to-service (end to end service) to a large extent.
Disclosure of Invention
The invention aims to provide a workflow realization method and device, which only need to design a unified template for complex business, and do not need to design a plurality of business templates, thereby changing the solidification limit of the business templates on the number of resources, enhancing the flexibility and increasing the workflow for guiding a business arrangement module to dynamically update the business.
In order to solve the technical problems, the embodiment of the invention provides the following technical scheme:
in one aspect, an embodiment of the present invention provides a workflow implementation method, applied to an instantiation template of an end-to-end service, where the instantiation template allows for dynamically instantiating multiple resource instances as needed, in the instantiation template, a simple service is a resource of a composite service, resource instances in an instantiation data record of the composite service are stored in a list structure, and the instantiation template includes a maximum resource number parameter for describing an upper limit number of resources that need to be instantiated in an entire life cycle of the composite service, where the method includes:
and dynamically increasing the number of resources of the instantiation template, storing the resource instances in the compound service instantiation data record in a list structure, and judging whether the number of resources can be dynamically increased according to the number limit of the maximum resource number parameter.
Further, the method specifically comprises the following steps:
the user interaction module of the ONAP receives a resource increasing request;
the user interaction module sends the resource increasing request to a business arrangement module of an ONAP, and judges whether the business arrangement module supports the resource increasing request or not;
if the business arrangement module supports the resource adding request, the user interaction module displays an input interface to a user and receives resource information input by the user;
the user interaction module sends the resource information to an instance database of the ONAP;
the instance database judges whether the resource information input by the user is new or not, and if so, the instance database feeds back the received resource information and the current resource quantity to the user interaction module;
the user interaction module sends the current resource quantity to the service arrangement module;
the service orchestration module judges whether the current resource quantity exceeds the quantity limit of the maximum resource quantity parameter, and if not, the service orchestration module sends a new resource adding instruction to the SDN orchestration control module;
the SDN orchestration control module feeds back a creation success message to the service orchestration module;
the business arrangement module sends an update business instruction to the instance database;
the instance database updates service information and adds the resource information into the list structure;
the instance database sends an update success message to the service arrangement module;
the service arrangement module sends an update success instruction to the user interaction module;
the user interaction module displays "add success" to the user.
Further, the method further comprises:
if the business orchestration module does not support the add resource request, the user interaction module displays "reject add" to the user.
Further, the method further comprises:
if the instance database judges that the resource information input by the user is not new, the instance database feeds back to the user interaction module that the resource information input by the user exists, and the user interaction module displays the 'resource exists and refuses to be added' to the user.
Further, the method further comprises:
if the service arrangement module judges that the current resource quantity exceeds the quantity limit of the maximum resource quantity parameter, the service arrangement module sends a refusal adding instruction to the user interaction module;
the user interaction module displays to the user that the resource has reached the upper limit and the addition is refused.
Further, the method further comprises:
if the SDN orchestration control module does not feed back a creation success message to the service orchestration module, the service orchestration module sends a rejection adding instruction to the user interaction module, and the user interaction module displays ' add failure ' to a user, please retry later '.
The embodiment of the invention also provides a workflow realization device, which is applied to an instantiation template of an end-to-end service, wherein the instantiation template allows a plurality of resource instances to be dynamically instantiated according to needs, in the instantiation template, a simple service is a resource of a compound service, the resource instances in an instantiation data record of the compound service are stored in a list structure, the instantiation template comprises a maximum resource quantity parameter and is used for describing the upper limit quantity of the resource required to be instantiated in the whole life cycle of the compound service, and the device comprises:
the user interaction module of the ONAP is used for dynamically increasing the quantity of resources of the instantiation template;
and the ONAP business arrangement module is used for judging whether the resource quantity can be dynamically increased according to the quantity limitation of the maximum resource quantity parameter.
Further, the device also comprises an instance database of ONAP and an SDN orchestration control module,
the user interaction module is specifically configured to receive an add resource request, send the add resource request to the service orchestration module, and determine whether the service orchestration module supports the add resource request; if the business arrangement module supports the resource adding request, an input interface is displayed to a user, and resource information input by the user is received; sending the resource information to the instance database;
the instance database is used for judging whether the resource information input by the user is new or not, and if so, feeding back the received resource information and the current resource quantity to the user interaction module;
the user interaction module is also used for sending the current resource quantity to the service arrangement module;
the service orchestration module is specifically configured to determine whether the current resource number exceeds the number limit of the maximum resource number parameter, and if not, send a new resource adding instruction to the SDN orchestration control module;
the SDN orchestration control module is used for feeding back a creation success message to the service orchestration module;
the business arrangement module is also used for sending an update business instruction to the instance database;
the instance database is also used for updating service information, adding the resource information into the list structure and sending an updating success message to the service arrangement module;
the business arrangement module is also used for sending an update success instruction to the user interaction module;
the user interaction module is also used for displaying 'adding success' to a user.
Further, the user interaction module is further configured to display "reject add" to the user when the business orchestration module does not support the add resource request.
Further, the instance database is further configured to, when it is determined that the resource information input by the user is not new, feed back to the user interaction module that the resource information input by the user already exists;
the user interaction module is further used for displaying the fact that the resource exists and the addition is refused to be carried out to a user.
Further, the service orchestration module is further configured to send a reject adding instruction to the user interaction module when it is determined that the current resource number exceeds the number limit of the maximum resource number parameter;
the user interaction module is also used for displaying the fact that the resource reaches the upper limit and the addition is refused to be carried out to the user.
Further, the service orchestration module is further configured to send a reject adding instruction to the user interaction module when a creation success message fed back by the SDN orchestration control module is not received;
the user interaction module is also used to display "add failure, please try again later" to the user.
The embodiment of the invention also provides workflow realization equipment, which comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor; the processor, when executing the program, implements a workflow implementation method as described above.
The embodiments of the present invention also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps in a workflow implementation method as described above.
The embodiment of the invention has the following beneficial effects:
in the scheme, the curing limit of the business template to the number of resources is changed, the flexibility is enhanced, and the concrete steps are as follows: on one hand, the template supports dynamic instantiation of a plurality of resource instances as required, the implementation mode of resources in the template is changed, a list structure is introduced, the resource instances in the compound service instantiation data record are stored in a list structure, and a user can dynamically increase the resources; on the other hand, adding attributes in the template: a maximum resource number parameter for describing an upper limit number of resources to be instantiated in the whole life cycle of the composite service; in yet another aspect, the operational state regulation capability is enhanced, and a workflow for guiding the service orchestration module to dynamically update the service is increased. Compared with the existing complex service implementation mode, the embodiment only needs to design a unified template, a plurality of service templates are not needed to be designed, the templates can be used for guiding dynamic updating of the service, and resources of the service can be dynamically increased.
Drawings
FIG. 1 is a prior art CCVPN business model;
FIG. 2 is a business template of a prior art business design module;
FIG. 3 is an information model of an instantiation template of an end-to-end service according to an embodiment of the present invention;
FIG. 4 is an exemplary template of an end-to-end service according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a workflow implementation method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a workflow of dynamically adding resources for a service according to an embodiment of the present invention;
fig. 7 is a schematic workflow diagram of a new resource in CCVPN service according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages to be solved by the embodiments of the present invention more apparent, the following detailed description will be given with reference to the accompanying drawings and the specific embodiments.
ONAP (Open Network Automation Platform ) is used as the brain of NFV (Network Function Virtualization, network function virtualization)/SDN (Software Defined Network ), and the four links of service design, service arrangement, service online and strategy operation are used for realizing the automatic management of the whole life cycle of the network, thus being a core component of a new-generation network management. The service design is completed in an operation state, and in an SDC (Service Design and Create, service design module, ONAP design state module) link, a resource template of a third party manufacturer is online, and the network service model is assembled by selecting corresponding network elements and adopting a dragging mode. The service orchestration analyzes the service template through SO (Service Orchestration, service orchestration module, ONAP's service orchestration module) and disassembles it into multiple tasks to form a workflow. When the service is on line, service configuration is carried out according to the service requirement, and the current network user data is loaded to finish the service on line. When the strategy is operated, based on the strategy and combining with the network state, the functions of network elastic expansion and contraction, network element iteration and the like are automatically realized, and closed-loop control is realized.
The current business model of ONAP is based on the existing capability design of a business design module, only has two types of business (service) and resource (resource), only can assemble a simple business template, and does not have the design capability of a complex business template, so that the construction and assembly of an end-to-end business (end to end service) are limited to a great extent. At present, communities have proposed compound services (composite service), and after composite service is introduced, complex services can be designed so as to present a unified end-to-end service to users, but at present communities do not have designs and schemes based on composite service templates and implementations.
The service template currently generated by the service design module can only be used for guiding service instantiation, and has great limitation when the service life cycle is arranged, especially when dynamic adjustment is involved, because the template is solidified for the quantity of resources and the topology description of the service. Meanwhile, the existing business template attribute and function described by the business design module AID (the business design module TOSCA Data Model ) document are too few, the business template cannot be dynamically updated in the running state, the internal running state component cannot dynamically adjust the business by referring to the existing business template, and the existing workflow also cannot support the function of dynamically adjusting the business.
Currently, there is no unified information model of a service template, and only service data models implemented based on TOSCA (Topology and Orchestration Specification for Cloud Applications, topology and orchestration specifications of cloud applications) are described in AID documents proposed by a service design module team. Similar to the ONAP traffic template information model, is an information model of an ETSI (European Telecommunications Standards Institute, european telecommunications standardization institute) designed web service (NS) template. NS is defined in ONAP as a concept at the resource level, differing from the concept of service in ONAP mainly in the following two aspects: on the one hand, the management of the lifecycle of NS is operated by VFC (Virtual Function Controller, virtual function management module of ONAP) or APPC (Application Controller, APP management module of ONAP) instead of the service orchestration module, which is responsible for managing the lifecycle of the service; on the other hand, service is an object oriented client, and Service contains some attributes such as SLA (Service Level Agreement) describing the client's needs.
Taking the cross-domain cross-layer VPN use case (Cross Domain and Cross Layer VPN, CCVPN) as an example, the use case is mainly directed to government and enterprise customers. Assuming that a certain enterprise currently constructs a VPN service from Beijing to Shanghai, along with the expansion of the operation scale of the enterprise, the enterprise now wants to add a western security site on the basis of the original service. The existing service model design mode can realize the service scenario, but is based on a plurality of services, and the user faces the plurality of services. The design simply realizes the construction of VPN private line, and greatly violates the original purpose that a user wants to provide a unified end-to-end service.
1. Existing business model design
The services of the ONAP are all template driven, and one type of service needs to be instantiated according to the service template designed by the service design module. Different services need to refer to different service templates. Taking the CCVPN service shown in fig. 1 as an example, an enterprise wants to establish a VPN service from site a to site B, and needs to implement by establishing three services: setting up a site a service, a site B service, and an intermediate VPN connection VPN Infra Service are also required. These three services are implemented with reference to 2 different service templates (service templates), site and VPN Infra (VPN architecture) service templates.
In the existing template design, the template only supports service instantiation, and does not support service change related to resource configuration initiated by a user. For user initiated service changes, it is necessary for the user to enter resource configuration parameters instead of relying on the ONAP to automatically perform configuration of newly added resources, such as scaling-up and self-healing. The following diagram describes a service template described in TOSCA language, where the service template is a yml file in the csar file of a service, as shown in fig. 2, and is used to guide the instantiation of the service in a running state, where the service template is: metadata is used to describe specific attributes of the service, such as UUID (Universally Unique Identifier, universal unique identifier), serviceType, category, etc.; inputs are used to describe attribute information that requires user input when instantiating a service; node_template describes the resources required for the service; workflow describes the workflow required for service execution.
In both metadata of the service template and node_template describing the resources, the number of resources to be instantiated is fixed, and the instantiation order of the resources is determined by the description order in the template. In the service execution process, if the user generates demand adjustment on the service, such as demand change on the resource quantity, the original service needs to be terminated first, the template meeting the resource quantity demand is redesigned, and then a new service is instantiated according to the template.
Because the existing template only supports the business instantiation work, only the business workflow is created, and the business workflow is not updated.
The disadvantages of the prior art are mainly manifested in the following three points: 1. for a composite service (composite service), multiple service templates need to be designed to be combined and implemented, and cannot be implemented in a unified service template. 2. Only the quantity and topology structure of resources required by service instantiation are described in the existing template, the quantity is solidified, and the dynamic adjustment of the service is not supported. 3. The existing workflow does not have a workflow for dynamically updating the service, and the service arrangement module cannot be guided to dynamically update the service.
1. Problems with existing models:
the existing implementation mode of the composite service can only be assembled into a simple service by resources, and then the simple service is combined into the composite service, so that the design and the implementation of the composite service can not be directly carried out. Taking CCVPN traffic as an example, the main drawbacks include: current business designs present both sites and VPN connections as business to users, respectively. To build a SOTN (Software-defined Optical) from enterprise to enterprise
Transportation Network, software defined optical transport network) service is exemplified: in the design of the current service model, in order to open a vpn service, a user needs to establish three services forming the service in a portal interface: SOTN VPN INFRA1, CPE SITE1, CPE SITE 2; when a user wants to add a site again, three services need to be recreated: CPE SITE3, SOTN VPN INFRA2 from SITE1 to SITE3, SOTN VPN INFRA3 from SITE 2 to SITE 3. An essential disadvantage of splitting a service into multiple service implementations for the same customer-aware service is that for the inside of the ONAP system the biggest penalty is that it will consider these three services to be uncorrelated, requiring an external service system to correlate them. Dynamic flexible closed loop control at the traffic level cannot be implemented inside the ONAP for these services.
2. The existing business templates have the following problems:
only the instantiation of the service is supported in the current service template, and the dynamic adjustment of the service is not supported. The number of resources required in the service is also limited in a solid state, and only instantiation of a single resource is supported. These drawbacks make dynamic adjustment of the traffic impossible to refer to the traffic templates.
3. The existing workflow does not have a workflow for dynamically updating the service, and the service arrangement module cannot be guided to dynamically update the service.
In order to solve the above problems, embodiments of the present invention provide a workflow implementation method and apparatus, which only needs to design a unified template for complex services, and does not need to design multiple service templates, thereby changing the curing limit of the service templates on the number of resources, enhancing flexibility, and increasing a workflow for guiding a service orchestration module to dynamically update services.
Embodiments of the present invention provide an instantiation template of an end-to-end service that allows multiple resource instances to be dynamically instantiated on demand.
Further, in the instantiation template, the simple service is a resource of the compound service, and the resource instance in the compound service instantiation data record is designated to be stored in a list structure.
Further, the instantiation template includes a maximum number of resources parameter describing an upper limit number of resources to be instantiated throughout the lifecycle of the composite service.
In this embodiment, the curing limit of the service template on the number of resources is changed, so that flexibility is enhanced, and the concrete steps are as follows: on the one hand, adding attributes in the template: a maximum resource number parameter for describing an upper limit number of resources to be instantiated in the whole life cycle of the composite service; on the other hand, the realization mode of the resources in the template is changed, a list structure is introduced, the resource examples in the compound service instantiation data record are stored in the list structure, and the user can dynamically increase the resources.
Taking CCVPN traffic as an example, site and VPN Infra are stored in node_template, and implementation of site and VPN Infra is instantiated with reference to vnfd.
Fig. 3 shows an information model of service descriptor (service description), and in composite service descriptor (composite service description), in order to describe the upper limit number of each resource required by the composite service, a maxNodeNum attribute (i.e., a maximum resource number parameter) is added. Thus, each atom service can be used as a resource of composite service (composite service), and a template can be used for describing composite services composed of a plurality of simple services. Fig. 4 shows that an attribute of a list structure needs to be added to metadata of an extended template, service template (i.e., an end-to-end Service instantiation template in an embodiment of the present invention): the paddingFlavor is used to describe the upper bound number of resources that need to be instantiated throughout the life cycle of a service. maxNodeNum in the information model is the corresponding service template in the paddingFlavor.
The resources in node_template are originally vf, vl, cp, ar, instead of vf_list, vl_list, cp_list, ar_list. The list structures are used for guiding the instantiation of the resources in the whole life cycle of the service, the service can dynamically increase the number of the resources when dynamically updating, and whether the number of the resources can be dynamically increased is judged according to the limit of the number of the paddingFlavor.
The embodiment of the invention also provides a workflow realization method, which is applied to the instantiation template of the end-to-end service, wherein the instantiation template allows a plurality of resource instances to be dynamically instantiated according to the requirement, in the instantiation template, simple service is the resource of compound service, the resource instances in the compound service instantiation data record are stored in a list structure, the instantiation template comprises a maximum resource quantity parameter and is used for describing the upper limit quantity of the resource required to be instantiated in the whole life cycle of the compound service, as shown in fig. 5, the method comprises the following steps:
step 101: and dynamically increasing the number of resources of the instantiation template, storing the resource instances in the compound service instantiation data record in a list structure, and judging whether the number of resources can be dynamically increased according to the number limit of the maximum resource number parameter.
In this embodiment, the curing limit of the service template on the number of resources is changed, so that flexibility is enhanced, and the concrete steps are as follows: on the one hand, adding attributes in the template: a maximum resource number parameter for describing an upper limit number of resources to be instantiated in the whole life cycle of the composite service; on the other hand, the realization mode of the resources in the template is changed, a list structure is introduced, the resource examples in the compound service instantiation data record are stored in the list structure, and the user can dynamically increase the resources; in yet another aspect, the operational state regulation capability is enhanced, and a workflow for guiding the service orchestration module to dynamically update the service is increased. Compared with the existing complex service implementation mode, the embodiment only needs to design a unified template, a plurality of service templates are not needed to be designed, the templates can be used for guiding dynamic updating of the service, and resources of the service can be dynamically increased.
Further, the present embodiment provides a method for guiding a service orchestration module to update a service and dynamically increasing a workflow of a resource, as shown in fig. 6, where the method specifically includes:
the user interaction module of the ONAP receives an ADD resource request (ADD);
the user interaction module sends the resource increasing request to a business arrangement module of an ONAP, and judges whether the business arrangement module supports the resource increasing request or not;
if the business arrangement module supports the resource adding request, the user interaction module displays an input interface to a user and receives resource information input by the user;
the user interaction module sends the resource information to an instance database of the ONAP;
the instance database judges whether the resource information input by the user is new or not, and if so, the instance database feeds back the received resource information and the current resource quantity to the user interaction module;
the user interaction module sends the current resource quantity to the service arrangement module;
the service orchestration module judges whether the current resource quantity exceeds the quantity limit of the maximum resource quantity parameter, and if not, the service orchestration module sends a new resource adding instruction to the SDN orchestration control module;
the SDN orchestration control module feeds back a creation success message to the service orchestration module;
the business arrangement module sends an update business instruction to the instance database;
the instance database updates service information and adds the resource information into the list structure;
the instance database sends an update success message to the service arrangement module;
the service arrangement module sends an update success instruction 'ADD successful' to the user interaction module;
the user interaction module displays "add success" to the user.
Further, as shown in fig. 6, the method further includes:
if the business orchestration module does not support the add resource request, the user interaction module displays "reject add" to the user.
Further, as shown in fig. 6, the method further includes:
if the instance database judges that the resource information input by the user is not new, the instance database feeds back to the user interaction module that the resource information input by the user exists, and the user interaction module displays the 'resource exists and refuses to be added' to the user.
Further, as shown in fig. 6, the method further includes:
if the service orchestration module judges that the current resource quantity exceeds the quantity limit of the maximum resource quantity parameter, the service orchestration module sends a rejection adding instruction 'ADD recommended' to the user interaction module;
the user interaction module displays to the user that the resource has reached the upper limit and the addition is refused.
Further, as shown in fig. 6, the method further includes:
if the SDN orchestration control module does not feed back a creation success message to the service orchestration module, the service orchestration module sends a rejection adding instruction to the user interaction module, and the user interaction module displays ' add failure ' to a user, please retry later '.
Taking CCVPN as an example, the workflow design is shown in fig. 7, and specifically includes:
the user interaction module receives an ADD resource request (ADD), and sends the ADD resource request to the service arrangement module to judge whether the service arrangement module supports the ADD operation;
if the business arrangement module supports the ADD operation, the user interaction module displays an input interface to a user and receives Site information input by the user, and if the business arrangement module does not support the ADD operation, the user interaction module displays rejection of addition to the user;
the user interaction module sends Site information input by a user to an instance database;
the instance database judges whether the Site information input by the user is new or not, if so, the received Site information and the current Site number are fed back to the user interaction module, and if not, the instance database feeds back that the resource exists to the user interaction module, and the user interaction module displays that the resource exists and refuses to be added;
the user interaction module sends the current Site number to the service arrangement module;
the service orchestration module judges whether the current Site number exceeds the number limit of the maximum resource number parameter, if not, the service orchestration module sends a new Site and VPN Infra instruction to the SDN orchestration control module, if so, the service orchestration module sends an ADD returned instruction to the user interaction module, and the user interaction module displays the resource reaching the upper limit and refuses to ADD to the user;
if the SDN orchestration control module feeds back a creation success message to the service orchestration module, the service orchestration module sends an update service instruction to the instance database; if the SDN orchestration control module does not feed back a creation success message to the service orchestration module, the service orchestration module sends an ADD recommended command to the user interaction module, and the user interaction module displays an increase failure to a user and requests to retry later;
after receiving the service updating instruction, the instance database updates service information and adds Site and VPN Infra into a node List;
the instance database sends an update success message to the service arrangement module;
the service arrangement module sends an update success instruction 'ADD successful' to the user interaction module;
the user interaction module displays "add success" to the user.
The embodiment of the invention also provides a workflow realization device, which comprises:
the user interaction module of the ONAP is used for dynamically increasing the quantity of resources of the instantiation template;
and the ONAP business arrangement module is used for judging whether the resource quantity can be dynamically increased according to the quantity limitation of the maximum resource quantity parameter.
In this embodiment, the curing limit of the service template on the number of resources is changed, so that flexibility is enhanced, and the concrete steps are as follows: on the one hand, adding attributes in the template: a maximum resource number parameter for describing an upper limit number of resources to be instantiated in the whole life cycle of the composite service; on the other hand, the realization mode of the resources in the template is changed, a list structure is introduced, the resource examples in the compound service instantiation data record are stored in the list structure, and the user can dynamically increase the resources; in yet another aspect, the operational state regulation capability is enhanced, and a workflow for guiding the service orchestration module to dynamically update the service is increased. Compared with the existing complex service implementation mode, the embodiment only needs to design a unified template, a plurality of service templates are not needed to be designed, the templates can be used for guiding dynamic updating of the service, and resources of the service can be dynamically increased.
Further, the device also comprises an instance database of ONAP and an SDN orchestration control module,
the user interaction module is specifically configured to receive an add resource request, send the add resource request to the service orchestration module, and determine whether the service orchestration module supports the add resource request; if the business arrangement module supports the resource adding request, an input interface is displayed to a user, and resource information input by the user is received; sending the resource information to the instance database;
the instance database is used for judging whether the resource information input by the user is new or not, and if so, feeding back the received resource information and the current resource quantity to the user interaction module;
the user interaction module is also used for sending the current resource quantity to the service arrangement module;
the service orchestration module is specifically configured to determine whether the current resource number exceeds the number limit of the maximum resource number parameter, and if not, send a new resource adding instruction to the SDN orchestration control module;
the SDN orchestration control module is used for feeding back a creation success message to the service orchestration module;
the business arrangement module is also used for sending an update business instruction to the instance database;
the instance database is also used for updating service information, adding the resource information into the list structure and sending an updating success message to the service arrangement module;
the business arrangement module is also used for sending an update success instruction to the user interaction module;
the user interaction module is also used for displaying 'adding success' to a user.
Further, the user interaction module is further configured to display "reject add" to the user when the business orchestration module does not support the add resource request.
Further, the instance database is further configured to, when it is determined that the resource information input by the user is not new, feed back to the user interaction module that the resource information input by the user already exists;
the user interaction module is further used for displaying the fact that the resource exists and the addition is refused to be carried out to a user.
Further, the service orchestration module is further configured to send a reject adding instruction to the user interaction module when it is determined that the current resource number exceeds the number limit of the maximum resource number parameter;
the user interaction module is also used for displaying the fact that the resource reaches the upper limit and the addition is refused to be carried out to the user.
Further, the service orchestration module is further configured to send a reject adding instruction to the user interaction module when a creation success message fed back by the SDN orchestration control module is not received;
the user interaction module is also used to display "add failure, please try again later" to the user.
The embodiment of the invention also provides workflow realization equipment, which comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor; the processor, when executing the program, implements a workflow implementation method as described above.
The embodiments of the present invention also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps in a workflow implementation method as described above.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (12)

1. A workflow implementation method, which is applied to an instantiation template of an end-to-end service, wherein the instantiation template allows a plurality of resource instances to be dynamically instantiated as required, in the instantiation template, a simple service is a resource of a compound service, the resource instances in an instantiation data record of the compound service are stored in a list structure, the instantiation template includes a maximum resource quantity parameter for describing an upper limit quantity of resources to be instantiated in the whole life cycle of the compound service, and the method includes:
dynamically increasing the number of resources of the instantiation template, storing resource instances in the compound service instantiation data record in a list structure, and judging whether the number of resources can be dynamically increased according to the number limit of the maximum resource number parameter;
the method specifically comprises the following steps:
the user interaction module of the ONAP receives a resource increasing request;
the user interaction module sends the resource increasing request to a business arrangement module of an ONAP, and judges whether the business arrangement module supports the resource increasing request or not;
if the business arrangement module supports the resource adding request, the user interaction module displays an input interface to a user and receives resource information input by the user;
the user interaction module sends the resource information to an instance database of the ONAP;
the instance database judges whether the resource information input by the user is new or not, and if so, the instance database feeds back the received resource information and the current resource quantity to the user interaction module;
the user interaction module sends the current resource quantity to the service arrangement module;
the service orchestration module judges whether the current resource quantity exceeds the quantity limit of the maximum resource quantity parameter, and if not, the service orchestration module sends a new resource adding instruction to the SDN orchestration control module;
the SDN orchestration control module feeds back a creation success message to the service orchestration module;
the business arrangement module sends an update business instruction to the instance database;
the instance database updates service information and adds the resource information into the list structure;
the instance database sends an update success message to the service arrangement module;
the service arrangement module sends an update success instruction to the user interaction module;
the user interaction module displays "add success" to the user.
2. The workflow implementation method of claim 1, wherein the method further comprises:
if the business orchestration module does not support the add resource request, the user interaction module displays "reject add" to the user.
3. The workflow implementation method of claim 1, wherein the method further comprises:
if the instance database judges that the resource information input by the user is not new, the instance database feeds back to the user interaction module that the resource information input by the user exists, and the user interaction module displays the 'resource exists and refuses to be added' to the user.
4. The workflow implementation method of claim 1, wherein the method further comprises:
if the service arrangement module judges that the current resource quantity exceeds the quantity limit of the maximum resource quantity parameter, the service arrangement module sends a refusal adding instruction to the user interaction module;
the user interaction module displays to the user that the resource has reached the upper limit and the addition is refused.
5. The workflow implementation method of claim 1, wherein the method further comprises:
if the SDN orchestration control module does not feed back a creation success message to the service orchestration module, the service orchestration module sends a rejection adding instruction to the user interaction module, and the user interaction module displays ' add failure ' to a user, please retry later '.
6. A workflow implementation apparatus, applied to an instantiation template of an end-to-end service, where the instantiation template allows for dynamic instantiation of multiple resource instances as needed, where a simple service is a resource of a composite service, where resource instances in an instantiation data record of the composite service are stored in a list structure, where the instantiation template includes a maximum resource number parameter describing an upper limit number of resources that need to be instantiated in an entire lifecycle of the composite service, the apparatus comprising:
the user interaction module of the ONAP is used for dynamically increasing the quantity of resources of the instantiation template;
the ONAP business arrangement module is used for judging whether the resource quantity can be dynamically increased according to the quantity limitation of the maximum resource quantity parameter;
the apparatus further comprises an instance database of ONAPs and an SDN orchestration control module,
the user interaction module is specifically configured to receive an add resource request, send the add resource request to the service orchestration module, and determine whether the service orchestration module supports the add resource request; if the business arrangement module supports the resource adding request, an input interface is displayed to a user, and resource information input by the user is received; sending the resource information to the instance database;
the instance database is used for judging whether the resource information input by the user is new or not, and if so, feeding back the received resource information and the current resource quantity to the user interaction module;
the user interaction module is also used for sending the current resource quantity to the service arrangement module;
the service orchestration module is specifically configured to determine whether the current resource number exceeds the number limit of the maximum resource number parameter, and if not, send a new resource adding instruction to the SDN orchestration control module;
the SDN orchestration control module is used for feeding back a creation success message to the service orchestration module;
the business arrangement module is also used for sending an update business instruction to the instance database;
the instance database is also used for updating service information, adding the resource information into the list structure and sending an updating success message to the service arrangement module;
the business arrangement module is also used for sending an update success instruction to the user interaction module;
the user interaction module is also used for displaying 'adding success' to a user.
7. The workflow realization apparatus of claim 6, wherein,
the user interaction module is further configured to display "reject add" to the user when the business orchestration module does not support the add resource request.
8. The workflow realization apparatus of claim 6, wherein,
the instance database is also used for feeding back that the resource information input by the user exists to the user interaction module when judging that the resource information input by the user is not new;
the user interaction module is further used for displaying the fact that the resource exists and the addition is refused to be carried out to a user.
9. The workflow realization apparatus of claim 6, wherein,
the business arrangement module is also used for sending a refusal adding instruction to the user interaction module when judging that the current resource quantity exceeds the quantity limit of the maximum resource quantity parameter;
the user interaction module is also used for displaying the fact that the resource reaches the upper limit and the addition is refused to be carried out to the user.
10. The workflow realization apparatus of claim 6, wherein,
the service orchestration module is further configured to send a reject adding instruction to the user interaction module when the creation success message fed back by the SDN orchestration control module is not received;
the user interaction module is also used to display "add failure, please try again later" to the user.
11. A workflow implementing apparatus comprising a memory, a processor and a computer program stored on the memory and executable on the processor; a workflow implementation method according to any of claims 1-4, characterized in that the processor implements the workflow implementation method when executing the program.
12. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the workflow implementation method of any of claims 1-4.
CN201811205296.5A 2018-10-16 2018-10-16 Workflow realization method and device Active CN111061723B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811205296.5A CN111061723B (en) 2018-10-16 2018-10-16 Workflow realization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811205296.5A CN111061723B (en) 2018-10-16 2018-10-16 Workflow realization method and device

Publications (2)

Publication Number Publication Date
CN111061723A CN111061723A (en) 2020-04-24
CN111061723B true CN111061723B (en) 2023-05-09

Family

ID=70296730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811205296.5A Active CN111061723B (en) 2018-10-16 2018-10-16 Workflow realization method and device

Country Status (1)

Country Link
CN (1) CN111061723B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112612568B (en) * 2020-12-25 2022-06-28 中电金信软件有限公司 Workflow task item display method and device and electronic equipment
CN113761862A (en) * 2021-07-29 2021-12-07 北京思特奇信息技术股份有限公司 Method and system for rapidly assembling services in template mode

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8015541B1 (en) * 2002-10-24 2011-09-06 Rage Frameworks, Inc. Business process technology for the enterprise
WO2017041508A1 (en) * 2015-09-09 2017-03-16 中兴通讯股份有限公司 Method and device for re-instantiating virtual network function
CN108432208A (en) * 2016-12-15 2018-08-21 华为技术有限公司 A kind of arranging service method, apparatus and server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7451432B2 (en) * 2004-10-01 2008-11-11 Microsoft Corporation Transformation of componentized and extensible workflow to a declarative format

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8015541B1 (en) * 2002-10-24 2011-09-06 Rage Frameworks, Inc. Business process technology for the enterprise
WO2017041508A1 (en) * 2015-09-09 2017-03-16 中兴通讯股份有限公司 Method and device for re-instantiating virtual network function
CN108432208A (en) * 2016-12-15 2018-08-21 华为技术有限公司 A kind of arranging service method, apparatus and server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王帅 ; 蔡鸿明 ; .基于柔性业务流程的RESTful信息资源池研究和实现.微型电脑应用.2013,(02),全文. *

Also Published As

Publication number Publication date
CN111061723A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
US12131195B2 (en) Discovering and publishing API information
CN111930372B (en) Service arrangement solution method and system realized through draggable flow chart
WO2020207264A1 (en) Network system, service provision and resource scheduling method, device, and storage medium
EP2947569B1 (en) Hybrid applications operating between on-premise and cloud platforms
CN111901173A (en) Cloud edge cooperative system construction method, device, equipment and readable medium
US10326864B2 (en) Dynamic orchestration of microservices
CN104322011A (en) Connectivity service orchestrator
Guerrero-Contreras et al. A context-aware architecture supporting service availability in mobile cloud computing
CN111797173B (en) Alliance chain sharing system, method and device, electronic equipment and storage medium
CN106487538B (en) Service acceleration method, strategy control platform and system
CN111061723B (en) Workflow realization method and device
WO2016090948A1 (en) Virtualized network function management method, apparatus and system
AU2015404396B2 (en) Federated marketplace portal
US11411812B2 (en) Dynamic service creation for microservice-based integration service
KR102553478B1 (en) Arrangement method of resources necessary for network function, storage medium and electronic device
CN114760304B (en) Processing method, processing system and computing gateway of computing information
CN107896242B (en) Service sharing method and device
KR20110087299A (en) Online service syndication
US11379561B2 (en) License usage management
CN105592130A (en) Service deployment method and device, and service management method
CN112187916B (en) Cross-system data synchronization method and device
CN115473650A (en) Service function chain implementation method, device, terminal equipment and storage medium
Ganchev et al. A cloud-based service recommendation system for use in UCWW
CN116939018B (en) General Internet of things PaaS platform
CN113419843B (en) NAS-based distributed resource management system

Legal Events

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