Service capability calling method and device, computer equipment and storage medium
By receiving the service capability call request of the target terminal and selecting the appropriate service capability based on the service capability type requirements and service level correlation parameters, the problem that the existing technology cannot cope with the complex needs of new applications is solved, and the matching of business capabilities and application requirements is achieved and the adaptability of future networks is achieved.
Patent Information
- Application Number
- CN202411791129.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2044-12-06
AI Technical Summary
The existing technology cannot effectively respond to the business requirements of a large number of new applications, diverse requirements and complex mechanisms, especially in terms of business capability type requirements and service level correlation parameters.
A service capability calling method is provided, by receiving the service capability call request sent by the target terminal, selecting the target service capability that meets the service capability type requirements and service level association parameters based on the service capability information of the candidate service capability, and sending a call response message to the target terminal.
It realizes a comprehensive analysis and selection of business capabilities based on the business capability type requirements and service level correlation parameters to ensure that the target business capabilities can meet application needs and effectively adapt to the diversified application needs of the future network.
Smart Images

Figure CN119676317A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of core network technology, and in particular to a service capability invoking method, apparatus, computer equipment and storage medium. Background Art
[0002] Currently, each business capability is developed and managed by an independent platform, and each application is provided by an independent business platform. Due to the diversity of development environments and tools, the business capabilities developed and provided by different platforms have different service qualities (QoS).
[0003] In addition, new applications in the future network will need to call on various types of business capabilities to achieve. As for new applications with different business requirements, existing technologies cannot cope with the business requirements of a larger number of new applications, more diverse requirements, and more complex mechanisms. Summary of the invention
[0004] Based on this, it is necessary to provide a business capability calling method, device, computer equipment and storage medium to address the above technical problems, which can cope with the business requirements of a larger number of new applications, more diverse demands and more complex mechanisms.
[0005] In a first aspect, the present application provides a method for calling a service capability. The method comprises:
[0006] Receiving a service capability invocation request sent by a target terminal; wherein the service capability invocation request carries service capability type requirements and service level association parameters;
[0007] Selecting, according to the service capability information of at least one candidate service capability, a target service capability that meets the service capability type requirement and service level association parameter from the at least one candidate service capability;
[0008] A call response message for the target service capability is sent to the target terminal, so that the target terminal calls the target service capability.
[0009] In one of the embodiments, the service capability information includes candidate service capability types and candidate service level coefficients;
[0010] The selecting, according to the service capability information of at least one candidate service capability, a target service capability that meets the service capability type requirement and the service level association parameter from at least one candidate service capability comprises:
[0011] According to the candidate service capability type corresponding to the at least one candidate service capability, selecting at least one intermediate service capability that meets the service capability type requirement from the at least one candidate service capability;
[0012] Determining a target service level coefficient corresponding to the service level association parameter;
[0013] A target service capability is selected from the at least one intermediate service capability according to the target service level coefficient and the candidate service level coefficient corresponding to the at least one intermediate service capability.
[0014] In one of the embodiments, selecting a target service capability from the at least one intermediate service capability according to the target service level coefficient and the candidate service level coefficient corresponding to the at least one intermediate service capability includes:
[0015] For each intermediate service capability, verifying whether the target service level coefficient is the same as the candidate service level coefficient of the intermediate service capability;
[0016] If they are the same, the intermediate service capability is used as the target service capability.
[0017] In one of the embodiments, selecting a target service capability from the at least one intermediate service capability according to the target service level coefficient and the candidate service level coefficient corresponding to the at least one intermediate service capability includes:
[0018] If the candidate service level coefficients of the intermediate service capabilities are all different from the target service level coefficient, selecting at least one reference service capability whose candidate service level coefficient is greater than the target service level coefficient from the intermediate service capabilities;
[0019] Determining a coefficient difference between a candidate service level coefficient of each of the reference service capabilities and the target service level coefficient;
[0020] The reference business capability corresponding to the smallest coefficient difference is used as the target business capability.
[0021] In one of the embodiments, selecting, based on the business capability information of at least one candidate business capability, a target business capability that meets the business capability type requirement and the service level association parameter from the at least one candidate business capability includes:
[0022] Obtaining business capability information of at least one candidate business capability from the business capability storage table;
[0023] According to the service capability information of at least one candidate service capability, a target service capability that meets the service capability type requirement and the service level association parameter is selected from the at least one candidate service capability.
[0024] In one embodiment, the method further comprises:
[0025] Acquire service capability information of at least one candidate service capability uploaded by the capability providing terminal;
[0026] A business capability storage table including at least one candidate business capability is generated according to the acquired business capability information.
[0027] In a second aspect, the present application also provides a service capability invocation device. The device comprises:
[0028] A receiving module, configured to receive a service capability call request sent by a target terminal; wherein the service capability call request carries service capability type requirements and service level association parameters;
[0029] A selection module, configured to select, based on the business capability information of at least one candidate business capability, a target business capability that meets the business capability type requirement and the service level association parameter from the at least one candidate business capability;
[0030] The sending module is used to send a call response message for the target service capability to the target terminal, so that the target terminal calls the target service capability.
[0031] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0032] Receiving a service capability invocation request sent by a target terminal; wherein the service capability invocation request carries service capability type requirements and service level association parameters;
[0033] Selecting, according to the service capability information of at least one candidate service capability, a target service capability that meets the service capability type requirement and service level association parameter from the at least one candidate service capability;
[0034] A call response message for the target service capability is sent to the target terminal, so that the target terminal calls the target service capability.
[0035] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0036] Receiving a service capability invocation request sent by a target terminal; wherein the service capability invocation request carries service capability type requirements and service level association parameters;
[0037] Selecting, according to the service capability information of at least one candidate service capability, a target service capability that meets the service capability type requirement and service level association parameter from the at least one candidate service capability;
[0038] A call response message for the target service capability is sent to the target terminal, so that the target terminal calls the target service capability.
[0039] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0040] Receiving a service capability invocation request sent by a target terminal; wherein the service capability invocation request carries service capability type requirements and service level association parameters;
[0041] Selecting, according to the service capability information of at least one candidate service capability, a target service capability that meets the service capability type requirement and service level association parameter from the at least one candidate service capability;
[0042] A call response message for the target service capability is sent to the target terminal, so that the target terminal calls the target service capability.
[0043] The above-mentioned service capability calling method, device, computer equipment and storage medium receive a service capability calling request sent by a target terminal to select a target service capability that meets the service capability type requirements and service level associated parameters from at least one candidate service capability according to the service capability information of at least one candidate service capability, and then send a call response message for the target service capability to the target terminal so that the target terminal calls the target service capability. According to the above content, in the process of calling service capabilities, the present application does not only select the corresponding service capability according to the service capability type; but conducts a comprehensive analysis of at least one candidate service capability according to the service capability type requirements and service level associated parameters to select a target service capability that meets the service capability type requirements and service level associated parameters from at least one candidate service capability. Therefore, the target service capability determined by the present application can not only meet the service capability type requirements, but also meet the service level associated parameters, so that the calling of the target service capability matches the application requirements, and can effectively adapt to the rich and diverse application requirements of future networks. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 An application environment diagram of a business capability calling method provided in an embodiment of the present application;
[0045] Figure 2A flowchart of the first service capability calling method provided in an embodiment of the present application;
[0046] Figure 3 A flowchart of a second method for calling a service capability provided in an embodiment of the present application;
[0047] Figure 4 A flowchart of a third method for calling a service capability provided in an embodiment of the present application;
[0048] Figure 5 Schematic diagram of the fourth service capability calling method provided in the embodiment of the present application
[0049] Figure 6 A schematic diagram of a business capability calling system provided in an embodiment of the present application;
[0050] Figure 7 A signaling diagram for a process of determining a service capability storage table provided in an embodiment of the present application;
[0051] Figure 8 A signaling diagram of a service capability calling process provided in an embodiment of the present application;
[0052] Fig. 9 A structural block diagram of a service capability calling device provided in an embodiment of the present application;
[0053] Fig.10 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0054] 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.
[0055] The service capability calling 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 data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. By receiving the service capability call request sent by the target terminal, the service capability information of at least one candidate service capability is realized, and the target service capability that meets the service capability type requirements and service level association parameters is selected from at least one candidate service capability, and then, a call response message for the target service capability is sent to the target terminal, so that the target terminal calls the target service capability. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0056] In one embodiment, Figure 2 As shown, a business capability calling method is provided, which is applied to Figure 1 Taking the server 104 in the example as an example, the following steps are included:
[0057] S201, receiving a service capability invocation request sent by a target terminal.
[0058] The service capability call request carries service capability type requirements and service level association parameters.
[0059] It should be noted that the business capability type requirement is used to characterize the capability type of the business capability required by the target terminal, where the capability type may include but is not limited to: rendering capability, artificial intelligence capability and presentation capability, etc.; the service level association parameters correspond to the business service quality of the business capability required by the target terminal.
[0060] In one embodiment of the present application, if a business capability call request is received from a target terminal, it is verified whether the call request contains business capability type requirements and service level associated parameters. If so, subsequent steps are executed; if not, a request missing feedback is sent to the target terminal, wherein the request missing feedback indicates that the business capability type requirements and / or service level associated parameters are missing in the business capability call request.
[0061] In another embodiment of the present application, if a business capability call request sent by a target terminal is received, it is verified whether the business capability type requirement and service level associated parameters contained in the call request are valid. If both are valid, subsequent steps are executed; if there are invalid business capability type requirements and / or service level associated parameters, an invalid request feedback is sent to the target terminal, wherein the invalid request feedback indicates that the business capability type requirements and / or service level associated parameters in the business capability call request are invalid.
[0062] Further, when verifying whether the business capability type requirement and the service level associated parameter are valid, a capability type requirement whitelist may be pre-set, and a parameter range of the level associated parameter may be determined; further, verify whether the business capability type requirement belongs to the capability type requirement whitelist, if so, determine that the business capability type requirement is valid; if not, determine that the business capability type requirement is invalid. Verify whether the service level associated parameter belongs to the parameter range of the level associated parameter, if so, determine that the service level associated parameter is valid; if not, determine that the service level associated parameter is invalid.
[0063] S202: Select, from the at least one candidate service capability, a target service capability that meets the service capability type requirement and service level association parameters according to the service capability information of the at least one candidate service capability.
[0064] The business capability information includes candidate capability type requirements and candidate level association parameters of the candidate business capability.
[0065] It should be noted that when it is necessary to select a target business capability that meets the business capability type requirements and service level association parameters from at least one candidate business capability, the candidate capability type requirements and candidate level association parameters corresponding to at least one candidate business capability can be determined respectively; then, the business capability type requirements and service level association parameters are verified to see whether they match the candidate capability type requirements and candidate level association parameters corresponding to each candidate business capability, and then, the matching candidate business capability is used as the target business capability that meets the business capability type requirements and service level association parameters.
[0066] S203: Send a call response message for the target service capability to the target terminal, so that the target terminal calls the target service capability.
[0067] In an embodiment of the present application, the call response message includes a call address of the target service capability, so that the target device can call the target service capability according to the call address of the target service capability.
[0068] The above-mentioned service capability calling method receives a service capability calling request sent by the target terminal to select a target service capability that meets the service capability type requirements and service level associated parameters from at least one candidate service capability according to the service capability information of at least one candidate service capability, and then sends a call response message for the target service capability to the target terminal so that the target terminal calls the target service capability. According to the above content, in the process of calling service capabilities, the present application does not only select the corresponding service capability according to the service capability type; but conducts a comprehensive analysis of at least one candidate service capability according to the service capability type requirements and service level associated parameters to select a target service capability that meets the service capability type requirements and service level associated parameters from at least one candidate service capability. Therefore, the target service capability determined by the present application can not only meet the service capability type requirements, but also meet the service level associated parameters, so that the call of the target service capability matches the application requirements, and can effectively adapt to the rich and diverse application requirements of the future network.
[0069] In one embodiment, if Figure 3 As shown, the service capability information includes candidate service capability types and candidate service level coefficients; therefore, when it is necessary to select a target service capability that meets the service capability type requirements and service level association parameters from at least one candidate service capability based on the service capability information of at least one candidate service capability, the following contents may be specifically included:
[0070] S301 : Selecting at least one intermediate service capability that meets service capability type requirements from at least one candidate service capability according to a candidate service capability type corresponding to at least one candidate service capability.
[0071] In one embodiment of the present application, when it is necessary to determine at least one intermediate business capability that meets the business capability type requirement, the following contents may be included: comparing the candidate business capability type corresponding to at least one candidate business capability with the business capability type requirement respectively, and determining whether each candidate business capability type meets the business capability type requirement; if the candidate business capability type of a candidate business capability meets the business capability type requirement, then the candidate business capability is used as an intermediate business capability that meets the business capability type requirement.
[0072] S302: Determine a target service level coefficient corresponding to the service level association parameter.
[0073] It should be noted that when it is necessary to determine the target service level coefficient corresponding to the service level association parameter, the correspondence between the candidate level association parameters and the candidate service level coefficients can be predetermined, and then the target service level coefficient corresponding to the service level association parameter can be determined based on the correspondence.
[0074] The corresponding relationship records at least one candidate grade association parameter and candidate service grade coefficients corresponding to each candidate grade association parameter.
[0075] Specifically, when it is necessary to determine the target service level coefficient corresponding to the service level association parameter based on the corresponding relationship, it may specifically include the following contents: from at least one candidate level association parameter recorded in the corresponding relationship, select a reference level association parameter that is the same as the service level association parameter, and then use the candidate service level coefficient corresponding to the reference level association parameter in the corresponding relationship as the target service level coefficient corresponding to the service level association parameter.
[0076] S303: Select a target service capability from the at least one intermediate service capability according to the target service level coefficient and the candidate service level coefficient corresponding to the at least one intermediate service capability.
[0077] It should be noted that when it is necessary to select a target business capability from at least one intermediate business capability based on the target service level coefficient and the candidate service level coefficient corresponding to at least one intermediate business capability, the following may be specifically included: for each intermediate business capability, verify whether the target service level coefficient is the same as the candidate service level coefficient of the intermediate business capability; if they are the same, then use the intermediate business capability as the target business capability.
[0078] To further illustrate, if the candidate service level coefficients of each intermediate service capability are different from the target service level coefficient, the target service capability may be selected from at least one intermediate service capability according to a preset screening rule.
[0079] Specifically, if the candidate service level coefficients of each intermediate business capability are different from the target service level coefficients, then select at least one reference business capability whose candidate service level coefficient is greater than the target service level coefficient from each intermediate business capability; determine the coefficient difference between the candidate service level coefficients of each reference business capability and the target service level coefficient; and take the reference business capability corresponding to the smallest coefficient difference as the target business capability.
[0080] As an example, the service capability call request of immersive communication service A is for service capabilities of rendering capability, AI capability and presentation capability, and the corresponding service level associated parameters are W1, W2 and W3 respectively. The corresponding target service level coefficients are determined according to the corresponding relationship, that is, rendering capability of SLA(1)=5, AI capability of SLA(2)=4, and presentation capability of SLA(3)=2; the rendering capability SLAs of the callable types are determined to be 2, 3, 5, and 6, the AI capability SLAs are 3, 5, and 6, and the presentation capabilities are 1 and 3. According to the above service capability selection method, the final selection is rendering capability of SLA(1)=5, AI capability of SLA(2)=5, and presentation capability of SLA(3)=3. The capability combination corresponding to these three SLAs is the result of the corresponding selection of the weight coefficients.
[0081] The above-mentioned service capability calling method selects at least one intermediate service capability that meets the service capability type requirements from at least one candidate service capability, and selects the target service capability from at least one intermediate service capability based on the target service level coefficient, so that the calling of the target service capability matches the application requirements and can effectively adapt to the rich and diverse application requirements of future networks.
[0082] In one embodiment, if Figure 4 As shown, when it is necessary to select a target service capability that meets the service capability type requirements and service level association parameters from at least one candidate service capability based on the service capability information of at least one candidate service capability, the following contents may be included:
[0083] S401: Acquire business capability information of at least one candidate business capability from a business capability storage table.
[0084] It should be noted that the business capability storage table records business capability information of at least one candidate business capability;
[0085] In one embodiment of the present application, when it is necessary to construct a business capability storage table, the following contents may be included: obtaining business capability information of at least one candidate business capability uploaded by a capability providing terminal; and generating a business capability storage table containing at least one candidate business capability based on the obtained business capability information.
[0086] S402: Select, according to the service capability information of at least one candidate service capability, a target service capability that meets the service capability type requirement and service level association parameters from at least one candidate service capability.
[0087] In one embodiment of the present application, when it is necessary to select a target business capability that meets the business capability type requirements and service level association parameters from at least one candidate business capability based on the business capability information of at least one candidate business capability, the candidate capability type requirements and candidate level association parameters corresponding to the at least one candidate business capability can be determined respectively; then, the business capability type requirements and service level association parameters are verified to see whether they match the candidate capability type requirements and candidate level association parameters corresponding to each candidate business capability; and then, the matching candidate business capability is used as the target business capability that meets the business capability type requirements and service level association parameters.
[0088] The above-mentioned business capability calling method generates a business capability storage table containing at least one candidate business capability to obtain the business capability information of at least one candidate business capability from the business capability storage table, and then achieves the goal of selecting a target business capability that meets the business capability type requirements and service level association parameters from at least one candidate business capability; the business capability storage table is used to effectively store the information of each business capability, thereby ensuring the efficiency of business capability calling.
[0089] In one embodiment, if Figure 5 As shown, when a call response message for a target service capability needs to be sent to a target terminal, the following contents may be included:
[0090] S501, receiving a service capability invocation request sent by a target terminal; wherein the service capability invocation request carries service capability type requirements and service level association parameters.
[0091] S502: Acquire business capability information of at least one candidate business capability from a business capability storage table.
[0092] S503: Select at least one intermediate service capability that meets service capability type requirements from the at least one candidate service capability according to the candidate service capability type corresponding to the at least one candidate service capability.
[0093] S504: Determine a target service level coefficient corresponding to the service level association parameter.
[0094] S505: for each intermediate service capability, verify whether the target service level coefficient is the same as the candidate service level coefficient of the intermediate service capability.
[0095] S506: If they are the same, the intermediate service capability is used as the target service capability.
[0096] S507: Send a call response message for the target service capability to the target terminal, so that the target terminal calls the target service capability.
[0097] In one embodiment, a business capability calling system for executing a business capability calling method may be pre-set, such as Figure 6 As shown, the business capability calling system includes a business capability management platform and a business capability development scenario, wherein the business capability management platform includes a business capability calling module and a business capability management module; the business capability development scenario includes a business capability evaluation module;
[0098] Specifically, in the process of generating a business capability storage table including at least one candidate business capability, Figure 7 As shown, the following contents are included: the business capability in the business capability development environment uploads the business capability information (function, QoS, rate, etc.) to the business capability evaluation module; the business capability evaluation module records (or updates) the business capability information and performs QoS evaluation (pre-processing); the business capability evaluation module uploads the business capability information to the business capability management module in the business capability management platform; the business capability management module stores the business capability information and generates or updates a business capability storage table containing at least one candidate business capability; the business capability management module returns a response message to the business capability evaluation module; the business capability evaluation module returns a response message to the business capability.
[0099] Specifically, the process of sending a call response message for the target service capability to the target terminal is as follows: Figure 8 As shown, it includes the following contents: the target terminal sends a business capability call request to the business capability call module, and the business capability call request carries the business capability type requirement and the service level associated parameter; the business capability call module sends a business capability call request to the business capability management module, and the business capability call request carries the business capability type requirement; the business capability management module queries the business capability storage table according to the received business capability type requirement; the business capability management module returns all business capability information that meets the business capability type to the business capability call module; the business capability call module selects the business capability information returned by the business capability management module according to the candidate service level coefficient to which each type of candidate business capability belongs. The business capability call module calls the business capability of the corresponding SLA combination to the business capability development environment according to the result of the business capability information selection; the business capability call module of all business capability information that meets the business capability type returns a call response message to the target terminal.
[0100] The above-mentioned service capability calling method receives a service capability calling request sent by the target terminal to select a target service capability that meets the service capability type requirements and service level associated parameters from at least one candidate service capability according to the service capability information of at least one candidate service capability, and then sends a call response message for the target service capability to the target terminal so that the target terminal calls the target service capability. According to the above content, in the process of calling service capabilities, the present application does not only select the corresponding service capability according to the service capability type; but conducts a comprehensive analysis of at least one candidate service capability according to the service capability type requirements and service level associated parameters to select a target service capability that meets the service capability type requirements and service level associated parameters from at least one candidate service capability. Therefore, the target service capability determined by the present application can not only meet the service capability type requirements, but also meet the service level associated parameters, so that the call of the target service capability matches the application requirements, and can effectively adapt to the rich and diverse application requirements of the future network.
[0101] It should be understood that, although the steps in the flowcharts involved in the above 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 is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may 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 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.
[0102] Based on the same inventive concept, the embodiment of the present application also provides a business capability calling device for implementing the business capability calling 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 business capability calling device embodiments provided below can refer to the limitations on the business capability calling method above, and will not be repeated here.
[0103] In one embodiment, Fig. 9 As shown, a service capability calling device is provided, comprising: a receiving module 10, a selecting module 20 and a sending module 30, wherein:
[0104] The receiving module 10 is used to receive a service capability invocation request sent by a target terminal; wherein the service capability invocation request carries service capability type requirements and service level association parameters.
[0105] The selection module 20 is used to select a target service capability that meets the service capability type requirement and service level association parameters from at least one candidate service capability according to the service capability information of at least one candidate service capability.
[0106] The sending module 30 is used to send a call response message for a target service capability to a target terminal, so that the target terminal calls the target service capability.
[0107] In one embodiment, according to the candidate service capability type corresponding to the at least one candidate service capability, at least one intermediate service capability that meets the service capability type requirement is selected from the at least one candidate service capability;
[0108] Determine a target service level coefficient corresponding to the service level association parameter;
[0109] A target service capability is selected from the at least one intermediate service capability according to the target service level coefficient and the candidate service level coefficient corresponding to the at least one intermediate service capability.
[0110] In one embodiment, for each intermediate service capability, verifying whether the target service level coefficient is the same as the candidate service level coefficient of the intermediate service capability;
[0111] If they are the same, the intermediate business capability will be used as the target business capability.
[0112] In one embodiment, if the candidate service level coefficients of each intermediate service capability are not the same as the target service level coefficient, then at least one reference service capability whose candidate service level coefficient is greater than the target service level coefficient is selected from each intermediate service capability;
[0113] Determine the coefficient difference between the candidate service level coefficient and the target service level coefficient of each reference business capability;
[0114] The reference business capability corresponding to the smallest coefficient difference is used as the target business capability.
[0115] In one embodiment, obtaining business capability information of at least one candidate business capability from a business capability storage table;
[0116] According to the service capability information of at least one candidate service capability, a target service capability that meets the service capability type requirement and the service level association parameter is selected from the at least one candidate service capability.
[0117] In one embodiment, obtaining service capability information of at least one candidate service capability uploaded by a capability providing terminal;
[0118] A business capability storage table including at least one candidate business capability is generated according to the acquired business capability information.
[0119] The above-mentioned service capability calling device receives a service capability calling request sent by the target terminal to select a target service capability that meets the service capability type requirements and service level associated parameters from at least one candidate service capability according to the service capability information of at least one candidate service capability, and then sends a call response message for the target service capability to the target terminal, so that the target terminal calls the target service capability. According to the above content, in the process of calling service capabilities, the present application does not only select the corresponding service capability according to the service capability type; but conducts a comprehensive analysis of at least one candidate service capability according to the service capability type requirements and service level associated parameters, so as to select a target service capability that meets the service capability type requirements and service level associated parameters from at least one candidate service capability. Therefore, the target service capability determined by the present application can not only meet the service capability type requirements, but also meet the service level associated parameters, so that the call of the target service capability matches the application requirements, and can effectively adapt to the rich and diverse application requirements of the future network.
[0120] Each module in the above-mentioned service capability calling device can be implemented in whole or in part by software, hardware or a combination thereof. Each module 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 module above.
[0121] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.10As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are 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 and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. 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 in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a service capability calling method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0122] Those skilled in the art will understand that Fig.10 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.
[0123] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0124] Receiving a service capability invocation request sent by a target terminal; wherein the service capability invocation request carries service capability type requirements and service level association parameters;
[0125] Selecting a target business capability that meets the business capability type requirement and the service level association parameter from the at least one candidate business capability according to the business capability information of the at least one candidate business capability;
[0126] A call response message for the target service capability is sent to the target terminal, so that the target terminal calls the target service capability.
[0127] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0128] According to the candidate service capability type corresponding to the at least one candidate service capability, selecting at least one intermediate service capability that meets the service capability type requirement from the at least one candidate service capability;
[0129] Determine a target service level coefficient corresponding to the service level association parameter;
[0130] A target service capability is selected from the at least one intermediate service capability according to the target service level coefficient and the candidate service level coefficient corresponding to the at least one intermediate service capability.
[0131] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0132] For each intermediate service capability, verify whether the target service level coefficient is the same as the candidate service level coefficient of the intermediate service capability;
[0133] If they are the same, the intermediate business capability will be used as the target business capability.
[0134] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0135] If the candidate service level coefficients of each intermediate service capability are not the same as the target service level coefficient, then selecting at least one reference service capability whose candidate service level coefficient is greater than the target service level coefficient from each intermediate service capability;
[0136] Determine the coefficient difference between the candidate service level coefficient and the target service level coefficient of each reference business capability;
[0137] The reference business capability corresponding to the smallest coefficient difference is used as the target business capability.
[0138] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0139] Obtaining business capability information of at least one candidate business capability from the business capability storage table;
[0140] According to the service capability information of at least one candidate service capability, a target service capability that meets the service capability type requirement and the service level association parameter is selected from the at least one candidate service capability.
[0141] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0142] Acquire service capability information of at least one candidate service capability uploaded by the capability providing terminal;
[0143] A business capability storage table including at least one candidate business capability is generated according to the acquired business capability information.
[0144] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0145] Receiving a service capability invocation request sent by a target terminal; wherein the service capability invocation request carries service capability type requirements and service level association parameters;
[0146] Selecting a target business capability that meets the business capability type requirement and the service level association parameter from the at least one candidate business capability according to the business capability information of the at least one candidate business capability;
[0147] A call response message for the target service capability is sent to the target terminal, so that the target terminal calls the target service capability.
[0148] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0149] According to the candidate service capability type corresponding to the at least one candidate service capability, selecting at least one intermediate service capability that meets the service capability type requirement from the at least one candidate service capability;
[0150] Determine a target service level coefficient corresponding to the service level association parameter;
[0151] A target service capability is selected from the at least one intermediate service capability according to the target service level coefficient and the candidate service level coefficient corresponding to the at least one intermediate service capability.
[0152] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0153] For each intermediate service capability, verify whether the target service level coefficient is the same as the candidate service level coefficient of the intermediate service capability;
[0154] If they are the same, the intermediate business capability will be used as the target business capability.
[0155] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0156] If the candidate service level coefficients of each intermediate service capability are not the same as the target service level coefficient, then selecting at least one reference service capability whose candidate service level coefficient is greater than the target service level coefficient from each intermediate service capability;
[0157] Determine the coefficient difference between the candidate service level coefficient and the target service level coefficient of each reference business capability;
[0158] The reference business capability corresponding to the smallest coefficient difference is used as the target business capability.
[0159] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0160] Obtaining business capability information of at least one candidate business capability from the business capability storage table;
[0161] According to the service capability information of at least one candidate service capability, a target service capability that meets the service capability type requirement and the service level association parameter is selected from the at least one candidate service capability.
[0162] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0163] Acquire service capability information of at least one candidate service capability uploaded by the capability providing terminal;
[0164] A business capability storage table including at least one candidate business capability is generated according to the acquired business capability information.
[0165] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0166] Receiving a service capability invocation request sent by a target terminal; wherein the service capability invocation request carries service capability type requirements and service level association parameters;
[0167] Selecting a target business capability that meets the business capability type requirement and the service level association parameter from the at least one candidate business capability according to the business capability information of the at least one candidate business capability;
[0168] A call response message for the target service capability is sent to the target terminal, so that the target terminal calls the target service capability.
[0169] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0170] According to the candidate service capability type corresponding to the at least one candidate service capability, selecting at least one intermediate service capability that meets the service capability type requirement from the at least one candidate service capability;
[0171] Determine a target service level coefficient corresponding to the service level association parameter;
[0172] A target service capability is selected from the at least one intermediate service capability according to the target service level coefficient and the candidate service level coefficient corresponding to the at least one intermediate service capability.
[0173] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0174] For each intermediate service capability, verify whether the target service level coefficient is the same as the candidate service level coefficient of the intermediate service capability;
[0175] If they are the same, the intermediate business capability will be used as the target business capability.
[0176] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0177] If the candidate service level coefficients of each intermediate service capability are not the same as the target service level coefficient, then selecting at least one reference service capability whose candidate service level coefficient is greater than the target service level coefficient from each intermediate service capability;
[0178] Determine the coefficient difference between the candidate service level coefficient and the target service level coefficient of each reference business capability;
[0179] The reference business capability corresponding to the smallest coefficient difference is used as the target business capability.
[0180] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0181] Obtaining business capability information of at least one candidate business capability from the business capability storage table;
[0182] According to the service capability information of at least one candidate service capability, a target service capability that meets the service capability type requirement and the service level association parameter is selected from the at least one candidate service capability.
[0183] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0184] Acquire service capability information of at least one candidate service capability uploaded by the capability providing terminal;
[0185] A business capability storage table including at least one candidate business capability is generated according to the acquired business capability information.
[0186] 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, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0187] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments 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.
[0188] 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.
[0189] The above 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 calling a business capability, characterized in that: The method comprises: Receiving a service capability invocation request sent by a target terminal; wherein the service capability invocation request carries service capability type requirements and service level association parameters; Selecting, according to the service capability information of at least one candidate service capability, a target service capability that meets the service capability type requirement and service level association parameter from the at least one candidate service capability; A call response message for the target service capability is sent to the target terminal, so that the target terminal calls the target service capability.
2. The method according to claim 1, characterized in that The service capability information includes candidate service capability types and candidate service level coefficients; The selecting, according to the service capability information of at least one candidate service capability, a target service capability that meets the service capability type requirement and the service level association parameter from at least one candidate service capability comprises: According to the candidate service capability type corresponding to the at least one candidate service capability, selecting at least one intermediate service capability that meets the service capability type requirement from the at least one candidate service capability; Determining a target service level coefficient corresponding to the service level association parameter; A target service capability is selected from the at least one intermediate service capability according to the target service level coefficient and the candidate service level coefficient corresponding to the at least one intermediate service capability.
3. The method according to claim 2, characterized in that The selecting a target service capability from the at least one intermediate service capability according to the target service level coefficient and the candidate service level coefficient corresponding to the at least one intermediate service capability comprises: For each intermediate service capability, verifying whether the target service level coefficient is the same as the candidate service level coefficient of the intermediate service capability; If they are the same, the intermediate service capability is used as the target service capability.
4. The method according to claim 2, characterized in that: The selecting a target service capability from the at least one intermediate service capability according to the target service level coefficient and the candidate service level coefficient corresponding to the at least one intermediate service capability comprises: If the candidate service level coefficients of the intermediate service capabilities are all different from the target service level coefficient, selecting at least one reference service capability whose candidate service level coefficient is greater than the target service level coefficient from the intermediate service capabilities; Determining a coefficient difference between a candidate service level coefficient of each of the reference service capabilities and the target service level coefficient; The reference business capability corresponding to the smallest coefficient difference is used as the target business capability.
5. The method according to claim 1, characterized in that The selecting, according to the service capability information of at least one candidate service capability, a target service capability that meets the service capability type requirement and the service level association parameter from the at least one candidate service capability comprises: Acquire business capability information of at least one candidate business capability from the business capability storage table; According to the service capability information of at least one candidate service capability, a target service capability that meets the service capability type requirement and the service level association parameter is selected from the at least one candidate service capability.
6. The method according to claim 5, characterized in that The method further comprises: Acquire service capability information of at least one candidate service capability uploaded by the capability providing terminal; A business capability storage table including at least one candidate business capability is generated according to the acquired business capability information.
7. A service capability calling device, characterized in that: The device comprises: A receiving module, configured to receive a service capability call request sent by a target terminal; wherein the service capability call request carries service capability type requirements and service level association parameters; A selection module, configured to select, based on the business capability information of at least one candidate business capability, a target business capability that meets the business capability type requirement and the service level association parameter from the at least one candidate business capability; The sending module is used to send a call response message for the target service capability to the target terminal, so that the target terminal calls the target service capability.
8. 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 6 are implemented.
9. 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 6 are implemented.
10. 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 6 are implemented.
Citation Information
Patent Citations
Network capability opening method, network system, equipment and storage medium
CN113300899A
Method for providing resources for satisfying business requirements of user
CN117294611A
Business function calling method and device, computer equipment and storage medium
CN119025194A
Method, system and network server for recording use of network service capability by applications
US20060282515A1