Microservices-based shared delivery methods, metering and billing systems, media and equipment

By adopting the shared delivery method of microservices in the metering and billing system, the architectural design of the metering and billing system is simplified, the bloated problem of the metering and billing system under multi-cloud management is solved, operation and maintenance costs are reduced, and delivery efficiency is improved.

CN111861445BActive Publication Date: 2024-08-23HANGZHOU DT DREAM TECH
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202010605446.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-29
Publication Date
2024-08-23
Estimated Expiration
2040-06-29

AI Technical Summary

Technical Problem

In multi-cloud management and control scenarios, the existing metering and billing system has a bloated architecture, high operation and maintenance deployment costs, and low delivery efficiency, making it difficult to meet the delivery needs of different scenarios.

Method used

Adopt a shared delivery method based on microservices and provide microservices through the business support layer of the metering and billing system, simplifying the architectural design of the metering and billing system, reducing operation and maintenance deployment costs, and improving delivery efficiency.

Benefits of technology

It simplifies the architectural design of the metering and billing system, facilitates expansion, reduces operation and maintenance deployment costs, improves delivery efficiency, and meets the needs of diverse business scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111861445B
    Figure CN111861445B
Patent Text Reader

Abstract

This application proposes a shared delivery method based on microservices, a metering and billing system, a medium and a device, the method comprising obtaining resources of a cloud product to be delivered; delivering the cloud product using at least one microservice delivery provided by a shared delivery according to the resources of the cloud product; wherein the microservice is provided by the business support layer of the metering and billing system. This application can simplify the architectural design of the metering and billing system, facilitate the expansion of the metering and billing system, reduce the operation and maintenance deployment costs, and improve the delivery efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of cloud computing technology, and in particular to a microservice-based shared delivery method, metering and billing system, medium, and device. Background Art

[0002] With the continuous development of cloud computing, the management and control of cloud computing is becoming increasingly important. In the multi-cloud management scenario, customers need to uniformly measure and bill resources.

[0003] In related technologies, the metering and billing system under multi-cloud management and control splits and combines services in a fine-grained manner to meet the delivery requirements of different scenarios.

[0004] In this way, since each layer of service in the metering and billing system needs to submit corresponding deliverables, there are too many deliverables, which makes the metering and billing system architecture bloated, the operation and maintenance deployment cost is high, and the delivery efficiency is low. Summary of the invention

[0005] The present application aims to solve one of the technical problems in the related art at least to some extent.

[0006] To this end, the purpose of this application is to propose a microservice-based shared delivery method, metering and billing system, medium and equipment, which can simplify the architectural design of the metering and billing system, facilitate the expansion of the metering and billing system, reduce operation and maintenance deployment costs, and improve delivery efficiency.

[0007] To achieve the above-mentioned objectives, the first aspect of the present application proposes a microservice-based shared delivery method, comprising: obtaining resources of the cloud product to be delivered; based on the resources of the cloud product, delivering the cloud product using at least one microservice delivery component provided by a shared delivery component; wherein the microservice is provided by the business support layer of the metering and billing system.

[0008] The microservice-based shared delivery method proposed in the first aspect of the embodiment of the present application obtains the resources of the cloud product to be delivered; based on the resources of the cloud product, the cloud product is delivered using a delivery item of at least one microservice provided by the shared delivery item; wherein the microservice is provided by the business support layer of the metering and billing system, which can simplify the architectural design of the metering and billing system, facilitate the expansion of the metering and billing system, reduce the operation and maintenance deployment costs, and improve the delivery efficiency.

[0009] To achieve the above-mentioned objectives, the metering and billing system proposed in the second aspect of the embodiment of the present application includes: an acquisition module, used to acquire resources of the cloud product to be delivered; a delivery module, used to deliver the cloud product according to the resources of the cloud product using a delivery item of at least one microservice provided by a shared delivery item; wherein the microservice is provided by the business support layer of the metering and billing system.

