Business capability calling method and device, computer device and storage medium

By receiving and analyzing business capability invocation requests and selecting target business capabilities that meet the type requirements and service level association parameters, the problem of inconsistent service quality of business capabilities in different platform development environments is solved, and efficient matching and invocation of business capabilities is achieved.

CN119676317BActive Publication Date: 2025-11-07CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411791129.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-11-07
Estimated Expiration
2044-12-06

AI Technical Summary

Technical Problem

Existing technologies cannot effectively cope with the business requirements of a large number of new applications, diverse needs, and complex mechanisms in the future network environment, especially when the service quality of business capabilities is inconsistent under the diverse development environments and tools of different platforms.

Method used

By receiving the service capability call request from the target terminal, selecting the target service capability that meets the requirements from the candidate service capabilities according to the service capability type requirements and service level association parameters, and sending a call response message to the terminal, the matching and calling of the service capability is realized.

Benefits of technology

It achieves comprehensive matching of service capability type requirements and service level correlation parameters, meeting the diverse application needs of future networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119676317B_ABST
    Figure CN119676317B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of core networks, in particular to a service capability calling method and device, computer equipment and a storage medium. The method comprises the following steps: receiving a service capability calling request sent by a target terminal; the service capability calling request carries a service capability type requirement and a service level association parameter; selecting a target service capability meeting the service capability type requirement and the service level association parameter from at least one candidate service capability according to service capability information of the at least one candidate service capability; and sending a calling response message for the target service capability to the target terminal, so that the target terminal calls the target service capability. The application selects the target service capability meeting the service capability type requirement and the service level association parameter from the at least one candidate service capability, so that the calling of the target service capability matches the application requirement, and the future network can effectively adapt to various application requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of core network technology, and in particular to a service capability invocation method, apparatus, computer equipment, and storage medium. Background Technology

