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

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

Info

Publication number
CN117793582A
CN117793582A CN202311769110.XA CN202311769110A CN117793582A CN 117793582 A CN117793582 A CN 117793582A CN 202311769110 A CN202311769110 A CN 202311769110A CN 117793582 A CN117793582 A CN 117793582A
Authority
CN
China
Prior art keywords
slave device
air interface
fixed bandwidth
fttr
bandwidth
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.)
Pending
Application number
CN202311769110.XA
Other languages
Chinese (zh)
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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN202311769110.XA priority Critical patent/CN117793582A/en
Publication of CN117793582A publication Critical patent/CN117793582A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The application provides a bandwidth allocation method, a bandwidth allocation device, electronic equipment and a computer readable storage medium. The method is applied to network equipment in the FTTR networking, and the fixed bandwidth occupied by the target service (or target terminal) is allocated to the target service (or target terminal) based on a transmission container T-CONT of the TYPE1 TYPE mapped by Gem Port corresponding to the target service (or target terminal) in the FTTR networking, so that the target service (or target terminal) configured by a user can be preferentially ensured, and the requirement of the user for diversified service guarantee is met. Aiming at each slave device in the FTTR networking, non-fixed bandwidth is allocated to the slave device based on the number of terminals accessed by the slave device and the air interface quality of the slave device, and the influence of time delay caused by bad wireless link conditions can be reduced and the service guarantee capability is improved due to the fact that not only the wired link dimension but also the wireless link dimension are considered when the non-fixed bandwidth is allocated.

Description

