Object capability verification method and apparatus, and computer device and storage medium

By automatically verifying the ability of the object, the problem of inefficient manual audit in the PSR model is solved, and efficient audit of the ability of the object is achieved.

WO2025175767A1PCT designated stage Publication Date: 2025-08-28CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/121102
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-02-21
Filing Date
2024-09-25
Publication Date
2025-08-28

AI Technical Summary

Technical Problem

In the prior art, the object capability design built on the PSR model requires manual review, resulting in inefficiency.

Method used

Provide a method for verification of object capabilities. By obtaining the information and process information of the ability of the object to be verified, determining the object and level to which it belongs, automatically verifying whether it meets the requirements of the service design structure, and generating verification results, including problem description and problem level.

Benefits of technology

It realizes automatic judgment of whether the object's ability meets the design requirements of the PSR model, and improves the review efficiency of the object's ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024121102_28082025_PF_FP_ABST
    Figure CN2024121102_28082025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of communications, and specifically relates to an object capability verification method and apparatus, and a computer device and a storage medium. The method comprises: acquiring an object capability to be verified, wherein said object capability comprises object capability information and capability process information; on the basis of the object capability information, determining an object to which said object capability belongs and corresponds; and verifying whether said object capability meets a service design requirement of a hierarchical level corresponding to said object in a service design structure, so as to generate a verification result for said object capability, wherein the verification result comprises a problem description and a problem level.
Need to check novelty before this filing date? Find Prior Art

Description

Object capability verification method, device, computer equipment and storage medium

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on February 21, 2024, with application number 2024101929220, and application name “Object Capability Verification Method, Device, Computer Equipment and Storage Medium”, all contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of communication technology, and in particular to a method, apparatus, computer device, and storage medium for verifying object capabilities. Background Art

[0003] The Product-Service-Resource (PSR) model is a design concept for communications products. Its design philosophy is to decouple resources, services, and products into layers, assemble and design them based on underlying cloud and network capabilities, and then provide communications services / products externally.

[0004] Currently, when reviewing object capability designs based on the PSR model, manual review is usually required, resulting in low efficiency. Therefore, a method is needed to automatically review object capability designs submitted by users.

[0005] Summary of the Invention

[0006] Based on this, it is necessary to provide a method, device, computer equipment and storage medium for verifying object capabilities in response to the above technical problems.

[0007] In a first aspect, the present application provides a method for verifying object capabilities, the method comprising:

[0008] Obtain the capabilities of the object to be verified, which include object capability information and capability process information;

[0009] According to the object capability information, determine the object to which the capability of the object to be verified corresponds and the corresponding level of the object in the service design structure;

[0010] Verify whether the capabilities of the object to be verified meet the service design requirements of the corresponding level of the object in the service design structure, so as to generate a verification result for the capabilities of the object to be verified; wherein, the verification result includes a problem description and a problem level.

[0011] In one embodiment, the service design structure layer has levels from top to bottom: business service layer or service layer, network service layer or sub-service layer, and resource layer.

[0012] In one embodiment, the service design structure layer further includes a product layer, and the product layer is located above the business service layer or the service layer.

[0013] In one embodiment, the problem level includes a first-level problem level, a second-level problem level, and a third-level problem level, wherein the priority of the first-level problem level representation is higher than the priority of the second-level problem level representation, and the priority of the second-level problem level representation is higher than the priority of the third-level problem level representation.

[0014] In one embodiment, the verification result of the capability of the object to be verified includes a capability information verification result and a process verification result. Verifying whether the capability of the object to be verified meets the service design requirements of the corresponding level of the object in the service design structure to generate a verification result for the capability of the object to be verified includes:

[0015] When the capability process information, and / or capability parameter information in the object capability information, and / or capability process information uses a design strategy, the design strategy is verified to generate a process verification result and / or a capability information verification result.

[0016] In one embodiment, verifying the design strategy to generate capability information verification results includes:

[0017] Verify whether the reference data of the design strategy is available; when the reference data of the design strategy is not available, determine that the problem level in the capability information verification result is the second level.

[0018] In one embodiment, verifying the design strategy to generate capability information verification results includes:

[0019] When the capability of the object to be verified belongs to the network service layer or the sub-service layer, and the reference data of the design strategy does not belong to the business service layer or the service layer, and / or the resource layer, the problem level in the capability information verification result is determined to be the first level;

[0020] When the capability of the object to be verified belongs to the business service layer or service layer, and the reference data of the object design strategy does not belong to the business service layer or service layer, and / or the network service layer or sub-service layer, the problem level in the capability information verification result is determined to be the first level.

[0021] In one embodiment, verifying whether the capability of the object to be verified meets the service design requirements of the corresponding level of the object in the service design structure to generate a verification result for the capability of the object to be verified includes:

[0022] Verify whether the connection relationship between each step in the capability process information and the corresponding level of each step in the service structure design layer meet the target service design requirements to generate a process verification result.

[0023] In one embodiment, verifying whether the connection relationship between each step in the capability process information and the corresponding level of each step in the service structure design layer meet the target service design requirements to generate a process verification result includes:

