A resource allocation optimization method, device and medium for a signal-energy simultaneous interpretation system

By analyzing router data and classifying user levels, and dynamically allocating bandwidth capacity, the problem of unreasonable bandwidth resource allocation in the Xinneng simultaneous interpretation system is solved, and reasonable allocation of bandwidth resources and satisfaction of terminal needs are achieved.

CN119052095BActive Publication Date: 2025-01-21BEIJING NORTH POWER SOURCE INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411555110.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2025-01-21
Estimated Expiration
2044-11-04

AI Technical Summary

Technical Problem

In the current stage of the information and energy simultaneous transmission system, when router equipment allocates bandwidth resources, it usually uses equal division method or is allocated according to user level. It fails to effectively combine the bandwidth usage of the terminal to reasonably allocate, resulting in the allocation of bandwidth resources being unable to be The bandwidth resources that meet the terminal needs or allocate exceed the terminal needs.

Method used

Collect router data through traffic monitoring applications, analyze the peak connection rate, bandwidth usage and high bandwidth usage of MAC addresses, combine these data to classify the user levels of MAC addresses, and realize dynamic allocation of bandwidth capacity based on user levels.

Benefits of technology

Effectively combine the bandwidth usage of terminal equipment to achieve reasonable allocation of bandwidth resources in the Xinneng simultaneous interpretation system and ensure that the allocated bandwidth resources can meet the terminal needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119052095B_ABST
    Figure CN119052095B_ABST
Patent Text Reader

Abstract

The present invention discloses a resource allocation optimization method, device and medium for a communication and energy simultaneous interpretation system, relates to the technical field of resource allocation, and solves the problem of unreasonable bandwidth resource allocation in the current communication and energy simultaneous interpretation system. The resource allocation optimization method is specifically as follows: obtaining router data of a router at a collection interval through a flow monitoring application; analyzing the connection status of a MAC address based on the router data, and obtaining the peak connection rate of the MAC address through analysis; analyzing the bandwidth capacity of the MAC address in combination with the router data, and obtaining the bandwidth utilization rate and high bandwidth utilization rate corresponding to the MAC address; dividing the user level of the MAC address in combination with the peak connection rate, the bandwidth utilization rate and the high bandwidth utilization rate, and realizing dynamic allocation of bandwidth capacity according to the user level. The present invention effectively combines the bandwidth utilization of terminal equipment to realize reasonable allocation of bandwidth resource allocation in the communication and energy simultaneous interpretation system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of resource allocation, and in particular is a resource allocation optimization method, device and medium for a signal-energy simultaneous interpretation system. Background Art

[0002] The Xinneng simultaneous interpretation system includes a variety of wireless communication technologies and signal processing technologies. The wireless communication system relies on spectrum management technology, including fixed spectrum allocation and dynamic spectrum allocation, as well as spectrum sharing technology, such as dynamic spectrum access, to improve the efficiency of spectrum utilization. Multiple access technology is used to achieve multi-user wireless communication, ensuring that different users can effectively share spectrum resources. At the same time, modulation and coding technologies such as orthogonal frequency division multiplexing and multiple-input multiple-output technology can improve signal transmission rate and system capacity, reduce interference and improve spectrum utilization.

[0003] However, in the current signal-to-speech simultaneous transmission system, router devices usually use an equal distribution method or allocate bandwidth resources based on user levels. The above allocation methods do not effectively combine the bandwidth usage of the terminal to make reasonable allocations, so that the allocated bandwidth resources cannot meet the terminal needs or the allocated bandwidth resources exceed the terminal needs;

[0004] To this end, the present invention proposes a resource allocation optimization method, device and medium for a signal-to-energy simultaneous interpretation system. Summary of the invention

[0005] The purpose of the present invention is to propose a resource allocation optimization method, device and medium for a signal-to-energy simultaneous interpretation system to solve the problems raised in the above-mentioned background technology.

[0006] In the first aspect, in order to achieve the above-mentioned purpose, the present invention adopts the following technical solution: a resource allocation optimization method for a signal energy simultaneous interpretation system, the method is specifically as follows:

[0007] Step S100, obtaining router data of the router at a collection interval through a traffic monitoring application;

