Object capability generation method and device, computer equipment and storage medium
Through the method of generating object capabilities, the problem of users needing manual design and configuration capabilities in the PSR model is solved, which improves the efficiency of software product development and reduces costs.
Patent Information
- Application Number
- CN202411842485.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-04-04
AI Technical Summary
When using PSR models for software product development, users need to manually design and configure network services, business services, products and resources, resulting in high learning and usage costs, reducing the efficiency of users in designing software products.
A method for generating object capabilities is provided, by obtaining object information of the object belonging to the object capabilities to be generated, determining its capability process information and object capabilities information, and generating object capabilities to be generated based on this information, reducing the need for manual configuration.
It improves the efficiency of users' design software products, reduces learning and usage costs, and simplifies the software product development process through automated object generation capabilities.
Smart Images

Figure CN119759321A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of software development technology, and in particular to a method, apparatus, computer device, storage medium and computer program product for generating object capabilities. Background Art
[0002] Currently, in the field of software development, users can develop software products through the PSR product-service-resource model and quickly assemble software products through modular assembly.
[0003] However, when assembling software products through the PSR model, users are still required to manually design and configure the capabilities corresponding to the network services, business services, products, and resources in the PSR model, which increases the user's learning and usage costs for the PSR model, thereby reducing the user's efficiency in designing software products. Summary of the invention
[0004] Based on this, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for generating object capabilities that can improve the efficiency of users designing software products in response to the above technical problems.
[0005] In a first aspect, the present application provides a method for generating object capabilities. The method comprises:
[0006] Obtain object information of the object to which the object capability to be generated belongs;
[0007] Based on the object information, determining the capability process information of the object and the object capability information of the object capability to be generated;
[0008] Based on the object capability information of the object capability to be generated and the capability process information, a capability generation result corresponding to the object capability to be generated is determined.
[0009] In one embodiment, obtaining object information of an object to which the object capability to be generated belongs includes:
[0010] In response to a user's selection operation of a service provision type, object information of an object to which the object capability to be generated belongs is acquired.
[0011] In one embodiment, determining the capability process information of the object and the object capability information of the object capability to be generated based on the object information includes:
[0012] Based on the object information, determining the level and capability flow information of the object; the level corresponds to the capability flow information;
[0013] If the capability flow information does not include at least one required capability of the object to be generated, object capability information of the capability of the object to be generated is determined based on the object information.
[0014] In one embodiment, the object information includes basic information of the object; and determining the level and capability flow information of the object based on the object information includes:
[0015] Based on the object basic information of the belonging object, determining the level of the belonging object; the level of the belonging object includes at least one of a product layer, a business service layer or a service layer, a network service layer or a sub-service layer, and a resource layer;
[0016] Based on the level of the belonging object, capability flow information of the belonging object is determined.
[0017] In one embodiment, determining the capability flow information of the object based on the level of the object includes:
[0018] If the level of the object is the product level, the product capability flow information corresponding to the service provision type of the object is determined as the capability flow information; the product capability flow information includes business service orchestration capability, product completion capability, and product resource archiving capability arranged in order.
[0019] In one embodiment, determining the capability flow information of the object based on the level of the object includes:
[0020] If the level of the object is the business service layer, the business service capability flow information corresponding to the service provision type of the object is determined as the capability flow information; the business service capability flow information includes business service resource configuration capability and network service orchestration capability arranged in order.
[0021] In one embodiment, the object information includes basic object information, object attributes and object structure; the object capability information includes basic object capability information and object capability parameters; and determining the object capability information of the object capability to be generated based on the object information includes:
[0022] According to the object basic information, configure the object capability basic information of the object capability to be generated; the object capability basic information includes capability name, object, applicable area and status;
[0023] According to the type of the object capability to be generated and a preset parameter configuration strategy, input parameters and output parameters of the object capability to be generated are determined and determined as object capability parameters.
[0024] In one of the embodiments, determining the input parameters and output parameters of the capability of the object to be generated according to the type of the capability of the object to be generated and the preset parameter configuration strategy includes:
[0025] If the object capability to be generated is product resource archiving capability, then the event code, event type, object code, object type, and area code are determined as the input parameters, and the processing result identifier and return result description are determined as the output parameters.
[0026] In one of the embodiments, determining the input parameters and output parameters of the capability of the object to be generated according to the type of the capability of the object to be generated and the preset parameter configuration strategy includes:
[0027] If the object capability to be generated is a product completion capability, then the event code, event type, object code, object type and completion type are determined as the input parameters, and the processing result identifier, return result description and the object structure of the corresponding object are determined as the output parameters.
[0028] In one of the embodiments, determining the input parameters and output parameters of the capability of the object to be generated according to the type of the capability of the object to be generated and the preset parameter configuration strategy includes:
[0029] If the object capability to be generated is the business service resource configuration capability, then the event code, event type, object code, object type, and object attributes of the object to which it belongs are determined as the input parameters, and the processing result identifier, return result description, and object structure of the object to which it belongs are determined as the output parameters.
[0030] In one of the embodiments, determining the input parameters and output parameters of the capability of the object to be generated according to the type of the capability of the object to be generated and the preset parameter configuration strategy includes:
[0031] If the object capability to be generated is a product orchestration capability or a business service orchestration capability, the event code, event type, object code, object type, and object attributes of the object to which it belongs are determined as input parameters, and the processing result identifier and the returned result description are determined as output parameters.
[0032] In one embodiment, the object information includes an object structure; and determining the capability generation result corresponding to the capability of the object to be generated based on the object capability information and the capability process information includes:
[0033] If the capability flow information corresponding to the service provision type is product capability flow information, then determining each node included in the business service layer in the object structure and the associated capabilities between each of the nodes;
[0034] From the associated capabilities, determine the orchestration capability that matches the service provision type, and assemble the object capability information of the object capability to be generated and the matching orchestration capability based on a preset order to obtain the product capability process information, and determine it as the capability generation result.
[0035] In one embodiment, the object information includes an object structure; and determining the capability generation result corresponding to the capability of the object to be generated based on the object capability information and the capability process information includes:
[0036] If the capability flow information corresponding to the service provision type is business service capability flow information, then determining each node included in the network service layer in the object structure and the associated capabilities between each of the nodes;
[0037] From the associated capabilities, determine the orchestration capability that matches the service provision type, and assemble the object capability information of the object capability to be generated and the matching orchestration capability based on a preset order to obtain the business service capability process information, and determine it as the capability generation result.
[0038] In one embodiment, the method further comprises:
[0039] The execution process corresponding to the product orchestration capability is product capability flow information; the product capability flow information includes the business service orchestration capability, the product completion capability and the product resource archiving capability arranged in sequence;
[0040] The execution process corresponding to the business service orchestration capability is business service capability flow information; the business service capability flow information includes the business service resource configuration capability and the network service orchestration capability arranged in sequence.
[0041] In one embodiment, in response to the user's selection operation of the service provision type, obtaining the object information of the object to which the object capability to be generated belongs includes:
[0042] Acquire a user's selection operation; the selection operation is used to include the service provision type and applicable area selected by the user;
[0043] Based on the selection operation, a belonging object and object information of the belonging object are determined.
[0044] In a second aspect, the present application also provides an object capability generation device. The device comprises:
[0045] An information acquisition module, used to acquire object information of an object to which the object capability to be generated belongs;
[0046] An information determination module, used to determine the capability flow information of the object and the object capability information of the object capability to be generated based on the object information;
[0047] The capability generation module is used to determine the capability generation result corresponding to the object capability to be generated based on the object capability information of the object capability to be generated and the capability process information.
[0048] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method described in the first aspect are implemented.
[0049] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0050] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0051] The above-mentioned object capability generation method, device, computer equipment, storage medium and computer program product, after the user sends an object call request, the server can determine the object capability to be generated corresponding to the object call request. The server can obtain the object information of the object to which the object capability to be generated belongs, and thereby determine the existing object capability required in the capability process information. The server can determine the object capability information of the object capability to be generated through the object information. Based on this, the server can generate the object capability to be generated according to the object capability information. Afterwards, the server can use the capability process information as a template for generating objects, and combine the object capability to be generated and all the object capabilities required by the capability process information through the template to obtain the capability generation result. Finally, the object capability to be generated and the object corresponding to the object capability to be produced are generated, so that services, resources and products corresponding to various object capabilities can be quickly generated without the need for staff to manually configure object capabilities, thereby improving software development efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0053] Figure 1 is an application environment diagram of a method for generating object capabilities in one embodiment;
[0054] Figure 2 is a flowchart of a method for generating object capabilities in one embodiment;
[0055] Figure 3 A schematic diagram of a PSR design architecture in one embodiment;
[0056] Figure 4 A schematic diagram of automatic generation of object capabilities in one embodiment;
[0057] Figure 5 is a flowchart of a method for generating object capabilities in another embodiment;
[0058] Figure 6 A schematic diagram of a process flow of product orchestration capability in one embodiment;
[0059] Figure 7 A schematic diagram of a process flow of a business service orchestration capability process in an embodiment;
[0060] Figure 8 is a structural block diagram of an object capability generating device in one embodiment;
[0061] Fig. 9 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0063] The object capability generation method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The terminal 102 can send the object capability triggered by the user when calling the service to the server 104. If the object capability is not configured in the server 104, the object capability is determined to be the object capability to be generated. For the object capability to be generated, the server 104 can determine the object to which the object capability to be generated belongs and obtain the object information of the object to which it belongs. The server 104 can determine the capability flow information of the object to which it belongs based on the object information, and determine the object capability information of the object capability to be generated. The server 104 can combine the object capability corresponding to the object capability information of the object capability to be generated and the object capability contained in each service called according to the capability flow information, and obtain the capability generation result corresponding to the object capability to be generated, that is, obtain the service called by the user. The server can return a message to the terminal 102 that the service containing the object capability to be generated can be called. The data storage system can store data that the server 104 needs to process, such as various object capabilities that have been configured. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers.
[0064] The terminal 102 may be, but is not limited to, various personal computers, laptop computers, smart phones, and tablet computers. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.
[0065] In an exemplary embodiment, Figure 2 As shown, a method for generating object capabilities is provided, and the method is applied to Figure 1 The server 104 in the example is used as an example to illustrate the method, which includes the following steps S202 to S206. Among them:
[0066] Step S202: Obtain object information of the object to which the object capability to be generated belongs.
[0067] Among them, the object is an abstract view of resources, sub-services and services in service design. Resources are provided from the network and represent the physical and non-physical components used to build sub-services. Resources come from the fields of application, computing and network, for example, including network elements, numbers, addresses, ports, links, software, IT systems and technical components. In the service design view, resources are objects of the smallest granularity. Sub-services are provided from the same network domain. In the telecommunications service design view, sub-services are composed of one or more resources from the same network domain, and services are composed of one sub-service or multiple sub-services. The objects in the embodiments of the present application may refer to the objects corresponding to resources, self-services and services respectively. The object capability to be generated refers to the object capability missing in the object when the user calls the object. After the object capability to be generated is generated, the object corresponding to the object capability to be generated can be called by the user. Object capability refers to the capability applied to a specific object, and object capability is a component of a specific object. Object information is used to describe the basic situation of each object.
[0068] Specifically, the server can receive an object call request sent by the terminal, and determine whether the object in the object call request can be directly called. If the object cannot be directly called, multiple object capabilities contained in the object in the object call request are determined, and the missing object capabilities are determined to be the object capabilities to be generated. The server determines the object to which the object capabilities to be generated belong, and obtains the object information of the belonging object. In one example, the object call request sent by the terminal is for the "install" service, and the server determines that there is a missing object capability in the "install" service, and determines that the missing object capability in the "install" service is the object capability to be generated.
[0069] Step S204: Based on the object information, determine the capability flow information of the object and the object capability information of the object capability to be generated.
[0070] Among them, the capability flow information is used to indicate the capability flow corresponding to the object. Through the various object capabilities required by the object recorded in the capability flow information and the capability building process, the object can be generated by combining the object capabilities. The object capability information is used to indicate the basic situation of the object capability.
[0071] Specifically, the server can retrieve the capability flow information associated with the object information according to the object information, and determine it as the capability flow information of the object. The server can retrieve according to the object information to determine the object capability information of the object capability to be generated included in the object. Each object in the server is pre-configured, and the capability of the object to be generated is also pre-configured.
[0072] Step S206: determining a capability generation result corresponding to the object capability to be generated based on the object capability information of the object capability to be generated and the capability process information.
[0073] Specifically, the server can generate the capabilities of the object to be generated according to the object capability information of the capabilities of the object to be generated. The server obtains the existing object capabilities required by the capability process information. The server can build a process according to the capabilities in the capability process information, and can combine the capabilities of the object to be generated with the existing object capabilities to obtain the capability generation result, that is, to obtain the object to which the capabilities of the object to be generated belong. At this time, the belonging object contains all the required capabilities of the object to be generated, and the belonging object can be called by the user.
[0074] In the above-mentioned method for generating object capabilities, after the user sends an object call request, the server can determine the object capabilities to be generated corresponding to the object call request. The server can obtain the object information of the object to which the object capabilities to be generated belong should be included. At this time, the object capabilities to be generated have not been generated. The server can determine the capability flow information of the object to which it belongs through the object information, thereby determining the existing object capabilities required in the capability flow information. The server can determine the object capability information of the object capabilities to be generated through the object information. Based on this, the server can generate the object capabilities to be generated according to the object capability information. Afterwards, the server can use the capability flow information as a template for generating objects, and combine the object capabilities to be generated and all the object capabilities required by the capability flow information through the template to obtain the capability generation result. Finally, the object capabilities to be generated and the objects corresponding to the object capabilities to be produced are generated, so that services, resources, and products corresponding to various object capabilities can be quickly generated without the need for staff to manually configure object capabilities, thereby improving software development efficiency.
[0075] In an exemplary embodiment, the specific implementation process of the step of "obtaining object information of the object to which the object capability to be generated belongs" includes:
[0076] In response to a user's selection operation of a service provision type, object information of an object to which the object capability to be generated belongs is acquired.
[0077] The service provision type is used to indicate the type of function that the object can provide, such as installation, disassembly, modification, etc.
[0078] Specifically, when a user sends an object call request, the user's selection operation for the service provision type can be stored in the object call request. After receiving the object call request, the server can read the selection operation to determine the service provision type of the object requested by the user. According to the service provision type, the server can filter and obtain the object information of the corresponding object. At this time, the server has not yet determined the capabilities of the object to be generated.
[0079] In this embodiment, through the user's selection operation of the service provision type, the belonging object can be accurately determined and the object information of the belonging object can be obtained, thereby improving the accuracy of obtaining the object information.
[0080] In an exemplary embodiment, the specific implementation process of the step of "determining capability flow information of the object and object capability information of the object capability to be generated based on the object information" includes:
[0081] Based on the object information, determine the level and capability flow information of the object; the level corresponds to the capability flow information; if the capability flow information does not contain at least one required object capability to be generated, then based on the object information, determine the object capability information of the object capability to be generated.
[0082] Specifically, the server can obtain the first specific field recorded in the object information, and determine that the character string in the first specific field is the level of the object to which it belongs. The server can obtain the second specific field recorded in the object information, and determine that the character string in the second specific field is the capability flow information. Since the structures of objects at different levels are different, the capability flow information of objects at different levels is also different. The server can determine the required object capabilities contained in the capability flow information, and determine whether the required object capabilities exist in the server. If the required object capabilities do not exist, the non-existent object capabilities are determined to be the object capabilities to be generated. In the case where there are object capabilities to be generated, the server can obtain the identifier of the object capabilities to be generated based on the relationship of the object capabilities recorded in the object information, and obtain the object capability information corresponding to the object capabilities to be generated through the identifier.
[0083] In one example, the object A may include object capability 1, object capability 2, and object capability 3. Among them, object capability 3 is the object capability to be produced. The server may obtain the object information of the object A, read the belonging relationship of the object A, determine the identifier corresponding to the object capability 3, and retrieve the object capability information of the object capability 3 based on the identifier.
[0084] In this embodiment, the level of the object and the capability flow information corresponding to the level can be determined through the object information. In addition, when the server determines that there is a capability of the object to be produced, it can obtain the object capability information of the capability of the object to be generated through the object information, so as to prepare for the subsequent generation of the capability of the object to be generated, which can improve the efficiency and accuracy of determining the capability of the object to be generated.
[0085] In an exemplary embodiment, the object information includes basic information of the object. The specific implementation process of the step of "determining the level and capability flow information of the object based on the object information" includes:
[0086] Based on the basic information of the object, determine the level of the object. Based on the level of the object, determine the capability flow information of the object.
[0087] The object information includes basic object information. The basic object information includes a first specific field. The level of the object includes at least one of a product level, a business service level or a service level, a network service level or a sub-service level, and a resource level.
[0088] Specifically, the server can obtain the basic object information of the object, and read the first specific field in the basic object information to obtain the level of the object. The product layer, business service layer, service layer, network service layer, sub-service layer, and resource layer each have corresponding capability flow information. According to the level of the object, the server can retrieve the capability flow information of the object at that level.
[0089] In this embodiment, the level of the object is determined through the basic information of the object, and the capability flow information of the object is determined according to the level, which can improve the accuracy and efficiency of determining the capability flow information.
[0090] In an exemplary embodiment, the specific implementation process of the step of "determining the capability flow information of the object based on the level of the object" includes:
[0091] If the level of the object is the product level, the product capability flow information corresponding to the service provision type of the object is determined to be the capability flow information.
[0092] Among them, the product capability process information includes the business service orchestration capability, product completion capability, and product resource archiving capability arranged in order. It can be seen that the object needs the business service orchestration capability, product completion capability, and product resource archiving capability to complete the combination and be scheduled by the user.
[0093] Specifically, if the server determines that the level of the object is the product level, the server can determine the product capability flow information of the object in the service provision type. The product capability flow information corresponds to the product level. In one example, if the service provision type is "installation" and the level of the object is the product level, the generated product capability flow information is the capability flow information that provides the "installation" function.
[0094] In this embodiment, capability process information at the product level may be determined, which can improve the accuracy of determining the capability process information.
[0095] In an exemplary embodiment, the specific implementation process of the step of "determining the capability flow information of the object based on the level of the object" includes:
[0096] If the level of the object is the business service layer, the business service capability process information corresponding to the service provision type of the object is determined to be the capability process information.
[0097] Among them, the business service capability process information includes the business service resource configuration capability and network service orchestration capability arranged in order. It can be seen that the object needs the business service orchestration capability, product completion capability, and product resource archiving capability to complete the combination and be scheduled by the user.
[0098] Specifically, if the server determines that the level of the object is the business service level, the business service capability flow information of the object in the service provision type can be determined. The business service capability flow information corresponds to the business service level. In one example, if the service provision type is "installation" and the level of the object is the business service level, the generated business service capability flow information is the capability flow information that provides the "installation" function.
[0099] In this embodiment, the capability process information at the business service layer can be determined, which can improve the accuracy of determining the capability process information.
[0100] In an exemplary embodiment, the object information includes basic object information, object attributes and object structure, and the object capability information includes basic object capability information and object capability parameters. The specific implementation process of the step "determining the object capability information of the object capability to be generated based on the object information" includes:
[0101] According to the basic information of the object, the basic information of the object capability to be generated is configured; according to the type of the object capability to be generated and the preset parameter configuration strategy, the input parameters and output parameters of the object capability to be generated are determined and determined as the object capability parameters.
[0102] The object information includes basic object information, object attributes and object structure, and the object capability information includes basic object capability information and object capability parameters. The basic object capability information includes capability name, object, applicable area and status.
[0103] Specifically, the server can obtain the object basic information of the object, such as the capability name, the object, the applicable area and the status. Based on the above object basic information, the server can configure the object capability basic information of the object capability to be generated, and obtain the object capability basic information of the object capability to be generated contained in the object. Afterwards, the server can determine the input and output parameters of the object capability to be generated based on the type of the object capability to be generated and the preset parameter configuration strategy, and obtain the object capability parameters of the object capability to be generated.
[0104] In this embodiment, the basic information of the object capability can be determined through the basic information of the object, and the object capability parameters can be determined through the type of the object capability to be generated, thereby obtaining the object capability information, which can improve the accuracy and efficiency of determining the object capability information.
[0105] In an exemplary embodiment, the specific implementation process of the step of “determining input parameters and output parameters of the capability of the object to be generated according to the type of the capability of the object to be generated and the preset parameter configuration strategy” includes:
[0106] If the object capability to be generated is the product resource archiving capability, the event code, event type, object code, object type, and area code are determined as input parameters, and the processing result identifier and return result description are determined as output parameters.
[0107] Specifically, if the type of the object capability to be generated is product resource archiving capability, the server may determine event code, event type, object code, object type, and region code as input parameters. The server may determine processing result identifier and return result description as output parameters.
[0108] In this embodiment, the input parameters and output parameters of the to-be-generated object capability of the product resource archiving capability type are configured, which can improve the configuration efficiency.
[0109] In an exemplary embodiment, the specific implementation process of the step of “determining input parameters and output parameters of the capability of the object to be generated according to the type of the capability of the object to be generated and the preset parameter configuration strategy” includes:
[0110] If the object capability to be generated is a product completion capability, the event code, event type, object code, object type and completion type are determined as input parameters, and the processing result identifier, return result description and object structure of the corresponding object are determined as output parameters.
[0111] Specifically, if the type of the object capability to be generated is product completion capability, the server may determine event code, event type, object code, object type and completion type as input parameters. The server may determine processing result identifier and return result description as output parameters.
[0112] In this embodiment, the input parameters and output parameters of the to-be-generated object capability of the product completion capability type are configured, which can improve the configuration efficiency.
[0113] In an exemplary embodiment, the specific implementation process of the step of “determining input parameters and output parameters of the capability of the object to be generated according to the type of the capability of the object to be generated and the preset parameter configuration strategy” includes:
[0114] If the object capability to be generated is the business service resource configuration capability, the event code, event type, object code, object type, and object attributes of the object to which it belongs are determined as input parameters, and the processing result identifier, return result description, and object structure of the object to which it belongs are determined as output parameters.
[0115] Specifically, if the type of the object capability to be generated is business service resource configuration capability, the server may determine the event code, event type, object code, object type, and object attributes of the object as input parameters. The server may determine the object structure of the object as output parameters.
[0116] In this embodiment, the input parameters and output parameters of the to-be-generated object capability of the business service resource configuration capability type are configured, which can improve the configuration efficiency.
[0117] In an exemplary embodiment, the specific implementation process of the step of “determining input parameters and output parameters of the capability of the object to be generated according to the type of the capability of the object to be generated and the preset parameter configuration strategy” includes:
[0118] If the object capability to be generated is a product orchestration capability or a business service orchestration capability, the event code, event type, object code, object type, and object attributes of the object to which it belongs are determined as input parameters, and the processing result identifier and the returned result description are determined as output parameters.
[0119] Specifically, if the type of the object capability to be generated is product orchestration capability or business service orchestration capability, the server may determine the event code, event type, object code, object type, and object attributes of the object as input parameters. The server may determine the processing result identifier and the return result description as output parameters.
[0120] In this embodiment, the input parameters and output parameters of the to-be-generated object capability of the product orchestration capability or the business service orchestration capability are configured, so that the configuration efficiency can be improved.
[0121] In an exemplary embodiment, the object information includes an object structure, and the specific implementation process of the step of "determining a capability generation result corresponding to the object capability to be generated based on the object capability information of the object capability to be generated and the capability process information" includes:
[0122] If the capability flow information corresponding to the service provision type is product capability flow information, then determine the nodes contained in the business service layer in the object structure and the associated capabilities between the nodes; from the associated capabilities, determine the orchestration capabilities that match the service provision type, and based on the preset order, assemble the object capability information of the object capability to be generated and the matching orchestration capabilities to obtain the product capability flow information, and determine it as the capability generation result.
[0123] The object structure may be a structure contained in the level corresponding to the object. For example, network services may be subordinate to business services, and resources may be subordinate to network services. Network services may be in a peer relationship, and business services may be in a peer relationship. In one example, the maximum scope of the object structure is a four-level object consisting of products, business services, and network services. If the level of the object structure is the business service layer, the object structure is a three-level object consisting of business services, network services, and resources.
[0124] Specifically, when determining that the capability flow information corresponding to the service provision type is product capability flow information, the server can determine that the level of the object to which it belongs is the product layer, and the server can determine that the object structure of the object to which it belongs is a four-level object consisting of products, business services, and network services. The server can determine the business service layer in the object structure, and obtain the nodes corresponding to each business service, network service, and resource in the business service layer, as well as the associated capabilities between nodes at each level. Afterwards, the server can determine the orchestration capability that matches the service provision type based on the associated capabilities. The server can generate the object capability to be generated based on the object capability information of the object capability to be generated, and assemble the object capability to be generated and the matching orchestration capability according to the preset order corresponding to the product capability flow information to obtain the product capability flow information, thereby obtaining the capability generation result corresponding to the capability to which it belongs.
[0125] In this embodiment, the matching orchestration capabilities are determined through the nodes at the business service level in the object structure and the associated capabilities of the nodes, so that the object capabilities required by the product capability process information of the object can be obtained, and then the object capabilities and orchestration capabilities to be generated are assembled according to the product capability process information to obtain the capability generation results, which can improve the accuracy and efficiency of the capability generation results.
[0126] In an exemplary embodiment, the specific implementation process of the step of “the object information includes an object structure; based on the object capability information of the object capability to be generated and the capability process information, determining the capability generation result corresponding to the object capability to be generated” includes:
[0127] If the capability flow information corresponding to the service provision type is the business service capability flow information, then determine the nodes contained in the network service layer in the object structure and the associated capabilities between the nodes; from the associated capabilities, determine the orchestration capability that matches the service provision type, and based on the preset order, assemble the object capability information of the object capability to be generated and the matching orchestration capability to obtain the business service capability flow information, and determine it as the capability generation result.
[0128] Specifically, when determining that the capability flow information corresponding to the service provision type is the business service capability flow information, the server can determine that the level of the object to which it belongs is the business service layer, and the server can determine that the object structure to which it belongs is a three-level object consisting of business services and network services. The server can determine the network service layer in the object structure, and obtain the nodes corresponding to each network service and resource in the network service layer, as well as the associated capabilities between nodes at each level. Afterwards, the server can determine the orchestration capability that matches the service provision type based on the associated capabilities. The server can generate the object capability to be generated based on the object capability information of the object capability to be generated, and assemble the object capability to be generated and the matching orchestration capability according to the preset order corresponding to the product capability flow information to obtain the product capability flow information, thereby obtaining the capability generation result corresponding to the capability to which it belongs.
[0129] In this embodiment, the matching orchestration capabilities are determined through the nodes at the business service level in the object structure and the associated capabilities of the nodes, so that the object capabilities required by the business service capability process information of the object can be obtained, and then the object capabilities and orchestration capabilities to be generated are assembled according to the business service capability process information to obtain the capability generation results, which can improve the accuracy and efficiency of the capability generation results.
[0130] In an exemplary embodiment, the method also includes: the execution process corresponding to the product orchestration capability is the product capability flow information; the product capability flow information includes the business service orchestration capability, product completion capability and product resource archiving capability arranged in sequence; the execution process corresponding to the business service orchestration capability is the business service capability flow information; the business service capability flow information includes the business service resource configuration capability and network service orchestration capability arranged in sequence.
[0131] In an exemplary embodiment, the specific implementation process of the step of "obtaining object information of an object to which the object capability to be generated belongs in response to the user's selection operation of the service provision type" includes:
[0132] The user's selection operation is obtained; the selection operation is used to include the service provision type and applicable area selected by the user; based on the selection operation, the belonging object and the object information of the belonging object are determined.
[0133] Specifically, in addition to obtaining the service provision type and the object to which it belongs, the user's selection operation can also determine the applicable area in which the object can be executed. The applicable area can be represented by the map coordinate values of each province and the longitude and latitude of the map, and the applicable area can be one or more regions. The server uses the service provision type and applicable area determined by the selection operation as the object information of the object.
[0134] In this embodiment, by defining the applicable area through the user's selection operation, the action scope of the object can be further limited, and the action accuracy of the object can be improved.
[0135] The following describes in detail the specific implementation process of the above object capability generation method in conjunction with a specific embodiment. The definitions of the terms in the embodiment of the present application are as follows:
[0136] PSR model (Product-Service-Resource): A product design model consisting of product-service-resource. Its design concept is to decouple resources, services, and products in layers, and assemble and design them based on the underlying cloud network capabilities to form services and provide communication services / products to the outside. Among them, resources can be network resources, business services can be customer-oriented services, and network services can be resource-oriented services. In an example, Figure 3 As shown, the PSR model can be that multiple resources constitute a network service, one or more network services constitute a business service, and one or more businesses constitute a communication service / product.
[0137] In the embodiments of the present application, Figure 4 As shown, the server can automatically generate the ability to implement service provision based on the object structure (or scenario topology), service provision type, and product service design rules based on the PSR model. Such as parameter configuration and process design of APIs such as new installation, disassembly, speed change, and shutdown of product / business services. The embodiments of the present application can reduce the user's learning cost for product service design based on the PSR model, improve design efficiency, improve design accuracy, shorten product loading cycle, and provide customers with high-quality products and communication services more quickly.
[0138] like Figure 5 As shown, the specific execution process of the above object capability generation method includes the following steps:
[0139] Step 1: The user selects the service provision type and applicable area to trigger the automatic generation of capabilities. If the service provision type selected by the user is installation, the automatic generation of the "installation" API corresponding to the product, business service or network service is triggered.
[0140] Step 2: The server obtains object information including basic object information, object attributes and object structure, and determines the PSR level of the object to which the object capability to be generated belongs and the capability flow information to be generated of the object from the basic object information.
[0141] Specifically, Figure 6As shown, if the object level is the product layer, the product orchestration capability process of the product layer corresponding to the object (such as the service provision type is installation, disassembly and modification, etc.) needs to be composed of product resource archiving capability, product completion capability, and business service orchestration capability as process links.
[0142] like Figure 7 As shown, if the level of the object is the business service layer, the business service orchestration capability process of the business service layer (such as the service provision type is installation, disassembly, and modification, etc.) requires business service resource configuration capability and network service orchestration capability as process links.
[0143] Step 3: Confirm whether the orchestration capability process of the product / business service to be generated has the corresponding object capability as a process link. If it does not have the corresponding object capability, the object capability to be generated is automatically generated. If it has the corresponding object capability, it does not need to be generated again and can be directly referenced in the orchestration capability process of the product / business service.
[0144] Step 4: If the corresponding capability is not available as a process link, the server can automatically configure the object capability basic information and object capability parameters of the corresponding object capability.
[0145] Specifically, the basic information of object capabilities is defined as follows:
[0146] (1) Basic information on the object’s capabilities.
[0147] ① Capability name: object name_process link capability type (such as resource archiving, resource configuration, etc.).
[0148] ②Object: object name.
[0149] ③Applicable area: the applicable area of the object.
[0150] ④Status: Under design.
[0151] The definition of the object capability parameters is as follows:
[0152] (2) Capability parameters.
[0153] ① The product resource archiving capability takes the event code (eventCode), event type (eventType), object code (objectCode), object type (objectType), and area code (areaCode) as input parameters, and uses the processing result identifier (resultCode) and the returned result description (resultMsg).
[0154] ② The product completion capability takes the event code (eventCode), event type (eventType), object code (objectCode), object type (objectType) and completion type (completeType) as input parameters, and the processing result identifier (resultCode), return result description (resultMsg), and the object structure of the belonging object as output parameters; if the object structure of the belonging object cannot be obtained, the automatic generation of the capability parameters fails, the capability parameters are not generated, and the result and reason are returned.
[0155] ③ The business service resource configuration capability obtains the object attributes of the object to which it belongs as well as the event code (eventCode), event type (eventType), object code (objectCode) and object type (objectType) as input parameters, and takes the processing result identifier (resultCode), return result description (resultMsg) and obtains the object structure of the object to which it belongs as output parameters; if the object structure of the object to which it belongs cannot be obtained, the automatic generation of the capability parameters fails, the capability parameters are not generated, and the result and reason are returned.
[0156] Step 5: Automatically assemble the capabilities of the object to be generated, including basic information, capability parameters, and capability process information.
[0157] In an example, for product / business service orchestration capability, the basic information of the object capability is defined as follows:
[0158] (1) Basic information on the object’s capabilities.
[0159] ① Capability name: object name_service type (installation, disassembly, modification, etc.).
[0160] ②Object: object name.
[0161] ③Applicable area: Get the applicable area selected by the user.
[0162] ④Status: Under design.
[0163] (2) Capability parameters: The product / business service orchestration capability obtains the object attributes of the object to which it belongs as well as the event code (eventCode), event type (eventType), object code (objectCode) and object type (objectType) as input parameters, and takes the processing result identifier (resultCode) and return result description (resultMsg) as output parameters. If the object attributes of the object cannot be obtained, the automatic generation of capability parameters fails, the capability parameters are not generated, and the result and reason are returned.
[0164] In an example, the steps for automatically generating the product orchestration capability process can be determined as follows:
[0165] 1. Obtain the object structure of the object to which the capability belongs. If the object structure of the object cannot be obtained, the capability process cannot be automatically generated, and the result and reason cannot be returned.
[0166] 2. Get the nodes at the business service level in the object structure and the associated capabilities of the nodes.
[0167] 3. Obtain the capability information of the node-associated capabilities and find the orchestration capabilities that are consistent with the service provision type. If the orchestration capabilities of the nodes at any business service level in the object structure are not consistent with the service provision type, the capability flow cannot be automatically generated, and the results and reasons are returned.
[0168] 4. Generate the product orchestration capability process in this order: Start -> Business service orchestration capability -> Product completion capability -> Product resource archiving capability -> End; (If there are multiple business service orchestration capabilities, these orchestration capabilities will be run in parallel).
[0169] In another example, the business service orchestration capability process automatically generates the following steps:
[0170] 1. Get the object structure of the object to which the capability belongs.
[0171] 2. Get the nodes at the network service level in the object structure and the associated capabilities of the nodes.
[0172] 3. Obtain the capability information of the node-associated capabilities and find the orchestration capabilities that are consistent with the service provision type. If the orchestration capabilities of the nodes at any network service level in the object structure are not consistent with the service provision type, the capability flow cannot be automatically generated and the results and reasons are returned.
[0173] 4. Generate the business orchestration capability process in this order: Start -> Business Service Resource Configuration Capability -> Network Service Orchestration Capability -> End; (If there are multiple network service orchestration capabilities, these orchestration capabilities will be run in parallel).
[0174] Step 6: The automatic generation of capabilities is completed and the automatic generation result of capabilities is returned.
[0175] Optionally, except for the object structure of the object and the data structure of the object attribute of the object, which are Object, the parameter structures of the other parameters are String.
[0176] In this embodiment, corresponding capabilities are automatically generated according to the object structure designed by the user and the service provision type selected, thereby reducing cumbersome steps in the design, simplifying the design process, and further improving product loading efficiency.
[0177] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0178] Based on the same inventive concept, the embodiment of the present application also provides an object capability generation device for implementing the object capability generation method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more object capability generation device embodiments provided below can refer to the limitations on the object capability generation method above, and will not be repeated here.
[0179] In an exemplary embodiment, Figure 8 As shown, an object capability generation device 800 is provided, comprising: an information acquisition module 801, an information determination module 802 and a capability generation module 803, wherein:
[0180] An information acquisition module 801 is used to acquire object information of an object to which the object capability to be generated belongs;
[0181] An information determination module 802 is used to determine capability flow information of the object and object capability information of the object capability to be generated based on the object information;
[0182] The capability generation module 803 is used to determine the capability generation result corresponding to the object capability to be generated based on the object capability information of the object capability to be generated and the capability process information.
[0183] Furthermore, the information acquisition module 801 is specifically configured to: in response to a user's selection operation of a service provision type, acquire object information of an object to which the object capability to be generated belongs.
[0184] Furthermore, the information determination module 802 is specifically used to: determine the level and capability flow information of the object based on the object information; the level corresponds to the capability flow information; if the capability flow information does not contain at least one required capability of the object to be generated, then determine the object capability information of the object capability to be generated based on the object information.
[0185] Furthermore, the object information includes basic object information, and the information determination module 802 is specifically used to: determine the level of the object based on the basic object information of the object; the level of the object includes at least one of the product layer, business service layer or service layer, network service layer or sub-service layer, and resource layer; based on the level of the object, determine the capability process information of the object.
[0186] Furthermore, the information determination module 802 is specifically used for: if the level of the object is the product level, then determining the product capability flow information corresponding to the service provision type of the object, which is the capability flow information; the product capability flow information includes business service orchestration capability, product completion capability, and product resource archiving capability arranged in order.
[0187] Furthermore, the information determination module 802 is specifically used to: if the level of the object is the business service layer, determine the business service capability process information corresponding to the service provision type of the object, which is the capability process information; the business service capability process information includes the business service resource configuration capability and the network service orchestration capability arranged in order.
[0188] Furthermore, the object information includes basic object information, object attributes and object structure, and the object capability information includes basic object capability information and object capability parameters. The information determination module 802 is further specifically used to: configure the object capability basic information of the object capability to be generated according to the object basic information; the object capability basic information includes the capability name, the object to which it belongs, the applicable area and the status; determine the input and output parameters of the object capability to be generated according to the type of the object capability to be generated and the preset parameter configuration strategy, and determine them as the object capability parameters.
[0189] Furthermore, the information determination module 802 is specifically used to: if the object capability to be generated is product resource archiving capability, then determine the event code, event type, object code, object type, and area code as input parameters, and determine the processing result identifier and return result description as output parameters.
[0190] Furthermore, the information determination module 802 is specifically used to: if the object capability to be generated is a product completion capability, then determine the event code, event type, object code, object type and completion type as input parameters, and determine the processing result identifier, return result description and object structure of the corresponding object as output parameters.
[0191] Furthermore, the information determination module 802 is specifically used for: if the object capability to be generated is the business service resource configuration capability, then determining the event code, event type, object code, object type, and object attributes of the object to which it belongs as input parameters, and determining the processing result identifier, return result description, and object structure of the object to which it belongs as output parameters.
[0192] Furthermore, the information determination module 802 is specifically used to: if the object capability to be generated is a product orchestration capability or a business service orchestration capability, determine the event code, event type, object code, object type, and object attributes of the object to which it belongs as input parameters, and determine the processing result identifier and the return result description as output parameters.
[0193] Furthermore, the object information includes an object structure, and the capability production module 803 is specifically used to: if the capability flow information corresponding to the service provision type is product capability flow information, then determine the nodes included in the business service layer in the object structure and the associated capabilities between the nodes; from the associated capabilities, determine the orchestration capability that matches the service provision type, and based on a preset order, assemble the object capability information of the object capability to be generated and the matching orchestration capability to obtain the product capability flow information, and determine it as the capability generation result.
[0194] Furthermore, the object information includes an object structure, and the capability production module 803 is specifically used to: if the capability flow information corresponding to the service provision type is business service capability flow information, then determine the nodes included in the network service layer in the object structure and the associated capabilities between the nodes; from the associated capabilities, determine the orchestration capability that matches the service provision type, and based on a preset order, assemble the object capability information of the object capability to be generated and the matching orchestration capability to obtain the business service capability flow information, and determine it as the capability generation result.
[0195] Furthermore, the execution process corresponding to the product orchestration capability in the device is the product capability flow information; the product capability flow information includes the business service orchestration capability, product completion capability and product resource archiving capability arranged in sequence; the execution process corresponding to the business service orchestration capability is the business service capability flow information; the business service capability flow information includes the business service resource configuration capability and network service orchestration capability arranged in sequence.
[0196] Furthermore, the information acquisition module 801 is specifically used to: acquire a selection operation of the user; the selection operation is used to include the service provision type and applicable area selected by the user; based on the selection operation, determine the belonging object and the object information of the belonging object.
[0197] Each module in the above-mentioned object capability generation device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0198] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig. 9 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the basic properties of the object, the object properties, the object structure, and the object capability information of the existing capabilities. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for generating object capabilities is implemented.
[0199] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0200] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0201] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0202] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0203] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0204] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0205] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for generating object capabilities, characterized in that: The method comprises: Obtain object information of the object to which the object capability to be generated belongs; Based on the object information, determining the capability process information of the object and the object capability information of the object capability to be generated; Based on the object capability information of the object capability to be generated and the capability process information, a capability generation result corresponding to the object capability to be generated is determined.
2. The method according to claim 1, characterized in that: The obtaining of object information of the object to which the object capability to be generated belongs includes: In response to a user's selection operation of a service provision type, object information of an object to which the object capability to be generated belongs is acquired.
3. The method according to claim 1, characterized in that: The determining, based on the object information, the capability process information of the object and the object capability information of the object capability to be generated includes: Based on the object information, determining the level and capability flow information of the object; the level corresponds to the capability flow information; If the capability flow information does not include at least one required capability of the object to be generated, object capability information of the capability of the object to be generated is determined based on the object information.
4. The method according to claim 3, characterized in that The object information includes basic object information; and determining the level and capability flow information of the object based on the object information includes: Based on the object basic information of the object, determining the level of the object; the level of the object includes at least one of a product level, a business service level or a service level, a network service level or a sub-service level, and a resource level; Based on the level of the belonging object, capability flow information of the belonging object is determined.
5. The method according to claim 4, characterized in that The determining the capability flow information of the object based on the level of the object includes: If the level of the object is the product level, the product capability flow information corresponding to the service provision type of the object is determined as the capability flow information; the product capability flow information includes business service orchestration capability, product completion capability, and product resource archiving capability arranged in order.
6. The method according to claim 4, characterized in that The determining the capability flow information of the object based on the level of the object includes: If the level of the object is the business service layer, the business service capability flow information corresponding to the service provision type of the object is determined as the capability flow information; the business service capability flow information includes business service resource configuration capability and network service orchestration capability arranged in order.
7. The method according to claim 3, characterized in that The object information includes basic object information, object attributes and object structure; the object capability information includes basic object capability information and object capability parameters; The determining, based on the object information, the object capability information of the object capability to be generated includes: According to the object basic information, configure the object capability basic information of the object capability to be generated; the object capability basic information includes capability name, object, applicable area and status; According to the type of the object capability to be generated and a preset parameter configuration strategy, input parameters and output parameters of the object capability to be generated are determined and determined as object capability parameters.
8. The method according to claim 7, characterized in that The step of determining input parameters and output parameters of the capability of the object to be generated according to the type of the capability of the object to be generated and the preset parameter configuration strategy includes: If the object capability to be generated is product resource archiving capability, then the event code, event type, object code, object type, and area code are determined as the input parameters, and the processing result identifier and return result description are determined as the output parameters.
9. The method according to claim 7, characterized in that: The step of determining input parameters and output parameters of the capability of the object to be generated according to the type of the capability of the object to be generated and the preset parameter configuration strategy includes: If the object capability to be generated is a product completion capability, then the event code, event type, object code, object type and completion type are determined as the input parameters, and the processing result identifier, return result description and the object structure of the corresponding object are determined as the output parameters.
10. The method according to claim 7, characterized in that The step of determining input parameters and output parameters of the capability of the object to be generated according to the type of the capability of the object to be generated and the preset parameter configuration strategy includes: If the object capability to be generated is the business service resource configuration capability, then the event code, event type, object code, object type, and object attributes of the object to which it belongs are determined as the input parameters, and the processing result identifier, return result description, and object structure of the object to which it belongs are determined as the output parameters.
11. The method according to claim 7, characterized in that The step of determining input parameters and output parameters of the capability of the object to be generated according to the type of the capability of the object to be generated and the preset parameter configuration strategy includes: If the object capability to be generated is a product orchestration capability or a business service orchestration capability, the event code, event type, object code, object type, and object attributes of the object to which it belongs are determined as input parameters, and the processing result identifier and the returned result description are determined as output parameters.
12. The method according to claim 1, characterized in that The object information includes an object structure; the object capability information based on the capability of the object to be generated and the capability process information, determining the capability generation result corresponding to the capability of the object to be generated, includes: If the capability flow information corresponding to the service provision type is product capability flow information, determining each node included in the business service layer in the object structure and the associated capabilities between each of the nodes; From the associated capabilities, determine the orchestration capability that matches the service provision type, and assemble the object capability information of the object capability to be generated and the matching orchestration capability based on a preset order to obtain the product capability process information, and determine it as the capability generation result.
13. The method according to claim 1, characterized in that The object information includes an object structure; the object capability information based on the capability of the object to be generated and the capability process information, determining the capability generation result corresponding to the capability of the object to be generated, includes: If the capability flow information corresponding to the service provision type is business service capability flow information, then determining each node included in the network service layer in the object structure and the associated capabilities between each of the nodes; From the associated capabilities, determine the orchestration capability that matches the service provision type, and assemble the object capability information of the object capability to be generated and the matching orchestration capability based on a preset order to obtain the business service capability process information, and determine it as the capability generation result.
14. The method according to claim 11, characterized in that The method further comprises: The execution process corresponding to the product orchestration capability is product capability flow information; the product capability flow information includes business service orchestration capability, product completion capability and product resource archiving capability arranged in sequence; The execution process corresponding to the business service orchestration capability is the business service capability flow information; the business service capability flow information includes the business service resource configuration capability and the network service orchestration capability arranged in sequence.
15. The method according to claim 2, characterized in that The step of obtaining object information of an object to which the object capability to be generated belongs in response to the user's selection operation of the service provision type includes: Acquire a user's selection operation; the selection operation is used to include the service provision type and applicable area selected by the user; Based on the selection operation, a belonging object and object information of the belonging object are determined.
16. An object capability generating device, characterized in that: The device comprises: An information acquisition module, used to acquire object information of an object to which the object capability to be generated belongs; An information determination module, used to determine the capability flow information of the object and the object capability information of the object capability to be generated based on the object information; The capability generation module is used to determine the capability generation result corresponding to the object capability to be generated based on the object capability information of the object capability to be generated and the capability process information.
17. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 15 are implemented.
18. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 15 are implemented.
19. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 15 are implemented.