[0024] When the capability of the object to be verified belongs to the network service layer or the sub-service layer, and any step in the capability process information belongs to the business service layer or the service layer, the problem level in the process verification result is determined to be the first level.

[0025] In one embodiment, verifying whether the connection relationship between each step in the capability process information and the corresponding level of each step in the service structure design layer meet the target service design requirements to generate a process verification result includes:

[0026] When the capability of the object to be verified belongs to the network service layer or sub-service layer, and any step in the capability process information belongs to the network service layer or sub-service layer, verify whether the step belongs to other object capabilities of the object to which it belongs; when the step does not belong to other object capabilities of the object to which it belongs, determine that the problem level of the process verification result is the first level.

[0027] In one embodiment, verifying whether the connection relationship between each step in the capability process information and the corresponding level of each step in the service structure design layer meet the target service design requirements to generate a process verification result includes:

[0028] When the capability of the object to be verified belongs to the network service layer or the sub-service layer, and any step in the capability process information belongs to the resource layer, obtain the target object structure of the object, and determine the object in the resource layer referenced by the target object structure as the target object;

[0029] Verify whether the step belongs to the object capability of the target object; when the step does not belong to the object capability of the target object, determine that the problem level in the process verification result is the first level.

[0030] In one embodiment, verifying whether the connection relationship between each step in the capability process information and the corresponding level of each step in the service structure design layer meet the target service design requirements to generate a process verification result includes:

[0031] When the capability of the object to be verified belongs to the network service layer or the sub-service layer, and there are isolated steps in the capability process information, the problem level in the process verification result is determined to be the first level.

[0032] In one embodiment, verifying whether the connection relationship between each step in the capability process information and the corresponding level of each step in the service structure design layer meet the target service design requirements to generate a process verification result includes:

[0033] When the capability of the object to be verified belongs to the business service layer or service layer, and any step in the capability process information belongs to the business service layer or service layer, verify whether the step belongs to other object capabilities of the object to which it belongs; when the step does not belong to other object capabilities of the object to which it belongs, determine that the problem level in the process verification result is the first level.

[0034] In one embodiment, verifying whether the connection relationship between each step in the capability process information and the corresponding level of each step in the service structure design layer meet the target service design requirements to generate a process verification result includes:

[0035] When the capability of the object to be verified belongs to the business service layer or the service layer, and any step in the capability process information belongs to the network service layer or the sub-service layer, obtain the target object structure of the corresponding object, and determine the object in the resource layer referenced by the target object structure as the target object;

[0036] Verify whether the step belongs to the object capability of the target object; when the step does not belong to the object capability of the target object, determine that the problem level in the process verification result is the first level.

[0037] In one embodiment, verifying whether the connection relationship between each step in the capability process information and the corresponding level of each step in the service structure design layer meet the target service design requirements to generate a process verification result includes:

[0038] When the capability of the object to be verified belongs to the business service layer or the service layer, and any step in the capability process information belongs to the resource layer, the problem level in the process verification result is determined to be the first level.

[0039] In one embodiment, verifying whether the connection relationship between each step in the capability process information and the corresponding level of each step in the service structure design layer meet the target service design requirements to generate a process verification result includes:

[0040] When the capability of the object to be verified belongs to the business service layer or the service layer, and there are isolated steps in the capability process information, the problem level in the process verification result is determined to be the first level.

[0041] In a second aspect, the present application further provides a device for verifying object capabilities, the device comprising:

[0042] A capability acquisition module is used to obtain the capability of the object to be verified, which includes object capability information and capability process information;

[0043] An object determination module is used to determine the object to which the capability of the object to be verified corresponds and the corresponding level of the object in the service design structure;

[0044] The verification module is used to verify whether the capabilities of the object to be verified meet the service design requirements of the corresponding level of the object in the service design structure, so as to generate a verification result for the capabilities of the object to be verified; wherein the verification result includes a problem description and a problem level.

[0045] In a third aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0046] Obtain the capabilities of the object to be verified, which include object capability information and capability process information;

[0047] According to the object capability information, determine the object to which the capability of the object to be verified corresponds and the corresponding level of the object in the service design structure;

[0048] Verify whether the capabilities of the object to be verified meet the service design requirements of the corresponding level of the object in the service design structure, so as to generate a verification result for the capabilities of the object to be verified; wherein, the verification result includes a problem description and a problem level.

[0049] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:

[0050] Obtain the capabilities of the object to be verified, which include object capability information and capability process information;

[0051] According to the object capability information, determine the object to which the capability of the object to be verified corresponds and the corresponding level of the object in the service design structure;

[0052] Verify whether the capabilities of the object to be verified meet the service design requirements of the corresponding level of the object in the service design structure, so as to generate a verification result for the capabilities of the object to be verified; wherein, the verification result includes a problem description and a problem level.

[0053] The object capability verification method, apparatus, computer device, and storage medium described above determine the object to which the object capability to be verified corresponds based on the object capability information; verify whether the object capability to be verified meets the service design requirements of the corresponding level of the object in the service design structure, thereby generating a verification result for the object capability to be verified. Embodiments of the present application can automatically determine whether an object capability meets the design requirements of the PSR model, thereby improving the efficiency of object capability review. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] FIG1 is a schematic flow chart of a method for verifying object capabilities in one embodiment;