[0008] Step S200, analyzing the connection status of the MAC address based on the router data to obtain the peak connection rate of the MAC address;

[0009] Step S300, analyzing the bandwidth capacity of the MAC address in combination with the router data to obtain the bandwidth usage rate and high bandwidth usage rate corresponding to the MAC address;

[0010] Step S400, classifying the user levels of the MAC addresses in combination with the peak connection rate, the bandwidth utilization rate and the high bandwidth utilization rate, and dynamically allocating the bandwidth capacity according to the user levels.

[0011] Furthermore, the router data includes the MAC addresses connected to the router in the previous week and the bandwidth requirements of the applications used by the MAC addresses in the previous week, the MAC addresses connected to the router during the peak hours in the previous week and the bandwidth capacity used by the MAC addresses during the peak hours in the previous week, and the MAC addresses connected to the router during the non-peak hours in the previous week and the bandwidth capacity used by the MAC addresses during the non-peak hours in the previous week.

[0012] Furthermore, the step S200 includes the following sub-steps:

[0013] Step S201, obtaining the MAC address connected to the router in the previous week, counting the number of times the router was connected to obtain the total number of connections corresponding to the MAC address;

[0014] Step S202, obtaining the MAC addresses of the routers connected during the peak hours of the previous week and the MAC addresses of the routers connected during the non-peak hours of the previous week;

[0015] Step S203, obtaining the connection times of the same MAC address during peak hours and during non-peak hours according to the MAC address, dividing the connection times during peak hours by the total number of connections to obtain the peak connection rate LJi of the MAC address, where i is the number of the MAC address.

[0016] Furthermore, the step S300 includes the following sub-steps:

[0017] Step S301, obtaining the bandwidth capacity used by the MAC address during the peak period in the previous week and the bandwidth capacity used by the MAC address during the non-peak period in the previous week;

[0018] Step S302, based on the same MAC address, the bandwidth capacity used by the same MAC address during the peak period and the bandwidth capacity used by the MAC address during the off-peak period in the previous week are added together to obtain the user bandwidth capacity of the MAC address corresponding to the router connected to the router in the previous week;

[0019] Step S303, the bandwidth usage rate Pi of the MAC address is calculated by the calculation formula Pi=Qi / T; wherein i is the number of the MAC address, Qi is the user bandwidth capacity of the MAC address, and T is the total bandwidth capacity of the router in the previous week;

[0020] Step S304, dividing the application into high bandwidth demand application and low bandwidth demand application according to the bandwidth demand;

[0021] Step S305, obtaining the bandwidth requirements of the applications used by the MAC address in the previous week, obtaining the bandwidth requirements of the MAC address for accessing the high-bandwidth-requirement applications and the low-bandwidth-requirement applications, adding up the bandwidth requirements corresponding to all the high-bandwidth-requirement applications, and obtaining the high-bandwidth usage used by the MAC address for accessing the high-bandwidth-requirement applications in the previous week;

[0022] Step S306 , the high bandwidth usage is divided by the user bandwidth capacity to obtain the high bandwidth usage rate GLi of the MAC address in the previous week.

[0023] Furthermore, the sub-steps of step S304 are specifically as follows:

[0024] Step S3041, obtaining the bandwidth requirements of the applications used by the MAC address in the previous week, and comparing the bandwidth requirements with the application bandwidth threshold;

[0025] Step S3042: if the bandwidth requirement of the application is greater than the application bandwidth threshold, the corresponding application is marked as a high bandwidth requirement application;

[0026] Step S3043: if the bandwidth requirement of the application is less than or equal to the application bandwidth threshold, the corresponding application is marked as a low bandwidth requirement application.

[0027] Furthermore, the step S400 includes the following sub-steps:

[0028] Step S401, obtaining the peak connection rate LJi, bandwidth usage Pi and high bandwidth usage GLi of the MAC address in the previous week;

[0029] Step S402, the bandwidth allocation value DFi of the MAC address in the previous week is calculated by the formula DFi=LJi×a1+Pi×a2+GLi×a3; wherein a1, a2 and a3 are weight coefficients with fixed values;

