Service capability calling charging method and device, equipment and storage medium

By generating and signing call record information in business capability call billing, we ensure that the transaction proposal is recognized by both parties on the blockchain, solving the problem that both parties in the transaction cannot participate in the construction of proposal content in the traditional method, and improving the efficiency of business capability call billing.

CN119743338APending Publication Date: 2025-04-01CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411781249.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-05
Publication Date
2025-04-01

AI Technical Summary

Technical Problem

In the traditional business capability call billing method, transaction proposals are only constructed and put on the chain by one party, which makes it impossible for both parties to efficiently and quickly verify the content of the transaction proposal, reducing the efficiency of business capability call billing.

Method used

By requesting the business management platform to call business capabilities from the business capability development platform, generate call record information and sign it, and send signed call record information to the business capability development platform, so that both parties can build transaction proposals on the blockchain and put them on the chain.

Benefits of technology

By unanimously recognized by both parties, the transaction proposals are put on the chain, the consistency of the business capability call information between the two parties is ensured, the success rate and efficiency of the transaction proposals are improved, and thus the business capability call billing efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119743338A_ABST
    Figure CN119743338A_ABST
Patent Text Reader

Abstract

The invention relates to a service capability calling charging method and device, equipment and a storage medium. The method comprises the steps that an application development platform requests a service management platform to call service capability from a service capability development platform; after the service capability is used up, calling record information for calling the service capability is generated; signing the calling record information to obtain a calling record signature of the calling record information; and sending the calling record information and the calling record signature to the service capability development platform, so that the service capability development platform sends the calling record information and the calling record signature to the service capability development platform after the calling record information passes the accuracy check and the calling record signature passes the validity verification. Constructing a transaction proposal between the business capability development platform and the application development platform based on the calling record information, and submitting the transaction proposal to a block chain for chaining; the transaction proposal which is successfully linked on the block chain is used for being acquired by the business management platform to carry out transaction charging. By adopting the method, the service capability calling charging efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a service capability invocation charging method, device, equipment and storage medium. Background Art

[0002] With the development of computer technology, the collaboration and sharing of business capabilities in the future network will meet the increasingly complex, diverse and large business needs. All parties in the industry jointly build business capabilities for application developers to call when developing applications, promoting more diversified application scenarios and services. Open business capabilities have different business service qualities. When selecting and calling business capabilities, in order to ensure the consistency of business capability call information of both parties, an open, transparent and trustworthy billing method is urgently needed to avoid interest disputes and help promote the complex and diversified development of future network business applications.

[0003] Currently, decentralized alliance chain technology (blockchain technology) can provide an open and transparent billing method with privacy protection capabilities. Both parties of the transaction using alliance chain accounting must be members of the alliance organization. However, in the traditional business capability call billing method, the transaction proposal is only constructed and initiated by one party on the chain, and the other party cannot efficiently and quickly verify the content of the transaction proposal, which restricts the efficiency of the chain and billing process, resulting in low efficiency of business capability call billing. Summary of the invention

[0004] Based on this, it is necessary to provide a business capability call billing method, apparatus, device and storage medium that can improve the efficiency of business capability call billing in response to the above technical problems.

[0005] In a first aspect, the present application provides a service capability call charging method, which is applied to an application development platform; the method comprises:

[0006] Request the business management platform to call business capabilities from the business capability development platform;

[0007] After the service capability is used, a call record information of the current call of the service capability is generated;

[0008] Signing the call record information to obtain a call record signature for the call record information;

[0009] The call record information and the call record signature are sent to the business capability development platform, so that the business capability development platform constructs a transaction proposal between the business capability development platform and the application development platform based on the call record information after checking the accuracy of the call record information and verifying the validity of the call record signature, and submits the transaction proposal to the blockchain for chaining; the transaction proposal successfully chained to the blockchain is used for the business management platform to obtain for transaction billing.

[0010] In one embodiment, the requesting the service management platform to call the service capability from the service capability development platform includes:

[0011] Sending a first business capability call request to the business management platform, so that the business management platform obtains business capability interface information of the business capability indicated by the first business capability call request, and signs the business capability interface information to obtain an interface signature of the business capability interface information;

[0012] Receiving the service capability interface information and the interface signature sent by the service management platform;

[0013] After the validity of the interface signature is verified, a second business capability call request carrying the business capability interface information and the interface signature is sent to the business capability development platform;

[0014] The business capability provided by the business capability development platform after the interface signature is validated based on the business capability interface information.

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