Bandwidth allocation method, device, electronic equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a bandwidth allocation method, apparatus, electronic device, and computer readable storage medium.
Background
With the deployment of gigabit network strategies, fiber to the room (Fiber To The Room, FTTR) networking is widely used in a variety of settings such as home, government offices, business stores, hotels, etc. The FTTR network comprises a master device and at least one slave device, and a Gigabit passive optical network (Gigabit-capable Passive Optical Network, GPON) is between the master device and the slave device in the FTTR.
In FTTR, bandwidth between a slave device and a master device is allocated based on uplink congestion conditions of each slave device. On the one hand, the allocation mode only considers the uplink congestion condition, and ignores the delay increase caused by poor radio link conditions, thereby leading to insufficient service guarantee. On the other hand, the distribution mode cannot set priority guarantee service according to the user demands, so that the diversified service guarantee demands of the users cannot be met.
Disclosure of Invention
In view of this, the present application provides a bandwidth allocation method, apparatus, electronic device, and computer-readable storage medium, so as to improve service guarantee capability and satisfy the service guarantee requirement of the diversity of users when allocating bandwidth to each slave device.
The embodiment of the application provides a bandwidth allocation method which is applied to network equipment in an FTTR networking; the method comprises the following steps:
Aiming at each slave device in the fiber-to-room FTTR networking, if the slave device is determined to be network equipment through which a target service passes in the FTTR networking, distributing a fixed bandwidth occupied by the target service for the slave device based on a transmission container T-CONT of a TYPE1 TYPE mapped by a Gem Port corresponding to the target service in the FTTR networking;
aiming at each slave device in the FTTR networking, if the target terminal is determined to be accessed to the slave device, distributing a fixed bandwidth occupied by the target terminal to the slave device based on T-CONT of a TYPE1 TYPE mapped by Gem Port corresponding to the target terminal in the FTTR networking; the fixed bandwidth occupied by the target terminal is used for transmitting the data stream sent by the target terminal;
and allocating non-fixed bandwidths except for the fixed bandwidths to each slave device in the FTTR network based on the number of terminals accessed by the slave device and the air interface quality of the slave device, and informing the slave device of the allocated non-fixed bandwidths so that the slave device sends data streams to a master device in the FTTR network according to the allocated non-fixed bandwidths.
The embodiment of the application also provides a bandwidth allocation device which is applied to network equipment in the FTTR networking; the device comprises:
The first distribution module is used for aiming at each slave device in the fiber-to-room FTTR networking, if the slave device is determined to be network equipment through which the target service passes in the FTTR networking, distributing a fixed bandwidth occupied by the target service for the slave device based on a transmission container T-CONT of a TYPE1 TYPE mapped by Gem ports corresponding to the target service in the FTTR networking;
the second distribution module is used for distributing a fixed bandwidth occupied by the target terminal to each slave device in the FTTR network based on T-CONT of the TYPE1 TYPE mapped by Gem Port corresponding to the target terminal in the FTTR network if the target terminal is determined to be accessed to the slave device; the fixed bandwidth occupied by the target terminal is used for transmitting the data stream sent by the target terminal;
and the third allocation module allocates non-fixed bandwidths except the fixed bandwidths for each slave device in the FTTR networking based on the number of terminals accessed by the slave device and the air interface quality of the slave device, and informs the slave device of the allocated non-fixed bandwidths so that the slave device sends data streams to the master device in the FTTR networking according to the allocated non-fixed bandwidths.
The embodiment of the application also provides electronic equipment, which comprises: a processor and a memory for storing computer program instructions which, when executed by the processor, cause the processor to perform the steps of the method as above.
Embodiments of the present application also provide a computer readable storage medium storing computer program instructions which, when executed, enable the steps of the above method to be carried out.
As can be seen from the above technical solution, in the embodiment of the present application, the fixed bandwidth occupied by the target service is allocated to the target service based on the transmission container T-CONT of TYPE1 mapped by the get Port corresponding to the target service in the FTTR networking, which realizes that the target service configured by the user can be preferentially ensured, so as to realize that the priority guarantee service is set according to the user requirement, and satisfy the service guarantee requirement of the diversity of the user.
Further, based on the transmission container T-CONT of the TYPE1 TYPE mapped by Gem Port corresponding to the target terminal in the FTTR networking, the fixed bandwidth occupied by the target service is distributed to the target terminal, so that after the target terminal is configured by a user, the data flow of any service in the target terminal can be preferentially ensured, the priority ensuring terminal is set according to the user requirement, and the service ensuring requirement of the diversity of the user is met.
Still further, for each slave device in the FTTR network, allocating an unfixed bandwidth except for the fixed bandwidth to the slave device based on the number of terminals accessed by the slave device and the air interface quality of the slave device, and notifying the slave device of the allocated unfixed bandwidth, so that the slave device sends a data stream to a master device in the FTTR network according to the allocated unfixed bandwidth. Because not only the wire link dimension such as the uplink congestion condition is considered when the non-fixed bandwidth is allocated, but also the wireless link dimension such as the terminal number and the air interface quality is considered, more non-fixed bandwidth allocation can be given when the wireless link condition is bad, so that the influence caused by the wireless link condition is reduced, and the service guarantee capability is improved.
Drawings
Fig. 1 is a network structure diagram of an FTTR network according to an embodiment of the present application.
Fig. 2 is a flow chart of a bandwidth allocation method according to an embodiment of the present application.
Fig. 3 is a schematic flow chart of allocating non-fixed bandwidth according to an embodiment of the present application.
Fig. 4 is a schematic diagram of a bandwidth allocation apparatus according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings identify the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
In order to better understand the technical solutions provided by the embodiments of the present application and make the above objects, features and advantages of the embodiments of the present application more comprehensible, the technical solutions in the embodiments of the present application are described in further detail below with reference to the accompanying drawings.
In order to better describe the present solution, before describing the present solution, a description is given of a GPON network in the related art:
the GPON network is composed of optical line terminals (Optical Line Terminal, OLT), optical distribution networks (Optical Distribution Network, ODN) and optical network units (Optical Network Unit, ONU). One port of the OLT is connected to a plurality of ONUs through the ODN.
In a GPON network, the data transmission direction from the OLT to the ONU is called the downstream direction, and vice versa, the upstream direction. In the downstream direction, the OLT transmits data streams to a plurality of ONUs by broadcasting, in the upstream direction, the OLT allocates time slots to each ONU to transmit an upstream data stream (the allocated time slots may also be referred to as allocated bandwidths) by using a dynamic bandwidth allocation (Dynamic Bandwidth Allocation, DBA) algorithm based on a time division multiplexing (Time Division Multiplexing, TDMA) technology, and the data streams from each ONU are coupled to the same optical fiber through an ODN according to the time slots allocated to each ONU without interfering with each other, and finally sent to the OLT.
After introducing the GPON network, description is made on the FTTR networking provided in the embodiment of the present application:
referring to fig. 1, fig. 1 is a network structure diagram of an FTTR network according to an embodiment of the present application.
As shown in fig. 1, the FTTR network includes a master device and a plurality of slave devices. One optical port of the master device is connected with the local side OLT device, and the other optical port is connected with a plurality of slave devices through an optical splitter. And forming a GPON network between the master device and the slave devices, wherein the master device corresponds to an OLT in the GPON network, and each slave device corresponds to an ONU in the GPON network.
If the OLT device is connected to a plurality of main devices, a GPON network is also formed between the OLT device and the plurality of main devices, and at this time, the plurality of main devices correspond to ONUs in the GPON network.
The slave equipment has radio frequency capability and can provide Wi-Fi services for terminals such as mobile phones, notebooks and the like; the master device may optionally be radio frequency capable to provide Wi-Fi services.
After introducing FTTR networking, the method provided in the application embodiment is described in detail below:
referring to fig. 2, fig. 2 is a flow chart of a bandwidth allocation method according to an embodiment of the present application. As an embodiment, the method is applied to a network device in the FTTR network, where the network device may be a master device of the FTTR network, or may be other network devices that are additionally disposed in the FTTR network besides the master device and each slave device, and the embodiment of the present application is not specifically limited.
It should be noted that, in order to more conveniently describe the present solution, the main device in the FFTR is described later as the execution body of the method provided in the present application.
As shown in fig. 2, the method may include the steps of:
s201, for each slave device in the fiber-to-room FTTR networking, if the slave device is determined to be a network device through which a target service passes in the FTTR networking, a fixed bandwidth occupied by the target service is allocated to the slave device based on a transmission container T-CONT of a TYPE1 TYPE mapped by Gem ports corresponding to the target service in the FTTR networking.
In this embodiment, the target service is a VIP service set by the user, such as a video conference service, a game service, or a live broadcast service. The target terminal is a terminal designated by a user, for example, the user a designates a mobile phone, a notebook or a tablet computer used by the user a as the target terminal.
The method also has an FTTR configuration stage before executing step S201 described above. In the configuration stage, the information of the target terminal and the target service is configured in the master device in the FTTR, and then the information of the target terminal and the target service is synchronized to each slave device in the FTTR network through the master device, so that each slave device also completes the configuration of the information of the target terminal and the target service.
Specifically, as an embodiment, the network administrator may configure information of the target service and the target terminal on the master device in the FTTR system, and after the network administrator configures the information of the target service and the target terminal, the information of the target service and the target terminal may be synchronized to any slave device in the FTTR, that is, the master device and all slave devices in the FTTR configure information of the target service and the target terminal.
In the configuration phase, the slave devices are also configured with deep packet inspection (Deep Packet Inspection, DPI) modules. As an embodiment, each slave device is configured with a DPI module for performing target service detection, and after the information of the target service and the target terminal is configured, whether the received data stream is the data stream of the target service can be determined by performing target service detection on the received data stream.
In the configuration stage, after the information of the target terminal and the target service is configured, gem Port reservation configuration is also performed on each slave device.
Before describing Gem Port reservation configuration, a related concept is described, specifically, GPON encapsulation mode (GPON Encapsulation Mode, gem) is a way to encapsulate data in GPON. In GPON, data in a data stream is encapsulated in GEM frames for transmission on a GPON line, and is identified by a GEM Port, that is, a GEM Port is a virtual traffic channel between a master device and a slave device, and one GEM Port carries one service. The transport containers (Transmission Container, T-CONT) are carriers for carrying traffic in the GPON uplink direction, all Gem ports are mapped into T-CONT, and one T-CONT can map one or more Gem ports when scheduled by the master device.
T-CONT includes 5 different TYPEs, namely, TYPE1 TYPE, TYPE2 TYPE, TYPE3 TYPE, TYPE4 TYPE and TYPE5 TYPE. These 5 types of T-CONT correspond to 4 types of bandwidths, i.e., fixed bandwidth (Fixed), guaranteed bandwidth (Assured), non-guaranteed bandwidth (Non-Assured), and Best effort bandwidth (Best effort). T-CONT of TYPE1 TYPE corresponds to fixed bandwidth, T-CONT of TYPE2 TYPE corresponds to guaranteed bandwidth, T-CONT of TYPE3 TYPE corresponds to guaranteed bandwidth and non-guaranteed bandwidth, T-CONT of TYPE4 TYPE corresponds to best effort forwarding bandwidth, T-CONT of TYPE5 TYPE corresponds to a mix of the above 4 bandwidths. Except for fixed bandwidths, which are non-fixed bandwidths. A fixed bandwidth is a bandwidth (i.e. a reserved time slot) that a master completely reserves for traffic in a slave, and this part of the bandwidth cannot be used by other slaves even when the slave has no upstream traffic.
As an embodiment, the FTTR network has a plurality of Gem ports (a plurality of Gem ports are provided between the master device and the slave device), after the information of the target terminal and the target service is configured, for each target service, a part of Gem ports is selected from the plurality of Gem ports to reserve for the VIP service, and the selected part of Gem ports maps to a T-CONT of TYPE1, which realizes that a fixed bandwidth is reserved for the target service, and the selected Gem ports are marked as Gem ports reserved for the target service. For each target terminal, a part of Gem ports are selected again from unselected Gem ports to be reserved for the target terminal, and T-CONT of TYPE TYPE1 mapped by the selected part of Gem ports is used for reserving fixed bandwidth for the target terminal, and the selected Gem ports are recorded as Gem ports reserved for the target terminal.
The total number of Gem ports reserved for all target traffic and the total number of Gem ports reserved for all target terminals are determined according to a fixed bandwidth. The number of Gem ports is reserved for each target service, and the number of Gem ports is reserved for each target terminal, and the Gem ports are comprehensively set according to factors such as the number of slave devices, the data volume generated by the target service and the like. The embodiments of the present application are not limited in this regard.
Optionally, the number of Gem ports reserved by each target service is greater than or equal to the number of slave devices, and the number of Gem ports reserved by each target terminal is greater than or equal to 2.
The configuration phase is completed and the FTTR operation phase is entered.
As an embodiment, the specific implementation manner in the step S201 is as follows: after the slave device completes information configuration of the target service and the target terminal, the DPI module is utilized to detect the target service of each data flow received by the slave device, if the data flow belongs to the data flow of the target service, the data flow is marked with a label (such as 802.1P, DSCP) of the target service, and a fixed bandwidth allocation request is sent to the master device, wherein the fixed bandwidth allocation request carries the label of the target service, and at this time, the master device determines that the slave device is a network device through which the target service passes in the FTTR networking.
And then, the master device selects one of the Gem ports reserved for the target service to map with the data stream, and the data stream belonging to the target service is transmitted to the master device according to the allocated Gem Port and the T-CONT of the TYPE TYPE1 mapped by the allocated Gem Port because the Gem Port is mapped to the T-CONT of the TYPE TYPE1, so that the fixed bandwidth occupied by the target service is allocated for the slave device, and the fixed bandwidth occupied by the target service is used for transmitting the data stream of the target service.
For example, the vacation conference belongs to a target service, when any slave device detects a data stream of the vacation conference, the data stream is labeled with the vacation conference, and a fixed bandwidth allocation request is sent to the master device, wherein the fixed bandwidth allocation request carries the label of the vacation conference, and the master device selects one Gem Port from Gem ports reserved for the vacation conference and maps the data stream labeled with the vacation conference, so as to realize allocation of the occupied fixed bandwidth of the vacation conference for the slave device.
S202, aiming at each slave device in the FTTR networking, if the target terminal is determined to be accessed to the slave device, distributing a fixed bandwidth occupied by the target terminal to the slave device based on T-CONT of a TYPE1 TYPE mapped by Gem Port corresponding to the target terminal in the FTTR networking; the fixed bandwidth occupied by the target terminal is used for transmitting the data stream sent by the target terminal.
As an embodiment, the specific implementation manner in the step S202 is as follows: after the slave device completes the information configuration of the target service and the target terminal, the target terminal is accessed to any slave device, the slave device informs the master device that the target terminal is online, and the slave device tags each data stream of the target terminal. The main equipment selects one Gem Port reserved for the target terminal and marks the label of the target terminal on each data stream for mapping, and because the Gem Port is mapped to the T-CONT of the TYPE1 TYPE, each data stream belonging to the target terminal is transmitted to the main equipment according to the allocated Gem Port and the T-CONT of the TYPE1 TYPE mapped by the allocated Gem Port, so that the fixed bandwidth occupied by the target terminal is allocated for the auxiliary equipment, and the fixed bandwidth occupied by the target service is used for transmitting the data stream of each service sent by the target terminal.
Further, the data flow of each service in the target terminal does not have different set priorities due to different service delay requirements, and the DPI detection module connected with the target terminal can detect each service in the target terminal so as to further distinguish each service in the target terminal and determine the set priorities of different services, and when the fixed bandwidth occupied by the target terminal is insufficient, the fixed bandwidth occupied by the target terminal can be further guaranteed with priority according to the priority of the subdivided service.
And S203, for each slave device in the FTTR networking, allocating non-fixed bandwidths except the fixed bandwidths to the slave device based on the number of terminals accessed by the slave device and the air interface quality of the slave device, and informing the slave device of the allocated non-fixed bandwidths so that the slave device sends data streams to the master device in the FTTR networking according to the allocated non-fixed bandwidths.
In this embodiment, the specific implementation manner of allocating the non-fixed bandwidth to the slave device except the fixed bandwidth based on the number of terminals accessed by the slave device and the air interface quality of the slave device will be described later, and will not be described herein.
As an embodiment, after the master device allocates the non-fixed bandwidth to the slave device, the master device sends a non-fixed bandwidth allocation message to the slave device, where the non-fixed bandwidth allocation message carries information of the non-fixed bandwidth allocated to the slave device, and the information of the non-fixed bandwidth can characterize a time slot allocated to the slave device for transmitting a data stream of non-target service in the non-target terminal. After receiving the non-fixed bandwidth allocation message, the slave device configures according to the non-fixed bandwidth information carried in the non-fixed bandwidth allocation message, and after completing configuration, sends a data stream to the master device according to the allocated fixed bandwidth, that is, sends the data stream to the master device in the FTTR network according to the allocated time slot.
It should be noted that, the specific implementation manner of notifying, by the master device, the slave device of the allocated non-fixed bandwidth is not limited to the manner of sending the non-fixed bandwidth allocation message described in the foregoing embodiment, but may be other manners, and embodiments of the present application are not specifically limited.
Thus, the flow shown in fig. 2 is completed.
Through the effect achieved by the flow of fig. 2, the fixed bandwidth occupied by the target service is allocated to the target service based on the transmission container T-CONT of TYPE1 mapped by the get Port corresponding to the target service in the FTTR networking, which realizes that the target service configured by the user can be preferentially ensured, so as to realize that the priority guarantee service is set according to the user requirement, and meet the service guarantee requirement of diversity of the user.
Further, based on the transmission container T-CONT of the TYPE1 TYPE mapped by Gem Port corresponding to the target terminal in the FTTR networking, the fixed bandwidth occupied by the target service is distributed to the target terminal, so that after the target terminal is configured by a user, the data flow of any service in the target terminal can be preferentially ensured, the priority ensuring terminal is set according to the user requirement, and the service ensuring requirement of the diversity of the user is met.
Still further, for each slave device in the FTTR network, allocating an unfixed bandwidth except for the fixed bandwidth to the slave device based on the number of terminals accessed by the slave device and the air interface quality of the slave device, and notifying the slave device of the allocated unfixed bandwidth, so that the slave device sends a data stream to a master device in the FTTR network according to the allocated unfixed bandwidth. Because not only the wire link dimension such as the uplink congestion condition is considered when the non-fixed bandwidth is allocated, but also the wireless link dimension such as the terminal number and the air interface quality is considered, more non-fixed bandwidth allocation can be given when the wireless link condition is bad, so that the influence caused by the wireless link condition is reduced, and the service guarantee capability is improved.
The specific implementation of allocating non-fixed bandwidth to the slave device, except for fixed bandwidth, based on the number of terminals accessed by the slave device and the air interface quality of the slave device is described in detail below.
Referring to fig. 3, fig. 3 is a schematic flow chart of allocating non-fixed bandwidth according to an embodiment of the present application.
As shown in fig. 3, the method may include the steps of:
s301, obtaining a first corresponding relation between the number of terminals accessed by the slave device and a first bandwidth allocation weight when the slave device is allocated with non-fixed bandwidth.
As one embodiment, the first correspondence is determined by: determining a first corresponding relation according to the requirement of the appointed service on time delay when running smoothly in the target environment and the relation between the number of terminals received from the equipment in the target environment and the time delay of the terminals; the terminal time delay comprises a wireless time delay generated in a wireless link corresponding to the terminal and an optical link time delay generated in an optical link corresponding to the terminal.
Further, the first corresponding relation is determined according to the requirement of the specified service in the target environment on time delay when running smoothly, the relation between the number of terminals received from the equipment in the target environment and the time delay of the terminals, the set basic bandwidth allocation weight and the set reference time delay.
In this embodiment, the target environment is a test environment without interference. The base bandwidth allocation weight may be 0 or other values, and embodiments of the present application are not particularly limited. The specified service may be a common service such as a video conference service, a game service, etc., and embodiments of the present application are not particularly limited.
Specifically, the determining the first correspondence specifically includes the following steps:
1. and obtaining a relation D (n) between the number of terminals and the time delay of the terminals in the target environment through laboratory tests, wherein n represents the number of the terminals.
2. And obtaining the requirement Q (a) of time delay when the specified service operates smoothly in the target environment according to each specified service a through laboratory tests.
3. And determining a reference delay T, wherein if a target service (for example, VIP service) is set in the configuration stage, the reference delay T is the service (denoted as a ') with the highest delay requirement in all services except the target service in the designated service, and Q (a')=t.
4. The time delay gradient delta is preset.
Wherein δ may be flexibly adjusted in specific applications, and embodiments of the present application are not particularly limited.
5. The basic weight W is preset.
The first correspondence may be expressed by the following formula:
Wn=W+(D(n)–T)/δ
wherein W is a preset basic weight, delta is a preset time delay gradient, T is a reference time delay, and D (n) is a relation D (n) between the number of terminals and the time delay of the terminals in a target environment.
It should be noted that, the first correspondence may be expressed by other formulas besides the above formulas, and embodiments of the present application are not particularly limited.
As an embodiment, after the target service and the target terminal are configured, the first correspondence may form the above formula through the steps, and the above formula may be configured in each slave device in the form of an executable module, where when the first fixed allocation weight needs to be acquired, the slave device may obtain the first bandwidth allocation weight based on the number of terminals that directly obtain the slave device.
S302, obtaining a second corresponding relation between the air interface quality of the slave device and a second bandwidth allocation weight when the slave device is allocated with non-fixed bandwidth.
As an embodiment, the air interface quality is characterized by an air interface quality evaluation value, and the second correspondence is determined by: determining a second corresponding relation according to the requirement of the appointed service on time delay when running smoothly in the target environment and the relation between the air interface quality evaluation value of the slave device and the terminal time delay; wherein the air interface quality assessment value is determined based on at least one of the following air interface parameters. The air interface parameters include at least one of the following: the utilization rate of the air interface, the packet error rate of the air interface, the packet loss rate of the air interface, the retransmission rate of the air interface, the Bluetooth interference value, the signal base noise value and the like.
Further, a second corresponding relation is determined according to the requirement of the specified service on time delay when running smoothly under the target environment, the relation between the air interface quality evaluation value of the slave device and the terminal time delay, the set basic bandwidth allocation weight and the set reference time delay.
Specifically, the determining the second correspondence specifically includes the following steps:
1. and obtaining a relation C (x) between the air interface quality evaluation value and the terminal time delay in the target environment through laboratory tests, wherein x represents the air interface quality evaluation value.
2. And obtaining the requirement Q (a) of time delay when the specified service operates smoothly in the target environment according to each specified service a through laboratory tests.
And determining a reference delay T, wherein if a target service (for example, VIP service) is set in the configuration stage, the reference delay T is the service (denoted as a ') with the highest delay requirement in all services except the target service in the designated service, and Q (a')=t.
4. The time delay gradient delta is preset.
Wherein δ may be flexibly adjusted in specific applications, and embodiments of the present application are not particularly limited.
5. The basic weight W is preset.
The first correspondence may be expressed by the following formula:
Wx=W+(C(x)–T)/δ
wherein W is a preset basic weight, delta is a preset time delay gradient, T is a reference time delay, and C (x) is the relation between the air interface quality evaluation value and the terminal time delay in the target environment.
It should be noted that, the second correspondence relationship may be expressed by other formulas besides the above formulas, and embodiments of the present application are not particularly limited.
As an embodiment, after the target service and the target terminal are configured, the second correspondence may form the above formula through the steps, and the above formula is configured in each slave device in the form of an executable module, and when the second fixed allocation weight needs to be acquired, the slave device may obtain the second bandwidth allocation weight based on directly acquiring the air interface quality evaluation value of the slave device.
S303, allocating non-fixed bandwidth for the slave device according to the number of terminals accessed by the slave device, the air interface quality of the slave device, the obtained first corresponding relation and the obtained second corresponding relation.
In this embodiment, the non-fixed bandwidth is allocated when receiving a non-fixed bandwidth allocation request sent by each slave device.
As an embodiment, when any slave device detects that the data stream is a data stream of a non-target service in the non-target terminal according to the DPI detection module, the non-fixed bandwidth allocation request is sent to the master device. The master device may obtain, when receiving the non-fixed bandwidth allocation request sent by the slave device, the number of terminals accessed by the slave device at the current time, and the air interface quality of the slave device, find, from the first correspondence, a first bandwidth allocation weight corresponding to the number of terminals accessed by the slave device at the current time, and find, from the second correspondence, a second bandwidth allocation weight corresponding to the air interface quality of the slave device at the current time. And calculating a weight sum of the obtained first bandwidth allocation weight and the obtained second bandwidth allocation weight, and allocating the non-fixed bandwidth to the slave device based on the obtained weight sum, wherein the larger the weight sum is, the larger the non-fixed bandwidth amount allocated to the slave device is, and the more the non-fixed bandwidth is allocated to the slave device.
It should be noted that, when allocating the non-fixed bandwidth, in addition to the weight sum obtained above, the weight dimension in other prior art such as uplink data buffer in the related art and priority preset by the service itself needs to be considered.
As another example, the time points are selected every set time period, such as every 30 seconds, 1 minute, 5 minutes, etc. For each selected time point, acquiring the number of terminals connected by each slave device at the selected time point and the air interface quality evaluation value of each slave device, searching a first bandwidth allocation weight corresponding to the number of terminals accessed by the slave device at the selected time point from a first corresponding relation (marked as the first bandwidth allocation weight at the selected time point), and searching a second bandwidth allocation weight corresponding to the air interface quality of the slave device at the selected time point from a second corresponding relation (marked as the second bandwidth allocation weight at the selected time point). And calculating a weight sum of a first bandwidth allocation weight at the selected time point and a second bandwidth allocation weight at the selected time point when the non-fixed bandwidth allocation request sent by the slave device is received between the selected time point and a next selected time point of the selected time point, and allocating the non-fixed bandwidth to the slave device based on the obtained weight sum, wherein the larger the weight sum is, the larger the amount of the non-fixed bandwidth allocated to the slave device is, and the more the non-fixed bandwidth is allocated to the slave device first.
Thus, the flow shown in fig. 3 is completed.
Since the wireless link delay is not considered in the related art, for example, the number of wireless terminals connected with the slave device is large, the air interface is strong, the air interface interference is large, the air interface performance is reduced, and if the priority of bandwidth allocation is considered only in consideration of the uplink congestion condition, the allocation mode can make the user feel the delay, and experience is poor. Therefore, through the flow of fig. 3, the number of the slave device connection terminals and the air interface quality are used for allocating the non-fixed bandwidth, and the dimensions of the wireless link are considered to comprehensively consider various dimensions, so that more non-fixed bandwidths can be allocated when the wireless link is in bad condition, thereby reducing the influence caused by the bad condition of the wireless link and further improving the service guarantee capability.
Fig. 4 is a schematic diagram of a bandwidth allocation apparatus according to an embodiment of the present application, where the apparatus is applied to a network device in an FTTR network; the bandwidth allocation apparatus 400 includes: a first allocation module 401, a second allocation module 402, and a third allocation module 403.
A first allocation module 401, configured to, for each slave device in the FTTR network from an optical fiber to a room, allocate, if it is determined that the slave device is a network device through which a target service passes in the FTTR network, a fixed bandwidth occupied by the target service for the slave device based on a transmission container T-CONT of TYPE1 mapped by a Gem Port corresponding to the target service in the FTTR network;
A second allocation module 402, configured to, for each slave device in the FTTR network, allocate, if it is determined that the target terminal accesses the slave device, a fixed bandwidth occupied by the target terminal to the slave device based on a T-CONT of a TYPE1 mapped by a Gem Port corresponding to the target terminal in the FTTR network; the fixed bandwidth occupied by the target terminal is used for transmitting the data stream sent by the target terminal;
a third allocation module 403 allocates, for each slave device in the FTTR network, an unfixed bandwidth except for the fixed bandwidth to the slave device based on the number of terminals accessed by the slave device and the air interface quality of the slave device, and informs the slave device of the allocated unfixed bandwidth, so that the slave device sends a data stream to a master device in the FTTR network according to the allocated unfixed bandwidth.
As one embodiment, allocating non-fixed bandwidth to the slave device other than the fixed bandwidth based on the number of terminals accessed by the slave device and the air interface quality of the slave device includes:
obtaining a first corresponding relation between the number of terminals accessed by the slave device and a first bandwidth allocation weight when the slave device is allocated with non-fixed bandwidth;
obtaining a second corresponding relation between the air interface quality of the slave device and a second bandwidth allocation weight when the slave device is allocated with non-fixed bandwidth;
And distributing non-fixed bandwidth to the slave equipment according to the number of the terminals accessed by the slave equipment, the air interface quality of the slave equipment, the obtained first corresponding relation and the obtained second corresponding relation.
As one embodiment, the first correspondence is determined by:
determining a first corresponding relation according to the requirement of the appointed service on time delay when running smoothly in the target environment and the relation between the number of terminals received from the equipment in the target environment and the time delay of the terminals;
the terminal time delay comprises a wireless time delay generated in a wireless link corresponding to the terminal and an optical link time delay generated in an optical link corresponding to the terminal.
As an embodiment, the air interface quality is characterized by an air interface quality evaluation value, and the second correspondence is determined by:
determining a second corresponding relation according to the requirement of the appointed service on time delay when running smoothly in the target environment and the relation between the air interface quality evaluation value of the slave device and the terminal time delay;
wherein the air interface quality assessment value is determined based on at least one of the following air interface parameters. The air interface parameters include at least one of the following: the utilization rate of the air interface, the packet error rate of the air interface, the packet loss rate of the air interface and the retransmission rate of the air interface.
As an embodiment, allocating the non-fixed bandwidth to the slave device according to the number of terminals accessed by the slave device, the air interface quality of the slave device, the obtained first correspondence, and the obtained second correspondence includes:
when receiving an unfixed bandwidth allocation request sent by the slave device, determining a first bandwidth allocation weight for the slave device when the unfixed bandwidth is allocated according to the number of terminals accessed by the slave device and a first corresponding relation; determining a second bandwidth allocation weight when the non-fixed bandwidth is allocated to the slave device according to the air interface quality of the slave device and a second corresponding relation; wherein the non-fixed bandwidth allocation request is sent by the slave device when the received data stream is determined to be the data stream of the non-target service in the non-target terminal;
obtaining a weight sum of the first bandwidth allocation weight and the second bandwidth allocation weight;
allocating a non-fixed bandwidth to the slave device based on the obtained weight sum; the acquisition weight and the priority of the non-fixed bandwidth amount and the allocated non-fixed bandwidth of the slave device have a positive correlation.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments.
Referring to fig. 5, fig. 5 is a schematic hardware structure of an electronic device according to an embodiment of the present application. The electronic device may include a processor 501, a communication interface 502, a memory 503, and a communication bus 504. The processor 501, the communication interface 502, and the memory 503 perform communication with each other via a communication bus 504. Wherein the memory 503 has a computer program stored thereon; the processor 501 may perform the steps of the method described in the above embodiments by executing a program stored on the memory 503. The electronic device may further include other hardware according to the actual function of the electronic device, which will not be described in detail.
Embodiments of the subject matter and the functional operations described in this specification can be implemented in: digital electronic circuitry, tangibly embodied computer software or firmware, computer hardware including the structures disclosed in this specification and structural equivalents thereof, or a combination of one or more of them. Embodiments of the subject matter described in this specification can be implemented as one or more computer programs, i.e., one or more modules of computer program instructions encoded on a tangible, non-transitory program carrier for execution by, or to control the operation of, data processing apparatus. Alternatively or additionally, the program instructions may be encoded on a manually-generated propagated signal, e.g., a machine-generated electrical, optical, or electromagnetic signal, that is generated to encode and transmit information to suitable receiver apparatus for execution by data processing apparatus. The computer storage medium may be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of one or more of them.
The processes and logic flows described in this specification can be performed by one or more programmable computers executing one or more computer programs to perform corresponding functions by operating on input data and generating output. The processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit).
Computers suitable for executing computer programs include, for example, general purpose and/or special purpose microprocessors, or any other type of central processing unit. Typically, the central processing unit will receive instructions and data from a read only memory and/or a random access memory. The essential elements of a computer include a central processing unit for carrying out or executing instructions and one or more memory devices for storing instructions and data. Typically, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto-optical disks, or optical disks, etc. However, a computer does not have to have such a device. Furthermore, the computer may be embedded in another device, such as a mobile phone, a Personal Digital Assistant (PDA), a mobile audio or video player, a game console, a Global Positioning System (GPS) receiver, or a portable storage device such as a Universal Serial Bus (USB) flash drive, to name a few.
Computer readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices including, for example, semiconductor memory devices (e.g., EPROM, EEPROM, and flash memory devices), magnetic disks (e.g., internal hard disk or removable disks), magneto-optical disks, and CD-ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
While this specification contains many specific implementation details, these should not be construed as limitations on the scope of any invention or of what may be claimed, but rather as descriptions of features of specific embodiments of particular inventions. Certain features that are described in this specification in the context of separate embodiments can also be implemented in combination in a single embodiment. On the other hand, the various features described in the individual embodiments may also be implemented separately in the various embodiments or in any suitable subcombination. Furthermore, although features may be acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.
Similarly, although operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. In some cases, multitasking and parallel processing may be advantageous. Moreover, the separation of various system modules and components in the embodiments described above should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
Thus, particular embodiments of the subject matter have been described. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. Furthermore, the processes depicted in the accompanying drawings are not necessarily required to be in the particular order shown, or sequential order, to achieve desirable results. In some implementations, multitasking and parallel processing may be advantageous.
The foregoing description of the preferred embodiment of the present invention is not intended to limit the invention to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

