CN112332999B - Bandwidth allocation method, device, equipment and computer readable storage medium - Google Patents

Bandwidth allocation method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN112332999B
CN112332999B CN202011012178.XA CN202011012178A CN112332999B CN 112332999 B CN112332999 B CN 112332999B CN 202011012178 A CN202011012178 A CN 202011012178A CN 112332999 B CN112332999 B CN 112332999B
Authority
CN
China
Prior art keywords
bandwidth
network
network device
routing
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011012178.XA
Other languages
Chinese (zh)
Other versions
CN112332999A (en
Inventor
王云华
王献强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202011012178.XA priority Critical patent/CN112332999B/en
Publication of CN112332999A publication Critical patent/CN112332999A/en
Application granted granted Critical
Publication of CN112332999B publication Critical patent/CN112332999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a bandwidth allocation method, a device, equipment and a computer readable storage medium, wherein the bandwidth allocation method comprises the following steps: acquiring the equipment types of all network equipment, and determining a routing signal to be connected corresponding to each network equipment according to the equipment types of all network equipment; determining the network bandwidth to be connected corresponding to each network device according to the routing signal to be connected and the device type; and acquiring bandwidth resources of a preset network area, and respectively distributing the bandwidth resources to each network device according to the network bandwidth to be connected, wherein each network device corresponds to each network node of the preset network area. The invention solves the technical problem that the network speed of the routing system is easy to be reduced when the number of the network devices is large, and improves the utilization rate of bandwidth resources, thereby improving the network speed of each network device.

Description

Bandwidth allocation method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a bandwidth allocation method, apparatus, device, and computer readable storage medium.
Background
With the development of smart home technology and the development of intelligent processing speed, new technological breakthroughs have been provided, the development of smart home technology is well-developed, more and more terminal devices are accessed into a home network, and routing systems in the smart home technology face more and more challenges.
In the prior art, network devices default to equally divide network bandwidth, and when the number of network devices is large, the network speed of a routing system is easy to reduce, so that the routing system has the problem of slow uploading or downloading, and the network devices are slow to respond, so that the use experience of users is poor.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a bandwidth allocation method, a device, equipment and a computer readable storage medium, which aim to solve the technical problem that when the number of network equipment is large, the network speed of a routing system is easy to reduce.
In order to achieve the above object, the present invention provides a bandwidth allocation method, including:
acquiring the equipment types of all network equipment, determining to-be-connected routing signals corresponding to all network equipment according to the equipment types of all network equipment, wherein the equipment types are distinguished according to the flow consumed by the network equipment, and the to-be-connected routing signals are signals in different working frequency bands generated by a routing system;
determining the network bandwidth to be connected corresponding to each network device according to the routing signal to be connected and the device type;
and acquiring bandwidth resources of a preset network area, and respectively distributing the bandwidth resources to each network device according to the network bandwidth to be connected, wherein each network device corresponds to each network node of the preset network area.
In addition, in order to achieve the above object, the present invention provides a bandwidth allocation apparatus comprising:
the device comprises an acquisition module, a routing system and a routing system, wherein the acquisition module is used for acquiring the device type of each network device, determining a to-be-connected routing signal corresponding to each network device according to the device type of each network device, wherein the device types are distinguished according to the consumed flow of the network device, and the to-be-connected routing signal is a signal in different working frequency bands generated by the routing system;
the determining module is used for determining the network bandwidth to be connected corresponding to each network device according to the routing signals to be connected and the device type;
the distribution module is used for obtaining bandwidth resources of the preset network area, and distributing the bandwidth resources to each network device according to the network bandwidth to be connected, wherein each network device corresponds to each network node of the preset network area.
In addition, in order to achieve the above object, the present invention provides a bandwidth allocation apparatus including a memory, a processor, and a bandwidth allocation program stored on the memory and executable on the processor, the bandwidth allocation program implementing the steps of the bandwidth allocation method as described above when executed by the processor.
In addition, in order to achieve the above object, the present invention provides a computer-readable storage medium having a bandwidth allocation program stored thereon, which when executed by a processor, implements the steps of the bandwidth allocation method as described above.
According to the invention, different network devices are screened out according to different device types, and routing signals to be connected of the network devices are determined according to the different device types; and then, different network bandwidths to be connected are allocated to different equipment types, so that bandwidth resources are allocated to the network equipment according to the network bandwidths to be connected of all the network equipment, the bandwidth resources are allocated according to the types of different equipment, excessive bandwidth resources occupied by some network equipment are avoided, the technical problem that the network speed of a routing system is easy to be reduced when the number of the network equipment is large is solved, the utilization rate of the bandwidth resources is improved, and the network speed of all the network equipment is improved.
Drawings
FIG. 1 is a schematic diagram of a bandwidth allocation apparatus of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a first embodiment of a bandwidth allocation method according to the present invention;
fig. 3 is a schematic flow chart of a second embodiment of the bandwidth allocation method of the present invention;
fig. 4 is a functional unit block diagram of a bandwidth allocation apparatus according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a bandwidth allocation device of a hardware running environment according to an embodiment of the present invention.
The bandwidth allocation device of the embodiment of the invention can be a PC, or can be a mobile terminal device with a display function, such as a smart phone, a tablet personal computer, an electronic book reader, an MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression standard audio layer 4) player, a portable computer and the like.
As shown in fig. 1, the bandwidth allocation apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the bandwidth allocation device may further include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like.
It will be appreciated by those skilled in the art that the bandwidth allocation device structure shown in fig. 1 is not limiting of the bandwidth allocation device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a bandwidth allocation program may be included in the memory 1005, which is a type of computer storage medium.
In the bandwidth allocation apparatus shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server, and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be used to invoke a bandwidth allocation program stored in the memory 1005.
In this embodiment, the bandwidth allocation apparatus includes: the processor 1001 includes a memory 1005, a processor 1001, and a bandwidth allocation program stored in the memory 1005 and executable on the processor 1001, wherein when the processor 1001 calls the bandwidth allocation program stored in the memory 1005, the processor performs the following operations:
acquiring the equipment types of all network equipment, determining to-be-connected routing signals corresponding to all network equipment according to the equipment types of all network equipment, wherein the equipment types are distinguished according to the flow consumed by the network equipment, and the to-be-connected routing signals are signals in different working frequency bands generated by a routing system;
determining the network bandwidth to be connected corresponding to each network device according to the routing signal to be connected and the device type;
and acquiring bandwidth resources of a preset network area, and respectively distributing the bandwidth resources to each network device according to the network bandwidth to be connected, wherein each network device corresponds to each network node of the preset network area.
Further, the processor 1001 may call a bandwidth allocation program stored in the memory 1005, and further perform the following operations:
when detecting that the service type occupying the bandwidth changes, determining the spare bandwidth corresponding to the preset network area;
and if the spare bandwidth is zero, carrying out bandwidth allocation again on each network device according to the changed service type.
Further, the processor 1001 may call a bandwidth allocation program stored in the memory 1005, and further perform the following operations:
and when detecting that new network equipment is accessed to a preset network area, judging that the service type occupying the bandwidth is changed.
Further, the processor 1001 may call a bandwidth allocation program stored in the memory 1005, and further perform the following operations:
acquiring the bandwidth proportion of each network device according to the changed service type;
calculating the actual allocable bandwidth of each network device according to the bandwidth proportion and bandwidth resources allocated by each network device;
and carrying out bandwidth allocation on each network device according to the bandwidth which can be actually allocated by each network device.
Further, the processor 1001 may call a bandwidth allocation program stored in the memory 1005, and further perform the following operations:
and calculating the practically allocable downlink bandwidth and uplink bandwidth of each network device according to the bandwidth proportion allocated by each network device, the prestored uplink and downlink bandwidth allocation proportion corresponding to each network device and the bandwidth resource.
Further, the processor 1001 may call a bandwidth allocation program stored in the memory 1005, and further perform the following operations:
when detecting that target network equipment executes a video downloading task, acquiring the current use bandwidth of each network equipment, wherein the target network equipment is any one of the network equipment;
determining a spare bandwidth corresponding to a preset network area according to the current bandwidth and bandwidth resources;
if the spare bandwidth is not zero, calculating a target bandwidth corresponding to the minimum user experience quality value according to the spare bandwidth;
and if the target bandwidth is smaller than or equal to the sum of the currently used bandwidth and the spare bandwidth of the target device, distributing the target bandwidth to the target network device so that the target network device can execute the video downloading task based on the target bandwidth.
Further, the processor 1001 may call a bandwidth allocation program stored in the memory 1005, and further perform the following operations:
and respectively distributing the routing signals to each network device according to the network bandwidth to be connected, and respectively distributing the channel bandwidths to each network device.
The present invention also provides a bandwidth allocation method, referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the bandwidth allocation method of the present invention.
Step S10, the routing system obtains the equipment types of all network equipment, determines to-be-connected routing signals corresponding to all network equipment according to the equipment types of all network equipment, wherein the equipment types are distinguished according to the consumed flow of the network equipment, and the to-be-connected routing signals are signals in different working frequency bands generated by the routing system;
the bandwidth allocation method provided by the invention is applied to a routing system, each network device is networked through the routing system, the routing system can be composed of one or more routers, each network device and the routing system respectively correspond to each network node of a preset network area, wherein the preset network area can be a local area network or a wide area network, the network area where the network device and the routing system are located is a preset network area, and the preset network area is generally a home local area network. The network devices are connected with the home local area network through the routing system, and can be terminal devices of the Internet of things, or terminal devices with networking functions such as PCs, smart phones, tablet computers, electronic book readers, MP3 players, MP4 players and portable computers. Further, the system architecture of the routing system may be a mesh structure, i.e. the network structure formed by the routers is a mesh structure.
And in the process of allocating the bandwidth to each network device by the routing system, acquiring the device type of each network device. The routing system stores the device types of the network devices in advance, and the device types of the network devices are stored in the device list as device type identifiers, that is, the routing system acquires the device types of the network devices based on the device type identifiers in the network device list. The device types of each network device include a high-flow device and a low-flow device, the high-flow device is an electronic device in a preset network area, the network flow of which is greater than a preset flow threshold, generally, the high-flow device includes a smart phone, a personal computer, a smart television or the like, and the low-flow device is an electronic device in the preset network area, the network flow of which is less than the preset flow threshold.
The device types of each network device comprise high-flow devices and low-flow devices, after the device types of each network device are acquired, the to-be-connected routing signals corresponding to each network device are determined according to the device types of each network device, specifically, according to the preset mapping relation between the device types and the routing signals, the to-be-connected routing signals of the network devices of the high-flow devices are determined to be 5g routing signals, and the to-be-connected routing signals of the low-flow devices are determined to be 2.4g routing signals. The 5g routing signal is a signal which is generated by a routing system connected with the network equipment and works in a 5g frequency band, and the 2.4g routing signal is a signal which is generated by the routing system and works in the 5g frequency band.
Step S20, the routing system determines the network bandwidth to be connected corresponding to each network device according to the routing signal to be connected and the device type;
after determining the routing signals to be connected of each network device, determining the network bandwidth to be connected corresponding to each network device according to the routing signals to be connected of the network device and the device type of the network device. It can be understood that, on the basis of determining the to-be-connected routing signal, network devices of different device types need to allocate different network bandwidths corresponding to the to-be-connected routing signal, so that according to the device type, the to-be-connected network bandwidth corresponding to each network device is determined in the network bandwidths corresponding to the to-be-connected routing signal. For example, according to different types of network devices, the network bandwidths corresponding to the routing signals to be connected are allocated according to the proportion, or according to the current bandwidth usage condition of the preset area, the network bandwidths corresponding to the routing signals to be connected are allocated to the different types of network devices.
In step S30, the routing system obtains bandwidth resources of the preset network area, and allocates the bandwidth resources to each network device according to the network bandwidth to be connected, where each network device corresponds to each network node of the preset network area.
After the network bandwidth to be connected corresponding to each network device is determined, bandwidth resources of a preset network area are acquired, and the bandwidth resources are distributed to each network device according to the determined network bandwidth to be connected corresponding to each network device. The preset network area may be a local area network or a wide area network, and the network devices and the network nodes corresponding to the routing system respectively form the preset network area, and the preset network area is generally a home local area network.
According to the bandwidth allocation method provided by the embodiment, equipment types of all network equipment are obtained, and to-be-connected routing signals corresponding to all network equipment are determined according to the equipment types of all network equipment, wherein the equipment types are distinguished according to the consumed flow of the network equipment, and the to-be-connected routing signals are signals in different working frequency bands generated by a routing system; according to the routing signals to be connected and the device types, determining the network bandwidths to be connected corresponding to each network device; and acquiring bandwidth resources of the preset network area, and respectively distributing the bandwidth resources to each network device according to the network bandwidth to be connected, wherein each network device corresponds to each network node of the preset network area. In this embodiment, different network devices are screened out according to different device types, and routing signals to be connected of the network devices are determined according to the different device types; and then, different network bandwidths to be connected are allocated to different equipment types, so that bandwidth resources are allocated to the network equipment according to the network bandwidths to be connected of all the network equipment, the bandwidth resources are allocated according to the types of different equipment, excessive bandwidth resources occupied by some network equipment are avoided, the technical problem that the network speed of a routing system is easy to be reduced when the number of the network equipment is large is solved, the utilization rate of the bandwidth resources is improved, and the network speed of all the network equipment is improved.
Based on the first embodiment, a second embodiment of the bandwidth allocation method of the present invention is proposed, referring to fig. 3, in this embodiment, after step S30, the method further includes:
step S40, when detecting that the service type occupying the bandwidth changes, the routing system determines the spare bandwidth corresponding to the preset network area;
and S50, if the spare bandwidth is zero, the routing system performs bandwidth allocation again on each network device according to the changed service type.
If the routing system currently receives a new service type occupying bandwidth, calculating the spare bandwidth in the total bandwidth resources by presetting the total bandwidth resources corresponding to the network area and the allocated bandwidth resources. The service type occupying the bandwidth may be a service type provided by a new network device, or may be a service type added by an original network device, so that the original network device needs more bandwidth resources. If the calculated spare bandwidth cannot meet the new service type or the spare bandwidth does not exist currently, the bandwidth is reallocated to each network device according to the changed service type, wherein the changed service type comprises the original service type and the new service type, namely, the bandwidth is reallocated according to the original service type and the new service type. If the spare bandwidth exists in the preset network area currently, calculating the minimum bandwidth corresponding to the minimum user experience quality value according to the spare bandwidth, and distributing the minimum bandwidth to the network equipment corresponding to the new service type.
Further, reallocating bandwidth to each network device according to the changed service type, including: acquiring a new service type and network equipment corresponding to the original service type as network equipment, acquiring equipment types of all network equipment, and determining to-be-connected routing signals corresponding to all network equipment according to the equipment types of all network equipment; according to the routing signals to be connected and the device types, determining the network bandwidths to be connected corresponding to each network device; and acquiring bandwidth resources of a preset network area, and respectively distributing the bandwidth resources to each network device according to the network bandwidth to be connected.
Further, when detecting that a new network device is accessed, determining that the service type occupying the bandwidth is changed.
Further, according to the changed service type, bandwidth allocation is performed on each network device, including:
step S51, the routing system obtains the bandwidth proportion of each network device according to the changed service type;
step S52, the routing system calculates the actual allocable bandwidth of each network device according to the bandwidth proportion and bandwidth resources allocated by each network device;
in step S53, the routing system allocates bandwidth to each network device according to the bandwidth that can be actually allocated by each network device.
If the calculated spare bandwidth is not enough to meet the new service type or the spare bandwidth does not exist currently, that is, the spare bandwidth meeting the demand does not exist currently in the preset network area, the bandwidth proportion of each network device is obtained according to the changed service type, wherein the route signal corresponds to the bandwidth proportion, that is, the network device (low-flow device) corresponding to 2.4g of the route signal corresponds to the first bandwidth proportion, and the network device (high-flow device) corresponding to 5g of the route signal corresponds to the second bandwidth proportion, that is, one of the route signals determines one bandwidth proportion.
And then, calculating the actual allocatable bandwidth of the low-flow device according to the first bandwidth proportion and the bandwidth resource corresponding to the low-flow device, and calculating the actual allocatable bandwidth of the high-flow device according to the second bandwidth proportion and the bandwidth resource corresponding to the high-flow device, so that the actual allocatable bandwidth of each network device can be calculated according to the bandwidth proportion allocated by each network device. And finally, distributing bandwidth resources of a preset network area to each network device according to the calculated bandwidth actually distributed by each network device, wherein the changed service type comprises an original service type and a new service type, namely, the bandwidth is redistributed according to the original service type and the new service type.
Further, calculating the bandwidth actually allocable by each network device according to the bandwidth proportion and the bandwidth resource allocated by each network device, including:
in step S521, the routing system calculates the downlink bandwidth and the uplink bandwidth that can be actually allocated by each network device according to the bandwidth ratio allocated by each network device, the pre-stored uplink and downlink bandwidth allocation ratio corresponding to each network device, and the bandwidth resource.
The bandwidth ratio determines the size of the bandwidth allocated to each network device, so that it is necessary to allocate the upper and lower bandwidths to different network devices more reasonably. Specifically, after the bandwidths of the network devices are allocated to the network devices according to the bandwidth allocation proportion of the network devices, the bandwidths of the network devices are allocated to the network devices based on the uplink and downlink bandwidth allocation proportion corresponding to the network devices, so that the downlink bandwidth and the uplink bandwidth which can be practically allocated by the network devices are obtained. It should be noted that, the uplink and downlink bandwidth allocation proportion corresponding to each network device corresponds to the device type of the network device, that is, the uplink and downlink bandwidth allocation proportion of each network device is determined according to the device type of each network device, for example, the downlink bandwidth obtained by the smart television needs more, and the downlink bandwidth of the smart television occupies a high proportion.
Further, obtaining bandwidth resources of the preset network area, and after allocating the bandwidth resources to each network device according to the network bandwidth to be connected, further includes:
step S60, when the routing system detects that the target network equipment executes the video downloading task, the current use bandwidth of each network equipment is obtained, wherein the target network equipment is any one of the network equipment;
step S70, the routing system determines the spare bandwidth corresponding to the preset network area according to the current bandwidth and bandwidth resources;
step S80, if the spare bandwidth is zero, the routing system calculates a target bandwidth corresponding to the minimum user experience quality value according to the spare bandwidth;
step S90, if the target bandwidth is smaller than or equal to the sum of the currently used bandwidth and the spare bandwidth of the target device, the target bandwidth is allocated to the target network device, so that the target network device performs the video downloading task based on the target bandwidth.
After the network bandwidth of each network device is allocated, the routing system detects whether the device is downloading the video in real time, and if the video downloading task of the network device is detected, the current use bandwidth of each network device is obtained, and the network device which does not perform the task is controlled to temporarily release the owned bandwidth resource, and the current use bandwidth is obtained after the network device which does not perform the task releases the bandwidth resource. And then, calculating the currently available bandwidth based on the currently used bandwidth and the bandwidth resources corresponding to the preset network area, and calculating the spare bandwidth. If the spare bandwidth is zero, the calculated spare bandwidth meets the requirement, the spare bandwidth existing in the network area is preset, and the target bandwidth corresponding to the minimum user experience quality value is calculated according to the spare bandwidth; and if the target bandwidth is smaller than or equal to the sum of the current bandwidth used by the target device and the spare bandwidth, the target bandwidth is distributed to the target network device so that the target network device can execute the video downloading task based on the target bandwidth, thereby enabling the network device executing the video downloading task to temporarily acquire the spare bandwidth resource to execute the video downloading task, reducing the time of video downloading, realizing dynamic bandwidth allocation and improving the data processing efficiency of the network device.
Further, the bandwidth resource comprises a routing signal corresponding to the routing system and a channel bandwidth corresponding to the routing signal, the routing signal is generated by the routing system connected with the network equipment, and the routing signal of the routing system comprises 2.4g routing signals and 5g routing signals; obtaining bandwidth resources of a preset network area, and respectively distributing the bandwidth resources to each network device according to the network bandwidth to be connected, wherein the bandwidth resources comprise:
in step S31, the routing system allocates routing signals to each network device according to the network bandwidth to be connected, and allocates channel bandwidths to each network device.
After the network bandwidths to be connected corresponding to the network devices are determined, the routing signals of the routing system and the channel bandwidths corresponding to the routing signals are obtained, the routing signals are respectively distributed to the network devices, and the channel bandwidths are distributed to the network devices. The preset network area may be a local area network or a wide area network, the network nodes corresponding to the network devices and the routing system respectively form the preset network area, the preset network area is generally a home local area network, the routing signals are generated by the routing system connected with the network devices, and the routing signals of the routing system comprise 2.4g routing signals and 5g routing signals.
According to the bandwidth allocation method provided by the embodiment, when the service type occupying the bandwidth is detected to be changed, the spare bandwidth corresponding to the preset network area is determined; and if the spare bandwidth is zero, carrying out bandwidth allocation again on each network device according to the changed service type. In this embodiment, when detecting that a service type occupying a bandwidth in a preset network area changes, the current spare bandwidth of the preset network area is obtained, and when the spare bandwidth does not exist, the bandwidth is reallocated to the changed service type, so that the bandwidth can be allocated to a new service type which is accessed in real time, the problem that the service type processes service data slowly due to less bandwidth allocation when the new service type is accessed to a routing system is avoided, and the function of allocating bandwidth resources in real time according to different requirements is realized.
In addition, referring to fig. 4, an embodiment of the present invention provides a bandwidth allocation apparatus, including:
the device comprises an acquisition module, a routing system and a routing system, wherein the acquisition module is used for acquiring the device type of each network device, determining a to-be-connected routing signal corresponding to each network device according to the device type of each network device, wherein the device types are distinguished according to the consumed flow of the network device, and the to-be-connected routing signal is a signal in different working frequency bands generated by the routing system;
the determining module is used for determining the network bandwidth to be connected corresponding to each network device according to the routing signals to be connected and the device type;
the distribution module is used for obtaining bandwidth resources of the preset network area, and distributing the bandwidth resources to each network device according to the network bandwidth to be connected, wherein each network device corresponds to each network node of the preset network area.
Further, the distribution module is further configured to:
when detecting that the service type occupying the bandwidth changes, determining the spare bandwidth corresponding to the preset network area;
and if the spare bandwidth is zero, carrying out bandwidth allocation again on each network device according to the changed service type.
Further, the distribution module is further configured to:
and when detecting that new network equipment is accessed to a preset network area, judging that the service type occupying the bandwidth is changed.
Further, the distribution module is further configured to:
acquiring the bandwidth proportion of each network device according to the changed service type;
calculating the actual allocable bandwidth of each network device according to the bandwidth proportion and bandwidth resources allocated by each network device;
and carrying out bandwidth allocation on each network device according to the bandwidth which can be actually allocated by each network device.
Further, the distribution module is further configured to:
and calculating the practically allocable downlink bandwidth and uplink bandwidth of each network device according to the bandwidth proportion allocated by each network device, the prestored uplink and downlink bandwidth allocation proportion corresponding to each network device and the bandwidth resource.
Further, the distribution module is further configured to:
when detecting that target network equipment executes a video downloading task, acquiring the current use bandwidth of each network equipment, wherein the target network equipment is any one of the network equipment;
determining a spare bandwidth corresponding to a preset network area according to the current bandwidth and bandwidth resources;
if the spare bandwidth is not zero, calculating a target bandwidth corresponding to the minimum user experience quality value according to the spare bandwidth;
and if the target bandwidth is smaller than or equal to the sum of the currently used bandwidth and the spare bandwidth of the target device, distributing the target bandwidth to the target network device so that the target network device can execute the video downloading task based on the target bandwidth.
Further, the distribution module is further configured to:
and respectively distributing the routing signals to each network device according to the network bandwidth to be connected, and respectively distributing the channel bandwidths to each network device.
Further, an embodiment of the present invention provides a computer-readable storage medium having stored thereon a bandwidth allocation program which, when executed by a processor, implements the steps of the bandwidth allocation method as described above.
The specific embodiments of the computer readable storage medium of the present invention are substantially the same as the embodiments of the bandwidth allocation method described above, and will not be described in detail herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A method for bandwidth allocation, comprising:
acquiring the equipment types of all network equipment, and determining to-be-connected routing signals corresponding to all network equipment according to the equipment types of all network equipment, wherein the equipment types are distinguished according to the flow consumed by the network equipment, and the to-be-connected routing signals are signals in different working frequency bands generated by a routing system;
determining the network bandwidth to be connected corresponding to each network device according to the routing signal to be connected and the device type;
and acquiring bandwidth resources of a preset network area, and respectively distributing the bandwidth resources to each network device according to the network bandwidth to be connected, wherein each network device corresponds to each network node of the preset network area.
2. The method of claim 1, wherein after the bandwidth resources are respectively allocated to the respective network devices according to the network bandwidth to be connected, the method further comprises:
when detecting that the service type occupying the bandwidth changes, determining the spare bandwidth corresponding to the preset network area;
and if the spare bandwidth is zero, performing bandwidth re-allocation on each network device according to the changed service type.
3. The method of claim 2, wherein prior to detecting a change in the type of traffic occupying the bandwidth, the method further comprises:
and when detecting that new network equipment is accessed to the preset network area, judging that the service type occupying the bandwidth is changed.
4. The method of claim 3, wherein the re-bandwidth allocation for each network device according to the changed traffic type comprises:
acquiring the bandwidth proportion of each network device according to the changed service type;
calculating the actual allocable bandwidth of each network device according to the bandwidth proportion allocated by each network device and the bandwidth resource;
and carrying out bandwidth allocation on each network device according to the bandwidth which can be actually allocated by each network device.
5. The method of claim 4, wherein said calculating the actual allocable bandwidth of each network device based on the allocated bandwidth proportion and the bandwidth resources of each network device comprises:
and calculating the practically allocable downlink bandwidth and uplink bandwidth of each network device according to the bandwidth proportion allocated by each network device, the prestored uplink and downlink bandwidth allocation proportion corresponding to each network device and the bandwidth resource.
6. The method of claim 1, wherein after the bandwidth resources are respectively allocated to the respective network devices according to the network bandwidth to be connected, the method further comprises:
when detecting that target network equipment executes a video downloading task, acquiring the current use bandwidth of each network equipment, wherein the target network equipment is any one of the network equipment;
determining a spare bandwidth corresponding to the preset network area according to the current bandwidth and the bandwidth resource;
if the spare bandwidth is not zero, calculating a target bandwidth corresponding to a minimum user experience quality value according to the spare bandwidth;
and if the target bandwidth is smaller than or equal to the sum of the currently used bandwidth of the target network equipment and the spare bandwidth, distributing the target bandwidth to the target network equipment so that the target network equipment can execute the video downloading task based on the target bandwidth.
7. The method according to any one of claims 1 to 6, wherein the bandwidth resources include routing signals corresponding to routing systems and channel bandwidths corresponding to the routing signals, the routing signals being generated by the routing systems connected to the network devices, the routing signals of the routing systems including 2.4g routing signals and 5g routing signals, the allocating the bandwidth resources to the respective network devices according to the network bandwidths to be connected, respectively, comprising:
and respectively distributing the routing signals to each network device according to the network bandwidth to be connected, and respectively distributing the channel bandwidths to each network device.
8. A bandwidth allocation apparatus, comprising:
the device comprises an acquisition module, a routing system and a routing system, wherein the acquisition module is used for acquiring the device type of each network device and determining a to-be-connected routing signal corresponding to each network device according to the device type of each network device, the device types are distinguished according to the consumed flow of the network device, and the to-be-connected routing signal is a signal in different working frequency bands generated by the routing system;
the determining module is used for determining the network bandwidth to be connected corresponding to each network device according to the routing signal to be connected and the device type;
the distribution module is used for obtaining bandwidth resources of a preset network area, and distributing the bandwidth resources to each network device according to the network bandwidth to be connected, wherein each network device corresponds to each network node of the preset network area.
9. A bandwidth allocation device, characterized in that it comprises a memory, a processor and a bandwidth allocation program stored on the memory and executable on the processor, which bandwidth allocation program, when executed by the processor, implements the steps of the bandwidth allocation method according to any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a bandwidth allocation program, which when executed by a processor, implements the steps of the bandwidth allocation method according to any of claims 1 to 7.
CN202011012178.XA 2020-09-23 2020-09-23 Bandwidth allocation method, device, equipment and computer readable storage medium Active CN112332999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011012178.XA CN112332999B (en) 2020-09-23 2020-09-23 Bandwidth allocation method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011012178.XA CN112332999B (en) 2020-09-23 2020-09-23 Bandwidth allocation method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112332999A CN112332999A (en) 2021-02-05
CN112332999B true CN112332999B (en) 2023-08-01

