CN113163277B - Optical network unit bandwidth management method and device, electronic equipment and storage medium - Google Patents

Optical network unit bandwidth management method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113163277B
CN113163277B CN202110695474.2A CN202110695474A CN113163277B CN 113163277 B CN113163277 B CN 113163277B CN 202110695474 A CN202110695474 A CN 202110695474A CN 113163277 B CN113163277 B CN 113163277B
Authority
CN
China
Prior art keywords
bandwidth
virtual domain
onu
policy
managed
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
CN202110695474.2A
Other languages
Chinese (zh)
Other versions
CN113163277A (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.)
Wuhan Yangtze Optical Technology Co ltd
Original Assignee
Wuhan Yangtze Optical 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 Wuhan Yangtze Optical Technology Co ltd filed Critical Wuhan Yangtze Optical Technology Co ltd
Priority to CN202110695474.2A priority Critical patent/CN113163277B/en
Publication of CN113163277A publication Critical patent/CN113163277A/en
Application granted granted Critical
Publication of CN113163277B publication Critical patent/CN113163277B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • 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
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Abstract

The invention discloses a method and a device for managing the bandwidth of an optical network unit, electronic equipment and a storage medium. The method is applied to an optical network communication system, the optical network communication system comprises at least one virtual domain, each virtual domain can manage at least one optical network unit ONU, and the method comprises the following steps: determining the working state of the ONU managed by the first virtual domain; the first virtual domain is any one of the at least one virtual domain; acquiring a first bandwidth of the first virtual domain; the first bandwidth is a bandwidth allocated to the first virtual domain by the optical network communication system; and allocating the bandwidth for the ONU managed by the first virtual domain based on the first bandwidth, the working state and a set allocation policy.

Description