[0055] FIG2 is a schematic diagram of each service design structure layer and each object to be verified in one embodiment;

[0056] FIG3 is a schematic diagram of each service design structure layer in one embodiment;

[0057] FIG4 is a schematic diagram of each service design structure layer in one embodiment;

[0058] FIG5 is a block diagram of a device for verifying object capabilities according to an embodiment;

[0059] FIG6 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0061] In one embodiment, as shown in FIG1 , a method for verifying object capabilities is provided. The method is described using the application of the method to a server as an example, and includes the following steps:

[0062] S101, obtaining the capability of the object to be verified.

[0063] Objects are an abstract view of resources, subservices, and services in service design. Resources are provided from the network and represent the physical and non-physical components used to build subservices. They originate from the application, computing, and network domains and include, for example, network elements, numbers, addresses, ports, links, software, IT systems, and technical components. In the service design view, resources are the smallest granularity of objects. Subservices are provided from the same network domain. In the telecommunications service design view, a subservice consists of one or more resources from the same network domain, and a service consists of one or more subservices.

[0064] In this embodiment, the object capability to be verified is data submitted by the user to the server for review. Object capabilities refer to capabilities that can only be applied to specific objects. An object has multiple object functions, which are implemented by different operating systems. The object and its functions are located in the same layer of the service design structure. Object functions are typically expressed in the form of APIs, supporting addition, deletion, update, query, and state change. Object capability design includes capability parameters and process design. Therefore, the object capability to be verified includes object capability information and capability process information, where:

[0065] (1) Object capability information design supports the capability information design of resources, sub-services and services. Object capability information design includes basic information design and parameter design.

[0066] A1. Object capability information design requirements are described as follows:

[0067] A11) The basic information design of the object capability includes the object capability name, code, version, object, applicable area, status, etc. Among them, the status includes designing, verifying, verification passed, verification failed, online and offline.

[0068] A12) Object capability parameters support adding, deleting, updating, and querying. Object capability parameters include input parameters and output parameters. Input parameters include the attributes of the object or the object in the same telecommunications service design structure layer, and output parameters include the returned result and result code.

[0069] A2. The design information of object capability parameters includes parameter name, code, data type, and value selection strategy. The value selection strategy is a design strategy that determines the value of such a parameter at runtime under specific circumstances, including setting default values, if statements, and other methods.

[0070] (2) Object Capability Implementation Process Design: The object capability implementation process design aims to design the workflow required to provide sub-services / services, including the capabilities and their relationships required to implement the object capabilities. The object capability implementation process design requirements are described as follows:

[0071] B1. It shows the implementation process of object capabilities in a flow chart. These capabilities can be regarded as steps in the implementation process of object capabilities.

[0072] B2. Resources do not have object capability realization processes because they are the smallest granularity objects in the service design structure.

[0073] B3. A subservice has at least one object capability implementation process. This process consists of general capabilities and object capabilities. Object capabilities include the object's other object capabilities, as well as the object capabilities of resource objects invoked within the object structure of the object to which it belongs. This means that the nodes in the subservice object capability implementation process belong to both the subservice layer and the resource layer.

[0074] B4. A service has at least one object capability implementation process. This process consists of general capabilities and object capabilities. Object capabilities include the other object capabilities of the object, as well as the object capabilities of the sub-service objects invoked within the object structure of the object to which it belongs. This means that the nodes in the service object capability implementation process belong to the service layer and the sub-service layer.

[0075] B5. Object capability implementation involves a data mapping strategy, which establishes data correspondences between two or more object capabilities. This data mapping strategy is a design strategy. When a specific object capability has multiple implementation processes, it involves an implementation process selection strategy, which selects the appropriate implementation process at runtime under specific circumstances. This implementation process selection strategy is a design strategy.

[0076] B6. The object capability implementation process involves an exception handling strategy, which handles errors or exceptions that occur during the implementation process. The exception handling strategy is one of the design strategies.

[0077] B7. If necessary, the target capability implementation process includes a route selection strategy. This strategy selects a route at runtime under specific circumstances. The route selection strategy is one of the design strategies.

[0078] After the user submits the capabilities of the object to be verified to the server, the user can initiate a request to the server to verify the capabilities of the object to be verified. The server can then obtain the object capability information and capability process information included in the capabilities of the object to be verified, and then start verifying the capabilities of the object to be verified based on the above information.

[0079] S102: Determine the object to which the capability of the object to be verified corresponds and the level of the object in the service design structure according to the object capability information.

[0080] In one embodiment, the object to which the capability of the object to be verified corresponds may be determined from the basic information of the object capability.

[0081] S103: Verify whether the capability of the object to be verified meets the service design requirements of the corresponding level of the object in the service design structure, so as to generate a verification result for the capability of the object to be verified.

[0082] After determining the object to which the capability of the object to be verified corresponds, the target level corresponding to the object in the service design structure layer can be determined, and the service design requirements corresponding to the target level are determined as target service design requirements.