[0010] The metering and billing system proposed in the second aspect of the embodiment of the present application obtains the resources of the cloud product to be delivered; based on the resources of the cloud product, the cloud product is delivered using a delivery item of at least one microservice provided by a shared delivery item; wherein the microservice is provided by the business support layer of the metering and billing system, which can simplify the architectural design of the metering and billing system, facilitate the expansion of the metering and billing system, reduce operation and maintenance deployment costs, and improve delivery efficiency.

[0011] To achieve the above-mentioned objectives, the non-temporary computer-readable storage medium proposed in the third aspect embodiment of the present application, when the instructions in the storage medium are executed by the processor of a computer device, enables the computer device to execute a microservice-based shared delivery method, the method comprising: the microservice-based shared delivery method proposed in the first aspect embodiment of the present application.

[0012] The non-temporary computer-readable storage medium proposed in the third aspect of the present application acquires the resources of the cloud product to be delivered; based on the resources of the cloud product, the cloud product is delivered using a delivery item of at least one microservice provided by a shared delivery item; wherein the microservice is provided by the business support layer of the metering and billing system, which can simplify the architectural design of the metering and billing system, facilitate the expansion of the metering and billing system, reduce the operation and maintenance deployment costs, and improve the delivery efficiency.

[0013] The computer device proposed in the fourth aspect of the present application includes: a shell, a processor, a memory, a circuit board and a power supply circuit, wherein the circuit board is placed inside the space enclosed by the shell, and the processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the computer device; the memory is used to store executable program code; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the microservice-based shared delivery method proposed in the first aspect of the present application.

[0014] The computer device proposed in the fourth aspect of the embodiment of the present application obtains the resources of the cloud product to be delivered; based on the resources of the cloud product, the cloud product is delivered using a delivery item of at least one microservice provided by a shared delivery item; wherein the microservice is provided by the business support layer of the metering and billing system, which can simplify the architectural design of the metering and billing system, facilitate the expansion of the metering and billing system, reduce operation and maintenance deployment costs, and improve delivery efficiency.

[0015] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0017] Figure 1 It is a flowchart of a microservice-based shared delivery method proposed in an embodiment of the present application;

[0018] Figure 2 is a flow chart of a microservice-based shared delivery method proposed in another embodiment of the present application;

[0019] Figure 3 This is a schematic diagram of the architecture design of the metering and billing system in Example 1 of the present application;

[0020] Figure 4 is a flow chart of a microservice-based shared delivery method proposed in another embodiment of the present application;

[0021] Figure 5 This is a schematic diagram of the architecture design of another metering and billing system according to an embodiment of the present application;

[0022] Figure 6 It is a structural diagram of a metering and billing system proposed in one embodiment of the present application;

[0023] Figure 7 is a structural diagram of a metering and billing system proposed in another embodiment of the present application;

[0024] Figure 8 It is a structural diagram of a computer device proposed in one embodiment of the present application. DETAILED DESCRIPTION

[0025] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be construed as limiting the present application. On the contrary, the embodiments of the present application include all changes, modifications and equivalents that fall within the spirit and connotation of the appended claims.

[0026] Figure 1 It is a flowchart of a microservice-based shared delivery method proposed in one embodiment of the present application.

[0027] The microservice-based shared delivery method in this embodiment can be configured in the metering and billing system, and there is no limitation on this.

[0028] S101: Acquire resources for the cloud products to be delivered.

[0029] The cloud product to be delivered may be referred to as a cloud product to be delivered. The cloud product to be delivered may, for example, include a main server and a sub-server, without limitation.

[0030] The embodiment of the present application takes the cloud product to be delivered as a cloud server as an example. Of course, the cloud product to be delivered may also be any other possible cloud storage, etc., and there is no limitation to this.

[0031] The above-mentioned resources may be, for example, software or hardware resources associated with the cloud product to be delivered, such as the master instance, bandwidth, disk, snapshot, etc. associated with the cloud product to be delivered, without limitation.