[0016] Monitoring whether the interface signature is within a preset signature validity period;

[0017] If the interface signature is within the validity period and the application development platform requests the business capability development platform to call the business capability again, a second business capability call request carrying the business capability interface information and the interface signature is sent to the business capability development platform again.

[0018] In one embodiment, the business management platform is provided with a business capability calling management unit; the application development platform is provided with a business capability calling unit; the business capability development platform is provided with a business capability providing unit; the application development platform requests the business capability calling management unit to call business capabilities from the business capability providing unit through the business capability calling unit.

[0019] In one embodiment, the call record information includes business capability information of the business capability, the call time of the business capability and the usage duration of the business capability; the business capability development platform verifies the accuracy of the call record information, including verifies the accuracy of the business capability information, verifies the accuracy of the call time, and verifies the accuracy of the usage duration.

[0020] In one embodiment, after the business capability development platform submits the transaction proposal to the blockchain, the blockchain executes a preset chain code rule so that each network node included in the blockchain verifies the accuracy of the transaction proposal, and after each network node verifies the accuracy of the transaction proposal, the transaction proposal is successfully uploaded to the blockchain.

[0021] In a second aspect, the present application provides a service capability invocation charging device, which is applied to an application development platform; the device comprises:

[0022] A request module is used to request the business management platform to call business capabilities from the business capability development platform;

[0023] A generating module, used to generate call record information of calling the business capability this time after using the business capability;

[0024] A signature module, used to sign the call record information to obtain a call record signature of the call record information;

[0025] A sending module is used to send the call record information and the call record signature to the business capability development platform, so that the business capability development platform builds a transaction proposal between the business capability development platform and the application development platform based on the call record information after checking the accuracy of the call record information and verifying the validity of the call record signature, and submits the transaction proposal to the blockchain for chaining; the transaction proposal successfully chained on the blockchain is used for the business management platform to obtain for transaction billing.

[0026] In a third aspect, the present application provides a computer device including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps in the method embodiments of the present application are implemented.

[0027] In a fourth aspect, the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the method embodiments of the present application.

[0028] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the steps in the method embodiments of the present application when the computer program is executed by a processor.

[0029] The above-mentioned business capability call billing method, device, equipment and storage medium, the application development platform requests the business management platform to call the business capability from the business capability development platform; after using the business capability, generate call record information of this call of the business capability; sign the call record information to obtain the call record signature of the call record information; send the call record information and the call record signature to the business capability development platform, so that the business capability development platform can build a transaction proposal between the business capability development platform and the application development platform based on the call record information after checking the accuracy of the call record information and verifying the validity of the call record signature, and submit the transaction proposal to the blockchain for chaining; the transaction proposal successfully chained on the blockchain is used for the business management platform to obtain for transaction billing. Compared with the traditional business capability call billing method, the business capability development platform of this application, after checking the accuracy of the call record information and verifying the validity of the call record signature, constructs the call record information with the signature of the application development platform into a transaction proposal, which means that the transaction proposal has been unanimously approved by both parties to the transaction, ensuring the consistency of the business capability call information of both parties to the transaction, and effectively solving the problem that the two parties to the transaction cannot participate in the construction of the proposal content at the same time when using blockchain technology to record business capability call information, thereby improving the success rate and efficiency of the transaction proposal on the chain, thereby improving the efficiency of business capability call billing. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A schematic diagram of a process of calling a billing method for a service capability in an embodiment;

[0031] Figure 2 A flowchart of calling a business capability in an embodiment;

[0032] Figure 3 A flowchart of confirming the completion of a business capability call in an embodiment;

[0033] Figure 4 This is a flowchart of chain uploading and settlement in one embodiment;

[0034] Figure 5 A structural block diagram of a service capability invoking charging device in one embodiment;

[0035] Figure 6 is an internal structure diagram of a computer device in one embodiment;

[0036] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in another embodiment. DETAILED DESCRIPTION

[0037] 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.

[0038] In one embodiment, Figure 1 As shown, a business capability call billing method is provided, which is applied to an application development platform; the method comprises the following steps:

[0039] Step 102: Request the business management platform to call the business capability from the business capability development platform.

[0040] In one embodiment, the application development platform may send a first business capability call request to the business management platform, so that the business management platform obtains the business capability interface information of the business capability indicated by the first business capability call request, and sends the business capability interface information to the application development platform. The application development platform may receive the business capability interface information sent by the business management platform, and send a second business capability call request carrying the business capability interface information to the business capability development platform. The business capability development platform may provide the business capability to the application development platform after verifying the accuracy of the business capability interface information. The application development platform may use the business capabilities provided by the business capability development platform.