Optical network unit bandwidth management method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of optical network communications technologies, and in particular, to a method and an apparatus for managing a bandwidth of an optical network unit, an electronic device, and a storage medium.
Background
At present, in The field of Optical Network communication, each Optical Network Unit (ONU) needs to dial separately to access a Network based on an existing Gigabit/Ethernet Passive Optical Network (G/EPON) service model, and a bandwidth server allocates a bandwidth to each ONU separately, that is, The bandwidth server needs to store an account and a password of each ONU so as to verify whether The bandwidth can be allocated to The ONU, such a bandwidth management manner is that, in an Optical Fiber to Room (FTTR) scenario, because a plurality of ONUs enter a user home or other application scenarios, The bandwidth management manner based on The foregoing single ONU cannot meet The requirement.
Disclosure of Invention
In view of the above, the main objective of the present invention is to provide a method, an apparatus, an electronic device and a storage medium for managing a bandwidth of an optical network unit, where the method first allocates a bandwidth to a created virtual domain by a bandwidth server, and then allocates an obtained bandwidth to an ONU managed by the created virtual domain again, so that the bandwidth server does not need to allocate a bandwidth to each ONU separately, and a bandwidth allocation process can be simplified.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
in a first aspect, the present invention provides a method for managing a bandwidth of an optical network unit, which is applied to an optical network communication system, where the optical network communication system includes at least one virtual domain, and each virtual domain can manage at least one optical network unit ONU, where the method includes:
determining the working state of the ONU managed by the first virtual domain; the first virtual domain is any one of the at least one virtual domain;
acquiring a first bandwidth of the first virtual domain; the first bandwidth is a bandwidth allocated to the first virtual domain by the optical network communication system;
and allocating the bandwidth for the ONU managed by the first virtual domain based on the first bandwidth, the working state and a set allocation policy.
In the foregoing scheme, the obtaining the first bandwidth of the first virtual domain includes:
determining a network access policy of the first virtual domain;
sending an access request to a bandwidth server based on the network access policy; the access request at least comprises an access account and an access password;
receiving a feedback result of the bandwidth server;
under the condition that the feedback result is successful in access, acquiring a first bandwidth allocated by the bandwidth server;
the network access policy is a first policy or a second policy; the first policy is independent of the working state of the ONU managed by the first virtual domain; the second policy is related to an operating status of the ONU managed by the first virtual domain.
In the above aspect, the method further includes:
determining a first ONU with the working state of online; the first ONU belongs to the ONU managed by the first virtual domain;
judging whether the number of the first ONU is one or not;
in a case where it is determined that the first ONU number is not one, the allocating a bandwidth to the ONU managed by the first virtual domain based on the first bandwidth, the operating state, and a set allocation policy includes: and allocating the bandwidth for the ONU managed by the first virtual domain according to a first sub-allocation strategy and the first bandwidth.
In the above aspect, the method further includes:
and under the condition that the number of the first ONUs is judged to be one, allocating the bandwidth for the ONUs managed by the first virtual domain according to a second sub-allocation strategy and the first bandwidth.
In the above solution, the first sub-allocation policy includes one of:
the first ONU with the working state of online in the first virtual domain equally divides the first bandwidth;
allocating the first bandwidth to a first ONU of which the working state is online in the first virtual domain according to a first set weight;
and allocating the first bandwidth to the ONU managed by the first virtual domain according to a second set weight.
In the above aspect, the method further includes:
determining the change direction of the working state of a second ONU under the condition that the working state of the second ONU is changed; reallocating the bandwidth for the ONU managed by the first virtual domain based on the change direction and the set allocation strategy; the second ONU belongs to the ONU managed by the first virtual domain.
In the above aspect, the method further includes:
presenting a setting operation interface; and in the setting operation interface, determining a network access strategy of the first virtual domain and determining the setting distribution strategy of the ONU managed by the first virtual domain.
In a second aspect, the present invention further provides an optical network unit bandwidth management apparatus, applied to an optical network communication system, where the optical network communication system includes at least one virtual domain, and each virtual domain can access at least one optical network unit ONU, where the apparatus includes: the device comprises a determining unit, an acquiring unit and a distributing unit, wherein;
the determining unit is used for determining the working state of the ONU managed by the first virtual domain; the first virtual domain is any one of the at least one virtual domain;
the acquiring unit is configured to acquire a first bandwidth of the first virtual domain; the first bandwidth is a bandwidth allocated to the first virtual domain by the optical network communication system;
the allocation unit is configured to allocate a bandwidth to the ONU managed by the first virtual domain based on the first bandwidth, the working state, and a set allocation policy.
In the foregoing solution, the obtaining unit is specifically configured to: determining a network access policy of the first virtual domain;
sending an access request to a bandwidth server based on the network access policy; the access request at least comprises an access account and an access password;
receiving a feedback result of the bandwidth server;
under the condition that the feedback result is successful in access, acquiring a first bandwidth allocated by the bandwidth server;
the network access policy is a first policy or a second policy; the first policy is independent of the working state of the ONU managed by the first virtual domain; the second policy is related to an operating status of the ONU managed by the first virtual domain.
In the above scheme, the apparatus further comprises a judging unit;
the determining unit is used for determining the first ONU of which the working state is on-line; the first ONU belongs to the ONU managed by the first virtual domain;
the judging unit is used for judging whether the number of the first ONU is one;
the allocation unit is configured to allocate bandwidth to the ONU managed by the first virtual domain according to a first sub-allocation policy and the first bandwidth when it is determined that the number of the first ONUs is not one.
In the foregoing solution, the allocating unit is configured to allocate a bandwidth to the ONU managed by the first virtual domain according to a second sub-allocation policy and the first bandwidth when it is determined that the number of the first ONU is one.
In the above solution, the determining unit is further configured to determine a changing direction of the operating state of the second ONU, when the operating state of the second ONU changes; reallocating the bandwidth for the ONU managed by the first virtual domain based on the change direction and the set allocation strategy; the second ONU belongs to the ONU managed by the first virtual domain.
In the above solution, the apparatus further comprises: the presentation unit is used for presenting a setting operation interface; and in the setting operation interface, determining a network access strategy of the first virtual domain and determining the setting distribution strategy of the ONU managed by the first virtual domain.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored; the computer program, when executed by a processor, implements the steps of any of the methods described above.
In a fourth aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes: a processor and a memory for storing a computer program operable on the processor, wherein the processor is operable to perform the steps of any of the above methods when executing the computer program.
The embodiment of the invention provides a method and a device for managing the bandwidth of an optical network unit, electronic equipment and a storage medium. The method is applied to an optical network communication system, the optical network communication system comprises at least one virtual domain, each virtual domain can manage at least one optical network unit ONU, and the method comprises the following steps: determining the working state of the ONU managed by the first virtual domain; the first virtual domain is any one of the at least one virtual domain; acquiring a first bandwidth of the first virtual domain; the first bandwidth is a bandwidth allocated to the first virtual domain by the optical network communication system; and allocating the bandwidth for the ONU managed by the first virtual domain based on the first bandwidth, the working state and a set allocation policy. The bandwidth management method provided by the invention has the advantages that the virtual domain capable of managing the plurality of ONUs is created, then the bandwidth is firstly distributed to the virtual domain, and then the virtual domain distributes the bandwidth to the plurality of ONUs managed by the virtual domain, so that a bandwidth server is not required to separately distribute the bandwidth to each ONU, the dialing flow of the ONUs is simplified, and the management flow of the bandwidth in an optical network communication system can be simplified.
Drawings
Fig. 1 is a schematic flowchart of a method for managing a bandwidth of an optical network unit according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a bandwidth management apparatus of an optical network unit according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the following describes specific technical solutions of the present invention in further detail with reference to the accompanying drawings in the embodiments of the present invention. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a flowchart illustrating a method for managing a bandwidth of an optical network unit according to an embodiment of the present invention. As shown in fig. 1, the method includes:
s101: determining the working state of the ONU managed by the first virtual domain; the first virtual domain is any one of the at least one virtual domain.
It should be noted that the method can be applied to an FTTR scenario, and a plurality of ONUs in the application scenario enter a user home or other use environments, so that the requirements of mainstream home entertainment and interconnection at present can be met, and meanwhile, the high-bandwidth and high-capacity support capability of an optical fiber channel is brought, such as requirements of home Virtual Reality (VR) entertainment, a high-speed internet of things, real-time network experience, and the like. The method provided by the embodiment of the invention can coordinate the balance of the load flow of each ONU in a certain virtual domain under the FTTR scene, and simplify the dialing process of each ONU. The working state comprises an on-line state and an off-line state, wherein the on-line state can mean that the optical network unit is powered on and enters normal work; the non-online state may mean that the optical network unit is not powered up. Based on this, the determining the operating state of the ONU managed by the first virtual domain may refer to determining the operating state of each ONU managed by the first virtual domain, that is: and determining whether each ONU managed by the first virtual domain is online.
In some embodiments, the determining the operating state of the ONU managed by the first virtual domain may include: judging whether an online message sent by an ONU (optical network unit) managed by a first virtual domain is received or not; under the condition that an online message sent by a certain ONU managed by a first virtual domain is judged to be received, determining that the working state of the certain ONU is online; and under the condition that the on-line message sent by a certain ONU managed by the first virtual domain is judged not to be received, determining that the working state of the certain ONU is not on-line. The format of the on-line message is related to a transmission network protocol of an optical network communication system where the certain ONU is located.
It should be understood that, the number of the virtual domains included in the optical network communication system may be at least one, and the first virtual domain is any one of the at least one virtual domain, that is, each virtual domain in the optical network communication system may use the bandwidth management method provided by the present invention, and the embodiment of the present invention only uses one of the virtual domains to illustrate specific steps of the bandwidth management method provided by the present invention, and is not limited to the present invention.
S102: acquiring a first bandwidth of the first virtual domain; the first bandwidth is a bandwidth allocated to the first virtual domain by the optical network communication system.
As an optional implementation manner, the obtaining the first bandwidth of the first virtual domain may include:
determining a network access policy of the first virtual domain;
sending an access request to a bandwidth server based on the network access policy; the access request at least comprises an access account and an access password;
receiving a feedback result of the bandwidth server;
under the condition that the feedback result is successful in access, acquiring a first bandwidth allocated by the bandwidth server;
the network access policy is a first policy or a second policy; the first policy is independent of the working state of the ONU managed by the first virtual domain; the second policy is related to an operating status of the ONU managed by the first virtual domain.
It should be noted that the network access policy may also be referred to as a dialing policy, which is divided into a first policy and a second policy, where the first policy is unrelated to a working state of the ONU managed by the first virtual domain, in other words, no matter what the working state of the ONU managed by the first virtual domain is, the first virtual domain automatically dials the bandwidth server to be accessed, and after the bandwidth server is successfully accessed, the bandwidth server allocates a bandwidth to the first virtual domain, where the first virtual domain is accessed to the bandwidth server based on a user name and a password of an account registered in the bandwidth server. The second policy is related to the working state of the ONU managed by the first virtual domain, in other words, the working state of the ONU managed by the first virtual domain affects whether the first virtual domain accesses the bandwidth server, for example, when the working state of the first ONU in the first virtual domain changes from offline to online or a period of time after the first ONU is online, the first virtual domain automatically dials the bandwidth server to be accessed, and after the access is successful, the bandwidth server allocates bandwidth to the first virtual domain; and when the working states of all the ONUs managed in the first virtual domain are not on line, the first virtual domain disconnects the bandwidth server.
Based on this, the aforementioned process of acquiring the first bandwidth of the first virtual domain may be: determining a network access policy of the first virtual domain, then sending an access request containing an access account and an access password to a bandwidth server based on the network access policy, then waiting, receiving a feedback result of the bandwidth server, and acquiring a first bandwidth allocated by the bandwidth server under the condition that the feedback result is successful in access, namely: the bandwidth server allocates a first bandwidth to a first virtual domain. In addition, when the feedback result is that the access fails, the access request including the access account and the access password is sent to the bandwidth server again until the received feedback result is that the access is successful, or until the sending times reach a set maximum threshold value. The set maximum threshold value can be artificially set according to actual conditions.
In practical application, the implementation of S102 may include: when an Optical Line Terminal (OLT) creates a first virtual domain, a corresponding dialing entity is created, a dialing user name and a dialing password (that is, the access account and the access password) are configured, and a dialing policy, that is, the network access policy, is configured. The dialing strategy comprises the following steps: the automatic dialing or the on-line dialing of the ONU in the first virtual domain is respectively the first policy and the second policy, and the automatic dialing is: automatically dialing no matter whether an ONU is on line in the virtual domain or not; and the ONU online dialing in the first virtual domain is as follows: and after the ONU in the first virtual domain is online, the dialing entity can dial, and if the ONU in the first virtual domain is not online, the dialing connection is automatically disconnected. After the dialing is successful (i.e. after the access is successful), the broadband server allocates bandwidth to the account, and the account can correspond to one home, that is, the first virtual domain manages all ONUs of one home.
S103: and allocating the bandwidth for the ONU managed by the first virtual domain based on the first bandwidth, the working state and a set allocation policy.
As an optional implementation, the method further comprises:
determining a first ONU with the working state of online; the first ONU belongs to the ONU managed by the first virtual domain;
judging whether the number of the first ONU is one or not;
in a case where it is determined that the first ONU number is not one, the allocating a bandwidth to the ONU managed by the first virtual domain based on the first bandwidth, the operating state, and a set allocation policy includes: and allocating the bandwidth for the ONU managed by the first virtual domain according to a first sub-allocation strategy and the first bandwidth.
In some embodiments, the method further comprises:
and under the condition that the number of the first ONUs is judged to be one, allocating the bandwidth for the ONUs managed by the first virtual domain according to a second sub-allocation strategy and the first bandwidth.
It should be noted that, here, it is expressed that: the ONU on the first line in the first virtual domain shares the first bandwidth exclusively; in other cases, the first bandwidth is allocated to the ONU managed in the first virtual domain according to a set allocation policy. Wherein, in some embodiments, the first sub-allocation policy comprises one of:
the first ONU with the working state of online in the first virtual domain equally divides the first bandwidth;
allocating the first bandwidth to a first ONU of which the working state is online in the first virtual domain according to a first set weight;
and allocating the first bandwidth to the ONU managed by the first virtual domain according to a second set weight.
It should be noted that, a first allocation manner of the first sub-allocation policy is as follows: the first ONU in the first virtual domain, which is on-line in the working state, equally divides the first bandwidth, that is, the ONU on-line in the first virtual domain equally divides the first bandwidth, and it should be understood that, in this allocation manner, if there is a newly added on-line ONU in the first virtual domain, the newly added on-line ONU + the original on-line ONU automatically equally divides the first bandwidth again; and if the online ONU is offline in the first virtual domain, the rest online ONUs automatically divide the first bandwidth equally again.
The second allocation manner of the first sub-allocation policy is: and allocating the first bandwidth to the first ONU in the first virtual domain whose operating state is on-line according to a first set weight, that is, the ONU on-line in the first virtual domain allocates the first bandwidth according to the first set weight, and obviously, the first set weight is not a value but a group of values. In the actual application process, a mapping relation table between the number of online ONUs and the first set weight and a first set weight setting rule can be established for later use.
For example, assuming that the number of the on-line ONUs in the first virtual domain is 3, the table lookup obtains first set weights, e.g., 0.4, 0.3, and then the first bandwidths are allocated to the respective corresponding on-line ONUs according to the aforementioned allocation weights. How each weight in the first set weight corresponds to an on-line ONU can be determined according to a setting rule, for example, in the case that the optical network system is a tree network, the setting rule may be that the weight of the on-line ONU in the trunk line is not less than that of the ONU in the branch line, and then, of the above 0.4, 0.3, and 0.3, 0.4 corresponds to the on-line ONU in the trunk line; 0.3 may be an on-line ONU of the corresponding branch.
In a second allocation mode, if a newly-added on-line ONU exists in the first virtual domain, looking up a table again to obtain a first set weight matched with the number of the on-line ONUs; and if the online ONUs are offline in the first virtual domain, the remaining online ONUs look up the table again to obtain a first set weight matched with the number of the online ONUs.
The third allocation mode of the first sub-allocation strategy is as follows: and allocating the first bandwidth to the ONU managed by the first virtual domain according to a second set weight, that is, allocating the first bandwidth according to a designated weight in the first virtual domain, and if the first bandwidth is not allocated according to the designated weight, not allocating the bandwidth, in such a way that the bandwidth is allocated to the ONU in the first virtual domain regardless of whether the ONU in the first virtual domain is online. It should be understood that the second set of weights is also not a single value, but a set of values. In an actual application process, a mapping relationship table between the ONU managed in the first virtual domain and the second set weight may be established for later use.
For example, assume that 5 ONUs are managed in a first virtual domain; the look-up table may determine that the second setting weight is 0.2, 0.1, 0.2, 0.3, and then may allocate bandwidth to each corresponding ONU according to the second setting weight. For another example, the second setting weight is 0.2, 0, 0.3, and then the bandwidth may be allocated to each corresponding ONU according to the second setting weight.
In a third allocation mode, when a newly-added on-line ONU exists in the first virtual domain or when an on-line ONU exists in the first virtual domain, a table is looked up again to obtain a first set weight matched with the number of on-line ONUs.
Here, the second sub-allocation policy may be to allocate all of the first bandwidth to the first ONU.
For S103 the actual expression is: and the ONU managed in the first virtual domain shares the first bandwidth and is distributed according to a set distribution strategy.
In some embodiments, the method further comprises:
determining the change direction of the working state of a second ONU under the condition that the working state of the second ONU is changed; reallocating the bandwidth for the ONU managed by the first virtual domain based on the change direction and the set allocation strategy; the second ONU belongs to the ONU managed by the first virtual domain.
It should be noted that the second ONU is also any one of the ONUs managed by the first virtual domain; the changing direction includes two directions of changing from an upper line to a non-upper line (i.e., a lower line) and changing from a non-upper line to an upper line (i.e., a new increase). How to reallocate bandwidth to the ONU managed by the first virtual domain based on the change direction and the set allocation policy is described in detail in the foregoing, and is not described herein again.
In some embodiments, the method further comprises:
presenting a setting operation interface; and in the setting operation interface, determining a network access strategy of the first virtual domain and determining the setting distribution strategy of the ONU managed by the first virtual domain.
It should be noted that the setting operation interface may be presented on the execution main body, where the execution main body may be an Optical Line Terminal (OLT).
Here, the determining, in the setting operation interface, a network access policy of the first virtual domain and the setting allocation policy of the ONU managed by the first virtual domain may include: presenting the following access strategy selection switches on the setting operation interface: a first strategy and a second strategy; and presenting the following allocation policy selection switches: a first allocation manner, a second allocation manner, and a third allocation manner;
click on the following access policy selection switches: one of the first policy and the second policy; and clicking the following allocation policy selection switch: and determining a network access policy of the first virtual domain and determining the set allocation policy of the ONU managed by the first virtual domain in one of a first allocation mode, a second allocation mode and a third allocation mode.
It should be noted that, if no selection is made, the set access policy in the first virtual domain may be a first policy; the set allocation policy may be a first allocation manner.
The embodiment of the invention provides a bandwidth management method of an optical network unit, which is different from a G/EPON bandwidth management mode under the current Point-to-Point (P2P, Point-to-Point) model. In addition, the virtual domain in the invention can coordinate the bandwidth loaded between the managed ONUs at the same time.
Based on the same inventive concept as the above, fig. 2 is a schematic structural diagram of an optical network unit bandwidth management device according to an embodiment of the present invention, and the present invention further provides an optical network unit bandwidth management device applied to an optical network communication system, where the optical network communication system includes at least one virtual domain, and each virtual domain can access at least one optical network unit ONU, and the device 20 includes: a determination unit 201, an acquisition unit 202 and an allocation unit 203, wherein;
the determining unit 201 is configured to determine a working state of an ONU managed by a first virtual domain; the first virtual domain is any one of the at least one virtual domain;
the obtaining unit 202 is configured to obtain a first bandwidth of the first virtual domain; the first bandwidth is a bandwidth allocated to the first virtual domain by the optical network communication system;
the allocating unit 203 is configured to allocate a bandwidth to the ONU managed by the first virtual domain based on the first bandwidth, the working state, and a set allocation policy.
In some embodiments, the obtaining unit 202 is specifically configured to: determining a network access policy of the first virtual domain;
sending an access request to a bandwidth server based on the network access policy; the access request at least comprises an access account and an access password;
receiving a feedback result of the bandwidth server;
under the condition that the feedback result is successful in access, acquiring a first bandwidth allocated by the bandwidth server;
the network access policy is a first policy or a second policy; the first policy is independent of the working state of the ONU managed by the first virtual domain; the second policy is related to an operating status of the ONU managed by the first virtual domain.
In some embodiments, the apparatus further comprises a determination unit;
the determining unit 201 is configured to determine that the operating state is an online first ONU; the first ONU belongs to the ONU managed by the first virtual domain;
the judging unit is used for judging whether the number of the first ONU is one;
the allocating unit 203 is configured to allocate bandwidth to the ONU managed by the first virtual domain according to a first sub-allocation policy and the first bandwidth when it is determined that the number of the first ONUs is not one.
In some embodiments, the allocating unit is configured to, when it is determined that the first ONU number is one, allocate bandwidth to the ONU managed by the first virtual domain according to a second sub-allocation policy and the first bandwidth.
In some embodiments, the determining unit 201 is further configured to determine a change direction of the operating state of the second ONU, when the operating state of the second ONU changes; reallocating the bandwidth for the ONU managed by the first virtual domain based on the change direction and the set allocation strategy; the second ONU belongs to the ONU managed by the first virtual domain.
In some embodiments, the apparatus further comprises: the presentation unit is used for presenting a setting operation interface; and in the setting operation interface, determining a network access strategy of the first virtual domain and determining the setting distribution strategy of the ONU managed by the first virtual domain.
It should be noted that the optical network unit bandwidth management apparatus provided in the embodiment of the present invention and the management method provided in the foregoing embodiment of the present invention belong to the same inventive concept, and the meanings of the terms appearing herein have been described in detail in the foregoing, and are not described herein again.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the foregoing method embodiments, and the foregoing storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
An embodiment of the present invention further provides an electronic device, where the electronic device includes: a processor and a memory for storing a computer program capable of running on the processor, wherein the processor is configured to execute the steps of the above-described method embodiments stored in the memory when running the computer program.
Fig. 3 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention, where the electronic device includes: the at least one processor 301, the memory 302, and optionally the electronic device may further comprise at least one communication interface 303, and the various components in the electronic device are coupled together by a bus system 304, it being understood that the bus system 304 is used to enable connection communication between these components. The bus system 304 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 304 in fig. 3.
It will be appreciated that the memory 302 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced Synchronous Dynamic Random Access Memory), Synchronous linked Dynamic Random Access Memory (DRAM, Synchronous Link Dynamic Random Access Memory), Direct Memory (DRmb Random Access Memory). The memory 302 described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 302 in embodiments of the present invention is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program for operating on an electronic device, such as an implementation of determining a direction of change of an operating state of a second ONU in case of a change of the operating state of the second ONU, may be included in the memory 302, and a program implementing the method according to an embodiment of the present invention.
The method disclosed in the above embodiments of the present invention may be applied to the processor 301, or implemented by the processor 301. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium having a memory and a processor reading the information in the memory and combining the hardware to perform the steps of the method.
In an exemplary embodiment, the electronic Device may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field-Programmable Gate arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the above-described methods.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment. In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (9)