[0032] In a multi-cloud management and control scenario, developers usually develop and configure cloud products based on cloud development requirements. After completing the development and configuration work, they obtain the cloud products to be delivered. Then, the cloud products to be delivered are delivered to customers through the metering and billing system. At this time, the software or hardware resources associated with the cloud products to be delivered can be parsed to obtain the resources of the cloud products to be delivered.

[0033] Optionally, in some embodiments, see Figure 2 Before obtaining the resources for the cloud products to be delivered, you must:

[0034] S201: Determine the various microservices provided by the business support layer.

[0035] Among them, microservices are provided by the business support layer of the metering and billing system.

[0036] Optionally, the microservice is at least one of the following: microservices provided by the billing multi-cloud adaptation access API layer, microservices provided by the billing multi-cloud adaptation access layer, microservices provided by the billing API layer, and microservices provided by the business layer. Depending on the expansion of the business support layer of the metering and billing system, the various microservices are not limited to the ones listed above.

[0037] S202: Build shared deliverables based on the deliverables corresponding to various microservices.

[0038] See also Figure 3 , Figure 3 This is a schematic diagram of the architectural design of the metering and billing system of the first embodiment of the present application. Each microservice is set as a corresponding independent module, and each independent module is configured to correspond to a deliverable, so as to build a shared deliverable according to the deliverables corresponding to various microservices to meet the needs of various business scenarios, such as one cloud, multiple clouds, different customer groups and other business scenarios.

[0039] Therefore, by determining the multiple microservices provided by the business support layer of the metering and billing system and building shared deliverables based on the deliverables corresponding to various microservices, it is possible to facilitate the expansion of the metering and billing system business, facilitate parallel development by developers, and improve the development efficiency of the metering and billing system.

[0040] S102: Deliver the cloud product using at least one microservice deliverable provided by a shared deliverable based on resources of the cloud product; wherein the microservice is provided by a business support layer of a metering and billing system.

[0041] After obtaining the resources of the cloud product to be delivered, the cloud product is delivered directly based on the resources of the cloud product using at least one microservice deliverable provided by the shared deliverable. This simplifies the architectural design of the metering and billing system, facilitates the expansion of the metering and billing system, reduces operation and maintenance deployment costs, and improves delivery efficiency.

[0042] In this embodiment, the resources of the cloud product to be delivered are obtained; based on the resources of the cloud product, the cloud product is delivered using a deliverable of at least one microservice provided by a shared deliverable; wherein the microservice is provided by the business support layer of the metering and billing system, which can simplify the architectural design of the metering and billing system, facilitate the expansion of the metering and billing system, reduce the operation and maintenance deployment costs, and improve the delivery efficiency.

[0043] Figure 4 It is a flowchart of a microservice-based shared delivery method proposed in one embodiment of the present application.

[0044] See also Figure 4 , the method comprising:

[0045] S401: Acquire resources of the cloud products to be delivered.

[0046] The cloud products to be delivered may be referred to as cloud products to be delivered. The cloud products to be delivered may include main cloud products and sub-cloud products, without limitation.

[0047] The above-mentioned resources may be, for example, software or hardware resources associated with the cloud product to be delivered, such as the master instance, bandwidth, disk, snapshot, etc. associated with the cloud product to be delivered, without limitation.

[0048] In a multi-cloud management and control scenario, developers usually develop and configure cloud products based on cloud development requirements. After completing the development and configuration work, they obtain the cloud products to be delivered. Then, the cloud products to be delivered are delivered to customers through the metering and billing system. At this time, the software or hardware resources associated with the cloud products to be delivered can be parsed to obtain the resources of the cloud products to be delivered.

[0049] S402: Determine business scenario requirements for cloud products.

[0050] The business scenario requirements can be used to describe the business usage requirements of the cloud products to be delivered. The cloud products to be delivered developed and configured according to different business scenario requirements can provide different functions. Therefore, the resources of the cloud products to be delivered developed and configured according to different business scenario requirements are different, and the pricing of the corresponding resources is also different.