[0041] Step 104: after the service capability is used, a call record information of the current call of the service capability is generated.

[0042] In one embodiment, the call record information includes business capability information of the business capability, the calling time of the business capability, and the usage duration of the business capability.

[0043] Step 106: Sign the call record information to obtain a call record signature of the call record information.

[0044] In one embodiment, the application development platform may use a preset hash function to perform hash processing on the call record information to generate summary information of the call record information. Furthermore, the application development platform may use its own private key to encrypt the summary information of the call record information to generate a digital signature and obtain a call record signature of the call record information.

[0045] Step 108, sending the call record information and the call record signature to the business capability development platform, so that the business capability development platform can build a transaction proposal between the business capability development platform and the application development platform based on the call record information after checking the accuracy of the call record information and the validity of the call record signature, and submit the transaction proposal to the blockchain for chaining; the transaction proposal successfully chained on the blockchain is used for the business management platform to obtain for transaction billing.

[0046] In one embodiment, the application development platform may send call record information and call record signatures to the business capability development platform. The business capability development platform may check the accuracy of the call record information, and use the public key corresponding to the private key of the application development platform to decrypt the call record signature to obtain a decrypted summary information. The business capability development platform may use the same hash function as that in the application development platform to perform hash processing on the received call record information to obtain the generated summary information. If the decrypted summary information is consistent with the summary information generated by the hash processing, it is determined that the validity verification of the call record signature has passed, and if they are inconsistent, it is determined to be unsuccessful. After the accuracy of the call record information has been checked and the validity of the call record signature has been verified, the application development platform can construct a transaction proposal between the business capability development platform and the application development platform based on the call record information, and submit the transaction proposal to the blockchain for chaining. Among them, the transaction proposal that is successfully chained on the blockchain is used for periodic acquisition by the business management platform for transaction billing.

[0047] In one embodiment, a business capability calling management unit is provided in the business management platform; a business capability calling unit is provided in the application development platform; a business capability providing unit is provided in the business capability development platform; the application development platform requests the business capability calling management unit to call business capabilities from the business capability providing unit through the business capability calling unit.

[0048] A new business capability call management module is added to the business management platform to manage the business capability interface information of business capabilities; provide the business capability interface information of the required business capabilities to the application development platform that requests to call the business capability and sign it; and periodically obtain the capability call records from the blockchain to settle transactions for each party that calls the business capability. As a bridge between the business capability development platform and the application development platform, the business capability call management module can ensure the security and reliability of transactions between the two parties.

[0049] A new business capability provision module is added to the business capability development platform to receive business capability call information from the application development platform and verify the validity of the business management platform signature; review the business capability call records from the application development platform and verify their signature information, and return confirmation. The business capability provision module verifies each signature information from the application development platform to ensure the authenticity and immutability of the information.

[0050] Add a business capability call module to the application development platform, send a business capability call request to the business management platform; receive the business capability interface information of the business capability signed by the business management platform, verify the validity of the signature; send the business capability call information signed by the business management platform to the business capability development platform according to the business capability interface information; when the business capability call is completed, send the business capability call record to the business capability development platform and sign it. The business capability call module sends the business capability call record signed by itself to the business capability development platform, indicating that the call record has been approved, and then the business capability development platform verifies and submits it to the chain, so that the consistency of the transaction approval by both parties can be achieved.

[0051] In the above-mentioned business capability call billing method, the application development platform requests the business management platform to call the business capability from the business capability development platform; after using the business capability, the call record information of this call of the business capability is generated; the call record information is signed to obtain the call record signature of the call record information; the call record information and the call record signature are sent to the business capability development platform, so that the business capability development platform can build a transaction proposal between the business capability development platform and the application development platform based on the call record information after checking the accuracy of the call record information and verifying the validity of the call record signature, and submit the transaction proposal to the blockchain for chaining; the transaction proposal successfully chained on the blockchain is used for the business management platform to obtain for transaction billing. Compared with the traditional business capability call billing method, the business capability development platform of this application, after checking the accuracy of the call record information and verifying the validity of the call record signature, constructs the call record information with the signature of the application development platform into a transaction proposal, which means that the transaction proposal has been unanimously approved by both parties to the transaction, ensuring the consistency of the business capability call information of both parties to the transaction, and effectively solving the problem that the two parties to the transaction cannot participate in the construction of the proposal content at the same time when using blockchain technology to record business capability call information, thereby improving the success rate and efficiency of the transaction proposal on the chain, thereby improving the efficiency of business capability call billing.