[0083] It is understandable that the target design requirements corresponding to the capabilities of the object to be verified refer to the design requirements of the PSR model for the object capabilities. The PSR model may have different design requirements for its different service design structure layers (the service design structure layer is the hierarchical structure specified in the PSR model, such as the resource layer, service layer, and product layer). Therefore, when the design requirements for different service design structure layers are different, the service design structure layer where the object to be verified is located can be obtained (the capabilities of the object to be verified and its belonging objects are located in the same layer), and the design requirements corresponding to the service design structure layer can be used as the target design requirements.

[0084] There may be multiple target design requirements. A total verification result can be determined based on the verification results of the object capability information and capability flow information for each target design requirement. For example, when each node in the object capability meets each target design requirement at the same time, the total verification result is determined to be qualified. When each node in the object capability does not meet any target design requirement, the total verification result is determined to be unqualified. The verification result includes the verification result of each node for each target design requirement, and the target design requirement corresponding to the unqualified verification result and the specific basis for determining that the verification result is unqualified are displayed as a problem description, so that the user can make targeted modifications to the unqualified aspects of the object capability. The embodiments of the present application do not make specific limitations on this.

[0085] As shown in Figure 2, taking the service design structure layer as the resource layer, service layer and product layer, and the resource layer is located below the service layer, and the service layer is located below the product layer as an example, if the current object to be verified A is located in the product layer, then the node can be node B located in the service layer and directly connected to the object to be verified A, or it can be node C located in the resource layer and connected to node B (that is, equivalent to being connected to the object to be verified A through node B).

[0086] The verification results include problem description and problem level.

[0087] In one embodiment, the verification result may include a problem description and a problem level. The problem description is used to characterize which specific parts of the object structure have failed the verification, and the problem level is used to characterize the severity of the problem in the verification result. The problem level can be displayed by multiple labels that characterize the severity of different levels of problems. For example, each label may include a first result label that characterizes a more serious problem, a second result label that the problem is controllable (the problem is controllable, which may mean that the object structure violates the design requirements of the PSR model, but the degree of violation is relatively minor, such as only violating the recommended design requirements of the PSR model, etc.), a third result label that the problem is minor, etc. The above result labels can have different colors. For example, the first result label can be set to red, the second result label can be set to yellow, and the third result label can be set to green, so that the user can more intuitively see whether the verification result is qualified.

[0088] The object structure verification method provided in the embodiments of the present application determines the object to which the object capability to be verified corresponds based on the object capability information; verifies whether the object capability to be verified meets the service design requirements of the corresponding level of the object in the service design structure, and generates a verification result for the object capability to be verified. The embodiments of the present application can automatically determine whether the object capability meets the design requirements of the PSR model, thereby improving the efficiency of object capability review.

[0089] In one embodiment, the problem levels include a first-level problem level, a second-level problem level, and a third-level problem level, wherein the priority of the first-level problem level representation is higher than the priority of the second-level problem level representation, and the priority of the second-level problem level representation is higher than the priority of the third-level problem level representation.

[0090] In an embodiment of the present application, the first-level problem level, the second-level problem level, and the third-level problem level are used to distinguish the severity of the object's unqualified capabilities. The severity of unqualified represented by the first-level problem level is higher than the severity of unqualified represented by the second-level problem level. Each problem level can be represented by a result label, for example, the first problem level can correspond to the first result label, the second problem level can correspond to the second result label, and the third problem level can correspond to the third result label. And each result label can correspond to a different color, for example, the first result label corresponds to red, the second result label corresponds to yellow, and the third result label corresponds to green, so that problems of each level are more intuitive.

[0091] The object capability verification method provided in the embodiment of the present application divides the problem levels into the first problem level, the second problem level and the third problem level. Different levels represent different levels of failure of the object to be verified, which allows users to more intuitively see the severity of the object's failure.

[0092] In one embodiment, in one embodiment, the levels of the service design structure layer are, from top to bottom, a business service layer or service layer, a network service layer or sub-service layer, and a resource layer.

[0093] In the embodiment of the present application, each service design structure layer can be respectively a business service layer (Customer-Facing Service) or a service layer (Service), a network service layer (Resource-Facing Service) or a sub-service layer (Sub-Service) and a resource layer (Resource). Among them, each node (resource) in the resource layer can be a network element, a device, a port, etc., and the network element has a network domain to which it belongs (the network domain refers to different network structures in the 5G system, such as the bearer network, the wireless access network, the core network, etc.); each node (network service) in the network service layer / sub-service layer can be a network segment composed of network elements that provides services in a single network domain; each node (business service) in the business service layer / service layer can be a customer-oriented network service composed of multiple network segments that can provide cross-network domain services. A business service should consist of at least one network service, and a network service should consist of at least two resources.

[0094] The object structure verification method provided in the embodiment of the present application divides the service design structure layer from top to bottom into the business service layer, the network service layer and the resource layer. It can make a more detailed division of the service layer in the PSR model of the related technology, so that the network segment can also become an independent node, thereby improving the reusability of the node.