[0030] Step S403, dividing the user levels of the MAC addresses according to the bandwidth allocation values;

[0031] Step S404, allocating the total bandwidth capacity of the router to the MAC addresses corresponding to the first user level, the second user level, and the third user level according to the quota;

[0032] Step S405: setting corresponding upper and lower limits of bandwidth capacity for MAC addresses corresponding to the first user level, the second user level, and the third user level, respectively.

[0033] Further, the user level includes a first user level, a second user level and a third user level, the first user level is higher than the second user level, and the second user level is higher than the third user level;

[0034] The user level division process is as follows:

[0035] If the bandwidth allocation value belongs to the first interval, the user level of the MAC address is the third user level;

[0036] If the bandwidth allocation value belongs to the second interval, the user level of the MAC address is the second user level;

[0037] If the bandwidth allocation value belongs to the third interval, the user level of the MAC address is the first user level; wherein the left endpoint of the third interval is greater than or equal to the right endpoint of the second interval, and the left endpoint of the second interval is greater than or equal to the right endpoint of the first interval.

[0038] Furthermore, the allocation process of the total bandwidth capacity is:

[0039] The first bandwidth capacity is evenly distributed to the MAC addresses corresponding to the first user level, the second bandwidth capacity is evenly distributed to the MAC addresses corresponding to the second user level, and the third bandwidth capacity is evenly distributed to the MAC addresses corresponding to the third user level;

[0040] The first bandwidth capacity is greater than the second bandwidth capacity, and the second bandwidth capacity is greater than the third bandwidth capacity.

[0041] In a second aspect, a computer device is provided, the computer device comprising:

[0042] A memory storing a computer program;

[0043] The processor is communicatively connected to the memory, and when the computer program is executed by the processor, the resource allocation optimization method for the signal-energy simultaneous interpretation system is implemented.

[0044] In a third aspect, a computer-readable storage medium stores a computer program, which, when executed by a processor, implements a resource allocation optimization method for a simultaneous interpretation system.

[0045] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:

[0046] The present invention obtains router data of the router at a collection interval through a traffic monitoring application. On the one hand, the connection status of the MAC address is analyzed based on the router data to obtain the peak connection rate of the MAC address; on the other hand, the bandwidth capacity of the MAC address is analyzed in combination with the router data to obtain the bandwidth utilization rate and high bandwidth utilization rate corresponding to the MAC address. Finally, the user level of the MAC address is divided in combination with the peak connection rate, bandwidth utilization rate and high bandwidth utilization rate, and the bandwidth capacity is dynamically allocated according to the user level. The present invention effectively combines the bandwidth utilization of the terminal equipment to realize the reasonable allocation of bandwidth resources in the signal-energy simultaneous transmission system. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.

[0048] Figure 1 is a flow chart of the method of the present invention;

[0049] Figure 2 is a work flow chart of step S200 in the present invention;

[0050] Figure 3 is a work flow chart of step S300 in the present invention;

[0051] Figure 4 is a work flow chart of step S400 in the present invention;

[0052] Figure 5 It is a schematic diagram of the structure of the computer device in the present invention. DETAILED DESCRIPTION

[0053] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than 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.

[0054] Example 1: Please refer to Figure 1-Figure 4 As shown, the technical solution provided by the present invention is: a resource allocation optimization method for a signal energy simultaneous interpretation system, the method is specifically as follows:

[0055] Step S100, obtaining router data of the router at a collection interval through a traffic monitoring application;

[0056] In an embodiment of the present invention, each terminal device (such as a mobile phone, computer, tablet computer, etc.) connected to a router has only one MAC address, a group of MAC addresses corresponds to one user, each terminal device is connected to the router by wire or wirelessly, the router records the MAC address of each terminal device, and the local server obtains the total number of terminal devices connected to the router by counting the number of MAC addresses connected to the router;