[0052] In one embodiment, a request is made to a business management platform to call a business capability from a business capability development platform, including: sending a first business capability call request to the business management platform so that the business management platform obtains business capability interface information of the business capability indicated by the first business capability call request, and signs the business capability interface information to obtain an interface signature of the business capability interface information; receiving the business capability interface information and interface signature sent by the business management platform; after the validity of the interface signature is verified, sending a second business capability call request carrying the business capability interface information and the interface signature to the business capability development platform; and using the business capability provided by the business capability development platform after the validity of the interface signature is verified based on the business capability interface information.

[0053] The first business capability call request is a request instruction sent by the application development platform to the business management platform for requesting a business capability call. The second business capability call request is a request instruction sent by the application development platform to the business capability development platform for requesting a business capability call.

[0054] In one embodiment, Figure 2 As shown, a business capability calling management unit is provided in the business management platform; a business capability calling unit is provided in the application development platform; and a business capability providing unit is provided in the business capability development platform. Specifically, the business capability calling unit may send a first business capability calling request to the business capability calling management unit. The business capability calling management unit may receive the first business capability calling request, and obtain the business capability interface information (i.e., the API interface information of the business capability, wherein the API is the Application Programming Interface, application programming interface) of the business capability indicated by the first business capability calling request, and sign the business capability interface information to obtain the interface signature of the business capability interface information. The business capability calling unit may receive the business capability interface information and interface signature sent by the business capability calling management unit, and verify the validity of the interface signature. After the validity verification of the interface signature is passed, the business capability calling unit may send a second business capability calling request carrying the business capability interface information and the interface signature to the business capability providing unit. The business capability providing unit may receive the second business capability calling request, and verify the validity of the interface signature based on the business capability interface information in the second business capability calling request, and verify the accuracy of the business capability information of the business capability indicated by the business capability interface information. After the interface signature is validated and the business capability information is verified for accuracy, the business capability providing unit may provide the business capability to the business capability calling unit. The business capability calling unit may use the business capability provided by the business capability providing unit after the interface signature is validated based on the business capability interface information.

[0055] In the above embodiment, by having the business management platform sign the business capability interface information and obtain the interface signature of the business capability interface information, the application development platform can verify the validity of the interface signature. In addition, after the business capability development platform verifies the validity of the interface signature based on the business capability interface information, the business capability is provided to the application development platform to ensure the security of the business capability interface information during transmission and prevent the business capability interface information from being maliciously tampered with, thereby improving the security of the business capability call.

[0056] In one embodiment, the method also includes: monitoring whether the interface signature is within the preset signature validity period; if the interface signature is within the signature validity period and the application development platform again requests the business capability development platform to call the business capability, then again sending a second business capability call request carrying the business capability interface information and the interface signature to the business capability development platform.

[0057] In the above embodiment, a certain period of signature validity is set for the interface signature. Within this signature validity period, if the interface signature is within the signature validity period, when the application development platform again requests the business capability development platform to call the business capability, the application development platform can directly send a second business capability call request carrying the business capability interface information and the interface signature to the business capability development platform again, without having to first request the capability call from the business management platform, thereby improving the efficiency of business capability calls.

[0058] In one embodiment, the call record information includes business capability information of the business capability, the call time of the business capability and the usage duration of the business capability; the business capability development platform verifies the accuracy of the call record information, including verifies the accuracy of the business capability information, verifies the accuracy of the call time, and verifies the accuracy of the usage duration.

[0059] In the above embodiment, by limiting the business capability development platform to perform accuracy verification on call record information, including accuracy verification on business capability information, accuracy verification on call time, and accuracy verification on usage duration, the accuracy of business capability call billing can be improved.

[0060] In one embodiment, after the business capability development platform submits the transaction proposal to the blockchain, the blockchain executes the pre-set chain code rules so that each network node included in the blockchain verifies the accuracy of the transaction proposal, and after each network node verifies the accuracy of the transaction proposal, the transaction proposal is successfully uploaded to the blockchain.