[0095] In one embodiment, the service design structure layer further includes a product layer, which is located above the business service layer or the service layer.

[0096] In this embodiment of the present application, the service design structure layer also includes a product layer (Product). The product layer is the highest service design structure layer. The nodes (products) located in the product layer can be complete products composed of multiple network services and at least one business service. See Figures 3 and 4 for schematic diagrams of the service design structure layers including the product layer.

[0097] The object structure verification method provided in the embodiment of the present application sets a product layer located above the business service layer, which allows users to submit the complete product object structure to the server for verification, avoiding the need for users to submit the object structures of multiple business service layers for verification separately, thereby improving the efficiency of verification.

[0098] It is understood that automatic verification of service capabilities meets the following requirements: i) Automatic verification of object capabilities includes service design content and data integrity checks; ii) Automatic verification of object capabilities obtains object capability data, including object capability information and capability process information. Object capability information includes basic object capability information and object capability parameters. iii) Based on the object capability information, the object to which the object capability belongs and the service design structure layer of the object are determined. The object capability is then checked to see if it meets the target service design requirements of the service design structure layer in which it resides, and a verification result is returned. iv) When a design strategy is applied to object capability parameters and / or capability process information, it checks whether the design strategy is applicable; v) Verification of service design content supports error detection in the object capability implementation process, which describes how the service provision workflow is constructed. The steps and relationships in the object capability implementation process are verified. It returns a verification result containing a problem description and the problem impact level, thereby meeting the verification requirements of the capability process.

[0099] In one embodiment, the verification result of the capability of the object to be verified may include a capability information verification result and a process verification result. This embodiment provides an optional method for verifying whether the capability of the object to be verified meets the service design requirements of the corresponding level of the object in the service design structure, so as to generate a verification result for the capability of the object to be verified. That is, it provides a method for refining S103. That is, in the above iv) when the design strategy is used for the object capability parameters and / or capability process information, it checks whether the design strategy is available. The specific implementation process may include:

[0100] When the capability process information, and / or capability parameter information in the object capability information, and / or capability process information use a design strategy, the design strategy is verified to generate a process verification result and / or a capability information verification result. In one embodiment, first, it is verified whether the reference data of the design strategy is available. If not, the problem level in the capability information verification result is determined to be the second level.

[0101] In one embodiment, the state of the object to which the called data belongs and / or its function is in an online state, otherwise it will cause a medium impact level (second level).

[0102] Secondly, when the capability of the object to be verified belongs to the network service layer or the sub-service layer, and the reference data of the object design strategy does not belong to the business service layer or the service layer, and / or the resource layer, the problem level in the capability information verification result is determined to be the first level;

[0103] When the capability of the object to be verified belongs to the business service layer or service layer, and the reference data of the object design strategy does not belong to the business service layer or service layer, and / or the network service layer or sub-service layer, the problem level in the capability information verification result is determined to be the first level.

[0104] In this embodiment, when the object capability to which the design strategy belongs is a sub-service, the calling data required in the design strategy belongs to the sub-service layer and / or the resource layer, otherwise it will result in a high impact level; when the object capability to which the design strategy belongs is a service, the calling data required in the design strategy belongs to the service and / or sub-service layer, otherwise it will result in a high impact level.

[0105] In one embodiment, this embodiment provides an example method for verifying whether the capabilities of an object to be verified meet the service design requirements of the corresponding level of the object in the service design structure, thereby generating a verification result for the capabilities of the object to be verified. This method provides a refinement of S103, namely, the aforementioned v) verification of service design content supports error detection in the object capability implementation process, which describes how the service provision workflow is constructed. It verifies the steps and relationships in the object capability implementation process. It returns a verification result containing a problem description and the problem impact level, thereby satisfying the verification requirements of the capability process. The specific implementation process may include:

[0106] Verify the connection relationship between each step in the capability process information and whether the corresponding level of each step in the service structure design layer meets the target service design requirements to generate the process verification results. Specifically:

[0107] C1. When the capability of the object to be verified belongs to the network service layer or sub-service layer:

[0108] C11) When the capability of the object to be verified belongs to the network service layer or the sub-service layer, and any step in the capability process information belongs to the business service layer or the service layer, determining that the problem level in the process verification result is the first level.

[0109] In an embodiment of the present application, when the capability of the object to be verified is at the network service layer / sub-service layer, each step in the capability process information should not be higher than the network service layer / sub-service layer, so as to avoid the situation where the service design structure layer where the steps in the process are located is higher than the service design structure layer where the object to be verified is located.

[0110] C12) When the capability of the object to be verified belongs to the network service layer or the sub-service layer, and any step in the capability process information belongs to the network service layer or the sub-service layer, verify whether the step belongs to other object capabilities of the object to which it belongs; when the step does not belong to other object capabilities of the object to which it belongs, determine that the problem level of the process verification result is the first level.

[0111] C13) When the capability of the object to be verified belongs to the network service layer or the sub-service layer, and any step in the capability process information belongs to the resource layer, obtain the target object structure of the object to which it belongs, and determine the object in the resource layer referenced by the target object structure as the target object; verify whether the step belongs to the object capability of the target object; when the step does not belong to the object capability of the target object, determine that the problem level in the process verification result is the first level.