[0057] Therefore, the router data includes the MAC addresses connected to the router in the previous week and the bandwidth requirements of the applications used by the MAC addresses in the previous week, the MAC addresses connected to the router during the peak hours in the previous week and the bandwidth capacity used by the MAC addresses during the peak hours in the previous week, the MAC addresses connected to the router during the non-peak hours in the previous week and the bandwidth capacity used by the MAC addresses during the non-peak hours in the previous week. Specifically, the peak hours are 8:30-11:30, 14:00-17:30 and 17:30-23:00, and the non-peak hours include the working hours excluding the peak hours. The applications can actually be video software, audio software, social security software, etc., and the sampling interval is set to the standard time interval.

[0058] Step S200, analyzing the connection status of the MAC address based on the router data to obtain the peak connection rate of the MAC address;

[0059] In this embodiment, step S200 includes the following sub-steps:

[0060] Step S201, obtaining the MAC address connected to the router in the previous week, counting the number of times the router was connected to obtain the total number of connections corresponding to the MAC address;

[0061] Step S202, obtaining the MAC addresses of the routers connected during the peak hours of the previous week and the MAC addresses of the routers connected during the non-peak hours of the previous week;

[0062] Step S203, obtaining the connection times of the same MAC address during peak hours and during non-peak hours according to the MAC address, dividing the connection times during peak hours by the total number of connections to obtain the peak connection rate LJi of the MAC address, where i is the number of the MAC address.

[0063] Step S300, analyzing the bandwidth capacity of the MAC address in combination with the router data to obtain the bandwidth usage rate and high bandwidth usage rate corresponding to the MAC address;

[0064] In this embodiment, step S300 includes the following sub-steps:

[0065] Step S301, obtaining the bandwidth capacity used by the MAC address during the peak period in the previous week and the bandwidth capacity used by the MAC address during the non-peak period in the previous week;

[0066] Step S302, based on the same MAC address, the bandwidth capacity used by the same MAC address during the peak period and the bandwidth capacity used by the MAC address during the off-peak period in the previous week are added together to obtain the user bandwidth capacity of the MAC address corresponding to the router connected to the router in the previous week;

[0067] Step S303, calculate the bandwidth usage Pi of the MAC address by using a calculation formula, the formula is as follows:

[0068] Pi=Qi / T, where i is the number of the MAC address, Qi is the user bandwidth capacity of the MAC address, and T is the total bandwidth capacity of the router in the previous week;

[0069] Step S304, dividing the application into high bandwidth demand application and low bandwidth demand application according to the bandwidth demand;

[0070] Specifically, common applications with high bandwidth requirements include video conferencing, voice calls, online games, and large file transfers, while common applications with low bandwidth requirements include web browsing, file synchronization, email, and instant messaging.

[0071] Step S305, obtaining the bandwidth requirements of the applications used by the MAC address in the previous week, obtaining the bandwidth requirements of the MAC address for accessing the high-bandwidth-requirement applications and the low-bandwidth-requirement applications, adding up the bandwidth requirements corresponding to all the high-bandwidth-requirement applications, and obtaining the high-bandwidth usage used by the MAC address for accessing the high-bandwidth-requirement applications in the previous week;

[0072] Step S306, dividing the high bandwidth usage by the user bandwidth capacity to obtain the high bandwidth usage rate GLi of the MAC address in the previous week;

[0073] The sub-steps of step S304 are specifically as follows:

[0074] Step S3041, obtaining the bandwidth requirements of the applications used by the MAC address in the previous week, and comparing the bandwidth requirements with the application bandwidth threshold;

[0075] Step S3042: if the bandwidth requirement of the application is greater than the application bandwidth threshold, the corresponding application is marked as a high bandwidth requirement application;

[0076] Step S3043: if the bandwidth requirement of the application is less than or equal to the application bandwidth threshold, the corresponding application is marked as a low bandwidth requirement application.

[0077] Step S400, classifying the user level of the MAC address in combination with the peak connection rate, bandwidth utilization rate and high bandwidth utilization rate, and dynamically allocating bandwidth capacity according to the user level;

[0078] In this embodiment, step S400 includes the following sub-steps:

[0079] Step S401, obtaining the peak connection rate LJi, bandwidth usage Pi and high bandwidth usage GLi of the MAC address in the previous week;

[0080] Step S402: The bandwidth allocation value DFi of the MAC address in the previous week is calculated by a formula, and the formula is as follows:

[0081] DFi=LJi×a1+Pi×a2+GLi×a3; where a1, a2 and a3 are all weight coefficients with fixed values. The bandwidth allocation value is used to reflect the demand for bandwidth capacity corresponding to the MAC address. That is, the larger the bandwidth allocation value, the higher the bandwidth capacity required by the MAC address. Therefore, the peak connection rate, bandwidth utilization rate and high bandwidth utilization rate are all proportional to the bandwidth allocation value.

[0082] Step S403, dividing the user levels of the MAC addresses according to the bandwidth allocation values, the user levels including a first user level, a second user level and a third user level; wherein the first user level is higher than the second user level, and the second user level is higher than the third user level;

[0083] If the bandwidth allocation value belongs to the first interval, the user level of the MAC address is the third user level;

[0084] If the bandwidth allocation value belongs to the second interval, the user level of the MAC address is the second user level;

[0085] If the bandwidth allocation value belongs to the third interval, the user level of the MAC address is the first user level, the left endpoint of the third interval is greater than or equal to the right endpoint of the second interval, and the left endpoint of the second interval is greater than or equal to the right endpoint of the first interval;

[0086] Step S404: Allocate the total bandwidth capacity of the router to the MAC addresses corresponding to the first user level, the second user level, and the third user level according to the quota, specifically:

[0087] The first bandwidth capacity is evenly distributed to the MAC addresses corresponding to the first user level, the second bandwidth capacity is evenly distributed to the MAC addresses corresponding to the second user level, and the third bandwidth capacity is evenly distributed to the MAC addresses corresponding to the third user level, wherein the first bandwidth capacity is greater than the second bandwidth capacity, and the second bandwidth capacity is greater than the third bandwidth capacity;

[0088] Exemplarily, the first bandwidth capacity is 50% of the total bandwidth capacity of the router, the second bandwidth capacity is 30% of the total bandwidth capacity of the router, and the third bandwidth capacity is 20% of the total bandwidth capacity of the router;

[0089] Step S405, setting corresponding upper and lower limits of bandwidth capacity for MAC addresses corresponding to the first user level, the second user level, and the third user level, respectively;

[0090] It needs to be explained that setting an upper limit on bandwidth capacity prevents the highest-level users from occupying too much bandwidth capacity, and setting a lower limit on bandwidth capacity ensures that each user level can still obtain a certain amount of bandwidth capacity during peak bandwidth usage periods;

[0091] Assume that the total bandwidth capacity of the router is a, there are N1 users in the first user class, N2 users in the second user class, and N3 users in the third user class, wherein the first bandwidth capacity allocated to the first user class is B1=0.5a, the second bandwidth capacity allocated to the second user class is B2=0.3a, and the third bandwidth capacity allocated to the third user class is B3=0.2a. The lower limit of the bandwidth capacity for users of the first user class is L1=(B1 / N1)×0.5, and the upper limit of the bandwidth capacity is U1=(B1 / N1)×1.5. The lower limit of the bandwidth capacity for users of the second user class is L2=(B2 / N2)×0.3, and the upper limit of the bandwidth capacity is U2=(B2 / N2)×1.3. The lower limit of the bandwidth capacity for users of the third user class is L3=(B3 / N3)×0.2, and the upper limit of the bandwidth capacity is U3=(B2 / N2)×1.2.

[0092] To summarize, the technical solution in this embodiment is adopted to obtain the router data of the router at a collection interval through a traffic monitoring application. On the one hand, the connection status of the MAC address is analyzed based on the router data to obtain the peak connection rate of the MAC address. On the other hand, the bandwidth capacity of the MAC address is analyzed in combination with the router data to obtain the bandwidth utilization rate and high bandwidth utilization rate corresponding to the MAC address. Finally, the user level of the MAC address is divided in combination with the peak connection rate, bandwidth utilization rate and high bandwidth utilization rate, and the bandwidth capacity is dynamically allocated according to the user level. The bandwidth utilization of the terminal device is effectively combined to achieve reasonable allocation of bandwidth resources in the signal-energy simultaneous interpretation system.