Family

ID=74302940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011012178.XA Active CN112332999B (en) 2020-09-23 2020-09-23 Bandwidth allocation method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112332999B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114257515B (en) * 2021-12-21 2024-04-05 中电信数智科技有限公司 Bandwidth secondary scheduling method and device
CN116886541A (en) * 2023-08-04 2023-10-13 中国联合网络通信有限公司深圳市分公司 Service broadband 5GCPE protection and bandwidth real-time allocation method and system

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625377A (en) * 2011-01-31 2012-08-01 电信科学技术研究院 Method for establishing radio bearer, access point equipment, user equipment and system
CN103874072A (en) * 2012-12-18 2014-06-18 华为终端有限公司 Communication interference processing method and wireless router
CN105052096A (en) * 2013-12-27 2015-11-11 华为技术有限公司 Broadcast control bandwidth allocation and data transceiving method and apparatus
CN105337901A (en) * 2015-09-30 2016-02-17 北京四达时代软件技术股份有限公司 Router intelligent bandwidth allocation method and device
CN105578620A (en) * 2015-12-21 2016-05-11 努比亚技术有限公司 Network access device and method
CN105611636A (en) * 2015-12-31 2016-05-25 深圳Tcl数字技术有限公司 Bandwidth distribution method and device of single-channel WiFi device
CN105722233A (en) * 2016-01-26 2016-06-29 深圳职业技术学院 Dynamic management method for radio resource of heterogeneous network
CN106255214A (en) * 2016-07-29 2016-12-21 乐视控股(北京)有限公司 A kind of channel switching method and device
WO2017185697A1 (en) * 2016-04-28 2017-11-02 乐视控股(北京)有限公司 Bandwidth sharing method and apparatus
WO2018112698A1 (en) * 2016-12-19 2018-06-28 广东欧珀移动通信有限公司 Method for transmitting signal, network device and terminal device
CN108270696A (en) * 2018-03-23 2018-07-10 努比亚技术有限公司 Internet wide band distribution, mobile terminal and computer storage media
CN108566286A (en) * 2017-12-29 2018-09-21 惠州Tcl移动通信有限公司 A kind of implementation method, router and the electronic equipment of intelligent router service quality
CN108966351A (en) * 2018-06-20 2018-12-07 四川斐讯信息技术有限公司 A kind of method and apparatus adjusting wireless router bandwidth
CN109152095A (en) * 2018-11-07 2019-01-04 上海连尚网络科技有限公司 Wireless network connecting method for terminal
CN110036678A (en) * 2016-11-28 2019-07-19 三星电子株式会社 Base station and its operating method in wireless communication system
WO2019191999A1 (en) * 2018-04-04 2019-10-10 华为技术有限公司 Resource determination method, indication method, and apparatus
CN110392375A (en) * 2018-04-18 2019-10-29 腾讯科技(深圳)有限公司 WiFi network channel amending method, terminal, server and storage medium
CN111181753A (en) * 2018-11-12 2020-05-19 华为技术有限公司 Dynamic bandwidth allocation method and related equipment
WO2020156559A1 (en) * 2019-02-03 2020-08-06 华为技术有限公司 Data transmission method, network device and terminal device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BR112020020381A2 (en) * 2018-04-06 2021-01-12 Telefonaktiebolaget Lm Ericsson (Publ) BANDWIDTH PART SWITCHING
US11160084B2 (en) * 2018-07-05 2021-10-26 Qualcomm Incorporated Supporting 320 MHz operating BW

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625377A (en) * 2011-01-31 2012-08-01 电信科学技术研究院 Method for establishing radio bearer, access point equipment, user equipment and system
CN103874072A (en) * 2012-12-18 2014-06-18 华为终端有限公司 Communication interference processing method and wireless router
CN105052096A (en) * 2013-12-27 2015-11-11 华为技术有限公司 Broadcast control bandwidth allocation and data transceiving method and apparatus
CN105337901A (en) * 2015-09-30 2016-02-17 北京四达时代软件技术股份有限公司 Router intelligent bandwidth allocation method and device
CN105578620A (en) * 2015-12-21 2016-05-11 努比亚技术有限公司 Network access device and method
CN105611636A (en) * 2015-12-31 2016-05-25 深圳Tcl数字技术有限公司 Bandwidth distribution method and device of single-channel WiFi device
CN105722233A (en) * 2016-01-26 2016-06-29 深圳职业技术学院 Dynamic management method for radio resource of heterogeneous network
WO2017185697A1 (en) * 2016-04-28 2017-11-02 乐视控股(北京)有限公司 Bandwidth sharing method and apparatus
CN106255214A (en) * 2016-07-29 2016-12-21 乐视控股(北京)有限公司 A kind of channel switching method and device
CN110036678A (en) * 2016-11-28 2019-07-19 三星电子株式会社 Base station and its operating method in wireless communication system
WO2018112698A1 (en) * 2016-12-19 2018-06-28 广东欧珀移动通信有限公司 Method for transmitting signal, network device and terminal device
CN108566286A (en) * 2017-12-29 2018-09-21 惠州Tcl移动通信有限公司 A kind of implementation method, router and the electronic equipment of intelligent router service quality
CN108270696A (en) * 2018-03-23 2018-07-10 努比亚技术有限公司 Internet wide band distribution, mobile terminal and computer storage media
WO2019191999A1 (en) * 2018-04-04 2019-10-10 华为技术有限公司 Resource determination method, indication method, and apparatus
CN110392375A (en) * 2018-04-18 2019-10-29 腾讯科技(深圳)有限公司 WiFi network channel amending method, terminal, server and storage medium
CN108966351A (en) * 2018-06-20 2018-12-07 四川斐讯信息技术有限公司 A kind of method and apparatus adjusting wireless router bandwidth
CN109152095A (en) * 2018-11-07 2019-01-04 上海连尚网络科技有限公司 Wireless network connecting method for terminal
CN111181753A (en) * 2018-11-12 2020-05-19 华为技术有限公司 Dynamic bandwidth allocation method and related equipment
WO2020156559A1 (en) * 2019-02-03 2020-08-06 华为技术有限公司 Data transmission method, network device and terminal device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
宽带城域网用户上行带宽限速研究分析;杨雷;杨春香;;科技信息(第24期);全文 *
进入物联时代――家用智能路由器选购;ALONG;;电脑知识与技术(经验技巧)(第06期);全文 *