1. An optical network unit bandwidth management method is applied to an optical network communication system, the optical network communication system comprises at least one virtual domain, each virtual domain can manage at least one optical network unit ONU, and the method comprises the following steps:
determining the working state of the ONU managed by the first virtual domain; the first virtual domain is any one of the at least one virtual domain;
acquiring a first bandwidth of the first virtual domain; the first bandwidth is a bandwidth allocated to the first virtual domain by the optical network communication system;
allocating bandwidth to the ONU managed by the first virtual domain based on the first bandwidth, the working state and a set allocation policy;
wherein the obtaining the first bandwidth of the first virtual domain comprises:
determining a network access policy of the first virtual domain;
sending an access request to a bandwidth server based on the network access policy; the access request at least comprises an access account and an access password;
receiving a feedback result of the bandwidth server;
under the condition that the feedback result is successful in access, acquiring a first bandwidth allocated by the bandwidth server;
the network access policy is a first policy or a second policy; the first policy is independent of the working state of the ONU managed by the first virtual domain; the second policy is related to an operating status of the ONU managed by the first virtual domain.
2. The method of claim 1, further comprising:
determining a first ONU with the working state of online; the first ONU belongs to the ONU managed by the first virtual domain;
judging whether the number of the first ONU is one or not;
in a case where it is determined that the first ONU number is not one, the allocating a bandwidth to the ONU managed by the first virtual domain based on the first bandwidth, the operating state, and a set allocation policy includes: and allocating the bandwidth for the ONU managed by the first virtual domain according to a first sub-allocation strategy and the first bandwidth.
3. The method of claim 2, further comprising:
and under the condition that the number of the first ONUs is judged to be one, allocating the bandwidth for the ONUs managed by the first virtual domain according to a second sub-allocation strategy and the first bandwidth.
4. The method of claim 2, wherein the first sub-allocation policy comprises one of:
the first ONU with the working state of online in the first virtual domain equally divides the first bandwidth;
allocating the first bandwidth to a first ONU of which the working state is online in the first virtual domain according to a first set weight;
and allocating the first bandwidth to the ONU managed by the first virtual domain according to a second set weight.
5. The method of claim 1, further comprising:
determining the change direction of the working state of a second ONU under the condition that the working state of the second ONU is changed; reallocating the bandwidth for the ONU managed by the first virtual domain based on the change direction and the set allocation strategy; the second ONU belongs to the ONU managed by the first virtual domain.
6. The method of claim 1, further comprising:
presenting a setting operation interface; and in the setting operation interface, determining a network access strategy of the first virtual domain and determining the setting distribution strategy of the ONU managed by the first virtual domain.
7. An optical network unit bandwidth management device, applied to an optical network communication system, where the optical network communication system includes at least one virtual domain, and each virtual domain is capable of accessing at least one optical network unit ONU, the device includes: the device comprises a determining unit, an acquiring unit and a distributing unit, wherein;
the determining unit is used for determining the working state of the ONU managed by the first virtual domain; the first virtual domain is any one of the at least one virtual domain;
the acquiring unit is configured to acquire a first bandwidth of the first virtual domain; the first bandwidth is a bandwidth allocated to the first virtual domain by the optical network communication system;
the allocation unit is configured to allocate a bandwidth to the ONU managed by the first virtual domain based on the first bandwidth, the working state, and a set allocation policy;
the obtaining unit is specifically configured to: determining a network access policy of the first virtual domain; sending an access request to a bandwidth server based on the network access policy; the access request at least comprises an access account and an access password; receiving a feedback result of the bandwidth server; under the condition that the feedback result is successful in access, acquiring a first bandwidth allocated by the bandwidth server; the network access policy is a first policy or a second policy; the first policy is independent of the working state of the ONU managed by the first virtual domain; the second policy is related to an operating status of the ONU managed by the first virtual domain.
8. A computer-readable storage medium, characterized in that the readable storage medium has stored thereon a computer program; the computer program when executed by a processor implements the steps of the method of any one of claims 1 to 6.
9. An electronic device, characterized in that the electronic device comprises: a processor and a memory for storing a computer program operable on the processor, wherein the processor is operable to perform the steps of the method of any of claims 1 to 6 when the computer program is executed.
CN202110695474.2A 2021-06-23 2021-06-23 Optical network unit bandwidth management method and device, electronic equipment and storage medium Active CN113163277B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110695474.2A CN113163277B (en) 2021-06-23 2021-06-23 Optical network unit bandwidth management method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110695474.2A CN113163277B (en) 2021-06-23 2021-06-23 Optical network unit bandwidth management method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113163277A CN113163277A (en) 2021-07-23
CN113163277B true CN113163277B (en) 2021-09-10

