Dynamic bandwidth allocation method, device, equipment, medium and product of home intranet
By combining smart gateways and user traffic habit models, the bandwidth allocation of the home intranet is dynamically adjusted, solving the problem of unreasonable bandwidth allocation under traditional router management methods and realizing high-precision bandwidth management in complex home topologies.
Patent Information
- Application Number
- CN202411305567.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2025-12-12
AI Technical Summary
Existing home network bandwidth allocation methods cannot achieve reasonable and flexible bandwidth resource allocation under conditions of multiple device access and high traffic fluctuations, and traditional router management methods cannot meet the bandwidth requirements of complex home topologies.
The intelligent gateway manages the information of the downstream terminals between the routers in a unified manner. Combined with the user traffic usage habit model and two-level bandwidth adjustment strategy, it dynamically adjusts the bandwidth allocation of the home intranet, including real-time traffic monitoring, task type identification, user traffic habit learning, and bandwidth allocation command generation.
It enables dynamic bandwidth allocation in complex home topologies, improving the accuracy and flexibility of adjustment. It can adaptively adjust bandwidth allocation according to changes in the home network scenario to meet the bandwidth requirements of multiple devices.
Smart Images

Figure CN121125500A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of bandwidth allocation, in particular to a dynamic bandwidth allocation method, device, equipment, medium and product for a home network. BACKGROUND
[0002] With the diversification of home intelligent devices, the rapid increase of home network devices and the rapid development of high-traffic upper-layer applications such as high-definition long and short videos, fixed home bandwidth is difficult to meet the bandwidth needs of all intelligent devices and upper-layer applications. In order to maximize the operation and application experience of each intelligent device, it is necessary to reasonably allocate limited home bandwidth resources.
[0003] The existing bandwidth allocation algorithm in operation is mainly used in operator networks, but there is little research on network traffic resource configuration in the application scenario of home networks. The commonly used home network bandwidth management is realized by a router, which adopts a control mode of setting target IP segment uplink and downlink bandwidth threshold to manage network traffic in a rough way. In the past, when the number of home network devices was small, this management mode was simple and efficient, but in the context of the increasing number of home network devices today, it is difficult to reasonably allocate scarce bandwidth resources, and the flexibility is poor, which cannot meet the needs of home network management. SUMMARY
[0004] The present application provides a dynamic bandwidth allocation method, device, equipment, medium and product for a home network, which realizes dynamic bandwidth allocation under a complex home topology and increases the accuracy of adjustment.
[0005] The present application provides a dynamic bandwidth allocation method for a home network, comprising: obtaining real-time traffic of the home network through a router; triggering a broadband adjustment strategy when the real-time traffic reaches a preset traffic threshold; in response to the broadband adjustment strategy, performing first bandwidth adjustment according to the task type of a hung device to obtain a first adjustment result; inputting the first adjustment result into a user traffic usage habit model to perform second bandwidth adjustment to obtain a second adjustment result; wherein the user traffic usage habit model is obtained by training the characteristic access user traffic information by a cloud platform; generating an adjustment command for bandwidth allocation according to the second adjustment result; and sending the adjustment command to the router to allocate and control the bandwidth of the hung device.
[0006] According to the dynamic bandwidth allocation method of the home network provided by the application, before the real-time flow of the home network is acquired through the router, the method further comprises: receiving a data packet identification dpi library periodically pushed down by a cloud platform; receiving access information of a lower-hung device uploaded by the router; wherein the access information of the lower-hung device comprises access user flow information; performing feature processing on the access user flow information, and uploading the feature processed access user flow information to a neural network model of the cloud platform for cloud training to obtain a trained user flow usage habit model.
[0007] According to the dynamic bandwidth allocation method of the home network provided by the application, the first bandwidth adjustment is performed according to the task type of the lower-hung device to obtain a first adjustment result, comprising: performing the first bandwidth adjustment according to the task type of the lower-hung device and the flow occupation amount to obtain the first adjustment result; wherein the bandwidth adjustment frequency in the first bandwidth adjustment is determined by a frequency adjustment algorithm.
[0008] According to the dynamic bandwidth allocation method of the home network provided by the application, the first adjustment result is input into the user flow usage habit model to perform the second bandwidth adjustment, comprising: if the bandwidth adjustment frequency in the first bandwidth adjustment is lower than a preset adjustment frequency threshold, the first adjustment result is input into the user flow usage habit model to perform the second bandwidth adjustment.
[0009] According to the dynamic bandwidth allocation method of the home network provided by the application, the user flow usage habit model is deployed in a gateway, the gateway is connected with a plurality of routers, and each router is connected with a plurality of lower-hung devices; the adjustment command is sent to the router, comprising: generating an adjustment subcommand related to each router according to the adjustment command; and sending the adjustment subcommand to the related router to enable the router to allocate and control the bandwidth of the lower-hung device according to the adjustment subcommand.
[0010] According to the dynamic bandwidth allocation method of the home network provided by the application, before the real-time flow of the home network is acquired through the router, the method further comprises: acquiring a terminal task of the lower-hung device; and performing the first allocation of the bandwidth for the lower-hung device according to the terminal task, wherein the first allocation strategy is on-demand allocation.
[0011] The application further provides a dynamic bandwidth allocation device of a home network, comprising: an acquisition module, configured to acquire real-time traffic of the home network through a router; a policy module, configured to trigger a bandwidth adjustment policy when the real-time traffic reaches a preset traffic threshold; a first adjustment module, configured to perform first bandwidth adjustment according to a task type of a device hung below in response to the bandwidth adjustment policy, to obtain a first adjustment result; a second adjustment module, configured to input the first adjustment result to a user traffic usage habit model to perform second bandwidth adjustment, to obtain a second adjustment result; wherein the user traffic usage habit model is obtained by training of characteristic access user traffic information by a cloud platform; a command generation module, configured to generate an adjustment command of bandwidth allocation according to the second adjustment result; and a command sending module, configured to send the adjustment command to the router, so that the router allocates bandwidth and controls traffic of the device hung below.
[0012] The application further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the dynamic bandwidth allocation method of the home network according to any one of the above-mentioned methods when executing the program.
[0013] The application further provides a non-transitory computer-readable storage medium, having a computer program stored thereon, wherein the computer program is executable by a processor to implement the dynamic bandwidth allocation method of the home network according to any one of the above-mentioned methods.
[0014] The application further provides a computer program product, comprising a computer program, wherein the computer program is executable by a processor to implement the dynamic bandwidth allocation method of the home network according to any one of the above-mentioned methods.
[0015] The application provides a dynamic bandwidth allocation method, device, equipment, medium and product of a home network, wherein real-time traffic of the home network is acquired through a router; a bandwidth adjustment policy is triggered when the real-time traffic reaches a preset traffic threshold; first bandwidth adjustment is performed according to a task type of a device hung below in response to the bandwidth adjustment policy, to obtain a first adjustment result; second bandwidth adjustment is performed by inputting the first adjustment result to a user traffic usage habit model, to obtain a second adjustment result; wherein the user traffic usage habit model is obtained by training of characteristic access user traffic information by a cloud platform; an adjustment command of bandwidth allocation is generated according to the second adjustment result; and the adjustment command is sent to the router, so that the router allocates bandwidth and controls traffic of the device hung below. In this way, the gateway of the application manages the information of the devices hung below among the routers, and information sharing among the routers is strengthened; dynamic bandwidth allocation under a complex home topology is realized by combining the two-level bandwidth adjustment policy, and the accuracy of adjustment is increased. BRIEF DESCRIPTION OF DRAWINGS
[0016] In order to make the technical solutions in the present application or prior art clearer, the accompanying drawings needed in the embodiments or prior art description will be briefly introduced. Obviously, the accompanying drawings in the following description are only some embodiments of the present application, and all other embodiments obtained by those of ordinary skill in the art without any creative work on the premise of the accompanying drawings are within the protection scope of the present application.
[0017] Figure 1 is a flowchart of a dynamic bandwidth allocation method of a home network provided by an embodiment of the present application.
[0018] Figure 2 is a schematic diagram of task change triggering bandwidth allocation provided by an embodiment of the present application.
[0019] Figure 3 is a schematic diagram of terminal change triggering bandwidth allocation provided by an embodiment of the present application.
[0020] Figure 4 is a schematic diagram of bandwidth allocation triggering under high load provided by an embodiment of the present application.
[0021] Figure 5 is a schematic diagram of secondary bandwidth allocation provided by an embodiment of the present application.
[0022] Figure 6 is a schematic diagram of terminal habit factor provided by an embodiment of the present application.
[0023] Figure 7 is a schematic diagram of a total dynamic allocation framework provided by an embodiment of the present application.
[0024] Figure 8 is a structural schematic diagram of a dynamic bandwidth allocation device of a home network provided by an embodiment of the present application.
[0025] Figure 9 is a schematic diagram of a physical structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0026] In order to make the technical solutions in the present application or prior art clearer, the accompanying drawings needed in the embodiments or prior art description will be briefly introduced. Obviously, the accompanying drawings in the following description are only some embodiments of the present application, and all other embodiments obtained by those of ordinary skill in the art without any creative work on the premise of the accompanying drawings are within the protection scope of the present application.
[0027] In the description of the embodiments of the present application, it should be noted that unless otherwise explicitly specified and limited, the terms "connected", "connected" should be understood in a broad sense, for example, it can be fixedly connected, or it can be detachably connected, or it can be integrally connected, it can be mechanically connected, or it can be electrically connected, it can be directly connected, or it can be indirectly connected through an intermediate medium. For those skilled in the art, the specific meaning of the above terms in the embodiments of the present application can be understood according to the specific circumstances.
[0028] In the description of the present application, the description of the terms "one embodiment", "some embodiments", "example", "specific example" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In the present application, the illustrative description of the above terms is not necessarily for the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples described in the present application and the features of the different embodiments or examples without contradiction.
[0029] It should be noted that all actions of obtaining signals, information or data in the present application are carried out in accordance with the corresponding data protection regulations and policies of the place of the country, and with the authorization given by the corresponding device owner.
[0030] In the related art, the bandwidth management of the home network is realized by setting the control mode of the uplink and downlink bandwidth threshold of the target IP segment through the routing setting. Although this management method is simple and easy to use, it has shown many defects and deficiencies in the case of increasingly complex topology of the home network: 1. Due to the increasing complexity of the topology of the home network, the traditional dynamic and static bandwidth allocation method with routing as the bandwidth allocation and adjustment center cannot effectively meet the bandwidth allocation needs of multi-routing homes because the connection information of multiple routes cannot be shared.
[0031] 2. The existing IP segment uplink and downlink threshold bandwidth allocation method based on routing is too extensive, and under the conditions of multiple access terminals, multiple application concurrency and high traffic variation, it cannot effectively allocate bandwidth resources to high traffic demand users and applications, and the rationality and flexibility of bandwidth resource allocation are poor.
[0032] Based on this, the present application aims at the current situation and pain points of bandwidth allocation in the home network under multi-device access, and rooted in the gateway, a dynamic home bandwidth allocation scheme based on user traffic habits is proposed and constructed.
[0033] The present application provides a dynamic bandwidth allocation method for a home network, please refer toFigure 1 , Figure 1 is a flowchart of a dynamic bandwidth allocation method of a home network provided by an embodiment of the present application, and in the embodiment, the dynamic bandwidth allocation method of the home network can include steps S110-S160, and each step is specifically as follows: S110: obtaining real-time traffic of the home network through a router.
[0034] S120: triggering a broadband adjustment strategy when the real-time traffic reaches a preset traffic threshold.
[0035] S130: in response to the broadband adjustment strategy, performing first bandwidth adjustment according to a task type of a device hung under the router to obtain a first adjustment result.
[0036] S140: inputting the first adjustment result into a user traffic usage habit model to perform second bandwidth adjustment to obtain a second adjustment result, wherein the user traffic usage habit model is obtained by training the characteristic access user traffic information by a cloud platform.
[0037] S150: generating an adjustment command of bandwidth allocation according to the second adjustment result.
[0038] S160: sending the adjustment command to the router to enable the router to allocate and control the bandwidth of the device hung under the router.
[0039] In the above manner, the embodiment of the present application manages the information of the terminal hung between the routers by the gateway, strengthens the information sharing between the routers, and realizes the dynamic bandwidth allocation under the complex home topology by combining the two-level bandwidth adjustment strategy, thereby increasing the adjustment accuracy.
[0040] Specifically, in the case that the terminal task identification work is normally carried out, the large traffic task change can trigger the bandwidth reallocation of the gateway.
[0041] Please refer to Figures 2-3 , Figure 2 is a schematic diagram of a task change triggering bandwidth allocation provided by an embodiment of the present application; Figure 3 is a schematic diagram of a terminal change triggering bandwidth allocation provided by an embodiment of the present application.
[0042] In Figure 2 and Figure 3 , the interactive subjects include an intelligent gateway, two routers, a terminal 1, a terminal 2 and a terminal 3, wherein the two routers are connected to the intelligent gateway, the terminal 1 and the terminal 2 are hung under the same router, and the terminal 3 is hung under the other router.
[0043] As Figure 2As shown, in terminal 1, the game task that was originally being executed has been changed to a video task; in terminal 2, the task has not changed and is still a video task; in terminal 3, the unknown task that was originally being executed has been changed to a download task.
[0044] like Figure 3 As shown, the tasks to be performed by the newly connected terminal 1 include game tasks, video tasks, and live streaming tasks; the task to be performed by terminal 2 is a video task; and the tasks to be performed by terminal 3 include unknown tasks, download tasks, and web page tasks.
[0045] The initial allocation method is on-demand allocation, and the specific allocation process is as follows: Family Each terminal competes for the total bandwidth. Based on resource allocation value The access terminals are divided into two categories: One type is resource demand. Less than The access terminal, the resources actually allocated to the user The user's required values; one type is resource requirements. For users whose numbers exceed the number of users, the actual resources allocated to each user. Assign a value to the resource. That is, the first... The resources allocated to each user are: .
[0046] The total resources allocated to the access terminals are: .
[0047] When the total user demand is not less than the total bandwidth ,Right now When the above formula holds true, the resource allocation value is... When the total user demand is less than the total bandwidth, i.e. The above formula takes the less than sign, and the allocated resource value is... .
[0048] Since terminal task identification consumes a lot of resources on both the gateway's hardware and software, this method will stop traffic identification when the gateway's performance is poor (CPU memory exceeds a certain threshold). Therefore, neither task changes nor terminal changes can trigger the first allocation algorithm.
[0049] Please see Figure 4 , Figure 4 This is a schematic diagram of bandwidth allocation triggering under high load provided in an embodiment of the present invention.
[0050] When the terminal task or terminal access changes, and the gateway is running with low resource consumption (CPU, memory, temperature) and bandwidth utilization is less than 90%, an adjustment allocation is triggered.
[0051] When the adjustment duration exceeds the threshold value or the terminal access is changed, the gateway is in low resource occupation operation (CPU, memory, temperature) and the bandwidth utilization is greater than or equal to 90%, the secondary adjustment is triggered on the basis of the last adjustment.
[0052] During this period, the adjustment frequency is reduced, and the model for the usage habits of home users is used to make secondary adjustment of the bandwidth on the basis of the last adjustment according to the historical traffic usage habits of the connected terminal users in the period, is the result of the secondary allocation of the terminal bandwidth.
[0053] The allocation algorithm is described in Figure 5 , Figure 5 is a schematic diagram of the secondary bandwidth allocation provided by the embodiment of the application.
[0054] The total bandwidth is adjusted once, and the bandwidth allocation of terminal 1 is R1, the bandwidth allocation of terminal 2 is R2, the bandwidth allocation of terminal 3 is R3, the bandwidth allocation of terminal 3 is R4, and the bandwidth allocation of terminal 3 is Rn. Then the secondary adjustment is performed, and R11+R12+R13+R14+R1 n After formula processing, the bandwidth allocation of terminal 1 is Ra1; R21+R22+ R23+R24+R2 n After formula processing, the bandwidth allocation of terminal 2 is Ra2; R31+R32+ R33+R34+R3 n After formula processing, the bandwidth allocation of terminal 3 is Ra3; R41+R42+ R43+R44+R4 n After formula processing, the bandwidth allocation of terminal 1 is Ra4; R51+R52+ R53+R54+R5 n After formula processing, the bandwidth allocation of terminal 1 is Ran.
[0055] wherein the usage habit factor is is a model parameter formed according to the historical traffic usage habits of the terminal, wherein is a video task factor, is a webpage task factor, is a game task factor, is a download task factor, etc. Since the total bandwidth is constant, the terminal usage habit factor .
[0056] Please refer to Figure 6 , Figure 6 is a schematic diagram of the terminal habit factor provided by the embodiment of the application.
[0057] Terminal 1 provides feature set 1 to the model for training, terminal 2 provides feature set 2 to the model for training, terminal 3 provides feature set 3 to the model for training, and terminal n provides feature set n to the model for training, and the model can obtain the terminal parameter set.
[0058] The formation of the terminal task factor is related to the traffic task of the historical period of the terminal. According to the period and other characteristic information, the execution probability of each task of the terminal is calculated to form the terminal task factor: .
[0059] Wherein k is the time period, p(n k ) is the probability of the terminal executing task n in the k period, and b is the weight parameter.
[0060] When the gateway downlink traffic approaches the user registration bandwidth time limit and exceeds the threshold value, the dynamic bandwidth allocation method of the home network provided in the above embodiments can be started, including: obtaining the real-time traffic of the home network through the router; when the real-time traffic reaches the preset traffic threshold, triggering the broadband adjustment strategy; in response to the broadband adjustment strategy, performing first bandwidth adjustment according to the task type of the down-hung device to obtain a first adjustment result; inputting the first adjustment result into a user traffic usage habit model to perform second bandwidth adjustment to obtain a second adjustment result; wherein the user traffic usage habit model is obtained by training the characteristic access user traffic information by the cloud platform; generating a bandwidth allocation adjustment command according to the second adjustment result; sending the adjustment command to the router to allocate and control the bandwidth of the down-hung device.
[0061] Based on any of the above embodiments, before obtaining the real-time traffic of the home network through the router, it further includes: receiving a data packet identification dpi library periodically pushed down by the cloud platform; receiving access information of the down-hung device uploaded by the router; wherein the access information of the down-hung device includes access user traffic information; performing characteristic processing on the access user traffic information, and uploading the characteristic access user traffic information to the neural network model of the cloud platform for cloud training to obtain the trained user traffic usage habit model.
[0062] Based on any of the above embodiments, the first bandwidth adjustment according to the task type of the down-hung device obtains a first adjustment result, including: performing first bandwidth adjustment according to the task type and traffic occupancy of the down-hung device to obtain a first adjustment result; wherein the bandwidth adjustment frequency in the first bandwidth adjustment is determined by a frequency adjustment algorithm.
[0063] Based on any of the above embodiments, inputting the first adjustment result into the user traffic usage habit model for second bandwidth adjustment includes: If the bandwidth adjustment frequency in the first bandwidth adjustment is lower than the preset adjustment frequency threshold, the first adjustment result is input to the user traffic usage habit model for second bandwidth adjustment.
[0064] Based on any of the above embodiments, the user traffic usage habit model is deployed on a gateway, the gateway is connected to multiple routes, and each route is connected to multiple hanging devices; the adjustment command is sent to the route, including: According to the adjustment command, an adjustment subcommand related to each route is generated; the adjustment subcommand is sent to the related route, so that the route allocates and controls the bandwidth of the hanging device according to the adjustment subcommand.
[0065] Based on any of the above embodiments, before obtaining the real-time traffic of the home network through the route, the method further includes: Obtaining the terminal task of the hanging device; and performing first allocation of bandwidth for the hanging device according to the terminal task, wherein the first allocation strategy is on-demand allocation.
[0066] Please refer to Figure 7 , Figure 7 is a total dynamic allocation framework diagram provided by the embodiment of the application. In the embodiment, the interactive subjects involved include a cloud platform, a gateway, a route 1, a route 2, and a route n. The main flow of the dynamic allocation method is mainly as follows: 1. Data packet identification (DPI) library.
[0067] The cloud platform periodically downloads the data packet identification (DPI) library to the intelligent gateway, facilitating subsequent traffic task identification.
[0068] 2. Hanging device information synchronization.
[0069] The route hanging device access information is periodically updated and reported to the gateway, mainly including hanging device MAC, device type, allocated IP, uplink and downlink traffic peak, time period, and the like.
[0070] 3. Route hanging terminal traffic usage habit features; adjustment model training; model periodic deployment.
[0071] The access user traffic information uploaded to the gateway is characterized, and the characterized data is uploaded to the cloud platform for cloud training of a small family hanging terminal user traffic usage habit model. The trained micro model is deployed on the gateway, facilitating subsequent bandwidth adjustment.
[0072] 4. First bandwidth allocation algorithm based on task type.
[0073] Gateway reaches the traffic threshold, triggering broadband adjustment strategy, first according to the task type and traffic occupation of the hanging device to make the first adjustment, the bandwidth adjustment frequency is determined by the frequency adjustment algorithm (related to access terminal change, online task change, gateway performance and software and hardware level).
[0074] 5、Bandwidth allocation adjustment algorithm based on user personalized usage habits.
[0075] In the case of low adjustment frequency, the user traffic usage habit model in step 3 is used to make a second adjustment to the bandwidth allocation strategy, and finally form an adjustment command.
[0076] 6、Bandwidth adjustment command.
[0077] Gateway issues bandwidth adjustment command to the hanging route, and allocates bandwidth and controls traffic for each hanging terminal.
[0078] The above embodiment provides a gateway-based bandwidth adjustment hub for home broadband, which can manage the hanging terminal information between routes, strengthen information sharing between routes, and realize bandwidth allocation under complex home topology; According to the software and hardware resource occupation of the adjustment hub, the adaptive bandwidth adjustment frequency algorithm; Based on the first bandwidth allocation algorithm, the adjustment factor based on learning terminal user traffic usage habits is added, which can better adapt to the bandwidth adjustment requirements of long empty window period, increase the accuracy of adjustment, and improve the flexibility and convenience of manual configuration ip belonging to the device.
[0079] The bandwidth allocation scheme in the related art can only adapt to the simple home topology of a single router, while the embodiment method uses a gateway-based bandwidth adjustment hub for home broadband, which can manage the hanging terminal information between routes, strengthen information sharing between routes, and realize bandwidth allocation under complex home topology.
[0080] Compared with the commonly used manual configuration of ip belonging to the device, the embodiment method has better flexibility and convenience (one click can open the allocation function, without multiple manual settings), and can change and adapt to different home online scenarios to give reasonable bandwidth allocation scheme.
[0081] In addition, the embodiment method can monitor the resource occupation rate of gateway CPU memory and other resources, and adaptively change the frequency of bandwidth adjustment (reduce the adjustment frequency when the terminal hardware running state is not good).
[0082] When the terminal hardware performance is poor and the bandwidth occupation is high, the first adjustment frequency is reduced, and the adjustment empty window period becomes longer. If the user changes the task during the empty window period, it will be difficult to adapt to the bandwidth allocation demand. Therefore, the method of the embodiment learns the traffic usage habits of the access terminal of the home network, learns the home traffic characteristics in the cloud, and corrects the task-based bandwidth adjustment result based on the access terminal after the model is deployed, so that the adjustment scheme can better fit the traffic usage habits of the terminal user, and solve the problem of reduced adjustment accuracy due to the increase of the first adjustment empty window period.
[0083] In another aspect, the present application also provides a dynamic bandwidth allocation device for a home network. The dynamic bandwidth allocation device for a home network provided by the present application is described below. The dynamic bandwidth allocation device for a home network described below can be mutually corresponding with the dynamic bandwidth allocation method for a home network described above.
[0084] Please refer to Figure 8 , Figure 8 is a structural schematic diagram of the dynamic bandwidth allocation device for a home network provided by the embodiment of the present application. In the embodiment, the dynamic bandwidth allocation device for a home network can include an acquisition module 810, a policy module 820, a first adjustment module 830, a second adjustment module 840, a command generation module 850 and a command sending module 860.
[0085] The acquisition module 810 is configured to acquire real-time traffic of the home network through routing.
[0086] The policy module 820 is configured to trigger a broadband adjustment policy when the real-time traffic reaches a preset traffic threshold.
[0087] The first adjustment module 830 is configured to perform first bandwidth adjustment according to a task type of a device connected to the home network in response to the broadband adjustment policy, and obtain a first adjustment result.
[0088] The second adjustment module 840 is configured to input the first adjustment result into a user traffic usage habit model to perform second bandwidth adjustment, and obtain a second adjustment result. The user traffic usage habit model is obtained by training the characteristic access user traffic information by a cloud platform.
[0089] The command generation module 850 is configured to generate an adjustment command for bandwidth allocation according to the second adjustment result.
[0090] The command sending module 860 is configured to send the adjustment command to the routing, so as to allocate and control the bandwidth of the device connected to the home network.
[0091] Based on any of the above embodiments, the obtaining module 810 is further configured to: receive a data packet identification dpi library periodically pushed down by a cloud platform; receive access information of the down-hung device uploaded by a route; wherein the access information of the down-hung device comprises access user traffic information; perform feature processing on the access user traffic information, and upload the feature processed access user traffic information to a neural network model of the cloud platform for cloud training to obtain a trained user traffic usage habit model.
[0092] Based on any of the above embodiments, the first adjusting module 830 is specifically configured to: perform first bandwidth adjustment according to a task type and a traffic occupancy of the down-hung device to obtain a first adjustment result; wherein a bandwidth adjustment frequency in the first bandwidth adjustment is determined by a frequency adjustment algorithm.
[0093] Based on any of the above embodiments, the second adjusting module 840 is specifically configured to: if the bandwidth adjustment frequency in the first bandwidth adjustment is lower than a preset adjustment frequency threshold, input the first adjustment result to the user traffic usage habit model to perform second bandwidth adjustment.
[0094] Based on any of the above embodiments, the user traffic usage habit model is deployed on a gateway, the gateway is connected to multiple routes, and each route is connected to multiple down-hung devices; the command sending module 860 is specifically configured to: generate adjustment sub-commands related to each route according to the adjustment command; and send the adjustment sub-commands to the related routes to enable the routes to allocate and control bandwidth of the down-hung devices according to the adjustment sub-commands.
[0095] Based on any of the above embodiments, the dynamic bandwidth allocation device of the home network further comprises a first allocation module, which is specifically configured to: obtain a terminal task of the down-hung device; and perform first allocation of bandwidth for the down-hung device according to the terminal task, wherein the first allocation strategy is on-demand allocation.
[0096] The embodiment of the present application provides a kind of dynamic bandwidth allocation device of home network, comprising: obtaining module, for obtaining the real-time traffic of home network by routing;Strategy module, for when real-time traffic reaches preset traffic threshold, trigger bandwidth adjustment strategy;First adjustment module, for responding to bandwidth adjustment strategy, according to the task type of the device under hanging first bandwidth adjustment, obtain first adjustment result;Second adjustment module, for inputting first adjustment result to user traffic usage habit model to carry out second bandwidth adjustment, obtain second adjustment result;Wherein user traffic usage habit model is obtained by the cloud platform according to the characteristic access user traffic information training;Command generation module, for generating the adjustment command of bandwidth allocation according to second adjustment result;Command sending module, for sending adjustment command to routing, to make routing bandwidth to the device under hanging allocation and flow control.By the above-mentioned mode, the embodiment of the present application manages the device under hanging information between each routing with gateway, strengthens the information sharing between routing;Combined with two-level bandwidth adjustment strategy, realize dynamic bandwidth allocation under complex home topology, increase the accuracy of adjustment.
[0097] In another aspect, the embodiment of the present application also provides an electronic device, please refer to Figure 9 , Figure 9 is the physical structure schematic diagram of the electronic device provided by the embodiment of the present application, as Figure 9 shown, the electronic device can include: the electronic device can include memory 920, processor 910 and computer program stored in memory 920 and can be run on processor 910.Processor 910 executes program when realizing the dynamic bandwidth allocation method of home network provided by each method described above.
[0098] Optionally, the electronic device can also include communication bus 930 and communications interface (Communications Interface) 940, wherein processor 910, communications interface 940, memory 920 complete mutual communication through communication bus 930.Processor 910 can call the computer program in memory 920 to execute the dynamic bandwidth allocation method of home network, which can include: obtain the real-time traffic of home network by routing;When real-time traffic reaches preset traffic threshold, trigger bandwidth adjustment strategy;Responding to bandwidth adjustment strategy, according to the task type of the device under hanging first bandwidth adjustment, obtain first adjustment result;Second adjustment result is obtained by inputting first adjustment result to user traffic usage habit model to carry out second bandwidth adjustment;Wherein user traffic usage habit model is obtained by the cloud platform according to the characteristic access user traffic information training;According to second adjustment result, generate the adjustment command of bandwidth allocation;Adjustment command is sent to routing, to make routing bandwidth to the device under hanging allocation and flow control.
[0099] Moreover, the logic instructions in the memory 920 described above can be realized in the form of software function units and sold or used as independent products, and can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the parts that contribute to the prior art or parts of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc.
[0100] In another aspect, the present application also provides a computer program product, which includes a computer program, the computer program can be stored on a non-transitory computer readable storage medium, and the computer program is executed by a processor, so that the computer can execute the dynamic bandwidth allocation method of the home network provided by the above-mentioned methods, the steps and principles of which have been described in detail in the above-mentioned methods and will not be repeated here.
[0101] In yet another aspect, the present application also provides a non-transitory computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the dynamic bandwidth allocation method of the home network provided by the above-mentioned methods, the steps and principles of which have been described in detail in the above-mentioned methods and will not be repeated here.
[0102] The non-transitory computer readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor memory (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid state disk (SSD), etc.).
[0103] The device embodiments described above are only schematic, wherein the units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, i.e. they can be located in one place, or distributed on multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the present embodiment. Those skilled in the art can understand and implement it without creative labor.
[0104] Those skilled in the art can clearly understand the implementation of the embodiments by means of software and necessary general hardware platforms through the description of the above embodiments, and of course, the embodiments can also be implemented by hardware. Based on such understanding, the above technical solutions 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 a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in each embodiment or some parts of the embodiments.
[0105] Finally, it should be noted that: the above examples are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the foregoing examples, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing examples, or make equivalent replacement for some technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for dynamic bandwidth allocation in a home intranet, characterized in that, include: Obtain real-time traffic from the home network via routing; When the real-time traffic reaches a preset traffic threshold, a bandwidth adjustment strategy is triggered. In response to the bandwidth adjustment strategy, a first bandwidth adjustment is performed based on the task type of the downstream device to obtain a first adjustment result; The first adjustment result is input into the user traffic usage habit model for a second bandwidth adjustment to obtain the second adjustment result. The user traffic usage habit model mentioned above is trained by the cloud platform based on characteristic access user traffic information; Generate a bandwidth allocation adjustment command based on the second adjustment result; The adjustment command is sent to the router so that the router can allocate bandwidth and control traffic for the downstream devices.
2. The dynamic bandwidth allocation method for a home intranet according to claim 1, characterized in that, Before obtaining real-time traffic from the home intranet via routing, the process also includes: Receiving data packets periodically distributed by the cloud platform to identify the DPI library; Receive the downstream device access information uploaded by the router; wherein the downstream device access information includes access user traffic information; The access user traffic information is characterized and uploaded to the cloud platform's neural network model for cloud training to obtain a trained user traffic usage habit model.
3. The dynamic bandwidth allocation method for a home intranet according to claim 1, characterized in that, The first bandwidth adjustment based on the task type of the downstream device, to obtain the first adjustment result, includes: The first bandwidth adjustment is performed based on the task type and traffic usage of the downstream device to obtain the first adjustment result; wherein the bandwidth adjustment frequency in the first bandwidth adjustment is determined by a frequency adjustment algorithm.
4. The dynamic bandwidth allocation method for a home intranet according to claim 3, characterized in that, The step of inputting the first adjustment result into the user traffic usage habit model for a second bandwidth adjustment includes: If the bandwidth adjustment frequency in the first bandwidth adjustment is lower than the preset adjustment frequency threshold, the first adjustment result is input into the user traffic usage habit model for a second bandwidth adjustment.
5. The dynamic bandwidth allocation method for a home intranet according to claim 1, characterized in that, The user traffic usage habit model is deployed on the gateway, which connects to multiple routes, and each route connects to multiple downstream devices. Sending the adjustment command to the route includes: Generate adjustment sub-commands related to each route based on the adjustment command; The adjustment sub-command is sent to the relevant route so that the route allocates bandwidth and controls traffic for the downstream devices according to the adjustment sub-command.
6. The dynamic bandwidth allocation method for a home intranet according to claim 1, characterized in that, Before obtaining real-time traffic from the home intranet via routing, the process also includes: Obtain the terminal tasks of the connected device; The terminal task performs the initial bandwidth allocation for the downstream device, wherein the initial allocation strategy is on-demand allocation.
7. A dynamic bandwidth allocation device for a home intranet, characterized in that, include: The acquisition module is used to obtain real-time traffic of the home intranet via routing; The strategy module is used to trigger a bandwidth adjustment strategy when the real-time traffic reaches a preset traffic threshold. The first adjustment module is used to respond to the broadband adjustment strategy, perform a first bandwidth adjustment according to the task type of the downstream device, and obtain a first adjustment result; The second adjustment module is used to input the first adjustment result into the user traffic usage habit model for a second bandwidth adjustment to obtain the second adjustment result. The user traffic usage habit model mentioned above is trained by the cloud platform based on characteristic access user traffic information; The command generation module is used to generate a bandwidth allocation adjustment command based on the second adjustment result; The command sending module is used to send the adjustment command to the router so that the router can allocate bandwidth and control traffic for the downstream devices.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the dynamic bandwidth allocation method for a home intranet as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the dynamic bandwidth allocation method for a home intranet as described in any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the dynamic bandwidth allocation method for a home intranet as described in any one of claims 1 to 6.
Citation Information
Cited By
Dynamic advertisement frequency control optimization method based on multi-dimensional evaluation of family members
CN121814694A