[0093] In this application, if corresponding calculation formulas appear, the above calculation formulas are all dimensionless and take their numerical calculations. The weight coefficients, proportional coefficients and other coefficients in the formulas are set to a result value obtained by quantifying each parameter. The size of the weight coefficient and the proportional coefficient can be determined as long as it does not affect the proportional relationship between the parameter and the result value.

[0094] Embodiment 2: Figure 5The present invention is a structural diagram of a computer device, which may include: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus. The processor may call the logic instructions in the memory to execute a resource allocation optimization method for a signal-energy simultaneous transmission system, which includes: obtaining router data of a router at a collection interval through a traffic monitoring application; analyzing the connection status of a MAC address based on the router data, and obtaining the peak connection rate of the MAC address through analysis; analyzing the bandwidth capacity of the MAC address in combination with the router data, and obtaining the bandwidth usage rate and high bandwidth usage rate corresponding to the MAC address; dividing the user level of the MAC address in combination with the peak connection rate, bandwidth usage rate, and high bandwidth usage rate, and realizing dynamic allocation of bandwidth capacity according to the user level.

[0095] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0096] Embodiment 3: The present application also provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute a resource allocation optimization method for a simultaneous interpretation system provided by the above methods, the method including: obtaining router data of a router at a collection interval through a traffic monitoring application; analyzing the connection status of a MAC address based on the router data, and obtaining the peak connection rate of the MAC address through analysis; analyzing the bandwidth capacity of the MAC address in combination with the router data, and obtaining the bandwidth utilization rate and high bandwidth utilization rate corresponding to the MAC address; dividing the user level of the MAC address in combination with the peak connection rate, bandwidth utilization rate and high bandwidth utilization rate, and realizing dynamic allocation of bandwidth capacity according to the user level.

[0097] Embodiment 4: The present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute a resource allocation optimization method for a simultaneous transmission system provided above, the method comprising: obtaining router data of a router at a collection interval through a traffic monitoring application; analyzing the connection status of a MAC address based on the router data, and obtaining the peak connection rate of the MAC address through analysis; analyzing the bandwidth capacity of the MAC address in combination with the router data, and obtaining the bandwidth utilization rate and high bandwidth utilization rate corresponding to the MAC address; dividing the user level of the MAC address in combination with the peak connection rate, bandwidth utilization rate and high bandwidth utilization rate, and realizing dynamic allocation of bandwidth capacity according to the user level.

