📜 ⬆️ ⬇️

Billing modeling in a cloud reporting provider

The company CloudReports (hereinafter all the matches of names with real companies please consider random) provides a cloud service for preparing reports in the cloud. Consider the business task of modeling the calculation of the cost of forming such services. For a deeper understanding of the situation, let us consider, as an example, the real FastReports company product available in the open-source version for generating reports (you can download the demo version for free on the company's website). Take the Employees demo report



Modify the report. To do this, add another page to the report (Page2)


')
On the code page



The report can be downloaded here .

Run the report and scroll to the last page.



As a simple model, you can consider linear, then the cost of building a report is calculated by the formula



where a_i is a set of some weights, b_i is a billing parameter. For example, we will select as key parameters when calculating the cost price: Memory utilization rate (Physical memory usage = Pm), Processor load time (Total processor time = Tt) and number of pages in the report (Pages = P)



a_1 is a coefficient that is selected on the basis of the marketing model and has the dimension ruble / bit, provided that Pm is measured in bits. Suppose the following rates are established



Counting



where the processor time is rounded up to 4 seconds.

In reality, the choice may be more difficult, we leave this task beyond the scope of this article - we’ll just give an example: you charge the first 100 pages for a ruble 101-199 for 0.50 kopecks; everything above 200 is not charged or charged at 0.10 kopecks. The point of this example is to show that there are countless marketing options.

An important part of cloud reports is their licensing. Let's give an example, a customer purchases a package of 100 reports. Each report has its own unique code. The structure of each report can be designed at the discretion of the client. When selling a package of licenses for 100 reports, the client pays a certain amount to his personal account. You can take into account each report launch and remove a fixed amount S + Fix in addition to the resource consumed, then before launching the report you must specify its unique key in response to this request, the license server will take into account this launch and reduce the counter by one. If the license has expired, then the launch of the report will be denied. Sales are possible with an unlimited number of launches or with a periodic renewal, when a license is issued for 10 thousand launches, after which the fixed amount is removed from the personal account and the launch counter is again set to 10 thousand.

Source: https://habr.com/ru/post/450182/


All Articles