A data speed limit system based on custom reports
By designing a data speed limit system based on custom reports, the cumbersome problems of data transmission speed limit and report generation in the existing technology are solved, efficient data collection and diversified report generation are realized, and the flexibility of the system is improved. User satisfaction.
Patent Information
- Application Number
- CN202111517273.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-13
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2041-12-13
AI Technical Summary
The existing data display system cannot effectively limit the speed data transmission, and the report generation process is cumbersome, the flexibility and controllability are poor, and it cannot meet the diverse needs of users.
A data speed limiting system based on custom reports is designed, including report template configuration module, data limiting module, data acquisition module and report generation module. Through the collaborative work of these modules, the system can generate diversified reports based on actual needs and achieve speed limit on data through the configuration of the data limit module.
It realizes efficient data collection and speed limit, simplifies the report generation process, improves the applicability and generation efficiency of data reports, and can meet the diverse needs of users.
Smart Images

Figure CN114357960B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data monitoring speed limiting, and in particular relates to a data speed limiting system based on a custom report. Background Art
[0002] With the development of network technology, in the field of computer technology, the data that users care about is becoming more and more important. How to show the data clearly and intuitively can be reflected in various reports. Compared with other single formats, there are many types of reports. There can be linear graphs to reflect the changes in data flow; pie charts to reflect the proportion of data; bar charts to reflect the size relationship of various types of data; 3D graphs to clearly and intuitively reflect the data. However, due to the lack of uniformity in the format of reports in various industries, and most of them manually input data and formulas to generate corresponding reports, it is very cumbersome, and the flexibility and controllability are poor, it is not universal, and the efficiency is also very low. The report function is also very single, which can only achieve the effect of query, and the coupling with other functions is poor, which cannot meet the various needs of users. If you want to time or generate corresponding types of reports, you often need to update the software source code, which is not easy for ordinary users. At this time, there is a need for a tool that can flexibly generate various types of reports based on templates and create new report tasks as needed. You only need to build templates and tasks to generate tools as needed to solve these problems. At the same time, the existing data display system cannot limit the data well. Summary of the invention
[0003] The object of the present invention is to provide a data speed limit system based on custom reports, which can efficiently collect and output the required data according to actual needs for different users, different time periods and different restriction requirements.
[0004] The present invention is achieved through the following technical solutions:
[0005] A data speed limiting system based on custom reports comprises a report template configuration module, a data restriction module, a data acquisition module and a report generation module, wherein the report template configuration module is used to generate an empty report template and configure the data type in the empty report template and the format of the empty report template; the data restriction module is used to configure the data acquisition object information, acquisition time information and acquisition threshold; the data acquisition module acquires data of a selected user object within a selected acquisition time according to the acquisition object information and acquisition time information configured by the data restriction module and forms a data packet, and passes or discards the data packet according to the acquisition threshold; the report generation module is used to configure the report generation time, and extracts the data packets passed in the data acquisition module and the empty report template generated by the report template configuration module at the report generation time, and fills the passed data packets into the empty report template to generate a report.
[0006] The report template configuration module is used to generate an empty report template. At the same time, the data type and format of the empty report template are configured through the report template configuration module. The above data types and formats are configured through the report template configuration module, and different empty report templates are obtained according to actual usage requirements. The empty report template does not contain specific data.
[0007] The data restriction module is used to configure the data collection object information, collection time information, and collection threshold. The collection object information is used to select the user object that needs to collect data; the collection time information is used to select the collection time period for data collection, such as collecting data in the time period between time A and time B, and not collecting data in the time period outside time A and time B; the data collection module collects data from the selected user object according to the configured collection object information, collects data at the selected time interval according to the collection time information, and collects data from the selected user object at the selected time interval according to the collection object information and the collection time information to form a data packet. The data collection module compares the data packet with the collection threshold configured by the data restriction module, discards the data packet that exceeds the collection threshold, and passes and retains the data packet that does not exceed the collection threshold, thereby realizing speed limiting of data transmission.
[0008] The report generation module can configure the report generation time, such as configuring the report generation every day, every week, and every month. At the report generation time, the report generation module extracts the data packets passed by the data acquisition module and the empty report template in the report template configuration module, and then fills the data in the data packet into the empty report template to generate the final data report.
[0009] In order to better implement the present invention, further, the data acquisition module includes a data packet generation module and a data packet screening module. The data packet generation module collects data of the selected user object within the selected collection time according to the collection object information and collection time information configured by the data restriction module and forms a data packet; the data packet screening module compares and calculates the data packet generated by the data packet generation module with the collection threshold configured by the data restriction module to pass or discard the data packet.
[0010] In order to better implement the present invention, further, the data packet screening module includes a fixed token value calculation module, a unit data length calculation module, and a data packet comparison module. The fixed token value calculation module calculates the fixed token value of the data packet according to the collection threshold, the unit data length calculation module calculates the unit data length that can pass within a unit time according to the collection threshold, and the data packet comparison module calculates the passing token value of the data packet according to the fixed token value and the unit data length, and compares the passing token value with the length of the data packet to pass or discard the data packet.
[0011] In order to better implement the present invention, further, the data limitation module includes a time limitation module, a user object limitation module, and a threshold limitation module. The time limitation module is used to configure the data collection time information and transmit the collection time information to the data collection module. The user object limitation module is used to configure the data collection object information and transmit the collection object information to the data collection module. The threshold limitation module is used to configure the data collection threshold and transmit the collection threshold to the data collection module.
[0012] In order to better implement the present invention, further, the user object restriction module includes an IP detection module, an application detection module, and a user information encapsulation module. The IP detection module is used to extract the user's IP address to determine the collected user, and the application detection module is used to extract the application information in the collected user; the user information encapsulation module is used to encapsulate the collected user and application information into collection object information, and transmit the collection object information to the data collection module.
[0013] In order to better implement the present invention, further, the report template configuration module includes a report data configuration module and a report format configuration module, the report data configuration module is used to configure the data type that needs to be collected in the empty report template, and the report format configuration module is used to configure the format of the generated empty report template.
[0014] In order to better realize the present invention, further, the report generation module includes a report task module and a report filling module. The report task module is used to establish a number of report filling tasks and configure the report generation time for each report filling task. The report filling module extracts the data packets passed by the data acquisition module and the empty report template generated by the report template configuration module according to the report generation time in the report filling task, and fills the passed data packets into the empty report template to generate a report.
[0015] In order to better implement the present invention, further, it also includes a historical report task module connected to the report task module, and the historical report task module is used to back up several report filling tasks generated by the report task module and generate a report task history list based on several report filling tasks.
[0016] In order to better implement the present invention, further, it also includes a warning module connected to the data acquisition module, and the warning module is used to generate warning information for the data packets discarded by the data acquisition module.
[0017] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0018] (1) The present invention pre-configures the data type and format of the blank report template in the blank report template through the report template configuration module, so that the report finally generated can display different data types in different formats, avoiding the need to cooperate with additional tools when reports with different formats and different data types are required, thereby improving the applicability and generation efficiency of data reports;
[0019] (2) The present invention pre-sets the collection object information, collection time information, and collection threshold through the data restriction module, collects data from the selected user object through the collection object information, collects data within the selected time period through the collection time information, and limits the speed of data through the collection threshold, discards data that exceeds the collection threshold, and thus can perform efficient data collection and restriction for a specific user object within a specific time period;
[0020] (3) The present invention sets the report generation time through the data acquisition module, and automatically generates data reports according to the report generation time, which simplifies the report generation process and makes the generation and use of data reports more convenient and quick. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is a schematic diagram of the overall structure of the present invention.
[0022] Among them: 1-report template configuration module; 2-data restriction module; 3-data acquisition module; 4-report generation module; 5-historical report task module; 6-warning module; 11-report data configuration module; 12-report format configuration module; 21-time restriction module; 22-user object restriction module; 23-threshold restriction module; 221-IP detection module; 222-application detection module; 223-user information encapsulation module; 31-data packet generation module; 32-data packet filtering module; 321-fixed token value calculation module; 322-unit data length calculation module; 323-data packet comparison module; 41-report task module; 42-report filling module. DETAILED DESCRIPTION
[0023] Embodiment 1:
[0024] A data speed limiting system based on a custom report in this embodiment, such as Figure 1As shown, it includes a report template configuration module 1, a data restriction module 2, a data collection module 3, and a report generation module 4. The report template configuration module 1 is used to generate an empty report template and configure the data type in the empty report template and the format of the empty report template; the data restriction module 2 is used to configure the data collection object information, collection time information, and collection threshold; the data collection module 3 collects the data of the selected user object within the selected collection time according to the collection object information and collection time information configured by the data restriction module 2 and forms a data packet, and passes or discards the data packet according to the collection threshold; the report generation module 4 is used to configure the report generation time, and extracts the data packets passed in the data collection module 3 and the empty report template generated by the report template configuration module 1 at the report generation time, and fills the passed data packets into the empty report template to generate a report.
[0025] The data types configured by the report template configuration module 1 include data types such as bandwidth, session, and traffic, and chart types such as line graphs, bar graphs, and pie charts. The formats of the empty report template configured by the report template configuration module 1 include word format, HTML format, EXCL format, and PDF format. The data restriction module 2 is used to configure the data collection object information, collection time information, and collection threshold. The user object that needs to collect data is determined by the collection object information, and the time period that needs to collect data is determined by the collection time information. The data collection module 3 collects data for the corresponding user object in the corresponding time period and forms a data packet, and then limits the data packet speed by the collection threshold, passes and retains the data packet that does not exceed the collection threshold, and discards the data packet that exceeds the collection threshold. The report generation module 4 fills the data in the passed data packet into the empty report template generated by the report template configuration module 1, thereby quickly forming a data report.
[0026] The report template configuration module 1 is used to pre-configure the data type and the format of the empty report template, so that the final generated report can be quickly configured to meet different usage requirements and has a wider range of applications. At the same time, the data restriction module 2 is used to configure the collection object information, collection time information, and collection threshold, so that data can be collected for specific user objects and in specific time periods according to actual usage requirements, and the data packet can be limited by the collection threshold, effectively maintaining the efficiency and stability of the system.
[0027] Embodiment 2:
[0028] This embodiment is further optimized on the basis of Embodiment 1, as shown in FIG..., the data acquisition module 3 includes a data packet generation module 31 and a data packet screening module 32, the data packet generation module 31 collects data of the selected user object within the selected collection time according to the collection object information and collection time information configured by the data restriction module 2 and forms a data packet; the data packet screening module 32 compares and calculates the data packet generated by the data packet generation module 31 with the collection threshold configured by the data restriction module 2 to pass or discard the data packet.
[0029] Furthermore, the data packet screening module 32 includes a fixed token value calculation module 321, a unit data length calculation module 322, and a data packet comparison module 323. The fixed token value calculation module 321 calculates the fixed token value of the data packet according to the collection threshold, the unit data length calculation module 322 calculates the unit data length that can pass within a unit time according to the collection threshold, and the data packet comparison module 323 calculates the passing token value of the data packet according to the fixed token value and the unit data length, and compares the passing token value with the length of the data packet to pass or discard the data packet.
[0030] If the collection threshold is set to 100 kb / s for the traffic speed, the fixed token value calculation module 321 calculates the fixed token value X of the data packet according to the collection threshold, the unit data length calculation module 322 calculates the unit data length Y that can pass through the unit time according to the collection threshold, and the data packet comparison module 323 calculates the passing token value L according to the fixed token value X and the unit data length Y. The calculation formula is as follows:
[0031] L=X+Yt, where L is the passing token value, X is the fixed token value, Y is the unit data length, and t is the receiving time interval between two adjacent data packets.
[0032] The calculated pass token value is compared with the actual length of the data packet. If the actual length of the data packet is greater than the pass token value, the data packet cannot pass and is discarded. If the actual length of the data packet is less than or equal to the pass token value, the data packet can pass.
[0033] The other parts of this embodiment are the same as those of the above-mentioned embodiment 1 or 2, and thus will not be described in detail.
[0034] Embodiment 3:
[0035] This embodiment is further optimized on the basis of the above-mentioned embodiment 1 or 2. The data limitation module 2 includes a time limitation module 21, a user object limitation module 22, and a threshold limitation module 23. The time limitation module 21 is used to configure the data collection time information and transmit the collection time information to the data collection module 3. The time limitation module 21 is configured with a starting time point A and an ending time point B. The collection time period is the time period between the starting time point A and the ending time point B. The time limitation module 21 encapsulates the starting time point A, the ending time point B, and the time period between the starting time point A and the ending time point B as the collection time information, and transmits the collection time information to the data collection module 3.
[0036] The user object restriction module 22 is used to configure the data collection object information and transmit the collection object information to the data collection module 3 , and the threshold restriction module 23 is used to configure the data collection threshold and transmit the collection threshold to the data collection module 3 .
[0037] Furthermore, the user object restriction module 22 includes an IP detection module 221, an application detection module 222, and a user information encapsulation module 223. The IP detection module 221 is used to extract the user's IP address to determine the collected user, and the application detection module is used to extract the application information in the collected user; the user information encapsulation module is used to encapsulate the collected user and the application information into collection object information, and transmit the collection object information to the data packet generation module.
[0038] For example, the IP detection module 221 determines to collect data from user C based on the IP address of the user object, and the application detection module 222 further extracts the application information from user C. For example, if the application information corresponding to application D in user C is extracted, the user information encapsulation module 223 encapsulates the IP address of user C and the application name and version number corresponding to application D as the collection object information.
[0039] The other parts of this embodiment are the same as those of the above-mentioned embodiment 1 or 2, and thus will not be described in detail.
[0040] Embodiment 4:
[0041] This embodiment is further optimized on the basis of any one of the above embodiments 1-3. The report template configuration module 1 includes a report data configuration module 11 and a report format configuration module 12. The report data configuration module 11 is used to configure the data type that needs to be collected in the empty report template, and the report format configuration module 12 is used to configure the format of the generated empty report template.
[0042] The data types configured by the report data configuration module 11 include data types such as bandwidth, session, and traffic, and chart types such as line graphs, bar graphs, and pie charts. The formats of the empty report templates configured by the report format configuration module 12 include word format, HTML format, EXCL format, PDF format, etc.
[0043] The other parts of this embodiment are the same as any one of the above embodiments 1-3, so they are not repeated here.
[0044] Embodiment 5:
[0045] This embodiment is further optimized on the basis of any one of the above embodiments 1-4. The report generation module 4 includes a report task module 41 and a report filling module 42. The report task module 41 is used to establish a number of report filling tasks and configure the report generation time for each report filling task. The report filling module 42 extracts the data packets passed by the data acquisition module 3 and the empty report template generated by the report template configuration module 1 according to the report generation time in the report filling task, and fills the passed data packets into the empty report template to generate a report.
[0046] The report task module 41 is used to establish several report filling tasks, and configure the report generation time for each report filling task, and set the data type and report format required for each report filling task through the report task module 41. The report task module 41 will automatically send the corresponding report filling tasks to the report filling module 42 in the order of the report generation time in each report filling task, and then the report filling module 42 extracts the empty report template with the corresponding data type and format from the report template configuration module 1 according to the data type and report format required in the received report filling task, and extracts the corresponding data from the data packet in the data acquisition module 3 and fills it into the empty report template to generate a report. It is also possible to manually send the report filling tasks in the report task module 41 to the report filling module 42, so as not to be affected by the order of the report generation time.
[0047] The other parts of this embodiment are the same as any one of the above embodiments 1-4, so they are not repeated here.
[0048] Embodiment 6:
[0049] This embodiment is further optimized on the basis of any one of the above embodiments 1-5, and also includes a historical report task module 5 connected to the report task module 41, and the historical report task module 5 is used to back up a number of report filling tasks generated by the report task module 41, and generate a report task history list according to the processing status of the number of report filling tasks. Through the report task history list, it is possible to quickly check whether the report filling task has been sent to the report filling module 42 for processing.
[0050] The other parts of this embodiment are the same as any one of the above embodiments 1-5, so they are not repeated here.
[0051] Embodiment 7:
[0052] This embodiment is further optimized on the basis of any one of the above embodiments 1-6, and also includes a warning module 6 connected to the data acquisition module 3, and the warning module 6 is used to generate warning information for the data packets discarded by the data acquisition module 3. The warning information includes a warning chart or a warning field. For example, if the set collection threshold is 100kb / s, a line graph is generated for the flow data of the data packet in the collection time period, and the collection threshold is represented by a horizontal line in the line graph. The flow data exceeding the collection threshold is not displayed and is marked in red, and the flow data not exceeding the collection threshold is normally represented according to the line graph.
[0053] The other parts of this embodiment are the same as any of the above embodiments 1-6, so they are not repeated here.
[0054] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any simple modification or equivalent change made to the above embodiment based on the technical essence of the present invention shall fall within the protection scope of the present invention.
Claims
1. A data speed limit system based on custom reports, characterized in that: The invention comprises a report template configuration module (1), a data restriction module (2), a data collection module (3), and a report generation module (4), wherein the report template configuration module (1) is used to generate an empty report template and configure the data type in the empty report template and the format of the empty report template; the data restriction module (2) is used to configure the data collection object information, collection time information, and collection threshold; the data collection module (3) collects the data of the selected user object within the selected collection time according to the collection object information and collection time information configured by the data restriction module (2) and forms a data packet, and compares and calculates the data packet with the collection threshold to pass or discard the data packet; the report generation module (4) is used to configure the report generation time, and extracts the data packets passed in the data collection module (3) and the empty report template generated by the report template configuration module (1) at the report generation time, and fills the passed data packets into the empty report template to generate a report; the data collection module (3) comprises a data packet generation module (31) and a data packet generation module (32). A screening module (32), wherein the data packet generation module (31) collects data of a selected user object within a selected collection time according to the collection object information and collection time information configured by the data restriction module (2) and forms a data packet; the data packet screening module (32) compares and calculates the data packet generated by the data packet generation module (31) with the collection threshold configured by the data restriction module (2) to pass or discard the data packet; the data packet screening module (32) comprises a fixed token value calculation module (321), a unit data length calculation module (322), and a data packet comparison module (323), wherein the fixed token value calculation module (321) calculates the fixed token value of the data packet according to the collection threshold, the unit data length calculation module (322) calculates the unit data length that can pass within a unit time according to the collection threshold, and the data packet comparison module (323) calculates the passing token value of the data packet according to the fixed token value and the unit data length, and compares the passing token value with the length of the data packet to pass or discard the data packet.
2. According to the data speed limit system based on custom reports in claim 1, it is characterized in that: The data restriction module (2) comprises a time restriction module (21), a user object restriction module (22), and a threshold restriction module (23); the time restriction module (21) is used to configure data collection time information and transmit the collection time information to the data collection module (3); the user object restriction module (22) is used to configure data collection object information and transmit the collection object information to the data collection module (3); and the threshold restriction module (23) is used to configure data collection threshold and transmit the collection threshold to the data collection module (3).
3. A data speed limit system based on custom reports according to claim 2, characterized in that: The user object restriction module (22) comprises an IP detection module (221), an application detection module (222), and a user information encapsulation module (223); the IP detection module (221) is used to extract the user's IP address to determine the collected user; the application detection module (222) is used to extract the application information from the collected user; the user information encapsulation module (223) is used to encapsulate the collected user's IP address and application information into collected object information, and transmit the collected object information to the data collection module (3).
4. According to claim 1, a data speed limit system based on custom reports is characterized in that: The report template configuration module (1) comprises a report data configuration module (11) and a report format configuration module (12), wherein the report data configuration module (11) is used to configure the data type to be collected in the blank report template, and the report format configuration module (12) is used to configure the format of the generated blank report template.
5. The data speed limiting system based on custom reports according to claim 1 is characterized in that: The report generation module (4) comprises a report task module (41) and a report filling module (42). The report task module (41) is used to establish a plurality of report filling tasks and configure a report generation time for each report filling task. The report filling module (42) extracts the data packets passed through the data collection module (3) and the empty report template generated by the report template configuration module (1) according to the report generation time in the report filling task, and fills the passed data packets into the empty report template to generate a report.
6. A data speed limit system based on custom reports according to claim 5, characterized in that: It also includes a historical report task module (5) connected to the report task module (41), wherein the historical report task module (5) is used to back up a plurality of report filling tasks generated by the report task module (41) and to generate a report task history list according to the processing status of the plurality of report filling tasks.
7. The data speed limiting system based on custom reports according to claim 1 is characterized in that: It also comprises a warning module (6) connected to the data acquisition module (3), wherein the warning module (6) is used to generate warning information for data packets discarded by the data acquisition module (3).
Citation Information
Patent Citations
Management report system for terminal facilities
CN105278955A