Family

ID=76876033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110695474.2A Active CN113163277B (en) 2021-06-23 2021-06-23 Optical network unit bandwidth management method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113163277B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113315717B (en) * 2021-08-02 2021-09-28 武汉长光科技有限公司 Service balancing method and device, electronic equipment and storage medium
CN113395215B (en) * 2021-08-17 2021-11-02 武汉长光科技有限公司 Communication method, system, device, electronic equipment and storage medium
CN113423029A (en) * 2021-08-24 2021-09-21 武汉长光科技有限公司 Management method, system, device, electronic equipment and storage medium
CN113422623B (en) * 2021-08-24 2021-11-05 武汉长光科技有限公司 Management method, system, device, electronic equipment and storage medium
CN113453099B (en) * 2021-09-01 2021-12-24 武汉长光科技有限公司 Multicast configuration method, system, device, electronic equipment and storage medium
CN114844662B (en) * 2022-03-01 2024-03-12 天翼安全科技有限公司 Network security policy management method, device and equipment
CN115150690B (en) * 2022-09-06 2022-11-15 武汉长光科技有限公司 Hierarchical quality of service distribution method, optical line terminal and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193969A (en) * 2018-11-14 2020-05-22 中兴通讯股份有限公司 Data communication and communication management method based on DPU and DPU

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243092B (en) * 2013-06-24 2018-04-27 华为技术有限公司 Optical network unit ONU, optical line terminal OLT and information transferring method
US10374887B2 (en) * 2014-08-27 2019-08-06 Assia Spe, Llc Systems, methods, and apparatuses for implementing the virtualization of access node functions
CN106130840B (en) * 2016-07-15 2019-04-30 武汉邮电科学研究院 A kind of fixation, mobile broadband fusion access planar network architecture
CN107342820B (en) * 2017-01-09 2019-06-25 烽火通信科技股份有限公司 The method and system of VOLT are realized based on Template Manager
EP3579461B1 (en) * 2017-02-28 2022-01-26 Huawei Technologies Co., Ltd. Virtualization method for optical line terminal (olt) device, and related device
CN109218855B (en) * 2017-06-30 2021-09-28 中国电信股份有限公司 Bandwidth allocation method and device for OLT (optical line terminal) slices and optical network system
EP3641236B1 (en) * 2017-07-19 2022-06-15 Nippon Telegraph and Telephone Corporation Virtual subscriber line terminal station device and control method for virtual subscriber line terminal station device
CN107493524B (en) * 2017-09-21 2020-02-11 烽火通信科技股份有限公司 Method for realizing virtual OLT
KR102088922B1 (en) * 2018-05-15 2020-03-13 한국전자통신연구원 Bandwidth allocating apparatus and method for providing low-latency service in optical network
US10812325B1 (en) * 2019-05-28 2020-10-20 At&T Intellectual Property I, L.P. Service bandwidth provisioning on passive optical networks

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193969A (en) * 2018-11-14 2020-05-22 中兴通讯股份有限公司 Data communication and communication management method based on DPU and DPU