[0051] Therefore, in the embodiment of the present application, the business scenario requirements of the cloud product to be delivered can be determined, and the target billing template can be determined according to the business scenario requirements. The billing template that is adapted to the business scenario requirements of the cloud product to be delivered can be called the target billing template.

[0052] S403: According to the business scenario requirements, the initial billing template is determined using the microservice deliverables provided by the business layer.

[0053] It should be noted that the microservices corresponding to the business layer provided by the shared deliverables in the embodiment of the present application can provide multiple billing templates. Therefore, the embodiment of the present application adopts the deliverables of the microservices provided by the business layer to determine the initial billing template according to the business scenario requirements. The initial billing template can be adapted to the business scenario requirements, thereby supporting the subsequent configuration of the billing items in the initial billing template according to the resources of the cloud product to obtain the target billing template, thereby flexibly selecting the appropriate billing template according to the business scenario requirements, and facilitating the expansion of the billing template, thereby improving the scalability and flexibility of the metering and billing system, thereby reducing the cost of subsequent development, maintenance, and modification, and shortening the development time.

[0054] That is to say, the microservice corresponding to the business layer can provide multiple billing templates, assuming that they include billing template A and billing template B. Different business scenario requirements correspond to different billing templates. First, determine the initial billing template corresponding to the business scenario, and then configure the billing items in the initial billing template. The initial billing template with the billing items configured can be called the target billing template.

[0055] In some other embodiments, depending on the needs of different business scenarios, the cloud product to be delivered can have one main cloud product and multiple sub-cloud products. In the billing template of the metering and billing system of the main cloud product, billing strategies for multiple sub-cloud products are configured, and the multiple billing strategies are distributed to each sub-cloud product for differentiated processing. It is also possible to collect data at various levels such as metering and resource specifications from each sub-cloud product and aggregate them to the main cloud for bill generation and aggregation, thereby facilitating customers to conduct multi-field and multi-dimensional resource bill queries and bill report outputs.

[0056] S404: Obtain a target billing template based on the billing items in the initial billing template configured according to the resources of the cloud product.

[0057] Optionally, the target billing template is obtained according to the billing items in the initial billing template configured according to the resources of the cloud product, including: determining the target billing items according to the resources of the cloud product; retaining the target billing items in the initial billing template and deleting other billing items, thereby obtaining the target billing template, the target billing items and other billing items together constitute all the billing items in the initial billing template.

[0058] Assume that a cloud product needs to be delivered. The delivery cost components of the cloud product in a certain period include cloud product instance specification fees, bandwidth fees, disk fees, and snapshot fees. That is, the billing items of the cloud product include: cloud product master instance, bandwidth, disk, and snapshots.

[0059] If customer A's business scenario requires that snapshots in cloud products are not charged, and bandwidth is output as a monthly bill based on usage, then when configuring initial billing template A, the billing items in initial billing template A can be set to the cloud product master instance, bandwidth, and disk, and the billing cycle of the resource can be set to month, and the bandwidth attribute can be set to bandwidth based on usage. The configured initial billing template A can be called target billing template A; if customer B's business scenario requires that cloud products only charge for master instance specifications and disks, and output bills every hour, then when configuring initial billing template B, the billing items of initial billing template B can be set to the cloud product master instance and disk, and the billing cycle of the resource can be set to hourly. The configured initial billing template B can be called target billing template B. As a result, the bill for each period will be output according to the target billing template set by the customer, which not only facilitates customers to flexibly combine and configure the billing methods of various resource items, but also improves code reusability.

[0060] S405: Determine pricing information corresponding to each billing item in the target billing template, and deliver the cloud product using the corresponding pricing information.

[0061] In an embodiment of the present application, a corresponding billing template management module and a pricing management module can also be configured for the metering and billing system, so that the billing template management module is used to manage the above-mentioned multiple billing templates accordingly, and the pricing management module is used to determine the pricing information corresponding to each billing item in the target billing template, so as to deliver the resources of the cloud products to be delivered, without any restriction.

[0062] After the billing template management module is used to manage the above-mentioned multiple billing templates accordingly and an initial billing template corresponding to the business scenario is determined, the billing template management module can also be used to configure a billing strategy according to business scenario requirements.

[0063] A charging strategy may have one or more charging items. The charging strategy may be based on a fixed amount, based on usage, based on hours, based on days or months, and there is no restriction on this.

[0064] The above-mentioned pricing management module is mainly used to display the specifications of various products or resource items and to set prices for each product specification. The pricing management module supports different pricing for products in different regions and from different suppliers, supports batch setting and modification of prices, and supports historical price viewing, including the corresponding display of historical time periods for each historical price, so that customers can quickly and accurately view the consumption of resource items at each stage.

[0065] S406: Receive operation instructions.

[0066] After configuring the billing items in the initial billing template according to the resources of the cloud product to be delivered, obtaining the target billing template, and determining the pricing information corresponding to each billing item in the target billing template, it is also possible to perform personalized operations on the target billing items of the target billing template according to the operating instructions of the developer, thereby meeting the diverse scenario requirements of cloud product delivery as much as possible.

[0067] S407: According to the operation instruction, a corresponding operation is performed on the target billing item of the target billing template.

[0068] Optionally, corresponding operations on the target billing items of the target billing template include at least one of the following: adding new target billing items, modifying target billing items, displaying the billing type of the target billing items, displaying the function of the target billing items, displaying the billing unit of the target billing items, displaying the billing cycle of the target billing items, displaying the configuration information of the target billing items, revising the pricing information corresponding to the target billing items, and displaying the delivery status of the resources to which the target billing items belong, which can enrich the functions of the metering and billing system, improve the applicability of the metering and billing system, and enhance the user experience.

[0069] The above can also be configured with corresponding billing item management modules, order management modules, bill management modules, metering management modules, etc., so as to perform corresponding management functions in the process of delivering resources of the cloud products to be delivered, without limitation.

[0070] For example, the billing item management module mainly involves the addition and modification of billing items, and displays the billing type, billing unit, billing unit, billing cycle, whether it is tiered pricing, status, etc. of the billing item; the order management module mainly displays and exports the bills of each billing cycle of each billing product in multiple dimensions, such as the display and export of periodic bills, department dimension bills, and product dimension bills; it also supports multi-condition fuzzy queries such as operating units, departments, projects, resource IDs, resource names, product types, and regions. The displayed bills show in detail the cost of each resource and each billing item in the resource for each cycle; the bill management module is mainly to facilitate the platform system administrator to manually modify product prices under special circumstances; the metering management module is mainly to obtain metering data of resources, such as real-time acquisition of bandwidth usage in cloud products, etc., to provide support for the billing of metering products.

[0071] The billing template management module, pricing management module, billing item management module, order management module, bill management module, metering management module, etc. in the above-mentioned metering and billing system are all integrated in the business layer, so that the functions provided by the above-mentioned modules can be integrated into the corresponding deliverables of each module in the form of microservices and delivered for use in various scenarios, thereby improving delivery efficiency and simplifying the architectural design of the metering and billing system.

[0072] See also Figure 5 , Figure 5 This is a schematic diagram of the architecture design of another metering and billing system of an embodiment of the present application. The shared delivery layer includes: billing multi-cloud adaptation access API layer, billing multi-cloud adaptation access layer, billing API layer, business layer. The business layer may include: billing template management module, pricing management module, billing item management module, order management module, bill management module, metering management module, etc.

