Cloud Product Network Usage Calculation via Dynamic Algorithm Invocation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for calculating network usage in cloud products are inefficient due to the need for hard-coding, which consumes time and human resources, and cannot adapt to changing usage calculation requirements.
Innovation Solution
A method and apparatus that acquire traffic usage data and determine an algorithm list corresponding to the cloud product, invoking pre-configured algorithms to perform data processing operations, thereby calculating network usage quickly and flexibly without the need for hard-coding.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If hard-coding method is used to realize the whole process of calculation, then the usage calculation can be completed, but the coding time is relatively long and human resources are consumed relatively
Solution Approach 1:
The patent pre-configures multiple algorithms before runtime and stores them in an algorithm list. When calculating usage, the system only needs to select and execute pre-configured algorithms rather than coding the entire calculation process from scratch. This preliminary preparation of algorithms significantly reduces coding time and improves calculation efficiency.
Solution Approach 2:
The patent divides the usage calculation process into separate, independent algorithms that can be configured and executed independently. Each algorithm handles a specific aspect of the calculation, and they are stored as discrete units in an algorithm list. This segmentation allows for modular execution and reduces the complexity of overall calculation implementation.
2Productivity
If hard-coding method is used to realize the whole process of calculation, then the usage calculation can be completed, but human resources are consumed relatively
Solution Approach 1:
The system automatically selects and executes algorithms from the pre-configured algorithm list based on the cloud product type and usage scenario. This automation eliminates the need for manual intervention in the calculation process, reducing human resource consumption while maintaining high calculation efficiency.
Solution Approach 2:
Algorithms are pre-configured and stored in advance, creating a ready-to-use library that the system can automatically select from. This preliminary configuration reduces the need for manual coding and human intervention during actual usage calculation operations.
3Adaptability or versatility
If traditional calculation methods are used, then the network usage can be calculated, but the system cannot adapt flexibly to changing usage calculation requirements
Solution Approach 1:
The system uses a dynamic algorithm list that can be flexibly configured and modified based on different cloud products and usage scenarios. The algorithm list is not fixed but can be adjusted to accommodate changing calculation requirements, providing both adaptability and maintained efficiency through automated selection and execution.
Solution Approach 2:
The patent creates a universal algorithm list that can serve multiple cloud products and different usage calculation scenarios. The same framework and algorithm selection mechanism can adapt to various calculation needs, providing versatility without sacrificing calculation efficiency through automation.
Data Source
AI summary
A method and apparatus for processing network usage of a cloud product, a device, a storage medium and a product, and relates to cloud computing and big data in data processing. The specific implementation is: acquiring traffic usage data of a target cloud product within a preset time interval; determining an algorithm list corresponding to the target cloud product; and invoking all pre-configured algorithms corresponding to identifiers of all the algorithms according to the algorithm list to perform corresponding data processing operations on the traffic usage data to obtain a target network usage corresponding to the target cloud product.