[0061] In one embodiment, Figure 3As shown, a business capability calling management unit is provided in the business management platform; a business capability calling unit is provided in the application development platform; and a business capability providing unit is provided in the business capability development platform. Specifically, after using the business capability, the business capability calling unit can generate call record information for this call of the business capability, sign the call record information, and obtain a call record signature for the call record information. The call record information includes the business capability information of the business capability, the call time of the business capability, and the usage time of the business capability. Figure 4 As shown, the business capability calling unit can send call record information and call record signature to the business capability providing unit, so that after the business capability providing unit verifies the accuracy of the call record information and the validity of the call record signature, it builds a transaction proposal between the business capability providing unit and the business capability calling unit based on the call record information, and submits the transaction proposal to the blockchain for chaining; the transaction proposal successfully chained to the blockchain is used for periodic acquisition by the business capability calling management unit for transaction billing.

[0062] Continue to see Figure 3 The business capability calling unit also monitors whether the interface signature is within the preset signature validity period. If the interface signature is within the signature validity period, and the business capability calling unit requests the business capability providing unit to call the business capability again, the business capability calling unit can directly send a second business capability calling request carrying the business capability interface information and the interface signature to the business capability providing unit again to call the business capability from the business capability providing unit.

[0063] In the above embodiment, after the business capability development platform submits the transaction proposal to the blockchain, each network node included in the blockchain first verifies the accuracy of the transaction proposal. Only after each network node verifies the accuracy of the transaction proposal can the transaction proposal be successfully uploaded to the blockchain, thereby ensuring the accuracy of the transaction proposal being uploaded to the blockchain, thereby ensuring the accuracy of the business function call billing.

[0064] It should be understood that, although each step in the flow chart of the above-mentioned embodiments is shown in order, these steps are not necessarily performed in order. Unless there is a clear explanation in this article, the execution of these steps does not have strict order restrictions, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the above-mentioned embodiments may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in order, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.

[0065] In one embodiment, Figure 5 As shown, a service capability calling and charging device 500 is provided, which is applied to an application development platform; the device specifically includes:

[0066] A request module 502 is used to request the business management platform to call a business capability from the business capability development platform;

[0067] A generating module 504 is used to generate call record information of calling the service capability after the service capability is used;

[0068] Signature module 506, used to sign the call record information to obtain a call record signature of the call record information;

[0069] The sending module 507 is used to send the call record information and the call record signature to the business capability development platform, so that the business capability development platform can build a transaction proposal between the business capability development platform and the application development platform based on the call record information after checking the accuracy of the call record information and verifying the validity of the call record signature, and submit the transaction proposal to the blockchain for chaining; the transaction proposal successfully chained on the blockchain is used for the business management platform to obtain for transaction billing.

[0070] In one embodiment, the request module 502 is also used to send a first business capability call request to the business management platform, so that the business management platform obtains the business capability interface information of the business capability indicated by the first business capability call request, and signs the business capability interface information to obtain the interface signature of the business capability interface information; receives the business capability interface information and interface signature sent by the business management platform; after the validity of the interface signature is verified, sends a second business capability call request carrying the business capability interface information and interface signature to the business capability development platform; uses the business capability provided by the business capability development platform after the validity of the interface signature is verified based on the business capability interface information.

[0071] In one embodiment, the request module 502 is also used to monitor whether the interface signature is within the preset signature validity period; if the interface signature is within the signature validity period and the application development platform again requests the business capability development platform to call the business capability, then a second business capability call request carrying the business capability interface information and the interface signature is sent to the business capability development platform again.

[0072] In one embodiment, a business capability calling management unit is provided in the business management platform; a business capability calling unit is provided in the application development platform; a business capability providing unit is provided in the business capability development platform; the application development platform requests the business capability calling management unit to call business capabilities from the business capability providing unit through the business capability calling unit.

[0073] In one embodiment, the call record information includes business capability information of the business capability, the call time of the business capability and the usage duration of the business capability; the business capability development platform verifies the accuracy of the call record information, including verifies the accuracy of the business capability information, verifies the accuracy of the call time, and verifies the accuracy of the usage duration.

[0074] In one embodiment, after the business capability development platform submits the transaction proposal to the blockchain, the blockchain executes the pre-set chain code rules so that each network node included in the blockchain verifies the accuracy of the transaction proposal, and after each network node verifies the accuracy of the transaction proposal, the transaction proposal is successfully uploaded to the blockchain.