[0098] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0099] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0100] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A resource allocation optimization method for a signal-to-energy simultaneous interpretation system, characterized in that: The resource allocation optimization method is as follows: Step S100, obtaining router data of the router at a collection interval through a traffic monitoring application; Step S200, analyzing the connection status of the MAC address based on the router data to obtain the peak connection rate of the MAC address; Step S300, analyzing the bandwidth capacity of the MAC address in combination with the router data to obtain the bandwidth usage rate and high bandwidth usage rate corresponding to the MAC address; Step S400, classifying the user level of the MAC address in combination with the peak connection rate, bandwidth utilization rate and high bandwidth utilization rate, and dynamically allocating bandwidth capacity according to the user level; Router data includes MAC addresses connected to the router in the previous week and the bandwidth requirements of applications used by the MAC addresses in the previous week, MAC addresses connected to the router during peak hours in the previous week and the bandwidth capacity used by the MAC addresses during peak hours in the previous week, MAC addresses connected to the router during non-peak hours in the previous week and the bandwidth capacity used by the MAC addresses during non-peak hours in the previous week; The step S200 includes the following sub-steps: Step S201, obtaining the MAC address connected to the router in the previous week, counting the number of times the router was connected to obtain the total number of connections corresponding to the MAC address; Step S202, obtaining the MAC addresses of the routers connected during the peak hours of the previous week and the MAC addresses of the routers connected during the non-peak hours of the previous week; Step S203, obtaining the number of connections of the same MAC address during peak hours and during non-peak hours according to the MAC address, and dividing the number of connections during peak hours by the total number of connections to obtain the peak connection rate LJi of the MAC address, where i is the number of the MAC address; The step S300 includes the following sub-steps: Step S301, obtaining the bandwidth capacity used by the MAC address during the peak period in the previous week and the bandwidth capacity used by the MAC address during the non-peak period in the previous week; Step S302, based on the same MAC address, the bandwidth capacity used by the same MAC address during the peak period and the bandwidth capacity used by the MAC address during the off-peak period in the previous week are added together to obtain the user bandwidth capacity of the MAC address corresponding to the router connected to the router in the previous week; Step S303, calculating the bandwidth usage Pi of the MAC address by using the calculation formula Pi=Qi / T; Where i is the number of the MAC address, Qi is the user bandwidth capacity of the MAC address, and T is the total bandwidth capacity of the router in the previous week; Step S304, dividing the application into high bandwidth demand application and low bandwidth demand application according to the bandwidth demand; Step S305, obtaining the bandwidth requirements of the applications used by the MAC address in the previous week, obtaining the bandwidth requirements of the MAC address for accessing the high-bandwidth-requirement applications and the low-bandwidth-requirement applications, adding up the bandwidth requirements corresponding to all the high-bandwidth-requirement applications, and obtaining the high-bandwidth usage used by the MAC address for accessing the high-bandwidth-requirement applications in the previous week; Step S306, dividing the high bandwidth usage by the user bandwidth capacity to obtain the high bandwidth usage rate GLi of the MAC address in the previous week; The step S400 includes the following sub-steps: Step S401, obtaining the peak connection rate LJi, bandwidth usage Pi and high bandwidth usage GLi of the MAC address in the previous week; Step S402, the bandwidth allocation value DFi of the MAC address in the previous week is calculated by the formula DFi=LJi×a1+Pi×a2+GLi×a3; In the formula, a1, a2 and a3 are weight coefficients with fixed values; Step S403, dividing the user levels of the MAC addresses according to the bandwidth allocation values; Step S404, allocating the total bandwidth capacity of the router to the MAC addresses corresponding to the first user level, the second user level, and the third user level according to the quota; Step S405: setting corresponding upper and lower limits of bandwidth capacity for MAC addresses corresponding to the first user level, the second user level, and the third user level, respectively.

2. The method for optimizing resource allocation for a signal-to-energy simultaneous interpretation system according to claim 1, characterized in that: The sub-steps of step S304 are specifically as follows: Step S3041, obtaining the bandwidth requirements of the applications used by the MAC address in the previous week, and comparing the bandwidth requirements with the application bandwidth threshold; Step S3042: if the bandwidth requirement of the application is greater than the application bandwidth threshold, the corresponding application is marked as a high bandwidth requirement application; Step S3043: if the bandwidth requirement of the application is less than or equal to the application bandwidth threshold, the corresponding application is marked as a low bandwidth requirement application.

3. The resource allocation optimization method for a signal-to-energy simultaneous interpretation system according to claim 1, characterized in that: The user levels include a first user level, a second user level and a third user level, the first user level being higher than the second user level, and the second user level being higher than the third user level; The user level division process is as follows: If the bandwidth allocation value belongs to the first interval, the user level of the MAC address is the third user level; If the bandwidth allocation value belongs to the second interval, the user level of the MAC address is the second user level; If the bandwidth allocation value belongs to the third interval, the user level of the MAC address is the first user level; wherein the left endpoint of the third interval is greater than or equal to the right endpoint of the second interval, and the left endpoint of the second interval is greater than or equal to the right endpoint of the first interval.

4. The resource allocation optimization method for a signal-to-energy simultaneous interpretation system according to claim 1, characterized in that: The allocation process of the total bandwidth capacity is: The first bandwidth capacity is evenly distributed to the MAC addresses corresponding to the first user level, the second bandwidth capacity is evenly distributed to the MAC addresses corresponding to the second user level, and the third bandwidth capacity is evenly distributed to the MAC addresses corresponding to the third user level; The first bandwidth capacity is greater than the second bandwidth capacity, and the second bandwidth capacity is greater than the third bandwidth capacity.

5. A computer device, characterized in that: The computer device comprises: A memory storing a computer program; A processor is communicatively connected to the memory, and when the computer program is executed by the processor, the method described in any one of claims 1 to 4 is implemented.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Telecom integrated information system and method

    CN101018259A

  • Router networking control system

    CN117675587A