Claims (10)

1. The bandwidth allocation method is characterized in that the method is applied to network equipment in the FTTR networking; the method comprises the following steps:
aiming at each slave device in the fiber-to-room FTTR networking, if the slave device is determined to be network equipment through which a target service passes in the FTTR networking, distributing a fixed bandwidth occupied by the target service for the slave device based on a transmission container T-CONT of a TYPE1 TYPE mapped by Gem ports corresponding to the target service in the FTTR networking;
aiming at each slave device in the FTTR networking, if the target terminal is determined to be accessed to the slave device, distributing a fixed bandwidth occupied by the target terminal to the slave device based on T-CONT of a TYPE1 TYPE mapped by Gem Port corresponding to the target terminal in the FTTR networking; the fixed bandwidth occupied by the target terminal is used for transmitting the data stream sent by the target terminal;
and allocating non-fixed bandwidths except for the fixed bandwidths to each slave device in the FTTR network based on the number of terminals accessed by the slave device and the air interface quality of the slave device, and informing the slave device of the allocated non-fixed bandwidths so that the slave device sends data streams to a master device in the FTTR network according to the allocated non-fixed bandwidths.
2. The method of claim 1, wherein the allocating non-fixed bandwidth to the slave device other than the fixed bandwidth based on the number of terminals accessed by the slave device and the air interface quality of the slave device comprises:
obtaining a first corresponding relation between the number of terminals accessed by the slave device and a first bandwidth allocation weight when the slave device is allocated with non-fixed bandwidth;
obtaining a second corresponding relation between the air interface quality of the slave device and a second bandwidth allocation weight when the slave device is allocated with non-fixed bandwidth;
and distributing non-fixed bandwidth to the slave equipment according to the number of the terminals accessed by the slave equipment, the air interface quality of the slave equipment, the obtained first corresponding relation and the obtained second corresponding relation.
3. The method of claim 2, wherein the first correspondence is determined by:
determining the first corresponding relation according to the requirement of the appointed service on time delay when running smoothly in the target environment and the relation between the number of terminals received from the equipment in the target environment and the time delay of the terminals;
the terminal time delay comprises a wireless time delay generated in a wireless link corresponding to the terminal and an optical link time delay generated in an optical link corresponding to the terminal.
4. The method according to claim 2, wherein the air interface quality is characterized by an air interface quality evaluation value, and the second correspondence is determined by:
determining the second corresponding relation according to the requirement of the appointed service on time delay when running smoothly under the target environment and the relation between the air interface quality evaluation value of the slave device and the terminal time delay;
wherein the air interface quality assessment value is determined based on at least one of the following air interface parameters; the air interface parameters at least comprise: the utilization rate of the air interface, the packet error rate of the air interface, the packet loss rate of the air interface and the retransmission rate of the air interface.
5. The method of claim 2, wherein the allocating the non-fixed bandwidth to the slave device according to the number of terminals accessed by the slave device, the quality of the air interface of the slave device, the obtained first correspondence, and the obtained second correspondence comprises:
when receiving the non-fixed bandwidth allocation request sent by the slave device, determining a first bandwidth allocation weight for allocating the non-fixed bandwidth to the slave device according to the number of terminals accessed by the slave device and the first corresponding relation; determining a second bandwidth allocation weight when the slave device allocates the non-fixed bandwidth according to the air interface quality of the slave device and the second corresponding relation; wherein the non-fixed bandwidth allocation request is sent by the slave device when the received data stream is determined to be the data stream of the non-target service in the non-target terminal;
Obtaining a weight sum of the first bandwidth allocation weight and the second bandwidth allocation weight;
allocating a non-fixed bandwidth to the slave device based on the obtained weight sum; the acquisition weight has a positive correlation with the amount of non-fixed bandwidth allocated to the slave device and the priority of the allocated non-fixed bandwidth.
6. A bandwidth allocation device, characterized in that the device is applied to network equipment in an FTTR network; the device comprises:
the first distribution module is used for aiming at each slave device in the fiber-to-room FTTR networking, if the slave device is determined to be network equipment through which a target service passes in the FTTR networking, distributing a fixed bandwidth occupied by the target service for the slave device based on a transmission container T-CONT of a TYPE1 TYPE mapped by Gem Port corresponding to the target service in the FTTR networking;
the second allocation module is used for allocating a fixed bandwidth occupied by a target terminal to each slave device in the FTTR network based on T-CONT of a TYPE1 TYPE mapped by Gem Port corresponding to the target terminal in the FTTR network if the target terminal is determined to be accessed to the slave device; the fixed bandwidth occupied by the target terminal is used for transmitting the data stream sent by the target terminal;
And the third allocation module allocates non-fixed bandwidths except the fixed bandwidths for each slave device in the FTTR networking based on the number of terminals accessed by the slave device and the air interface quality of the slave device, and informs the slave device of the allocated non-fixed bandwidths so that the slave device sends data streams to the master device in the FTTR networking according to the allocated non-fixed bandwidths.
7. The apparatus of claim 6, wherein the allocating non-fixed bandwidth to the slave device other than the fixed bandwidth based on the number of terminals accessed by the slave device and the air interface quality of the slave device comprises:
obtaining a first corresponding relation between the number of terminals accessed by the slave device and a first bandwidth allocation weight when the slave device is allocated with non-fixed bandwidth;
obtaining a second corresponding relation between the air interface quality of the slave device and a second bandwidth allocation weight when the slave device is allocated with non-fixed bandwidth;
and distributing non-fixed bandwidth to the slave equipment according to the number of the terminals accessed by the slave equipment, the air interface quality of the slave equipment, the obtained first corresponding relation and the obtained second corresponding relation.
8. The apparatus of claim 7, wherein the first correspondence is determined by:
Determining the first corresponding relation according to the requirement of the appointed service on time delay when running smoothly in the target environment and the relation between the number of terminals received from the equipment in the target environment and the time delay of the terminals;
the terminal time delay comprises a wireless time delay generated in a wireless link corresponding to the terminal and an optical link time delay generated in an optical link corresponding to the terminal;
and/or the number of the groups of groups,
the air interface quality is characterized by an air interface quality evaluation value, and the second correspondence is determined by:
determining the second corresponding relation according to the requirement of the appointed service on time delay when running smoothly under the target environment and the relation between the air interface quality evaluation value of the slave device and the terminal time delay;
wherein the air interface quality assessment value is determined based on at least one of the following air interface parameters; the air interface parameters at least comprise: the utilization rate of the air interface, the packet error rate of the air interface, the packet loss rate of the air interface and the retransmission rate of the air interface;
and/or the number of the groups of groups,
the allocating the non-fixed bandwidth to the slave device according to the number of the terminals accessed by the slave device, the air interface quality of the slave device, the obtained first corresponding relation and the obtained second corresponding relation comprises:
When receiving the non-fixed bandwidth allocation request sent by the slave device, determining a first bandwidth allocation weight for allocating the non-fixed bandwidth to the slave device according to the number of terminals accessed by the slave device and the first corresponding relation; determining a second bandwidth allocation weight when the slave device allocates the non-fixed bandwidth according to the air interface quality of the slave device and the second corresponding relation; wherein the non-fixed bandwidth allocation request is sent by the slave device when the received data stream is determined to be the data stream of the non-target service in the non-target terminal;
obtaining a weight sum of the first bandwidth allocation weight and the second bandwidth allocation weight;
allocating a non-fixed bandwidth to the slave device based on the obtained weight sum; the acquisition weight has a positive correlation with the amount of non-fixed bandwidth allocated to the slave device and the priority of the allocated non-fixed bandwidth.
9. An electronic device, comprising:
a processor; and
a memory in which computer program instructions are stored which, when executed by the processor, cause the processor to perform the method of any one of claims 1 to 5.
10. A computer readable storage medium, having stored thereon computer program instructions which, when executed by a processor, cause the processor to perform the method of any of claims 1 to 5.
CN202311769110.XA 2023-12-20 2023-12-20 Bandwidth allocation method, device, electronic equipment and computer readable storage medium Pending CN117793582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311769110.XA CN117793582A (en) 2023-12-20 2023-12-20 Bandwidth allocation method, device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311769110.XA CN117793582A (en) 2023-12-20 2023-12-20 Bandwidth allocation method, device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN117793582A true CN117793582A (en) 2024-03-29