[0075] The above-mentioned business capability calling and billing device, the application development platform requests the business management platform to call the business capability from the business capability development platform; after using the business capability, the call record information of this call of the business capability is generated; the call record information is signed to obtain the call record signature of the call record information; the call record information and the call record signature are sent to the business capability development platform, so that the business capability development platform can build a transaction proposal between the business capability development platform and the application development platform based on the call record information after checking the accuracy of the call record information and verifying the validity of the call record signature, and submit the transaction proposal to the blockchain for chaining; the transaction proposal successfully chained on the blockchain is used for the business management platform to obtain for transaction billing. Compared with the traditional business capability call billing method, the business capability development platform of this application, after checking the accuracy of the call record information and verifying the validity of the call record signature, constructs the call record information with the signature of the application development platform into a transaction proposal, which means that the transaction proposal has been unanimously approved by both parties to the transaction, ensuring the consistency of the business capability call information of both parties to the transaction, and effectively solving the problem that the two parties to the transaction cannot participate in the construction of the proposal content at the same time when using blockchain technology to record business capability call information, thereby improving the success rate and efficiency of the transaction proposal on the chain, thereby improving the efficiency of business capability call billing.

[0076] Each module in the above-mentioned service capability call billing device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0077] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The 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 through a network connection. When the computer program is executed by the processor, a service capability call billing method is implemented.

[0078] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and 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 call billing method is implemented. The display unit of the computer device is used to form a visually visible image, and 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 covered on the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.

[0079] Those skilled in the art will understand that Figure 6 and Figure 7The 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.

[0080] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0081] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0082] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0083] 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.

[0084] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. 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).

[0085] 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.

[0086] The above-mentioned 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 invention patent. 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 patent of the present application shall be subject to the attached claims.

Claims

1. A service capability call charging method, characterized in that: Applied to an application development platform; the method comprises: Request the business management platform to call business capabilities from the business capability development platform; After the service capability is used, a call record information of the current call of the service capability is generated; Signing the call record information to obtain a call record signature for the call record information; The call record information and the call record signature are sent to the business capability development platform, so that the business capability development platform constructs a transaction proposal between the business capability development platform and the application development platform based on the call record information after checking the accuracy of the call record information and verifying the validity of the call record signature, and submits the transaction proposal to the blockchain for chaining; the transaction proposal successfully chained to the blockchain is used for the business management platform to obtain for transaction billing.

2. The method according to claim 1, characterized in that The request to the business management platform to call the business capability from the business capability development platform includes: Sending a first business capability call request to the business management platform, so that the business management platform obtains business capability interface information of the business capability indicated by the first business capability call request, and signs the business capability interface information to obtain an interface signature of the business capability interface information; Receiving the service capability interface information and the interface signature sent by the service management platform; After the validity of the interface signature is verified, a second business capability call request carrying the business capability interface information and the interface signature is sent to the business capability development platform; The business capability provided by the business capability development platform after the interface signature is validated based on the business capability interface information.

3. The method according to claim 2, characterized in that The method further comprises: Monitoring whether the interface signature is within a preset signature validity period; If the interface signature is within the validity period and the application development platform requests the business capability development platform to call the business capability again, a second business capability call request carrying the business capability interface information and the interface signature is sent to the business capability development platform again.

4. The method according to claim 1, characterized in that: The business management platform is provided with a business capability calling management unit; the application development platform is provided with a business capability calling unit; the business capability development platform is provided with a business capability providing unit; The application development platform requests the business capability calling management unit to call the business capability from the business capability providing unit through the business capability calling unit.

5. The method according to claim 1, characterized in that The call record information includes business capability information of the business capability, the call time of the business capability and the usage duration of the business capability; the accuracy verification of the call record information by the business capability development platform includes accuracy verification of the business capability information, accuracy verification of the call time, and accuracy verification of the usage duration.

6. The method according to any one of claims 1 to 5, characterized in that After the business capability development platform submits the transaction proposal to the blockchain, the blockchain executes the preset chain code rules so that each network node included in the blockchain verifies the accuracy of the transaction proposal, and after each network node verifies the accuracy of the transaction proposal, the transaction proposal is successfully uploaded to the blockchain.

7. A service capability call charging device, characterized in that: Applied to an application development platform; the device comprises: A request module is used to request the business management platform to call business capabilities from the business capability development platform; A generating module, used to generate call record information of calling the business capability this time after using the business capability; A signature module, used to sign the call record information to obtain a call record signature of the call record information; A sending module is used to send the call record information and the call record signature to the business capability development platform, so that the business capability development platform builds a transaction proposal between the business capability development platform and the application development platform based on the call record information after checking the accuracy of the call record information and verifying the validity of the call record signature, and submits the transaction proposal to the blockchain for chaining; the transaction proposal successfully chained on the blockchain is used for the business management platform to obtain for transaction billing.

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 storing 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.

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.