[0112] C14) When the capability of the object to be verified belongs to the network service layer or the sub-service layer, and there are isolated steps in the capability process information, determining that the problem level in the process verification result is the first level.

[0113] C2. When the capability of the object to be verified belongs to the network service layer or sub-service layer:

[0114] C21) When the capability of the object to be verified belongs to the business service layer or service layer, and any step in the capability process information belongs to the business service layer or service layer, verify whether the step belongs to other object capabilities of the object to which it belongs; when the step does not belong to other object capabilities of the object to which it belongs, determine that the problem level in the process verification result is the first level.

[0115] C22) When the capability of the object to be verified belongs to the business service layer or the service layer, and any step in the capability process information belongs to the network service layer or the sub-service layer, obtain the target object structure of the object to which it belongs, and determine the object in the resource layer referenced by the target object structure as the target object; verify whether the step belongs to the object capability of the target object; when the step does not belong to the object capability of the target object, determine that the problem level in the process verification result is the first level.

[0116] C23) When the capability of the object to be verified belongs to the business service layer or the service layer, and any step in the capability process information belongs to the resource layer, determining that the problem level in the process verification result is the first level.

[0117] C24) When the capability of the object to be verified belongs to the business service layer or the service layer, and there are isolated steps in the capability process information, the problem level in the process verification result is determined to be the first level.

[0118] In an embodiment of the present application, when the capability of the object to be verified is at the business service layer / service layer, the steps in the capability process information should not be higher than the business service layer / service layer, so as to avoid the situation where the service design structure layer where the steps in the process are located is higher than the service design structure layer where the object to be verified is located.

[0119] It should be understood that, although the steps in the flowcharts of the above embodiments are shown in sequence as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the flowcharts of the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily to be performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0120] Based on the same inventive concept, embodiments of the present application also provide an object capability verification device for implementing the object capability verification method described above. The solution to the problem provided by this device is similar to the solution described in the method described above. Therefore, the specific limitations of one or more object capability verification device embodiments provided below can be found in the limitations of the object capability verification method described above and will not be repeated here.

[0121] In one embodiment, as shown in FIG5 , a device 1 for verifying object capabilities is provided, comprising: a capability acquisition module 11 , an object determination module 12 , and a verification module 13 , wherein:

[0122] The capability acquisition module 11 is used to obtain the capability of the object to be verified, which includes object capability information and capability process information;

[0123] The object determination module 12 is used to determine the object corresponding to the capability of the object to be verified and the corresponding level of the object in the service design structure;

[0124] The verification module 13 is used to verify whether the capabilities of the object to be verified meet the service design requirements of the corresponding level of the object in the service design structure, so as to generate a verification result for the capabilities of the object to be verified; wherein the verification result includes a problem description and a problem level.

[0125] In one embodiment, the levels of the service design structure are, from top to bottom, a business service layer or service layer, a network service layer or sub-service layer, and a resource layer.

[0126] In one embodiment, the service design structure further includes a product layer, and the product layer is located above the business service layer or the service layer.

[0127] In one embodiment, the problem level includes a first-level problem level, a second-level problem level, and a third-level problem level, wherein the priority of the first-level problem level representation is higher than the priority of the second-level problem level representation, and the priority of the second-level problem level representation is higher than the priority of the third-level problem level representation. In one embodiment, the verification module 13 is further used to: when the capability process information, and / or the capability parameter information in the object capability information, and / or the capability process information use a design strategy, verify the design strategy to generate a process verification result and / or a capability information verification result.

[0128] In one embodiment, the verification module 13 is further configured to: verify whether reference data of the design strategy is available; and when the reference data of the design strategy is not available, determine that the problem level in the capability information verification result is the second level.

[0129] In one embodiment, the verification module 13 is further configured to: when the capability of the object to be verified belongs to the network service layer or the sub-service layer, and the reference data of the design strategy does not belong to the business service layer or the service layer, and / or the resource layer, determine that the problem level in the capability information verification result is the first level;

[0130] When the capability of the object to be verified belongs to the business service layer or service layer, and the reference data of the design strategy does not belong to the business service layer or service layer, and / or the network service layer or sub-service layer, the problem level in the capability information verification result is determined to be the first level.

[0131] In one embodiment, the verification module 13 is further used to verify whether the connection relationship between each step in the capability process information and the corresponding level of each step in the service structure design layer meet the service design requirements, so as to generate a process verification result.

[0132] In one embodiment, the verification module 13 is also used to: when the capability of the object to be verified belongs to the network service layer or the sub-service layer, and any step in the capability process information belongs to the business service layer or the service layer, determine that the problem level in the process verification result is the first level.

[0133] In one embodiment, the verification module 13 is also used to: when the capability of the object to be verified belongs to the network service layer or the sub-service layer, and any step in the capability process information belongs to the network service layer or the sub-service layer, verify whether the step belongs to other object capabilities of the object to which it belongs; when the step does not belong to other object capabilities of the object to which it belongs, determine that the problem level of the process verification result is the first level.