Family

ID=90384738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311769110.XA Pending CN117793582A (en) 2023-12-20 2023-12-20 Bandwidth allocation method, device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN117793582A (en)

Similar Documents

Publication Publication Date Title
CN111200846B (en) Time delay sensitive network communication method and device thereof
JP2014239521A (en) Data transmission over network with channel bonding
JP5026502B2 (en) Access control method and system
JP2007013967A (en) Apparatus and method for scheduling transmission of data packets in multichannel wireless communication system
KR102476368B1 (en) Integrated Dynamic Bandwidth Allocation Method and Apparatus in Passive Optical Networks
US8660062B2 (en) Methods and apparatus for quality of service-based uplink polling schemes
RU2013113226A (en) METHOD AND DEVICE FOR THE PROVISION OF DIFFERENTIATED SERVICES FOR USER EQUIPMENT
KR20160111773A (en) Optical network unit for Low latency packet transmission in time division multiplexing passive optical network, Method of operating thereof, and Apparatus for controlling optical network unit
CN107005834A (en) The method and apparatus of data processing
US20230164827A1 (en) Communications method and apparatus
CN102904836B (en) Real-time service time slot encapsulating method for multi-frequency time-division multiple-address access system
KR20210070555A (en) Optical access network and data transmission method of optical access network considering slicing for wireless network
CN109756986A (en) A kind of upstream data packet resource allocation methods and user terminal
CN103179617A (en) Method, equipment and system for scheduling and distributing wireless resources of aeronautical mobile communication system
CN109429347B (en) Time slot allocation method and device
CN104009937A (en) Enhanced-transmission-selection configuration information transmission method and device
Homayounzadeh et al. Performance analysis of cooperative cognitive radio networks with imperfect sensing
KR100884168B1 (en) Media access control scheduling method and EPON system using the method
CN110383914A (en) Method for sending information, device, terminal, access network equipment and system
EP2792203A1 (en) Scheduler and scheduling method for carrier aggregated communications
CN117793582A (en) Bandwidth allocation method, device, electronic equipment and computer readable storage medium
CN111698769B (en) Data transmission method, device and system
US11296813B2 (en) Packet processing method and device
CN111132223A (en) Data packet transmission method and communication equipment
CN114640638B (en) Message transmission method and transmitting terminal equipment

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