[0073] In this embodiment, the resources of the cloud product to be delivered are obtained; based on the resources of the cloud product, the cloud product is delivered using at least one microservice delivery provided by the shared delivery; wherein the microservice is provided by the business support layer of the metering and billing system, which can simplify the architectural design of the metering and billing system, facilitate the expansion of the metering and billing system, reduce the operation and maintenance deployment cost, and improve the delivery efficiency. By determining the initial billing template based on the business scenario requirements using the microservice delivery provided by the business layer, the initial billing template can be adapted to the business scenario requirements, thereby supporting the subsequent configuration of the billing items in the initial billing template based on the resources of the cloud product to be delivered, obtaining the target billing template, realizing flexible selection of the appropriate billing template based on the business scenario requirements, and facilitating the expansion of the billing template, improving the scalability and flexibility of the metering and billing system, thereby reducing the cost of subsequent development, maintenance, and modification, and shortening the development time. It is realized that the target billing items of the target billing template are personalized according to the operating instructions of the developer, so as to meet the diverse scenario requirements of cloud product delivery as much as possible. By integrating the billing template management module, pricing management module, billing item management module, order management module, bill management module, metering management module, etc. in the business layer, the functions provided by the aforementioned modules can be called by shared deliverables in the form of microservices, thereby improving delivery efficiency and simplifying the architectural design of the metering and billing system.

[0074] Figure 6 It is a structural diagram of a metering and billing system proposed in one embodiment of the present application.

[0075] See also Figure 6 , the metering and billing system 600 includes:

[0076] The acquisition module 601 is used to acquire resources of the cloud product to be delivered;

[0077] The delivery module 602 is used to deliver the cloud product according to the resources of the cloud product by using at least one microservice deliverable provided by the shared deliverable; wherein the microservice is provided by the business support layer of the metering and billing system.

[0078] Optionally, in some embodiments, see Figure 7 , also includes:

[0079] A determination module 603 is used to determine a plurality of microservices provided by the business support layer;

[0080] The construction module 604 is used to construct a shared deliverable according to the deliverables corresponding to various microservices.

[0081] Optionally, in some embodiments, the microservice is at least one of the following: a microservice provided by the billing multi-cloud adaptation access API layer, a microservice provided by the billing multi-cloud adaptation access layer, a microservice provided by the billing API layer, and a microservice provided by the business layer.

[0082] Optionally, in some embodiments, the microservice is: a microservice provided by the business layer, see Figure 7 , the delivery module 602 is specifically used for:

[0083] Determine the business scenario requirements for cloud products;

[0084] Based on the business scenario requirements and the resources of cloud products, cloud products are delivered using the microservice deliverables provided by the business layer.

[0085] Optionally, in some embodiments, the delivery module 602 is further configured to:

[0086] Based on the business scenario requirements, the initial billing template is determined using the microservice deliverables provided by the business layer;

[0087] According to the billing items in the initial billing template configured by the cloud product resources, the target billing template is obtained;

[0088] Determine the pricing information corresponding to each billing item in the target billing template, so as to deliver the cloud product using the corresponding pricing information.

[0089] Optionally, in some embodiments, the delivery module 602 is further configured to:

[0090] Determine target billing items based on cloud product resources;

[0091] The target billing item in the initial billing template is retained, and other billing items are deleted to obtain the target billing template. The target billing item and other billing items together constitute all billing items in the initial billing template.

[0092] Optionally, in some embodiments, see Figure 7 , also includes:

[0093] The processing module 605 is used to receive an operation instruction and perform a corresponding operation on a target billing item of a target billing template according to the operation instruction.

[0094] Optionally, in some embodiments, corresponding operations on the target billing items of the target billing template include at least one of the following: adding a new target billing item, modifying the target billing item, displaying the billing type of the target billing item, displaying the function of the target billing item, displaying the billing unit of the target billing item, displaying the billing cycle of the target billing item, displaying the configuration information of the target billing item, revising the pricing information corresponding to the target billing item, and displaying the delivery status of the resources to which the target billing item belongs.

[0095] It should be noted that the above Figure 1-Figure 5 The explanation of the embodiment of the microservice-based shared delivery method is also applicable to the metering and billing system 600 proposed in this embodiment. The implementation principle is similar and will not be repeated here.