Also Published As

Publication number Publication date
CN113163277A (en) 2021-07-23

Similar Documents

Publication Publication Date Title
CN113163277B (en) Optical network unit bandwidth management method and device, electronic equipment and storage medium
US11704144B2 (en) Creating virtual machine groups based on request
US9667750B2 (en) Client-initiated leader election in distributed client-server systems
CN102137014B (en) Resource management method, system and resource manager
CN106534328B (en) Node connection method and distributed computing system
US10042676B1 (en) Capacity pool health index
CN113132828B (en) Configuration method, device, equipment, system and storage medium
CN111585887B (en) Communication method and device based on multiple networks, electronic equipment and storage medium
CN106713378A (en) Method and system for realizing service provision by multiple application servers
CN111064786B (en) Account identifier management method and device
CN115913937A (en) Container multi-network-card network configuration method, device, equipment and storage medium
CN113361913A (en) Communication service arranging method, device, computer equipment and storage medium
CN114924751A (en) Method and device for distributing service access request flow
JP2023545985A (en) Managing task flows in edge computing environments
CN112087401A (en) Method and device for realizing service quality in distributed storage
CN110011858A (en) It is a kind of that mapping method is optimized based on load balancing and the switch reconfigured
CN113055448B (en) Metadata management method and device
CN111444062B (en) Method and device for managing master node and slave node of cloud database
CN106060182A (en) Address allocation method and device
CN109302505B (en) Data transmission method, system, device and storage medium
CN112565158B (en) Data access method, device, system, electronic equipment and computer readable medium
CN115604272B (en) Load balancing method, device, system and system establishing method, device and medium
EP1245130B1 (en) Connection management in atm based network and in atm network elements
CN117560328A (en) Network resource management method, electronic device and storage medium
CN116996908A (en) Fusion management method, device, equipment and medium of master-slave gateway and wireless AP

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