Service capability calling method and device, computer equipment and storage medium
By receiving the service capabilities of the target terminal and selecting target service capabilities that meet the requirements, the problem of lack of collaboration and sharing among operators is solved, and flexible and accurate service capabilities are achieved.
Patent Information
- Application Number
- CN202411682878.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-03-18
AI Technical Summary
In the scenario of open business capabilities, there is a lack of collaboration and sharing mechanisms among operators, and the existing business capability call method cannot achieve the target business capabilities required to select users from different operators.
Provide a business capability calling method, by receiving the service capability calling requirements of the target terminal, selecting the target service capability that meets the needs from the candidate service capability based on the service capability information of the candidate service capability, and feedback the capability address of the target service capability to the terminal.
It realizes flexible calling of business capabilities, allowing the target terminal to quickly obtain the required business capabilities, and improves the accuracy and efficiency of business capabilities calls.
Smart Images

Figure CN119652969A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of distributed business technology, and in particular to a business capability invocation method, apparatus, computer equipment and storage medium. Background Art
[0002] In the scenario of open business capabilities, there are problems such as operators acting independently and lack of coordination and sharing mechanisms for business capabilities between different operators and between operators and Internet service providers.
[0003] Furthermore, with the continuous development of network technology, users' demands for network services are becoming higher and higher. The existing service capability calling method cannot realize the selection of the target service capability required by the user from the service capabilities corresponding to different operators. Summary of the invention
[0004] Based on this, it is necessary to provide a business capability calling method, apparatus, computer equipment and storage medium that can realize flexible calling of business capabilities in response to the above technical problems.
[0005] In a first aspect, the present application provides a method for calling a service capability. The method comprises:
[0006] Receive the service capability call request sent by the target terminal;
[0007] Selecting, according to the business capability information of at least one candidate business capability, a target business capability that meets the business capability call requirement from the at least one candidate business capability;
[0008] A target capability address corresponding to the target service capability is fed back to the target terminal, so that the target terminal calls the target service capability according to the target capability address.
[0009] In one of the embodiments, selecting a target business capability that meets the business capability call requirement from at least one candidate business capability according to the business capability information of at least one candidate business capability includes:
[0010] When the target terminal passes the authority authentication, a target business capability that meets the business capability calling requirement is selected from at least one candidate business capability recorded in the business capability level table according to business capability information of at least one candidate business capability recorded in the business capability level table.
[0011] In one of the embodiments, the business capability call requirement includes a business capability type requirement and a business capability level requirement;
[0012] The step of selecting a target business capability that meets the business capability call requirement from at least one candidate business capability recorded in the business capability level table according to the business capability information of at least one candidate business capability recorded in the business capability level table includes:
[0013] According to the business capability information of at least one candidate business capability recorded in the business capability level table, selecting at least one intermediate business capability that meets the business capability level requirement from the at least one candidate business capability recorded in the business capability level table;
[0014] Selecting a target business capability that meets the business capability type requirement from the at least one intermediate business capability according to the business capability information of at least one candidate business capability recorded in the business capability level table;
[0015] The service capability information records the candidate service capability level and the candidate service capability type corresponding to each candidate service capability.
[0016] In one embodiment, the method further comprises:
[0017] According to the target capability label of the target business capability, selecting a target capability address corresponding to the target business capability from a business capability index table;
[0018] The business capability index table stores at least one candidate capability tag of a candidate business capability and a candidate capability address corresponding to each candidate capability tag.
[0019] In one embodiment, the updating process of the service capability level table and the service capability index table includes:
[0020] Acquire a service capability registration request sent by a service providing terminal; wherein the service capability registration request records service capability information and a candidate capability address corresponding to a candidate service capability;
[0021] The service capability level table and the service capability index table are updated according to the service capability information of the candidate service capability and the candidate capability address.
[0022] In one embodiment, updating the service capability level table and the service capability index table according to the service capability information and the candidate capability address of the candidate service capability includes:
[0023] Performing a business rating on the candidate business capability according to the business capability information to obtain a capability level corresponding to the candidate business capability;
[0024] Determining the business capability type of the candidate business capability according to the business capability information;
[0025] assigning a candidate capability label to the candidate business capability;
[0026] updating the service capability level table according to the capability level, the service capability type and the candidate capability label corresponding to the candidate service capability;
[0027] The service capability index table is updated according to the candidate capability label and the candidate capability address of the candidate service capability.
[0028] In a second aspect, the present application also provides a service capability invocation device. The device comprises:
[0029] A receiving module, used to receive a service capability call requirement sent by a target terminal;
[0030] A selection module, configured to select a target business capability that meets the business capability call requirement from at least one candidate business capability according to business capability information of at least one candidate business capability;
[0031] The feedback module is used to feed back a target capability address corresponding to the target service capability to the target terminal, so that the target terminal calls the target service capability according to the target capability address.
[0032] 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:
[0033] Receive the service capability call request sent by the target terminal;
[0034] Selecting, according to the business capability information of at least one candidate business capability, a target business capability that meets the business capability call requirement from the at least one candidate business capability;
[0035] A target capability address corresponding to the target service capability is fed back to the target terminal, so that the target terminal calls the target service capability according to the target capability address.
[0036] 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:
[0037] Receive the service capability call request sent by the target terminal;
[0038] Selecting, according to the business capability information of at least one candidate business capability, a target business capability that meets the business capability call requirement from the at least one candidate business capability;
[0039] A target capability address corresponding to the target service capability is fed back to the target terminal, so that the target terminal calls the target service capability according to the target capability address.
[0040] 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:
[0041] Receive the service capability call request sent by the target terminal;
[0042] Selecting, according to the business capability information of at least one candidate business capability, a target business capability that meets the business capability call requirement from the at least one candidate business capability;
[0043] A target capability address corresponding to the target service capability is fed back to the target terminal, so that the target terminal calls the target service capability according to the target capability address.
[0044] The above-mentioned business capability calling method, apparatus, computer equipment and storage medium receive the business capability calling demand sent by the target terminal to determine the target business capability of the business capability calling demand based on the business capability information of at least one candidate business capability, and then feed back the target capability address corresponding to the target business capability to the target terminal, so that the target terminal calls the target business capability according to the target capability address. According to the above content, the present application selects the target business capability that meets the business capability calling demand from at least one candidate business capability to achieve flexible and fast acquisition of the target business capability, so that the target terminal can call the target business capability according to the target capability address in a timely manner, and in the process of the target business capability, the present application selects the target business capability that meets the business capability calling demand based on the business capability information of at least one candidate business capability. Therefore, in the process of calling the business capability, the present application fully combines the business capability calling demand of the target terminal, and further ensures the calling accuracy of the business capability calling. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 An application environment diagram of a business capability calling method provided in an embodiment of the present application;
[0046] Figure 2 A flowchart of the first service capability calling method provided in an embodiment of the present application;
[0047] Figure 3 A flowchart of a second method for calling a service capability provided in an embodiment of the present application;
[0048] Figure 4A flowchart of a third method for calling a service capability provided in an embodiment of the present application;
[0049] Figure 5 A signaling diagram for updating a service capability registration table and a service capability index table provided in an embodiment of the present application;
[0050] Figure 6 A flowchart of a fourth method for calling a service capability provided in an embodiment of the present application;
[0051] Figure 7 A signaling diagram for calling a service capability provided in an embodiment of the present application;
[0052] Figure 8 A structural block diagram of a service capability calling device provided in an embodiment of the present application;
[0053] Fig. 9 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 1 In 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 business capability call demand sent by the target terminal, the target business capability of the business capability call demand is determined according to the business capability information of at least one candidate business capability, and then the target capability address corresponding to the target business capability is fed back to the target terminal, so that the target terminal calls the target business capability according to the target capability address. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, tablets, 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 calling requirement sent by a target terminal.
[0058] It should be noted that in order to ensure the security of subsequent process execution, the target terminal can be authenticated before receiving the business capability call request sent by the target terminal. Then, if the target terminal identity authentication is passed, the business capability call request sent by the target terminal is received.
[0059] In one embodiment of the present application, when authenticating the target terminal, authentication information sent by the target terminal can be received, and then, it is verified whether the locally stored permission list contains the authentication information sent by the target terminal. If so, it is determined that the identity authentication of the target terminal has passed; if not, it is determined that the identity authentication of the target terminal has failed.
[0060] To further explain, the business capability call requirement refers to the requirement information for the business capability, and therefore, the business capability call requirement may include but is not limited to business capability type requirements and business capability level requirements.
[0061] In another embodiment of the present application, if the business capability call requirement only includes the business capability type requirement and the business capability level requirement, then after receiving the business capability call requirement sent by the target terminal, it can be verified whether the business capability call requirement includes the business capability type requirement and the business capability level requirement, and if it includes the business capability type requirement and the business capability level requirement, whether the business capability type requirement and the business capability level requirement are valid; then, when it is determined that both the business capability type requirement and the business capability level requirement are valid, the operation of receiving the business capability call requirement sent by the target terminal is completed.
[0062] S202: Select a target business capability that meets a business capability call requirement from at least one candidate business capability according to business capability information of at least one candidate business capability.
[0063] It should be noted that the business capability information includes a candidate business capability type and a candidate business capability level of at least one candidate business capability. Therefore, a target business capability that meets the business capability call requirements can be selected from at least one candidate business capability based on the candidate business capability type and the candidate business capability level included in the business capability information.
[0064] In one embodiment of the present application, the business capability information of at least one candidate business capability can be screened based on the business capability type requirement and the business capability level requirement included in the business capability call requirement, thereby obtaining at least one first business capability whose business capability information meets the business capability type requirement and at least one second business capability whose business capability information meets the business capability level requirement, and taking the overlapping business capabilities among the first business capabilities and the second business capabilities as the target business capabilities that meet the business capability call requirement.
[0065] S203: Feedback a target capability address corresponding to the target service capability to the target terminal, so that the target terminal calls the target service capability according to the target capability address.
[0066] It should be noted that, in order to ensure that the subsequent terminal can successfully call the target service capability, it is also necessary to obtain the target capability address corresponding to the target service capability, so that the target terminal calls the target service capability according to the target capability address.
[0067] Therefore, in order to ensure that the target capability address corresponding to the target business capability can be obtained smoothly, the candidate capability address of each candidate business capability can be stored after each candidate business capability is successfully registered, so as to ensure that after a candidate business capability is used as the target business capability, the stored candidate capability address can be determined as the target capability address corresponding to the target business capability.
[0068] The above-mentioned business capability calling method receives the business capability calling demand sent by the target terminal to determine the target business capability of the business capability calling demand based on the business capability information of at least one candidate business capability, and then feeds back the target capability address corresponding to the target business capability to the target terminal, so that the target terminal calls the target business capability according to the target capability address. According to the above content, the present application selects the target business capability that meets the business capability calling demand from at least one candidate business capability to achieve flexible and fast acquisition of the target business capability, so that the target terminal can call the target business capability according to the target capability address in a timely manner, and in the process of the target business capability, the present application selects the target business capability that meets the business capability calling demand based on the business capability information of at least one candidate business capability. Therefore, in the process of calling the business capability, the present application fully combines the business capability calling demand of the target terminal, and further ensures the calling accuracy of the business capability calling.
[0069] In one embodiment, when it is necessary to select a target business capability that meets the business capability call requirement from at least one candidate business capability according to the business capability information of at least one candidate business capability, the following may be specifically included:
[0070] When the authority authentication of the target terminal is passed, a target business capability that meets the business capability call requirement is selected from the at least one candidate business capability recorded in the business capability level table according to the business capability information of the at least one candidate business capability recorded in the business capability level table.
[0071] The service capability level table records at least one candidate service capability and service capability information of at least one candidate service capability.
[0072] It should be noted that since the business capability call requirements include business capability type requirements and business capability level requirements, Figure 3 As shown, when it is necessary to select a target business capability that meets the business capability call requirement from at least one candidate business capability recorded in the business capability level table according to the business capability information of at least one candidate business capability recorded in the business capability level table, the following contents may be included:
[0073] S301 , selecting at least one intermediate service capability that meets service capability level requirements from at least one candidate service capability recorded in the service capability level table according to service capability information of at least one candidate service capability recorded in the service capability level table.
[0074] In one embodiment of the present application, when it is necessary to select at least one intermediate business capability that meets the business capability level requirements from at least one candidate business capability recorded in the business capability level table, it is possible to verify whether the candidate business capability level contained in the business capability information of at least one candidate business capability meets the business capability level requirements, and then, each candidate business capability whose candidate business capability level meets the business capability level requirements is used as an intermediate business capability.
[0075] The business capability level reflects the importance, complexity, priority and user satisfaction of the business function in the system. Therefore, each candidate business capability is rated according to the pre-set capability management unit to accurately obtain the candidate business capability level of each candidate business capability.
[0076] S302: Select a target business capability that meets the business capability type requirement from at least one intermediate business capability according to business capability information of at least one candidate business capability recorded in the business capability level table.
[0077] The service capability information records the candidate service capability level and the candidate service capability type corresponding to each candidate service capability.
[0078] In one embodiment of the present application, when it is necessary to select a target business capability that meets the business capability type requirements from at least one intermediate business capability, it is possible to verify whether the candidate business capability type contained in the business capability information of the at least one intermediate business capability meets the business capability type requirements, and then, the intermediate business capability whose candidate business capability type meets the business capability type requirements is used as the target business capability.
[0079] The above service capability calling method selects a target service capability that meets the service capability calling requirement from at least one candidate service capability recorded in the service capability level table to achieve flexible and rapid acquisition of the target service capability, so that the target terminal can call the target service capability in time according to the target capability address.
[0080] In one embodiment, when it is necessary to obtain the target capability address of the target service capability, the following contents may be included:
[0081] According to the target capability label of the target business capability, a target capability address corresponding to the target business capability is selected from the business capability index table; wherein the business capability index table stores a candidate capability label of at least one candidate business capability and a candidate capability address corresponding to each candidate capability label.
[0082] Specifically, verify whether the candidate capability label of each candidate business capability contained in the business capability index table is the same as the target capability label of the target business capability. If the candidate capability label of a candidate business capability is the same as the target capability label of the target business capability, the candidate capability address recorded in the business capability index table of the candidate business capability is used as the target capability address of the target business capability.
[0083] It should be noted that if Figure 4 As shown, when the business capability level table and the business capability index table need to be updated, the following contents may be specifically included:
[0084] S401, obtaining a service capability registration request sent by a service providing terminal.
[0085] The business capability registration request records the business capability information corresponding to the candidate business capability and the candidate capability address.
[0086] S402: Update the service capability level table and the service capability index table according to the service capability information of the candidate service capability and the candidate capability address.
[0087] It should be noted that when it is necessary to update the business capability grade table and the business capability index table based on the business capability information and candidate capability address of the candidate business capability, the following contents may be included: performing business rating on the candidate business capability based on the business capability information to obtain the capability grade corresponding to the candidate business capability; determining the business capability type of the candidate business capability based on the business capability information; assigning candidate capability labels to the candidate business capabilities; updating the business capability grade table based on the capability grade, business capability type and candidate capability label corresponding to the candidate business capability; and updating the business capability index table based on the candidate capability label and candidate capability address of the candidate business capability.
[0088] In one embodiment of the present application, Figure 5 As shown, updating the business capability grade table and the business capability index table may include generating a business capability grade table and a business capability index table; specifically, the service provider terminal sends a business capability registration request to the capability management unit; the capability management unit performs indicator verification, business rating and assigns candidate capability labels to the candidate business capabilities; if the verification is passed, a business capability grade table is generated according to the capability grade, business capability type and candidate capability label corresponding to the candidate business capability, and a successful response is fed back to the capability management unit; a business capability index table is generated according to the candidate capability label and candidate capability address of the candidate business capability, and a successful response is fed back to the capability management unit.
[0089] The above-mentioned business capability calling method, by updating the business capability level table and the business capability index table, provides a data basis for the subsequent selection of target business capabilities that meet the business capability calling requirements, and feeds back the target capability address corresponding to the target business capability to the target terminal, thereby ensuring the smooth progress of the business capability calling.
[0090] In one embodiment, if Figure 6 As shown, when it is necessary to feed back the target capability address corresponding to the target service capability to the target terminal, the following contents may be included:
[0091] S601, receiving a service capability calling requirement sent by a target terminal.
[0092] S602: According to the service capability information of at least one candidate service capability recorded in the service capability level table, at least one intermediate service capability that meets the service capability level requirement is selected from the at least one candidate service capability recorded in the service capability level table.
[0093] S603: Select a target business capability that meets the business capability type requirement from at least one intermediate business capability according to the business capability information of at least one candidate business capability recorded in the business capability level table.
[0094] S604: Feedback a target capability address corresponding to the target service capability to the target terminal, so that the target terminal calls the target service capability according to the target capability address.
[0095] In one implementation, Figure 7 As shown, the target terminal sends a business capability call requirement to the access control unit; the access control unit performs authority authentication on the target terminal, and if the authority authentication of the target terminal is passed, forwards the business capability call requirement to the business capability level table, so as to select a target business capability that meets the business capability call requirement from at least one candidate business capability recorded in the business capability level table according to the business capability information of at least one candidate business capability recorded in the business capability level table; forwards the business capability call requirement to the business capability index table, so as to select a target capability address corresponding to the target business capability from the business capability index table according to the target capability label of the target business capability, and then, feeds back the target capability address corresponding to the target business capability to the target terminal, so that the target terminal can make a capability call on the target business capability.
[0096] The above-mentioned business capability calling method receives the business capability calling demand sent by the target terminal to determine the target business capability of the business capability calling demand based on the business capability information of at least one candidate business capability, and then feeds back the target capability address corresponding to the target business capability to the target terminal, so that the target terminal calls the target business capability according to the target capability address. According to the above content, the present application selects the target business capability that meets the business capability calling demand from at least one candidate business capability to achieve flexible and fast acquisition of the target business capability, so that the target terminal can call the target business capability according to the target capability address in a timely manner, and in the process of the target business capability, the present application selects the target business capability that meets the business capability calling demand based on the business capability information of at least one candidate business capability. Therefore, in the process of calling the business capability, the present application fully combines the business capability calling demand of the target terminal, and further ensures the calling accuracy of the business capability calling.
[0097] 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.
[0098] 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.
[0099] In one embodiment, Figure 8 As shown, a service capability calling device is provided, comprising: a receiving module 10, a selecting module 20 and a feedback module 30, wherein:
[0100] The receiving module 10 is used to receive a service capability calling requirement sent by a target terminal.
[0101] The selection module 20 is configured to select a target business capability that meets the business capability call requirement from at least one candidate business capability according to the business capability information of at least one candidate business capability.
[0102] The feedback module 30 is used to feed back a target capability address corresponding to the target service capability to the target terminal, so that the target terminal calls the target service capability according to the target capability address.
[0103] In one embodiment, when the target terminal passes the authority authentication, a target business capability that meets the business capability call requirement is selected from at least one candidate business capability recorded in the business capability level table according to the business capability information of at least one candidate business capability recorded in the business capability level table.
[0104] In one embodiment, according to the business capability information of at least one candidate business capability recorded in the business capability level table, at least one intermediate business capability that meets the business capability level requirement is selected from the at least one candidate business capability recorded in the business capability level table;
[0105] Selecting a target business capability that meets the business capability type requirement from at least one intermediate business capability according to the business capability information of at least one candidate business capability recorded in the business capability level table;
[0106] The service capability information records the candidate service capability level and the candidate service capability type corresponding to each candidate service capability.
[0107] In one embodiment, according to the target capability label of the target service capability, a target capability address corresponding to the target service capability is selected from the service capability index table;
[0108] The business capability index table stores at least one candidate capability tag of a candidate business capability and a candidate capability address corresponding to each candidate capability tag.
[0109] In one embodiment, a service capability registration request sent by a service providing terminal is obtained; wherein the service capability registration request records service capability information corresponding to the candidate service capability and the candidate capability address;
[0110] The business capability level table and the business capability index table are updated according to the business capability information and the candidate capability address of the candidate business capability.
[0111] In one embodiment, the candidate business capabilities are rated according to the business capability information to obtain the capability level corresponding to the candidate business capability;
[0112] Determine the business capability type of the candidate business capability based on the business capability information;
[0113] Assign candidate capability labels to candidate business capabilities;
[0114] The business capability level table is updated according to the capability level, business capability type and candidate capability label corresponding to the candidate business capability;
[0115] The business capability index table is updated according to the candidate capability label and the candidate capability address of the candidate business capability.
[0116] The above-mentioned service capability calling device receives the service capability calling demand sent by the target terminal to determine the target service capability of the service capability calling demand according to the service capability information of at least one candidate service capability, and then feeds back the target capability address corresponding to the target service capability to the target terminal, so that the target terminal calls the target service capability according to the target capability address. According to the above content, the present application selects the target service capability that meets the service capability calling demand from at least one candidate service capability to realize flexible and fast acquisition of the target service capability, so that the target terminal can call the target service capability according to the target capability address in a timely manner, and in the process of the target service capability, the present application selects the target service capability that meets the service capability calling demand according to the service capability information of at least one candidate service capability. Therefore, in the process of calling the service capability, the present application fully combines the service capability calling demand of the target terminal, and further ensures the calling accuracy of the service capability calling.
[0117] 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.
[0118] 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. 9As 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 via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via 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 an 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.
[0119] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0120] 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:
[0121] Receive the service capability call request sent by the target terminal;
[0122] Selecting a target business capability that meets the business capability call requirement from the at least one candidate business capability according to the business capability information of the at least one candidate business capability;
[0123] The target capability address corresponding to the target service capability is fed back to the target terminal, so that the target terminal calls the target service capability according to the target capability address.
[0124] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0125] When the authority authentication of the target terminal is passed, a target business capability that meets the business capability call requirement is selected from the at least one candidate business capability recorded in the business capability level table according to the business capability information of the at least one candidate business capability recorded in the business capability level table.
[0126] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0127] According to the business capability information of at least one candidate business capability recorded in the business capability level table, selecting at least one intermediate business capability that meets the business capability level requirement from the at least one candidate business capability recorded in the business capability level table;
[0128] Selecting a target business capability that meets the business capability type requirement from at least one intermediate business capability according to the business capability information of at least one candidate business capability recorded in the business capability level table;
[0129] The service capability information records the candidate service capability level and the candidate service capability type corresponding to each candidate service capability.
[0130] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0131] According to the target capability label of the target business capability, select the target capability address corresponding to the target business capability from the business capability index table;
[0132] The business capability index table stores at least one candidate capability tag of a candidate business capability and a candidate capability address corresponding to each candidate capability tag.
[0133] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0134] Obtaining a service capability registration request sent by the service providing terminal; wherein the service capability registration request records the service capability information and the candidate capability address corresponding to the candidate service capability;
[0135] The business capability level table and the business capability index table are updated according to the business capability information and the candidate capability address of the candidate business capability.
[0136] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0137] Performing business rating on candidate business capabilities according to the business capability information to obtain capability levels corresponding to the candidate business capabilities;
[0138] Determine the business capability type of the candidate business capability based on the business capability information;
[0139] Assign candidate capability labels to candidate business capabilities;
[0140] The business capability level table is updated according to the capability level, business capability type and candidate capability label corresponding to the candidate business capability;
[0141] The business capability index table is updated according to the candidate capability label and the candidate capability address of the candidate business capability.
[0142] 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:
[0143] Receive the service capability call request sent by the target terminal;
[0144] Selecting a target business capability that meets the business capability call requirement from the at least one candidate business capability according to the business capability information of the at least one candidate business capability;
[0145] The target capability address corresponding to the target service capability is fed back to the target terminal, so that the target terminal calls the target service capability according to the target capability address.
[0146] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0147] When the authority authentication of the target terminal is passed, a target business capability that meets the business capability call requirement is selected from the at least one candidate business capability recorded in the business capability level table according to the business capability information of the at least one candidate business capability recorded in the business capability level table.
[0148] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0149] According to the business capability information of at least one candidate business capability recorded in the business capability level table, selecting at least one intermediate business capability that meets the business capability level requirement from the at least one candidate business capability recorded in the business capability level table;
[0150] Selecting a target business capability that meets the business capability type requirement from at least one intermediate business capability according to the business capability information of at least one candidate business capability recorded in the business capability level table;
[0151] The service capability information records the candidate service capability level and the candidate service capability type corresponding to each candidate service capability.
[0152] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0153] According to the target capability label of the target business capability, select the target capability address corresponding to the target business capability from the business capability index table;
[0154] The business capability index table stores at least one candidate capability tag of a candidate business capability and a candidate capability address corresponding to each candidate capability tag.
[0155] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0156] Obtaining a service capability registration request sent by the service providing terminal; wherein the service capability registration request records the service capability information and the candidate capability address corresponding to the candidate service capability;
[0157] The business capability level table and the business capability index table are updated according to the business capability information and the candidate capability address of the candidate business capability.
[0158] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0159] Performing business rating on candidate business capabilities according to the business capability information to obtain capability levels corresponding to the candidate business capabilities;
[0160] Determine the business capability type of the candidate business capability based on the business capability information;
[0161] Assign candidate capability labels to candidate business capabilities;
[0162] The business capability level table is updated according to the capability level, business capability type and candidate capability label corresponding to the candidate business capability;
[0163] The business capability index table is updated according to the candidate capability label and the candidate capability address of the candidate business capability.
[0164] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0165] Receive the service capability call request sent by the target terminal;
[0166] Selecting a target business capability that meets the business capability call requirement from the at least one candidate business capability according to the business capability information of the at least one candidate business capability;
[0167] The target capability address corresponding to the target service capability is fed back to the target terminal, so that the target terminal calls the target service capability according to the target capability address.
[0168] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0169] When the authority authentication of the target terminal is passed, a target business capability that meets the business capability call requirement is selected from the at least one candidate business capability recorded in the business capability level table according to the business capability information of the at least one candidate business capability recorded in the business capability level table.
[0170] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0171] According to the business capability information of at least one candidate business capability recorded in the business capability level table, selecting at least one intermediate business capability that meets the business capability level requirement from the at least one candidate business capability recorded in the business capability level table;
[0172] Selecting a target business capability that meets the business capability type requirement from at least one intermediate business capability according to the business capability information of at least one candidate business capability recorded in the business capability level table;
[0173] The service capability information records the candidate service capability level and the candidate service capability type corresponding to each candidate service capability.
[0174] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0175] According to the target capability label of the target business capability, select the target capability address corresponding to the target business capability from the business capability index table;
[0176] The business capability index table stores at least one candidate capability tag of a candidate business capability and a candidate capability address corresponding to each candidate capability tag.
[0177] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0178] Obtaining a service capability registration request sent by the service providing terminal; wherein the service capability registration request records the service capability information and the candidate capability address corresponding to the candidate service capability;
[0179] The business capability level table and the business capability index table are updated according to the business capability information and the candidate capability address of the candidate business capability.
[0180] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0181] Performing business rating on candidate business capabilities according to the business capability information to obtain capability levels corresponding to the candidate business capabilities;
[0182] Determine the business capability type of the candidate business capability based on the business capability information;
[0183] Assign candidate capability labels to candidate business capabilities;
[0184] The business capability level table is updated according to the capability level, business capability type and candidate capability label corresponding to the candidate business capability;
[0185] The business capability index table is updated according to the candidate capability label and the candidate capability address of the candidate business capability.
[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 the present 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 thereto. The processors involved in each embodiment provided in this application may be general-purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, data processing logic devices based on quantum computing, etc., but are not limited thereto.
[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: Receive the service capability call request sent by the target terminal; Selecting, according to the business capability information of at least one candidate business capability, a target business capability that meets the business capability call requirement from the at least one candidate business capability; A target capability address corresponding to the target service capability is fed back to the target terminal, so that the target terminal calls the target service capability according to the target capability address.
2. The method according to claim 1, characterized in that The selecting, based on the business capability information of at least one candidate business capability, a target business capability that meets the business capability call requirement from at least one candidate business capability includes: When the target terminal passes the authority authentication, a target business capability that meets the business capability calling requirement is selected from at least one candidate business capability recorded in the business capability level table according to business capability information of at least one candidate business capability recorded in the business capability level table.
3. The method according to claim 2, characterized in that The business capability call requirements include business capability type requirements and business capability level requirements; The step of selecting a target business capability that meets the business capability call requirement from at least one candidate business capability recorded in the business capability level table according to the business capability information of at least one candidate business capability recorded in the business capability level table includes: According to the business capability information of at least one candidate business capability recorded in the business capability level table, selecting at least one intermediate business capability that meets the business capability level requirement from the at least one candidate business capability recorded in the business capability level table; Selecting a target business capability that meets the business capability type requirement from the at least one intermediate business capability according to the business capability information of at least one candidate business capability recorded in the business capability level table; The service capability information records the candidate service capability level and the candidate service capability type corresponding to each candidate service capability.
4. The method according to claim 2, characterized in that: The method further comprises: According to the target capability label of the target business capability, selecting a target capability address corresponding to the target business capability from a business capability index table; The business capability index table stores at least one candidate capability tag of a candidate business capability and a candidate capability address corresponding to each candidate capability tag.
5. The method according to claim 4, characterized in that The updating process of the service capability level table and the service capability index table includes: Acquire a service capability registration request sent by a service providing terminal; wherein the service capability registration request records service capability information and a candidate capability address corresponding to a candidate service capability; The service capability level table and the service capability index table are updated according to the service capability information of the candidate service capability and the candidate capability address.
6. The method according to claim 5, characterized in that The updating of the service capability level table and the service capability index table according to the service capability information of the candidate service capability and the candidate capability address comprises: Performing a business rating on the candidate business capability according to the business capability information to obtain a capability level corresponding to the candidate business capability; Determining the business capability type of the candidate business capability according to the business capability information; assigning a candidate capability label to the candidate business capability; updating the service capability level table according to the capability level, the service capability type and the candidate capability label corresponding to the candidate service capability; The service capability index table is updated according to the candidate capability label and the candidate capability address of the candidate service capability.
7. A service capability calling device, characterized in that: The device comprises: A receiving module, used to receive a service capability call requirement sent by a target terminal; A selection module, configured to select a target business capability that meets the business capability call requirement from at least one candidate business capability according to business capability information of at least one candidate business capability; The feedback module is used to feed back a target capability address corresponding to the target service capability to the target terminal, so that the target terminal calls the target service capability according to the target capability address.
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
Method for providing service to whole network and service network system
CN101686425A
Job scheduling method and system
CN117762575A
Service capability calling method and device, computer equipment, readable storage medium and program product
CN118474168A
Method for making business terminal system into business dispatching server
CN1614965A