[0096] In this embodiment, the resources of the cloud product to be delivered are obtained; based on the resources of the cloud product, the cloud product is delivered using a deliverable of at least one microservice provided by a shared deliverable; wherein the microservice is provided by the business support layer of the metering and billing system, which can simplify the architectural design of the metering and billing system, facilitate the expansion of the metering and billing system, reduce the operation and maintenance deployment costs, and improve the delivery efficiency.

[0097] Figure 8 It is a schematic diagram of the structure of a computer device proposed in one embodiment of the present application.

[0098] See also Figure 8 The computer device 800 of this embodiment includes a housing 801, a processor 802, a memory 803, a circuit board 804 and a power supply circuit 805, wherein the circuit board 804 is arranged inside the space enclosed by the housing 801, and the processor 802 and the memory 803 are arranged on the circuit board 804; the power supply circuit 805 is used to supply power to various circuits or devices of the computer device 800; the memory 803 is used to store executable program codes; the processor 802 runs a program corresponding to the executable program code by reading the executable program code stored in the memory 803, so as to execute:

[0099] Obtain resources for cloud products to be delivered;

[0100] According to the resources of the cloud product, the cloud product is delivered using at least one microservice deliverable provided by the shared deliverable; wherein the microservice is provided by the business support layer of the metering and billing system.

[0101] It should be noted that the above Figure 1-Figure 5 The explanation of the embodiment of the microservice-based shared delivery method in the embodiment is also applicable to the computer device 800 of this embodiment, and its implementation principle is similar, which will not be repeated here.

[0102] In this embodiment, the resources of the cloud product to be delivered are obtained; based on the resources of the cloud product, the cloud product is delivered using a deliverable of at least one microservice provided by a shared deliverable; wherein the microservice is provided by the business support layer of the metering and billing system, which can simplify the architectural design of the metering and billing system, facilitate the expansion of the metering and billing system, reduce the operation and maintenance deployment costs, and improve the delivery efficiency.

[0103] In order to implement the above-mentioned embodiment, the embodiment of the present application proposes a non-temporary computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the microservice-based shared delivery method of the above-mentioned method embodiment is implemented.

[0104] It should be noted that, in the description of this application, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, the meaning of "plurality" is two or more.

[0105] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0106] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0107] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0108] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0109] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0110] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0111] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A shared delivery method based on microservices, characterized in that: The method comprises: Determine a plurality of microservices provided by a business support layer of a metering and billing system, wherein the plurality of microservices provided by the business support layer include microservices provided by the business layer; and construct a shared deliverable according to deliverables corresponding to the various microservices; Obtain resources and business scenarios for cloud products to be delivered; According to the resource and business scenario requirements of the cloud product, an initial billing template is determined using the microservice deliverables provided by the business layer in the shared deliverables; According to the resource configuration of the cloud product, the billing items in the initial billing template are obtained to obtain a target billing template; Determining pricing information corresponding to each billing item in the target billing template, thereby delivering the cloud product using the corresponding pricing information; When the cloud product is delivered through the microservices provided by the business layer, if it is determined that the cloud product includes a main cloud product and multiple sub-cloud products; in the initial billing template of the main cloud product, the billing policies of multiple sub-cloud products are configured, and the multiple billing policies are distributed to each sub-cloud product for differentiated processing; various levels of data on metering and resource specifications are collected in each sub-cloud product, and the data at various levels are aggregated to the main cloud product for bill generation and aggregation.

2. The microservices-based shared delivery method according to claim 1, characterized in that: The microservice is at least one of the following: a microservice provided by the billing multi-cloud adaptation access API layer, a microservice provided by the billing multi-cloud adaptation access layer, a microservice provided by the billing API layer, and a microservice provided by the business layer.