[0134] In one embodiment, the verification module 13 is further configured to: when the capability of the object to be verified belongs to the network service layer or the sub-service layer, and any step in the capability process information belongs to the resource layer, obtain the target object structure of the object, and determine the object in the resource layer referenced by the target object structure as the target object;

[0135] Verify whether the step belongs to the object capability of the target object; when the step does not belong to the object capability of the target object, determine that the problem level in the process verification result is the first level.

[0136] In one embodiment, the verification module 13 is further configured to: when the capability of the object to be verified belongs to the network service layer or the sub-service layer and there are isolated steps in the capability process information, determine that the problem level in the process verification result is the first level.

[0137] In one embodiment, the verification module 13 is also used to: when the capability of the object to be verified belongs to the business service layer or the service layer, and any step in the capability process information belongs to the business service layer or the service layer, verify whether the step belongs to other object capabilities of the object to which it belongs; when the step does not belong to other object capabilities of the object to which it belongs, determine that the problem level in the process verification result is the first level.

[0138] In one embodiment, the verification module 13 is further configured to: when the capability of the object to be verified belongs to the business service layer or the service layer, and any step in the capability process information belongs to the network service layer or the sub-service layer, obtain the target object structure of the object, and determine the object in the resource layer referenced by the target object structure as the target object;

[0139] Verify whether the step belongs to the object capability of the target object; when verifying that the step does not belong to the object capability of the target object, determine that the problem level in the process verification result is the first level.

[0140] In one embodiment, the verification module 13 is further configured to: when the capability of the object to be verified belongs to the business service layer or the service layer, and any step in the capability process information belongs to the resource layer, determine that the problem level in the process verification result is the first level.

[0141] In one embodiment, the verification module 13 is further configured to: when the capability of the object to be verified belongs to the business service layer or the service layer, and there are isolated steps in the capability process information, determine that the problem level in the process verification result is the first level.

[0142] Each module in the aforementioned object capability verification device may be implemented in whole or in part through software, hardware, or a combination thereof. Each module may be embedded in or independent of a processor in a computer device in the form of hardware, or may be stored in a memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module.

[0143] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in Figure 6. The computer device includes a processor, a memory, and a network interface connected via a system bus. 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 and a computer program. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, it implements a method for verifying the structure of an object.

[0144] Those skilled in the art will understand that the structure shown in FIG6 is merely a block diagram of a portion 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 shown in the figure, or combine certain components, or have a different arrangement of components.

[0145] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.

[0146] In one 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.

[0147] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0148] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0149] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented 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 memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of 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 the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.

[0150] The technical features of the above embodiments can 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.

[0151] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A method for verifying object capabilities, comprising: Acquire the capability of the object to be verified, wherein the capability of the object to be verified includes object capability information and capability process information; Determining, based on the object capability information, the object to which the capability of the object to be verified corresponds and the level of the object in the service design structure; Verify whether the capabilities of the object to be verified meet the service design requirements of the corresponding level of the object in the service design structure, so as to generate a verification result for the capabilities of the object to be verified; wherein, the verification result includes a problem description and a problem level.

2. The method according to claim 1, wherein The levels of the service design structure are, from top to bottom, a business service layer or service layer, a network service layer or sub-service layer, and a resource layer.

3. The method according to claim 2, wherein: The service design structure further includes a product layer, and the level of the product layer is located above the level of the business service layer or the service layer.

4. The method according to claim 1 or 2, wherein: The problem levels include a first-level problem level, a second-level problem level, and a third-level problem level, wherein the priority of the first-level problem level representation is higher than the priority of the second-level problem level representation, and the priority of the second-level problem level representation is higher than the priority of the third-level problem level representation.

5. The method according to claim 4, wherein The verification result of the capability of the object to be verified includes the capability information verification result and the process verification result; Verifying whether the capability of the object to be verified meets the service design requirements of the corresponding level of the object in the service design structure to generate a verification result for the capability of the object to be verified includes: When the capability process information and / or the capability parameter information in the object capability information use a design strategy, the design strategy is verified to generate the process verification result and / or the capability information verification result.

6. The method according to claim 5, wherein: Verifying the design strategy to generate a capability information verification result includes: Verify whether the reference data of the design strategy is available; when the reference data of the design strategy is not available, determine that the problem level in the capability information verification result is the second level.

7. The method according to claim 5, wherein: Verifying the design strategy to generate a capability information verification result includes: When the capability of the object to be verified belongs to the network service layer or the sub-service layer, and the reference data of the design strategy does not belong to the business service layer or the service layer, and / or the resource layer, determining that the problem level in the capability information verification result is the first level; When the capability of the object to be verified belongs to the business service layer or service layer, and the reference data of the design strategy does not belong to the business service layer or service layer, and / or the network service layer or sub-service layer, the problem level in the capability information verification result is determined to be the first level.

8. The method according to claim 5, wherein Verifying whether the capability of the object to be verified meets the service design requirements of the corresponding level of the object in the service design structure to generate a verification result for the capability of the object to be verified includes: Verify whether the connection relationship between each step in the capability process information and the corresponding level of each step in the service structure design layer meet the service design requirements to generate the process verification result.