[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 quality of service (QoS).

[0003] Furthermore, new applications in the future network will require the invocation of various types of business capabilities. Given the diverse business needs of these new applications, current technologies are unable to cope with the increasingly large number, diverse requirements, and complex mechanisms of these new applications. Summary of the Invention

[0004] Therefore, it is necessary to provide a method, device, computer equipment, and storage medium for invoking business capabilities that can meet the business requirements of new applications with a larger number of applications, more diverse needs, and more complex mechanisms, in order to address the above-mentioned technical problems.

[0005] Firstly, this application provides a method for invoking business capabilities. The method includes:

[0006] Receive a service capability invocation request sent by the target terminal; wherein the service capability invocation request carries service capability type requirements and service level association parameters;

[0007] Based on the business capability information of at least one candidate business capability, select a target business capability from the at least one candidate business capability that meets the business capability type requirements and service level association parameters;

[0008] A call response message for the target service capability is sent to the target terminal so that the target terminal can invoke the target service capability.

[0009] In one embodiment, the service capability information includes candidate service capability types and candidate service level coefficients;

[0010] The step 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 based on the business capability information of at least one candidate business capability includes:

[0011] Based on the candidate business capability type corresponding to the at least one candidate business capability, select at least one intermediate business capability that meets the requirements of the business capability type from the at least one candidate business capability;

[0012] determining a target service level coefficient corresponding to the service level association parameter;

[0013] selecting a target service capability from the at least one intermediate service capability according to the target service level coefficient and a candidate service level coefficient corresponding to the at least one intermediate service capability.

[0014] In one embodiment, the selecting a target service capability from the at least one intermediate service capability according to the target service level coefficient and a candidate service level coefficient corresponding to the at least one intermediate service capability comprises:

[0015] verifying whether the target service level coefficient is identical to the candidate service level coefficient of each intermediate service capability;

[0016] if identical, taking the intermediate service capability as the target service capability.

[0017] In one embodiment, the selecting a target service capability from the at least one intermediate service capability according to the target service level coefficient and a candidate service level coefficient corresponding to the at least one intermediate service capability comprises:

[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 from the intermediate service capabilities, whose candidate service level coefficient is greater than the target service level coefficient;

[0019] determining a coefficient difference between the candidate service level coefficient of each reference service capability and the target service level coefficient;

[0020] taking the reference service capability corresponding to the smallest coefficient difference as the target service capability.

[0021] In one embodiment, the selecting a target service capability from the at least one candidate service capability according to the service capability information of the at least one candidate service capability comprises:

[0022] obtaining the service capability information of at least one candidate service capability from a service capability storage table;

[0023] selecting a target service capability from the at least one candidate service capability according to the service capability information of the at least one candidate service capability.

[0024] In one embodiment, the method further comprises:

[0025] The acquisition capability provides service capability information of at least one candidate service capability uploaded by the terminal;

[0026] According to the acquired service capability information, a service capability storage table containing at least one candidate service capability is generated.

[0027] In a second aspect, the application further provides a service capability calling device. The device comprises:

[0028] The receiving module is configured to receive a service capability calling request sent by a target terminal, wherein the service capability calling request carries a service capability type requirement and a service level association parameter;

[0029] The selecting module is configured to select a target service capability meeting the service capability type requirement and the service level association parameter from at least one candidate service capability according to service capability information of the at least one candidate service capability;

[0030] The sending module is configured to send a calling 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 application further provides a computer device. The computer device comprises a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0032] The receiving module is configured to receive a service capability calling request sent by a target terminal, wherein the service capability calling request carries a service capability type requirement and a service level association parameter;

[0033] The selecting module is configured to select a target service capability meeting the service capability type requirement and the service level association parameter from at least one candidate service capability according to service capability information of the at least one candidate service capability;

[0034] The sending module is configured to send a calling response message for the target service capability to the target terminal, so that the target terminal calls the target service capability.

[0035] In a fourth aspect, the application further provides a computer readable storage medium. The computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the following steps:

[0036] The receiving module is configured to receive a service capability calling request sent by a target terminal, wherein the service capability calling request carries a service capability type requirement and a service level association parameter;

[0037] select a target service capability meeting the service capability type requirement and the service level correlation parameter from the at least one candidate service capability according to service capability information of the at least one candidate service capability;

[0038] send a calling response message for the target service capability 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 comprises a computer program which, when executed by a processor, implements the following steps:

[0040] receive a service capability calling request sent by a target terminal; wherein the service capability calling request carries a service capability type requirement and a service level correlation parameter;

[0041] select a target service capability meeting the service capability type requirement and the service level correlation parameter from the at least one candidate service capability according to service capability information of the at least one candidate service capability;

[0042] send a calling response message for the target service capability to the target terminal, so that the target terminal calls the target service capability.

[0043] The service capability calling method, device, computer device and storage medium described above receive a service capability calling request sent by a target terminal, so as to select a target service capability meeting a service capability type requirement and a service level correlation parameter from at least one candidate service capability according to service capability information of the at least one candidate service capability, and then send a calling 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, it can be known that, in the process of calling a service capability, the present application does not only select a corresponding service capability according to a service capability type, but also comprehensively analyzes at least one candidate service capability according to a service capability type requirement and a service level correlation parameter, so as to select a target service capability meeting the service capability type requirement and the service level correlation parameter from the at least one candidate service capability. Therefore, the target service capability determined by the present application can not only meet the service capability type requirement, but also meet the service level correlation parameter, so that the calling of the target service capability matches the application requirement, and can effectively adapt to the rich and varied application requirement of future networks. BRIEF DESCRIPTION OF DRAWINGS

[0044] Figure 1 An application environment diagram of a service capability calling method provided by an embodiment of the present application;

[0045] Figure 2A flowchart of a first service capability calling method provided by an embodiment of the present application is shown in FIG. 1;

[0046] Figure 3 A flowchart of a second service capability calling method provided by an embodiment of the present application is shown in FIG. 2;

[0047] Figure 4 A flowchart of a third service capability calling method provided by an embodiment of the present application is shown in FIG. 3;

[0048] Figure 5 A flowchart of a fourth service capability calling method provided by an embodiment of the present application is shown in FIG. 4

[0049] Figure 6 A schematic diagram of a service capability calling system provided by an embodiment of the present application is shown in FIG. 5;

[0050] Figure 7 A signaling diagram of a service capability storage table determining process provided by an embodiment of the present application is shown in FIG. 6;

[0051] Figure 8 A signaling diagram of a service capability calling process provided by an embodiment of the present application is shown in FIG. 7;

[0052] Figure 9 A structural block diagram of a service capability calling apparatus provided by an embodiment of the present application is shown in FIG. 8;

[0053] Figure 10 An internal structure diagram of a computer device in an embodiment is shown in FIG. 9. DETAILED DESCRIPTION

[0054] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and should not be used to limit the present application.

[0055] The service capability calling method provided by the embodiments of the present application can be applied to, for example, Figure 1The application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data required by the server 104 to process. The data storage system can be integrated on the server 104, or placed on the cloud or other network servers. By receiving the service capability invocation request sent by the target terminal, the target service capability that meets the service capability type requirement and the service level association parameter is selected from at least one candidate service capability according to the service capability information of at least one candidate service capability, and then the invocation response message for the target service capability is sent to the target terminal, so that the target terminal invokes the target service capability. Among them, the terminal 102 can be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, Internet of Things devices and portable wearable devices, Internet of Things devices can be smart speakers, smart televisions, smart air conditioners, smart car devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be realized by an independent server or a server cluster composed of multiple servers.

[0056] In one embodiment, as shown in Figure 2 , a service capability invocation method is provided, which is applied to the server 104 in Figure 1 for example, including the following steps:

[0057] S201, receiving the service capability invocation request sent by the target terminal.

[0058] Among them, the service capability invocation request carries the service capability type requirement and the service level association parameter.

[0059] It should be noted that the service capability type requirement is used to represent the capability type of the service capability required by the target terminal, wherein the capability type can include but not limited to rendering capability, artificial intelligence capability and presentation capability, etc.; the service level association parameter has a corresponding relationship with the service quality of the service capability required by the target terminal.

[0060] In an embodiment of the present application, if the service capability invocation request sent by the target terminal is received, it is verified whether the invocation request contains the service capability type requirement and the service level association parameter, if yes, the subsequent steps are executed; if not, the request missing feedback is sent to the target terminal, wherein the request missing feedback indicates the missing service capability type requirement and / or service level association parameter in the service capability invocation request.

[0061] In another embodiment of the present application, if the service capability invoking request sent by the target terminal is received, it is verified whether the service capability type requirement and the service level association parameter contained in the invoking request are valid, if both are valid, the subsequent step is executed; if there is invalid service capability type requirement and / or service level association parameter, the request invalid feedback is sent to the target terminal, wherein the request invalid feedback indicates the invalid service capability type requirement and / or service level association parameter in the service capability invoking request.

[0062] Further, when verifying whether the service capability type requirement and the service level association parameter are valid, the capability type requirement white list can be preset, and the parameter range of the level association parameter is determined; then, it is verified whether the service capability type requirement belongs to the capability type requirement white list, if yes, it is determined that the service capability type requirement is valid; if no, it is determined that the service capability type requirement is invalid. It is verified whether the service level association parameter belongs to the parameter range of the level association parameter, if yes, it is determined that the service level association parameter is valid; if no, it is determined that the service level association parameter is invalid.

[0063] S202, according to the service capability information of the at least one candidate service capability, selecting the target service capability meeting the service capability type requirement and the service level association parameter from the at least one candidate service capability.

[0064] The service capability information is the candidate capability type requirement and the candidate level association parameter of the candidate service capability.

[0065] It should be noted that when the target service capability meeting the service capability type requirement and the service level association parameter is selected from the at least one candidate service capability, the candidate capability type requirement and the candidate level association parameter corresponding to each candidate service capability are determined respectively; then, it is verified whether the service capability type requirement and the service level association parameter match the candidate capability type requirement and the candidate level association parameter corresponding to each candidate service capability respectively, and then the matched candidate service capability is taken as the target service capability meeting the service capability type requirement and the service level association parameter.

[0066] S203, sending the invoking response message for the target service capability to the target terminal, so that the target terminal invokes the target service capability.

[0067] In an embodiment of the present application, the invoking response message contains the invoking address of the target service capability, so that the target device can invoke the target service capability according to the invoking address of the target service capability.

[0068] The service capability calling method receives the service capability calling request sent by the target terminal, selects the target service capability meeting the service capability type requirement and the service level correlation parameter from the at least one candidate service capability according to the service capability information of the at least one candidate service capability, and then sends the calling 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 the service capability, the application not only selects the corresponding service capability according to the service capability type, but also comprehensively analyzes the at least one candidate service capability according to the service capability type requirement and the service level correlation parameter, so as to select the target service capability meeting the service capability type requirement and the service level correlation parameter from the at least one candidate service capability. Therefore, the target service capability determined by the application can not only meet the service capability type requirement, but also meet the service level correlation parameter, so that the calling of the target service capability matches the application requirement and can effectively adapt to the rich and diverse application requirements of future networks.

[0069] In an embodiment, as shown in Figure 3 The service capability information includes the candidate service capability type and the candidate service level coefficient; therefore, when it is required to select the target service capability meeting the service capability type requirement and the service level correlation parameter from the at least one candidate service capability according to the service capability information of the at least one candidate service capability, the following content can be included:

[0070] S301, selecting at least one intermediate service capability meeting the service capability type requirement from the at least one candidate service capability according to the candidate service capability type corresponding to the at least one candidate service capability.

[0071] In an embodiment of the application, when it is required to determine the at least one intermediate service capability meeting the service capability type requirement, the following content can be included: comparing the candidate service capability type corresponding to the at least one candidate service capability with the service capability type requirement respectively, judging whether each candidate service capability type meets the service capability type requirement, and if the candidate service capability type of a certain candidate service capability meets the service capability type requirement, regarding the candidate service capability as the intermediate service capability meeting the service capability type requirement.

[0072] S302, determining the target service level coefficient corresponding to the service level correlation parameter.

[0073] It should be noted that when it is required to determine the target service level coefficient corresponding to the service level correlation parameter, the correspondence between the candidate level correlation parameter and the candidate service level coefficient can be determined in advance, and then the target service level coefficient corresponding to the service level correlation parameter is determined according to the correspondence.

[0074] The correspondence relationship records at least one candidate grade association parameter, and each candidate grade association parameter corresponds to a candidate service grade coefficient.

[0075] Specifically, when the target service grade coefficient corresponding to the service grade association parameter is determined according to the correspondence relationship, the following operations can be included: selecting a reference grade association parameter same as the service grade association parameter from the at least one candidate grade association parameter recorded in the correspondence relationship, and then taking the candidate service grade coefficient corresponding to the reference grade association parameter in the correspondence relationship as the target service grade coefficient corresponding to the service grade association parameter.

[0076] S303, selecting a target service capability from the at least one intermediate service capability according to the target service grade coefficient and the candidate service grade coefficient corresponding to the at least one intermediate service capability.

[0077] It should be noted that when the target service capability is selected from the at least one intermediate service capability according to the target service grade coefficient and the candidate service grade coefficient corresponding to the at least one intermediate service capability, the following operations can be included: verifying whether the target service grade coefficient is same as the candidate service grade coefficient of each intermediate service capability; if yes, the intermediate service capability is taken as the target service capability.

[0078] Further, if the candidate service grade coefficients of the intermediate service capabilities are all different from the target service grade coefficient, the target service capability can be selected from the at least one intermediate service capability according to a preset screening rule.

[0079] Specifically, if the candidate service grade coefficients of the intermediate service capabilities are all different from the target service grade coefficient, at least one reference service capability whose candidate service grade coefficient is greater than the target service grade coefficient is selected from the intermediate service capabilities; a coefficient difference between the candidate service grade coefficient of each reference service capability and the target service grade coefficient is determined; and the reference service capability corresponding to the smallest coefficient difference is taken as the target service capability.

[0080] As an example, the service capability invocation request of the immersive communication type service A is a service capability whose service capability type requirement is rendering capability, AI capability and presentation capability, and whose corresponding service level association parameters are W1, W2 and W3 respectively. According to the corresponding relationship, the corresponding target service level coefficients are determined, i.e., the rendering capability with SLA(1)=5, the AI capability with SLA(2)=4 and the presentation capability with SLA(3)=2; it is determined that the invocable type rendering capability SLA is 2, 3, 5 and 6, the AI capability SLA is 3, 5 and 6, and the presentation capability is 1 and 3. According to the above service capability selection method, the final selection is the rendering capability with SLA(1)=5, the AI capability with SLA(2)=5 and the presentation capability with SLA(3)=3, and the three SLA corresponding capability combinations are the result of the corresponding selection of the weight coefficient.

[0081] The above service capability invocation method selects at least one intermediate service capability meeting the service capability type requirement from at least one candidate service capability, and selects a target service capability from the at least one intermediate service capability according to the target service level coefficient, so that the invocation of the target service capability matches the application requirement and can effectively adapt to the rich and diverse application requirements of future networks.

[0082] In an embodiment, as shown in Figure 4 When it is required to select a target service capability meeting the service capability type requirement and the service level association parameter from at least one candidate service capability according to the service capability information of the at least one candidate service capability, the following content can be included:

[0083] S401, obtaining the service capability information of at least one candidate service capability from the service capability storage table.

[0084] It should be noted that the service capability storage table records the service capability information of at least one candidate service capability;

[0085] In an embodiment of the present application, when it is required to construct the service capability storage table, the following content can be included: obtaining the service capability information of at least one candidate service capability uploaded by the capability providing terminal; generating the service capability storage table containing at least one candidate service capability according to the obtained service capability information.

[0086] S402, selecting a target service capability meeting the service capability type requirement and the service level association parameter from at least one candidate service capability according to the service capability information of the at least one candidate service capability.

[0087] In an embodiment of the present application, when it is required to select a target service capability meeting the service capability type requirement and the service level correlation parameter from at least one candidate service capability according to the service capability information of the at least one candidate service capability, the candidate capability type requirement and the candidate level correlation parameter corresponding to the at least one candidate service capability respectively can be determined; then, it is verified whether the service capability type requirement and the service level correlation parameter match the candidate capability type requirement and the candidate level correlation parameter corresponding to each candidate service capability respectively, and then the matched candidate service capability is taken as the target service capability meeting the service capability type requirement and the service level correlation parameter.

[0088] The above service capability calling method can realize the acquisition of the service capability information of the at least one candidate service capability from the service capability storage table, and then realize the selection of the target service capability meeting the service capability type requirement and the service level correlation parameter from the at least one candidate service capability by generating the service capability storage table containing the at least one candidate service capability. The service capability storage table realizes the effective storage of each service capability information, and guarantees the efficiency of the service capability calling.

[0089] In an embodiment, as shown in Figure 5 When it is required to send the calling response message for the target service capability to the target terminal, the following content can be included:

[0090] S501, receiving the service capability calling request sent by the target terminal; wherein the service capability calling request carries the service capability type requirement and the service level correlation parameter.

[0091] S502, acquiring the service capability information of the at least one candidate service capability from the service capability storage table.

[0092] S503, selecting at least one intermediate service capability meeting the service capability type requirement 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, determining the target service level coefficient corresponding to the service level correlation parameter.

[0094] S505, verifying whether the target service level coefficient is same as the candidate service level coefficient of the intermediate service capability for each intermediate service capability.

[0095] S506, if same, taking the intermediate service capability as the target service capability.

[0096] S507, sending the calling 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 invocation system that executes the business capability invocation method can be pre-configured, such as... Figure 6 As shown, the business capability invocation system includes a business capability management platform and a business capability development scenario. The business capability management platform includes a business capability invocation module and a business capability management module; the business capability development scenario includes a business capability evaluation module.

[0098] Specifically, the process of generating a business capability storage table containing at least one candidate business capability is as follows: Figure 7 As shown, the process includes the following: Business capabilities in the business capability development environment upload business capability information (functions, QoS, rates, 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; and 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, the process includes the following: The target terminal sends a service capability invocation request to the service capability invocation module, the request carrying service capability type requirements and service level association parameters; the service capability invocation module sends a service capability invocation request to the service capability management module, carrying service capability type requirements; the service capability management module queries the service capability storage table based on the received service capability type requirements; the service capability management module returns all service capability information matching the service capability type to the service capability invocation module; the service capability invocation module selects the service capability information returned by the service capability management module based on the candidate service level coefficient of each type of candidate service capability; based on the selection result, the service capability invocation module invokes the service capability corresponding to the SLA combination to the service capability development environment; the service capability invocation module returns a call response message to the target terminal for all service capability information matching the service capability type.

[0100] The service capability calling method disclosed above achieves selection of a target service capability meeting the service capability type requirement and the service level correlation parameter from the at least one candidate service capability according to the service capability information of the at least one candidate service capability by receiving the service capability calling request sent by the target terminal, and then sends a calling response message for the target service capability to the target terminal to make the target terminal call the target service capability. According to the above content, it can be known that in the process of calling the service capability, the application not only selects the corresponding service capability according to the service capability type, but also comprehensively analyzes the at least one candidate service capability according to the service capability type requirement and the service level correlation parameter to select the target service capability meeting the service capability type requirement and the service level correlation parameter from the at least one candidate service capability. Therefore, the target service capability determined by the application can not only meet the service capability type requirement, but also meet the service level correlation parameter, so that the calling of the target service capability matches the application requirement and can effectively adapt to the rich and diverse application requirement of the future network.

[0101] It should be understood that, although each step in the flowchart involved in each of the above embodiments is shown in sequence according to the arrow, these steps are not necessarily executed in sequence according to the order of the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other orders. Moreover, at least part of the steps in the flowchart involved in each of the above embodiments can include multiple steps or multiple stages, which 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 sequential, but can be executed alternately or alternately with at least part of other steps or steps or stages in other steps.

[0102] Based on the same inventive concept, the application embodiment also provides a service capability calling device for implementing the above-mentioned service capability calling method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more service capability calling device embodiments provided below can refer to the limitations of the service capability calling method in the above text, which will not be repeated here.

[0103] In one embodiment, as shown in Figure 9 A service capability calling device is provided, comprising: a receiving module 10, a selection module 20 and a sending module 30, wherein:

[0104] The receiving module 10 is configured to receive a service capability calling request sent by a target terminal; wherein the service capability calling request carries a service capability type requirement and a service level correlation parameter.

[0105] The selecting module 20 is configured to select a target service capability from the at least one candidate service capability according to the service capability information of the at least one candidate service capability, and the target service capability meets the service capability type requirement and the service level correlation parameter.

[0106] The sending module 30 is configured 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.

[0107] In an embodiment, at least one intermediate service capability meeting the service capability type requirement is selected from the at least one candidate service capability according to the candidate service capability type corresponding to the at least one candidate service capability;

[0108] A target service level coefficient corresponding to the service level correlation parameter is determined.

[0109] The target service capability is selected from the at least one intermediate service capability according to the target service level coefficient and a candidate service level coefficient corresponding to the at least one intermediate service capability.

[0110] In an embodiment, for each intermediate service capability, it is verified whether the target service level coefficient is the same as the candidate service level coefficient of the intermediate service capability;

[0111] If the target service level coefficient is the same as the candidate service level coefficient of the intermediate service capability, the intermediate service capability is taken as the target service capability.

[0112] In an embodiment, if the candidate service level coefficients of the intermediate service capabilities are all different from the target service level coefficient, at least one reference service capability with a candidate service level coefficient greater than the target service level coefficient is selected from the intermediate service capabilities;

[0113] A coefficient difference value between the candidate service level coefficient of each reference service capability and the target service level coefficient is determined.

[0114] The reference service capability corresponding to the smallest coefficient difference value is taken as the target service capability.

[0115] In an embodiment, the service capability information of the at least one candidate service capability is obtained from a service capability storage table;

[0116] The target service capability is selected from the at least one candidate service capability according to the service capability information of the at least one candidate service capability, and the target service capability meets the service capability type requirement and the service level correlation parameter.

[0117] In an embodiment, the service capability information of the at least one candidate service capability uploaded by the capability providing terminal is obtained;

[0118] The service capability storage table containing the at least one candidate service capability is generated according to the obtained service capability information.

[0119] The service capability calling device selects the target service capability meeting the service capability type requirement and the service level correlation parameter from the at least one candidate service capability according to the service capability information of the at least one candidate service capability, and then sends a calling response message to the target terminal, so that the target terminal calls the target service capability. According to the above content, in the process of calling the service capability, the application not only selects the corresponding service capability according to the service capability type, but also comprehensively analyzes the at least one candidate service capability according to the service capability type requirement and the service level correlation parameter, so as to select the target service capability meeting the service capability type requirement and the service level correlation parameter from the at least one candidate service capability. Therefore, the target service capability determined by the application can not only meet the service capability type requirement, but also meet the service level correlation parameter, so that the calling of the target service capability matches the application requirement and can effectively adapt to the rich and diverse application requirement of the future network.

[0120] The modules in the service capability calling device can be all or partially realized by software, hardware and a combination thereof. The modules can be embedded in or independent of a processor in a computer device in a hardware form, or stored in a memory in the computer device in a software form, so as to be called and executed by the processor to perform the operations corresponding to the modules.

[0121] In one embodiment, a computer device is provided, which can be a terminal, and an internal structure diagram of the computer device can be as shown in Figure 10The 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. 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 configured 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 running the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is configured to exchange information between the processor and external devices. The communication interface of the computer device is configured to perform wired or wireless communication with external terminals. The wireless communication can be achieved through WIFI, mobile cellular network, NFC (Near Field Communication) or other technologies. The computer program is executed by the processor to implement a service capability invoking method. The display unit of the computer device is configured 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. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, a trackball or a touchpad arranged on the shell of the computer device, or an external keyboard, a touchpad or a mouse, etc.

[0122] Those skilled in the art can understand that Figure 10 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can 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, the memory storing a computer program, and the processor executing the computer program to implement the following steps:

[0124] receiving a service capability invoking request sent by a target terminal; wherein the service capability invoking request carries a service capability type requirement and a service level association parameter;

[0125] selecting a target service capability from at least one candidate service capability according to service capability information of the at least one candidate service capability, the target service capability meeting the service capability type requirement and the service level association parameter;

[0126] sending an invoking response message for the target service capability to the target terminal, so that the target terminal invokes the target service capability.

[0127] In one embodiment, the processor executing the computer program further implements the following steps:

[0128] selecting at least one intermediate service capability from the at least one candidate service capability according to the at least one candidate service capability type and the service capability type requirement;

[0129] determining a target service level coefficient corresponding to the service level association parameter;

[0130] selecting a target service capability from the at least one intermediate service capability according to the target service level coefficient and a candidate service level coefficient corresponding to the at least one intermediate service capability.

[0131] In one embodiment, the processor, when executing the computer program, further implements the following steps:

[0132] verifying whether the target service level coefficient is identical to a candidate service level coefficient of each intermediate service capability;

[0133] if identical, taking the intermediate service capability as the target service capability.

[0134] In one embodiment, the processor, when executing the computer program, further implements the following steps:

[0135] 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 from the intermediate service capabilities, whose candidate service level coefficient is greater than the target service level coefficient;

[0136] determining a coefficient difference between the candidate service level coefficient of each reference service capability and the target service level coefficient;

[0137] taking the reference service capability corresponding to the smallest coefficient difference as the target service capability.

[0138] In one embodiment, the processor, when executing the computer program, further implements the following steps:

[0139] obtaining service capability information of the at least one candidate service capability from the service capability storage table;

[0140] selecting a target service capability from the at least one candidate service capability according to the service capability information of the at least one candidate service capability and the service capability type requirement and the service level association parameter.

[0141] In one embodiment, the processor, when executing the computer program, further implements the following steps:

[0142] obtaining service capability information of at least one candidate service capability uploaded by a capability providing terminal;

[0143] According to the acquired service capability information, a service capability storage table containing at least one candidate service capability is generated.

[0144] In one embodiment, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the following steps:

[0145] Receiving a service capability invocation request sent by a target terminal; wherein the service capability invocation request carries a service capability type requirement and a service level association parameter;

[0146] According to the service capability information of the at least one candidate service capability, a target service capability meeting the service capability type requirement and the service level association parameter is selected from the at least one candidate service capability;

[0147] Sending an invocation response message for the target service capability to the target terminal, so that the target terminal invokes the target service capability.

[0148] In one embodiment, the computer program is executed by the processor to further implement the following steps:

[0149] According to the candidate service capability type corresponding to the at least one candidate service capability, at least one intermediate service capability meeting the service capability type requirement is selected from the at least one candidate service capability;

[0150] Determining a target service level coefficient corresponding to the service level association parameter;

[0151] According to the target service level coefficient and the candidate service level coefficient corresponding to the at least one intermediate service capability, the target service capability is selected from the at least one intermediate service capability.

[0152] In one embodiment, the computer program is executed by the processor to further implement the following steps:

[0153] For each intermediate service capability, it is verified whether the target service level coefficient is the same as the candidate service level coefficient of the intermediate service capability;

[0154] If the same, the intermediate service capability is taken as the target service capability.

[0155] In one embodiment, the computer program is executed by the processor to further implement the following steps:

[0156] If the candidate service level coefficients of the intermediate service capabilities are all different from the target service level coefficient, at least one reference service capability with a candidate service level coefficient greater than the target service level coefficient is selected from the intermediate service capabilities;

[0157] Determining a coefficient difference value between the candidate service level coefficients of the reference service capabilities and the target service level coefficient;

[0158] The reference service capability corresponding to the minimum coefficient difference is taken as the target service capability.

[0159] In one embodiment, the computer program, when executed by the processor, further implements the following steps:

[0160] Obtaining service capability information of the at least one candidate service capability from the service capability storage table;

[0161] According to the service capability information of the at least one candidate service capability, selecting a target service capability from the at least one candidate service capability that meets the service capability type requirement and the service level correlation parameter.

[0162] In one embodiment, the computer program, when executed by the processor, further implements the following steps:

[0163] Obtaining service capability information of the at least one candidate service capability uploaded by the capability providing terminal;

[0164] According to the obtained service capability information, generating a service capability storage table containing the at least one candidate service capability.

[0165] In one embodiment, a computer program product is provided, comprising a computer program that, 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 a service capability type requirement and a service level correlation parameter;

[0167] According to the service capability information of the at least one candidate service capability, selecting a target service capability from the at least one candidate service capability that meets the service capability type requirement and the service level correlation parameter.

[0168] Sending an invocation response message for the target service capability to the target terminal, so that the target terminal invokes the target service capability.

[0169] In one embodiment, the computer program, when executed by the processor, further implements the following steps:

[0170] According to the candidate service capability type corresponding to the at least one candidate service capability, selecting at least one intermediate service capability from the at least one candidate service capability that meets the service capability type requirement;

[0171] Determining a target service level coefficient corresponding to the service level correlation parameter;

[0172] According to the target service level coefficient and the candidate service level coefficient corresponding to the at least one intermediate service capability, selecting a target service capability from the at least one intermediate service capability.

[0173] In one embodiment, the computer program, when executed by the processor, further implements the following steps:

[0174] For each intermediate service capability, verifying whether the target service level coefficient is identical to the candidate service level coefficient of the intermediate service capability;

[0175] If identical, the intermediate service capability is taken as the target service capability.

[0176] In one embodiment, the computer program, when executed by the processor, further implements the following steps:

[0177] If the candidate service level coefficients of the intermediate service capabilities are all different from the target service level coefficient, at least one reference service capability with a candidate service level coefficient greater than the target service level coefficient is selected from the intermediate service capabilities;

[0178] The coefficient difference between the candidate service level coefficient of each reference service capability and the target service level coefficient is determined;

[0179] The reference service capability corresponding to the smallest coefficient difference is taken as the target service capability.

[0180] In one embodiment, the computer program, when executed by the processor, further implements the following steps:

[0181] The service capability information of at least one candidate service capability is obtained from the service capability storage table;

[0182] According to the service capability information of the at least one candidate service capability, the target service capability meeting 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, the computer program, when executed by the processor, further implements the following steps:

[0184] The service capability information of at least one candidate service capability uploaded by the capability providing terminal is obtained;

[0185] According to the obtained service capability information, the service capability storage table containing the at least one candidate service capability is generated.

[0186] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to 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 embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. The non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric memory (FRAM), phase change memory (PCM), graphene memory, etc. The volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.

[0188] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist, it should be considered as the scope of the present application.

[0189] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A service capability invocation method, characterized by, The method comprises: receiving a service capability invoking request sent by a target terminal; wherein the service capability invoking request carries a service capability type requirement and a service level association parameter; the service capability type requirement is used to represent a capability type of a service capability required by the target terminal; the service level association parameter has a corresponding relationship with a service quality of the service capability required by the target terminal; selecting a target service capability from at least one candidate service capability according to service capability information of the at least one candidate service capability, wherein the target service capability meets the service capability type requirement and the service level association parameter; sending an invoking response message for the target service capability to the target terminal, so that the target terminal invokes the target service capability in a service capability development environment; the service capability information comprises a candidate service capability type and a candidate service level coefficient; the method of selecting the target service capability from the at least one candidate service capability according to the service capability information of the at least one candidate service capability, wherein the target service capability meets the service capability type requirement and the service level association parameter, comprises: selecting at least one intermediate service capability from the at least one candidate service capability according to a candidate service capability type corresponding to the at least one candidate service capability, wherein the at least one intermediate service capability meets the service capability type requirement; determining a target service level coefficient corresponding to the service level association parameter; selecting the target service capability from the at least one intermediate service capability according to the target service level coefficient and a candidate service level coefficient corresponding to the at least one intermediate service capability.

2. The method of claim 1, wherein, the method of selecting the 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: verifying whether the target service level coefficient is the same as a candidate service level coefficient of each intermediate service capability; if the target service level coefficient is the same as the candidate service level coefficient of the intermediate service capability, then the intermediate service capability is taken as the target service capability.

3. The method of claim 1, wherein, the method of selecting the 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, then selecting at least one reference service capability having a candidate service level coefficient greater than the target service level coefficient from the intermediate service capabilities; determining a coefficient difference value between the candidate service level coefficient of each reference service capability and the target service level coefficient; taking a reference service capability corresponding to a minimum coefficient difference value as the target service capability.

4. The method of claim 1, wherein, the method of selecting the target service capability from the at least one candidate service capability according to the service capability information of the at least one candidate service capability, wherein the target service capability meets the service capability type requirement and the service level association parameter, comprises: obtaining the service capability information of the at least one candidate service capability from a service capability storage table; According to service capability information of at least one candidate service capability, a target service capability meeting the service capability type requirement and the service level correlation parameter is selected from the at least one candidate service capability.

5. The method of claim 4, wherein, The method further comprises: obtaining service capability information of at least one candidate service capability uploaded by a capability providing terminal; generating a service capability storage table containing at least one candidate service capability according to the obtained service capability information.

6. The method of claim 1, wherein, After receiving the service capability invocation request sent by the target terminal, the method further comprises: verifying whether the service capability type requirement and the service level correlation parameter are contained in the service capability invocation request; if not, sending a request missing feedback to the target terminal; wherein the request missing feedback indicates that the service capability type requirement and / or the service level correlation parameter are missing in the service capability invocation request.

7. A service capability invocation apparatus, characterized by, The device comprises: a receiving module configured to receive a service capability invocation request sent by a target terminal; wherein the service capability invocation request carries a service capability type requirement and a service level correlation parameter; the service capability type requirement is used to represent the capability type of the service capability required by the target terminal; the service level correlation parameter has a corresponding relationship with the service quality of the service capability required by the target terminal; a selecting module configured to select a target service capability meeting the service capability type requirement and the service level correlation parameter from at least one candidate service capability according to service capability information of the at least one candidate service capability; a sending module configured to send an invocation response message for the target service capability to the target terminal, so that the target terminal invokes the target service capability in a service capability development environment; the service capability information comprises a candidate service capability type and a candidate service level coefficient; the selecting module is specifically configured to select at least one intermediate service capability meeting the service capability type requirement from the at least one candidate service capability according to a candidate service capability type corresponding to the at least one candidate service capability; determine a target service level coefficient corresponding to the service level correlation parameter; and select a target service capability from the at least one intermediate service capability according to the target service level coefficient and a candidate service level coefficient corresponding to the at least one intermediate service capability. 8.A computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the computer device is configured to perform the method according to any one of claims 1-7. The processor executes the computer program to realize the steps of the method in any one of claims 1 to 6.

9. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to realize the steps of the method in any one of claims 1 to 6.

10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to realize the steps of the method in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Network capability opening method, network system, equipment and storage medium

    CN113300899A