3. The microservice-based shared delivery method according to claim 2, characterized in that: The step of configuring the billing items in the initial billing template according to the resources of the cloud product to obtain the target billing template includes: Determine target billing items based on the resources of the cloud product; The target billing item in the initial billing template is retained, and other billing items are deleted to obtain the target billing template, wherein the target billing item and the other billing items together constitute all billing items in the initial billing template.

4. The microservice-based shared delivery method according to claim 3, characterized in that: After determining the pricing information corresponding to each charging item in the target charging template, the method further includes: Receive operation instructions; According to the operation instruction, a corresponding operation is performed on the target billing item of the target billing template.

5. The microservice-based shared delivery method according to claim 4, characterized in that: The performing corresponding operations on the target billing item of the target billing template includes at least one of the following: Add new target billing items, modify target billing items, display the billing type of target billing items, display the function of target billing items, display the billing unit of target billing items, display the billing cycle of target billing items, display the configuration information of target billing items, revise the pricing information corresponding to the target billing items, and display the delivery status of the resources to which the target billing items belong.

6. A metering and billing system, characterized in that: The system comprises: A determination module, used to determine a plurality of microservices provided by a business support layer of a metering and billing system, wherein the plurality of microservices provided by the business support layer include microservices provided by the business layer; A construction module, used to construct a shared deliverable according to the deliverables corresponding to the various microservices; The acquisition module is used to obtain the resources and business scenarios of the cloud products to be delivered; The delivery module is used to determine an initial billing template according to the resources and business scenario requirements of the cloud product and the microservice deliverables provided by the business layer in the shared deliverables; configure the billing items in the initial billing template according to the resources of the cloud product to obtain a target billing template; determine pricing information corresponding to each billing item in the target billing template, and deliver the cloud product using the corresponding pricing information; When the cloud product is delivered through the microservices provided by the business layer, if it is determined that the cloud product includes a main cloud product and multiple sub-cloud products; in the initial billing template of the main cloud product, the billing policies of multiple sub-cloud products are configured, and the multiple billing policies are distributed to each sub-cloud product for differentiated processing; various levels of data on metering and resource specifications are collected in each sub-cloud product, and the data at various levels are aggregated to the main cloud product for bill generation and aggregation.

7. The metering and billing system according to claim 6, characterized in that: The microservice is at least one of the following: a microservice provided by the billing multi-cloud adaptation access API layer, a microservice provided by the billing multi-cloud adaptation access layer, a microservice provided by the billing API layer, and a microservice provided by the business layer.

8. The metering and billing system according to claim 7, characterized in that: The delivery module is further used to: Determine target billing items based on the resources of the cloud product; The target billing item in the initial billing template is retained, and other billing items are deleted to obtain the target billing template, wherein the target billing item and the other billing items together constitute all billing items in the initial billing template.

9. The metering and billing system according to claim 8, characterized in that: Also includes: The processing module is used to receive an operation instruction and perform a corresponding operation on the target billing item of the target billing template according to the operation instruction.

10. The metering and billing system according to claim 9, characterized in that: The performing corresponding operations on the target billing item of the target billing template includes at least one of the following: Add new target billing items, modify target billing items, display the billing type of target billing items, display the function of target billing items, display the billing unit of target billing items, display the billing cycle of target billing items, display the configuration information of target billing items, revise the pricing information corresponding to the target billing items, and display the delivery status of the resources to which the target billing items belong.

11. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the microservice-based shared delivery method according to any one of claims 1 to 5 is implemented.

12. A computer device, comprising a housing, a processor, a memory, a circuit board and a power supply circuit, wherein: The circuit board is placed inside the space enclosed by the housing, and the processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the computer device; the memory is used to store executable program codes; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the microservice-based shared delivery method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Charging method and device supporting flexible combination of charging units

    CN102034198A

  • Charging method and charging system

    CN102958030A

  • Generation method and device for deployment deliverables based on microservice, and storage medium

    CN108182068A

  • Cloud data self-service delivery and use amount management platform realization method

    CN108629473A

  • Expressway charging system based on micro-service

    CN109584390A