9. The method according to claim 8, wherein Verifying whether the connection relationship between the steps in the capability process information and the corresponding level of each step in the service structure design layer meet the service design requirements to generate the process verification result includes: When the capability of the object to be verified belongs to the network service layer or sub-service layer, and any step in the capability process information belongs to the business service layer or service layer, the problem level in the process verification result is determined to be the first level.

10. The method according to claim 8, wherein Verifying whether the connection relationship between the steps in the capability process information and the corresponding level of each step in the service structure design layer meet the service design requirements to generate the process verification result includes: When the capability of the object to be verified belongs to the network service layer or sub-service layer, and any step in the capability process information belongs to the network service layer or sub-service layer, verify whether the step belongs to other object capabilities of the object to which it belongs; when the step does not belong to other object capabilities of the object to which it belongs, determine that the problem level of the process verification result is the first level.

11. The method according to claim 8, wherein Verifying whether the connection relationship between each step in the capability process information and the corresponding level of each step in the service structure design layer meet the service design requirements to generate the process verification result includes: When the capability of the object to be verified belongs to the network service layer or the sub-service layer, and any step in the capability process information belongs to the resource layer, obtaining the target object structure of the belonging object, and determining the object in the resource layer referenced by the target object structure as the target object; Verify whether the step belongs to the object capability of the target object; when the step does not belong to the object capability of the target object, determine that the problem level in the process verification result is the first level.

12. The method according to claim 8, wherein Verifying whether the connection relationship between each step in the capability process information and the corresponding level of each step in the service structure design layer meet the service design requirements to generate the process verification result includes: When the capability of the object to be verified belongs to the network service layer or the sub-service layer, and there are isolated steps in the capability process information, it is determined that the problem level in the process verification result is the first level.

13. The method according to claim 8, wherein Verifying whether the connection relationship between the steps in the capability process information and the corresponding level of each step in the service structure design layer meet the service design requirements to generate the process verification result includes: When the capability of the object to be verified belongs to the business service layer or service layer, and any step in the capability process information belongs to the business service layer or service layer, verify whether the step belongs to other object capabilities of the object to which it belongs; when the step does not belong to other object capabilities of the object to which it belongs, determine that the problem level in the process verification result is the first level.

14. The method according to claim 8, wherein Verifying whether the connection relationship between the steps in the capability process information and the corresponding level of each step in the service structure design layer meet the service design requirements to generate the process verification result includes: When the capability of the object to be verified belongs to the business service layer or the service layer, and any step in the capability process information belongs to the network service layer or the sub-service layer, obtaining the target object structure of the belonging object, and determining the object in the resource layer referenced by the target object structure as the target object; Verify whether the step belongs to the object capability of the target object; when the step does not belong to the object capability of the target object, determine that the problem level in the process verification result is the first level.

15. The method according to claim 8, wherein Verifying whether the connection relationship between the steps in the capability process information and the corresponding level of each step in the service structure design layer meet the service design requirements to generate the process verification result includes: When the capability of the object to be verified belongs to the business service layer or the service layer, and any step in the capability process information belongs to the resource layer, the problem level in the process verification result is determined to be the first level.

16. The method according to claim 8, wherein Verifying whether the connection relationship between the steps in the capability process information and the corresponding level of each step in the service structure design layer meet the service design requirements to generate the process verification result includes: When the capability of the object to be verified belongs to the business service layer or the service layer, and there are isolated steps in the capability process information, it is determined that the problem level in the process verification result is the first level.

17. The method according to claim 1, wherein The obtaining of the capability of the object to be verified includes: Initiating a request to verify the capability of the object to be verified; Obtain object capability information and capability process information included in the capability of the object to be verified.

18. The method according to claim 1, wherein Verifying whether the capability of the object to be verified meets the service design requirements of the corresponding level of the object in the service design structure to generate a verification result for the capability of the object to be verified includes: When there are multiple service design requirements, a total verification result is determined based on the verification results of each service design requirement according to the object capability information and the capability flow information.

19. A device for verifying object capabilities, comprising: A capability acquisition module is used to acquire the capability of the object to be verified, wherein the capability of the object to be verified includes object capability information and capability process information; An object determination module is used to determine the object to which the capability of the object to be verified corresponds and the level of the object in the service design structure; A verification module is used to verify whether the capabilities of the object to be verified meet the service design requirements of the corresponding level of the object in the service design structure, so as to generate a verification result for the capabilities of the object to be verified; wherein, the verification result includes a problem description and a problem level.

20. 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 18 are implemented.

21. A computer-readable storage medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 18 are implemented.

Citation Information

Patent Citations

  • Test method and test system for testing open service oriented architecture (SOA)

    CN107257290A

  • End-to-end diagnosis method and device based on service-oriented capability model

    CN114595109A

  • Cloud network service opening system and method

    CN115766379A

  • Parameter verification method of Kubernetes object, server and terminal

    CN117112124A

  • Governing The Design Of Services In A Service Oriented Architecture

    US20100138251A1