A router networking control system
The priority value of the application is calculated through the data acquisition and analysis module, and the bandwidth control module allocates the bandwidth, which solves the problem of unreasonable bandwidth allocation of routers in the prior art under the networking of multiple applications, and realizes reasonable bandwidth allocation, avoiding the The network is blocked, improving the user experience.
Patent Information
- Application Number
- CN202311620096.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-29
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2043-11-29
AI Technical Summary
The existing router networking control system cannot reasonably allocate bandwidth in multi-application networking scenarios, resulting in network congestion and reducing user experience.
The data acquisition module and data analysis module are used to analyze the application's time period impact value, frequency impact value and traffic impact value, calculate the priority value of each application, and the bandwidth control module allocates bandwidth according to the priority value to ensure reasonable bandwidth allocation. .
It effectively avoids network blockage, improves user experience, and ensures smooth operation of each application in multi-application networking scenarios.
Smart Images

Figure CN117675587B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of routers, and in particular to a router networking control system. Background Art
[0002] A router is a hardware device that connects two or more networks. It acts as a gateway between networks and is a dedicated intelligent network device that reads the address in each data packet and then decides how to transmit it. It can understand different protocols, such as the Ethernet protocol used by a local area network and the TCP / IP protocol used by the Internet. In this way, the router can analyze the destination address of data packets from various types of networks, convert the address of non-TCP / IP networks into TCP / IP addresses, or vice versa; and then transmit each data packet to the designated location along the best route based on the selected routing algorithm. Therefore, a router can connect non-TCP / IP networks to the Internet.
[0003] The current router network control system cannot reasonably allocate the bandwidth allocation order of each application according to the user's usage habits when processing the scenario of multiple applications connected to the network of networked devices. This causes network congestion in the scenario of multiple applications connected to the network, thereby reducing the user experience. Summary of the invention
[0004] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a router networking control system to solve the above technical problems.
[0005] In order to achieve the above-mentioned purpose, the present invention adopts the following technical scheme: a router networking control system, including a data acquisition module, a data analysis module and a bandwidth control module;
[0006] The data collection module is used to collect application information of networked devices connected to the router, and send the application information to the server for classification and storage;
[0007] The data analysis module is used to analyze the collected application information, specifically:
[0008] S1: Obtain the start and end time of all applications of the networked device one month before the current connection time, analyze the start and end time of the network to obtain the time period impact value SYZ of each application, and the time period impact value SYZ of the application is obtained by the following steps:
[0009] S11: Obtain a daily networking time period set of the application, divide the starting networking time and the ending networking time of the application according to the date, and sort the starting networking time and the ending networking time with the same date in chronological order, and then calculate the difference between the ending networking time and the corresponding starting networking time to obtain a networking time period value Dk, where k represents the code of the networking time period value, k=1, 2, 3..., k is a positive integer, and the networking time period values Dk of the application with the same date are combined to obtain a daily networking time period set of each application;
[0010] S12: Sum and average the network time period values Dk of the network time period concentration every day to obtain the network time period average Js, where s represents the code of the network time period average, s = 1, 2, 3..., s is a positive integer, and the formula is Get the average value Js of the networking period, where n represents the number of days in a month;
[0011] S13: Compare the networking time period value Dk of the daily networking time period set on each date with the networking time period average value Js, obtain the networking time period value of the daily networking time period set that is greater than or equal to the networking time period average value, and record the number as the connection excess value Nc, sum the connection excess values of the application on different dates, and then divide the obtained value by the number of days in a month to obtain the application time period impact value SYZ;
[0012] S2: Obtain the application usage frequency impact value PYZ, wherein the application usage frequency impact value PYZ is obtained by the following steps:
[0013] S21: Compare the networking time period value with a preset time period threshold;
[0014] S22: If the network time period value is greater than the time period threshold, it is determined that the network use of the application this time is real use; if the network time period value is less than or equal to the time period threshold, it is determined that the network use of the application this time is an accidental use by the user;
[0015] S23: Obtain the actual number of times the application is used on different dates, add up the actual number of times the application is used on each date to obtain the actual total number of uses, divide the actual total number of uses of the application in a month by the total number of uses of the application in a month, and obtain the actual frequency of use Sd of the application in a month. The total number of uses includes the actual number of uses Gt and the total number of false uses Wb. The usage frequency impact value PYZ is obtained, where a1 represents the joint impact factor, a2 represents the frequency impact factor, and both a1 and a2 are positive numbers;
[0016] S3: Obtain the traffic impact value LYZ of each application program. The traffic impact value LYZ of each application program is obtained by the following steps:
[0017] S31: Obtaining a traffic consumption value Lh of the application in each networking period corresponding to each networking period value, where h represents the code of the networking period value, h=1, 2, 3..., h is a positive integer, and comparing the traffic consumption value with a preset traffic consumption threshold;
[0018] S32: if the traffic consumption value is greater than or equal to the traffic consumption threshold, mark the traffic consumption value as a true consumption value; if the traffic consumption value is less than the traffic consumption threshold, mark the traffic consumption value as a false touch consumption value;
[0019] S33: Add all the real consumption values to obtain the real consumption total value Zh, add all the false touch consumption values to obtain the false touch consumption total value Ch, normalize the real consumption total value, the false touch consumption total value, the real usage times, the false touch usage times and the average value of the networking period, and take their values to obtain the flow impact value through the formula Where β1 is the preset balance coefficient;
[0020] S4: Calculate the priority value of the application through a formula Among them, λ1 is the time period weight coefficient, λ2 is the frequency weight coefficient, and λ3 is the flow weight coefficient;
[0021] S5: Arrange the priority values of each application in order of size to obtain the bandwidth allocation order of each application, that is, the larger the priority value of the application, the higher the priority of the bandwidth allocation of the application;
[0022] The bandwidth control module is used to control the bandwidth of the application program. The process of allocating bandwidth by the bandwidth control module is as follows:
[0023] S51: Divide the traffic consumption value Lh corresponding to each networking period by the networking period value Dk to obtain the average network speed of the period;
[0024] S52: Calculate the average network speed of the application using the formula Where v represents the number of network time period values, j represents the code of the application, j=1, 2, 3..., j is a positive integer;
[0025] S53: Obtaining a bandwidth ratio Au of the application program. Where m represents the number of networked applications;
[0026] S54: Multiply the bandwidth ratio of the application program by the actual bandwidth value of the user to obtain the bandwidth value to be allocated.
[0027] Preferably, the application information includes the time when the application starts connecting to the Internet, the time when the application stops connecting to the Internet, the number of times the application connects to the Internet, and the amount of traffic used.
[0028] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:
[0029] 1. By setting up a data analysis module, the system can analyze the information of applications, obtain the time period impact value, frequency impact value and flow impact value of each application, and further obtain the priority value of each application, so that the bandwidth allocation order of the application can be allocated according to the priority value, so that in the scenario where multiple applications are connected to the Internet at the same time, the router can effectively and reasonably allocate bandwidth, avoiding network congestion due to large business volume, thereby reducing the user experience.
[0030] 2. At the same time, by setting up a bandwidth control module, the system can control the bandwidth allocation ratio of the application according to the user's usage habits, so that each application can run smoothly under the user's usage habits, optimizing and improving the user's usage experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0032] Figure 1 A schematic structural diagram of a router networking control system is shown.
[0033] Figure 2 Shown is the principle block diagram of the data analysis module. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0035] In the description of the present invention, “plurality” means two or more than two, unless otherwise clearly and specifically defined.
[0036] Reference Figure 1 to Figure 2 A router networking control system embodiment of the present invention is further described.
[0037] Embodiment 1:
[0038] A router networking control system, comprising a data acquisition module, a data analysis module and a bandwidth control module;
[0039] The data collection module is used to collect application information of the networked devices connected to the router, the application information includes the time when the application starts to connect to the network, the time when the application stops connecting to the network, the number of times the application connects to the network, and the traffic usage, and send the application information to the server for classification and storage;
[0040] The data analysis module is used to analyze the collected application information, specifically:
[0041] Step 1: Obtain the start and end times of all applications of the networked device one month before the current connection time, analyze the start and end times to obtain the time period impact value SYZ of each application, obtain the daily network period set of the application, divide the start and end times of the application according to the date, and sort the start and end times of the same date in chronological order, and then calculate the difference between the end time and the corresponding start time to obtain the network period value Dk, where k is represented by the code of the network period value, k=1, 2, 3..., k is a positive integer, and the network period values Dk of the same application date are combined to obtain the daily network period set of each application; sum and average the network period values Dk in the daily network period set to obtain the network period mean Js, where s is represented by the code of the network period mean, s=1, 2, 3..., s is a positive integer, and the formula Get the average value of the networking time period Js, where n represents the number of days in a month, that is, the number of days in the month before the current connection time; compare the networking time period value Dk in the daily networking time period set on each date with the average networking time period value Js, and obtain the networking time period value that is greater than or equal to the average networking time period value in the daily networking time period set, and record its number as the connection excess value Nc, sum the connection excess values of the application on different dates, and then divide the obtained value by the number of days in a month to get the application time period impact value SYZ.
[0042] Step 2: Obtain the application usage frequency impact value PYZ, compare the network time period value with the preset time period threshold; if the network time period value is greater than the time period threshold, determine that the application is used online this time as real use; if the network time period value is less than or equal to the time period threshold, determine that the application is used online this time as a user's mistake; obtain the real number of times the application is used on different dates, add the real number of times the application is used on each date to obtain the total number of real uses, divide the total number of real uses of the application in a month by the total number of uses of the application in a month, and obtain the real usage frequency Sd of the application in a month. The total number of uses includes the real number of uses Gt and the total number of mistaken uses Wb. By formula The usage frequency influence value PYZ is obtained, where a1 represents the joint influence factor, a2 represents the frequency influence factor, and both a1 and a2 are positive numbers, the value of a1 is 0.32, and the value of a2 is 0.58.
[0043] Step 3: Obtain the traffic impact value LYZ of each application, obtain the traffic consumption value Lh of the application in each networking period corresponding to each networking period value, where h represents the code of the networking period value, h=1, 2, 3..., h is a positive integer, and compare the traffic consumption value with the preset traffic consumption threshold; if the traffic consumption value is greater than or equal to the traffic consumption threshold, mark the traffic consumption value as the real consumption value; if the traffic consumption value is less than the traffic consumption threshold, mark the traffic consumption value as the false touch consumption value; add all the real consumption values to obtain the real consumption total value Zh, add all the false touch consumption values to obtain the false touch consumption total value Ch, normalize the real consumption total value, the false touch consumption total value, the real usage times, the false touch usage times and the networking period average, and take their values, and obtain the traffic impact value through the formula Wherein β1 is the preset balance coefficient, and the value of β1 is 0.21.
[0044] Step 4: Calculate the priority value of the application through the formula Among them, λ1 is the time period weight coefficient, λ2 is the frequency weight coefficient, and λ3 is the flow weight coefficient. The value of λ1 is 0.41, the value of λ2 is 0.36, and the value of λ3 is 0.62;
[0045] Step 5: Arrange the priority values of each application in order of size to obtain the bandwidth allocation order of each application, that is, the larger the priority value of an application, the higher the priority of bandwidth allocation for that application.
[0046] Embodiment 2:
[0047] Based on the first implementation, the bandwidth control module is used to control the bandwidth allocated to the application program, and the process of allocating bandwidth by the bandwidth control module is as follows:
[0048] Step 1: Divide the traffic consumption value Lh corresponding to each Internet connection period by the Internet connection period value Dk to obtain the average Internet speed of the period;
[0049] Step 2: Calculate the average network speed of the application using the formula Where v represents the number of network time period values, j represents the code of the application, j=1, 2, 3..., j is a positive integer;
[0050] Step 3: Obtain the bandwidth ratio Au of the application. Where m represents the number of networked applications;
[0051] Step 4: Multiply the bandwidth ratio of the application by the actual bandwidth value of the user to obtain the allocated bandwidth value.
[0052] Working principle: By setting up a data acquisition module, the router can collect application information of networked devices, and then analyze the application information through the data analysis module to obtain the time period impact value, frequency impact value and flow impact value of each application, and then further obtain the priority value of each application, so that the bandwidth allocation order of the application can be allocated according to the priority value, so that in the scenario where multiple applications are connected to the Internet at the same time, the router can effectively and reasonably allocate bandwidth, avoiding network congestion due to large business volume; at the same time, by setting up a bandwidth control module, the system can control the bandwidth allocation ratio of the application according to the user's usage habits, so that each application can run smoothly under the user's usage habits, optimizing and improving the user's usage experience.
[0053] The above description of the embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A router networking control system, characterized in that: It includes data acquisition module, data analysis module and bandwidth control module; The data collection module is used to collect application information of networked devices connected to the router, and send the application information to the server for classification and storage; The data analysis module is used to analyze the collected application information, specifically: S1: Obtain the start and end time of all applications of the networked device one month before the current connection time, analyze the start and end time of the network to obtain the time period impact value SYZ of each application, and the time period impact value SYZ of the application is obtained by the following steps: S11: Obtain a daily networking time period set of the application, divide the starting networking time and the ending networking time of the application according to the date, and sort the starting networking time and the ending networking time with the same date in chronological order, and then calculate the difference between the ending networking time and the corresponding starting networking time to obtain a networking time period value Dk, where k represents the code of the networking time period value, k=1, 2, 3..., k is a positive integer, and the networking time period values Dk of the application with the same date are combined to obtain a daily networking time period set of each application; S12: Sum and average the network time period values Dk of the network time period concentration every day to obtain the network time period average Js, where s represents the code of the network time period average, s = 1, 2, 3..., s is a positive integer, and the formula is Get the average value Js of the networking period, where n represents the number of days in a month; S13: Compare the networking time period value Dk of the daily networking time period set on each date with the networking time period average value Js, obtain the networking time period value of the daily networking time period set that is greater than or equal to the networking time period average value, and record the number as the connection excess value Nc, sum the connection excess values of the application on different dates, and then divide the obtained value by the number of days in a month to obtain the application time period impact value SYZ; S2: Obtain the application usage frequency impact value PYZ, wherein the application usage frequency impact value PYZ is obtained by the following steps: S21: Compare the networking time period value with a preset time period threshold; S22: If the Internet connection time period value is greater than the time period threshold, it is determined that the Internet connection use of the application program this time is real use; If the Internet access time period value is less than or equal to the time period threshold, it is determined that the application's Internet access this time was accidentally used by the user; S23: Obtain the actual number of times the application is used on different dates, add up the actual number of times the application is used on each date to obtain the actual total number of uses, divide the actual total number of uses of the application in a month by the total number of uses of the application in a month, and obtain the actual frequency of use Sd of the application in a month. The total number of uses includes the actual number of uses Gt and the total number of false uses Wb. The usage frequency impact value PYZ is obtained, where a1 represents the joint impact factor, a2 represents the frequency impact factor, and both a1 and a2 are positive numbers; S3: Obtain the traffic impact value LYZ of each application program. The traffic impact value LYZ of each application program is obtained by the following steps: S31: Obtaining a traffic consumption value Lh of the application in each networking period corresponding to each networking period value, where h represents the code of the networking period value, h=1, 2, 3..., h is a positive integer, and comparing the traffic consumption value with a preset traffic consumption threshold; S32: If the traffic consumption value is greater than or equal to the traffic consumption threshold, mark the traffic consumption value as a real consumption value; If the traffic consumption value is less than the traffic consumption threshold, the traffic consumption value is marked as an accidental touch consumption value; S33: Add all the real consumption values to obtain the real consumption total value Zh, add all the false touch consumption values to obtain the false touch consumption total value Ch, normalize the real consumption total value, the false touch consumption total value, the real usage times, the false touch usage times and the average value of the networking period, and take their values to obtain the flow impact value through the formula Where β1 is the preset balance coefficient; S4: Calculate the priority value of the application through a formula Among them, λ1 is the time period weight coefficient, λ2 is the frequency weight coefficient, and λ3 is the flow weight coefficient; S5: Arrange the priority values of each application in order of size to obtain the bandwidth allocation order of each application, that is, the larger the priority value of the application, the higher the priority of the bandwidth allocation of the application; The bandwidth control module is used to control the bandwidth of the application program. The process of allocating bandwidth by the bandwidth control module is as follows: S51: Divide the traffic consumption value Lh corresponding to each networking period by the networking period value Dk to obtain the average network speed of the period; S52: Calculate the average network speed of the application using the formula Where v represents the number of network time period values, j represents the code of the application, j = 1, 2, 3..., j is a positive integer; S53: Obtaining a bandwidth ratio Au of the application program. Where m represents the number of networked applications; S54: Multiply the bandwidth ratio of the application program by the actual bandwidth value of the user to obtain the bandwidth value to be allocated.
2. A router networking control system according to claim 1, characterized in that: The application information includes the time when the application starts connecting to the Internet, the time when the application stops connecting to the Internet, the number of times the application connects to the Internet, and the amount of traffic used.