Also Published As

Publication number Publication date
CN112332999A (en) 2021-02-05

Similar Documents

Publication Publication Date Title
US10826843B2 (en) Systems and methods for allocating end device resources to a network slice
CN110418418B (en) Wireless resource scheduling method and device based on mobile edge calculation
US10912086B2 (en) Methods and apparatus for estimating wireless network coverage
CN112332999B (en) Bandwidth allocation method, device, equipment and computer readable storage medium
WO2022104754A1 (en) Network resource management method, management apparatus, electronic device, and storage medium
US11706630B2 (en) Spectrum management device, system and method, and computer-readable storage medium
CN113115327B (en) Method, device, equipment and storage medium for dynamically optimizing network performance
CN110661654B (en) Network bandwidth resource allocation method, device, equipment and readable storage medium
CN114143270B (en) Bandwidth adjustment method and device
KR20180088880A (en) Use network-supported protocols to improve network utilization
CN112333834A (en) Carrier resource scheduling method and device
CN107734595A (en) Connection control method and device, system
CN105393590B (en) Terminal equipment and D2D resource management method
WO2020083364A1 (en) 5g communication method, system and device, and storage medium
CN112867069B (en) Interference processing method and device, storage medium and electronic equipment
CN112469132A (en) Carrier resource scheduling method and device
CN109587068B (en) Flow switching method, device, equipment and computer readable storage medium
CN112600695B (en) RAN side network slice resource allocation method and device and electronic equipment
CN110839296B (en) Network resource scheduling method, device, storage medium and mobile terminal
JP2007267106A (en) Base station device and radio resource allocating method
CN112685163A (en) Computing unloading method based on mobile edge computing and mobile edge computing server
CN106900050B (en) downlink power processing method, processor and base station
CN107124768B (en) Power distribution method and device
CN117222017A (en) Multi-user resource allocation method, device, equipment and computer readable storage medium
CN109743754B (en) Communication method, communication device, electronic equipment and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant