CN101369847B - Optical port active volume computing method - Google Patents
Optical port active volume computing method Download PDFInfo
- Publication number
- CN101369847B CN101369847B CN200810216265XA CN200810216265A CN101369847B CN 101369847 B CN101369847 B CN 101369847B CN 200810216265X A CN200810216265X A CN 200810216265XA CN 200810216265 A CN200810216265 A CN 200810216265A CN 101369847 B CN101369847 B CN 101369847B
- Authority
- CN
- China
- Prior art keywords
- port
- aug
- ports
- indicating
- bytes
- 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
Links
- 230000003287 optical effect Effects 0.000 title claims description 38
- 238000004364 calculation method Methods 0.000 title abstract description 15
- 102100034542 Acyl-CoA (8-3)-desaturase Human genes 0.000 claims abstract description 56
- 101000848239 Homo sapiens Acyl-CoA (8-3)-desaturase Proteins 0.000 claims abstract description 56
- 238000000034 method Methods 0.000 claims abstract description 20
- 101150101081 OLE16 gene Proteins 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Optical Communication System (AREA)
Abstract
A calculation method for a light outlet available capacity is disclosed. Each AUG port folded therefore is assigned memory according to the layer speed of the light outlet, and bytes contained in the memory are initialized to predeterminate unoccupied indicated values. The AUG port is ergodic, for each AUG port, the bytes for indicating a deploy method of a higher port of the occupied port in the memory are arranged according to the occupied port type in all level ports deployed by the AUG port, and the bytes for indicating the occupied port in the memory are arranged in a predeterminate occupied indicated values. According to the bytes contained in the memory, the number of all available AU4 port, the AU3 port, the TU3 port, the TU12 port and the Tu11 port deployed by the AUG port is calculated in turn. The calculation method for the light outlet available capacity reduces the complex of calculation, increases the calculation flexibility and improves the calculation effective.
Description
Technical Field
The invention relates to the field of communication, in particular to a method for calculating available capacity of an optical port.
Background
In the transmission layer network management, the optical ports can be expanded according to the layers. The user can configure services at the ports of each level after the optical ports are expanded, and occupy the corresponding ports. After a port is configured with service, the port cannot be expanded out of the lower port. Meanwhile, the superior port of the port is already occupied, and the service can not be configured on the superior port any more.
The expansion rule of the optical port is described below by taking an STM (Synchronous Transfer Mode) -64 port as an example. The STM-64 port can be expanded into 64 AUG ports, and each AUG port can be expanded into 1 AU4 port or 3 AU3 ports; if the AUG port is expanded to be an AU4 port, the AU4 port may be expanded to be 3 TU3 ports, each TU3 port may be expanded to be 7 TU2 ports, and each TU2 port may be expanded to be 3 TU12 ports or 4 TU11 ports; if the AUG port is expanded into 3 AU3 ports, each AU3 port may be expanded into 7 TU2 ports, and each TU2 port may be expanded into 3 TU12 ports or 4 TU11 ports. If the AUG port is expanded to be an AU4 port, the AUG port cannot be expanded to be an AU3 port; if the AUG port is expanded to be an AU3 port, the AUG port cannot be expanded to be an AU4 port; that is, the lower port of the AUG port may only be an AU4 port or an AU3 port; similarly, if a TU2 port is expanded to a TU12 port, it cannot be expanded to a TU11 port; if the TU2 port is expanded to the TU11 port, the TU11 port cannot be expanded to the TU12 port; that is, the lower port of the TU2 port is only possible to TU12 port or TU11 port.
The available capacity of an optical port is calculated by determining which of the various stages of ports it expands are available. After a port is configured with services, the port cannot be expanded out of a lower port, and meanwhile, an upper port of the port is occupied and cannot be configured with services at the upper port. For an STM-64 port, if no traffic is configured, the available capacity is 64 AU4 ports, 192 AU3 ports, 192 TU3 ports, 4032 TU12 ports, and 5376 TU11 ports. If a user configures the service of one TU12 port, the upper TU3 port and AU4 port of the TU12 port are not available, 3 AU3 ports of the same level as the AU4 port are not available, and 4 TU11 ports of the same level as the TU12 port are also not available, so that the available capacity of the STM-64 port at this time is 63 AU4 ports, 189 AU3 ports, 191 TU3 ports, 4031 TU11 ports and 5372 TU11 ports.
At present, when calculating the available capacity of an optical port, the industry first sets a tree-like memory structure according to the expansion mode of the optical port, corresponding to each level of expansion port, where an object corresponds to the expansion port, and each object has an upper object pointer and a lower object list. After a certain port is configured with a service, a user sets all the superior objects to be occupied along the superior object pointers of the objects corresponding to the port; and recursively traversing the lower-level objects, and setting the lower-level objects at all levels as occupied, so that the available capacity of the optical port can be calculated by counting the unoccupied objects in the memory. The available capacity has complex calculation logic, complex process, easy error and complex positioning of problems after errors occur.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method for calculating the available capacity of an optical port, which reduces the complexity of calculation, increases the flexibility of calculation and improves the calculation efficiency.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a method for calculating the available capacity of an optical port comprises the following steps:
a. allocating a memory for each expanded AUG port according to the layer rate of the optical port, and initializing bytes contained in the memory to a preset unoccupied indication value;
b. traversing AUG ports, setting bytes in the memory for indicating the expansion mode of a superior port of each occupied port according to the occupied port type in each level of ports expanded by the AUG ports, and respectively setting the bytes in the memory for indicating the expansion mode of the AUG ports as a preset TU3 mode indicating value and a preset AU3 mode indicating value and setting the bytes in the memory for indicating the occupied ports as a preset occupied indicating value according to whether the superior port is an expanded port of a TU3 port or an expanded port of an AU3 port;
c. and sequentially calculating the number of available AU4 ports, AU3 ports, TU3 ports, TU12 ports and TU11 ports in all the ports of each level expanded by the AUG ports according to the bytes contained in the memory.
In the above scheme, the step a further comprises the following steps:
a1, determining the number of the expanded AUG ports according to the layer rate of the optical ports;
a2, allocating memory containing 274 continuous bytes for each AUG port;
a3, initializing bytes contained in the memory to the unoccupied indication value.
In the above scheme, of the 274 bytes, 1 byte indicates an expansion mode of the AUG port, 21 bytes indicates an expansion mode of 21 TU2 ports expanded by the AUG port, and the remaining 252 bytes indicate an AU4 port expanded by the AUG port through all 252 bytes, or indicate 3 AU3 ports or TU3 ports expanded by the AUG port through 3 consecutive 84 bytes, or indicate 63 TU12 ports expanded by the 21 TU2 ports through 63 consecutive 4 bytes, or indicate 84 TU11 ports expanded by the 21 TU2 ports through 84 consecutive 3 bytes.
In the foregoing solution, in the step b, if an occupied port of each stage of ports expanded by the AUG port is an AU4 port, setting a byte indicating an expansion mode of the AUG port in the memory to be a preset AU4 mode indication value, and setting 252 bytes indicating the AU4 port in the memory to be 1; if the occupied ports in each level of ports expanded by the AUG port are the TU3 ports, setting the byte indicating the expansion mode of the AUG port in the memory as a preset TU3 mode indication value, and setting 84 bytes indicating the TU3 port in the memory as 1.
In the foregoing solution, in the step b, when an occupied port of each stage of ports expanded by the AUG port is an AU3 port, setting a byte indicating an expansion mode of the AUG port in the memory to be a preset AU3 mode indication value, and setting 84 bytes indicating the AU3 port in the memory to be 1.
In the foregoing scheme, in the step b, when an occupied port of each level of ports expanded by the AUG port is a TU12 port, setting a byte in the memory indicating an expansion mode of a higher-level TU2 port of the TU12 port as a preset TU12 mode indication value; and if the TU2 port is a port expanded by the TU3 port, setting a byte indicating the expansion mode of the AUG port in the memory to be a preset TU3 mode indication value, if the TU2 port is a port expanded by the AU3 port, setting a byte indicating the expansion mode of the AUG port in the memory to be a preset AU3 mode indication value, and setting 4 bytes indicating the TU12 port in the memory to be 1.
In the foregoing scheme, in the step b, when an occupied port of each level of ports expanded by the AUG port is a TU11 port, setting a byte in the memory indicating an expansion mode of a higher-level TU2 port of the TU11 port as a preset TU11 mode indication value; and if the TU2 port is a port expanded by the TU3 port, setting a byte indicating the expansion mode of the AUG port in the memory to be a preset TU3 mode indication value, if the TU2 port is a port expanded by the AU3 port, setting a byte indicating the expansion mode of the AUG port in the memory to be a preset AU3 mode indication value, and setting 3 bytes indicating the TU11 port in the memory to be 1.
In the above scheme, in the step c, it is determined whether an AU4 port in an expansion port of the AUG port is available by:
c11, judging whether the byte indicating the expansion mode of the AUG port is a preset AU3 mode indicating value, if so, the AU4 port is unavailable, otherwise, entering the step c 12;
c12, judging whether the bytes indicating the AU4 port are all the unoccupied indication values, if so, the AU4 port is available, otherwise, the AU4 port is unavailable.
In the above scheme, in the step c, it is determined whether an AU3 port in an expansion port of the AUG port is available by:
c21, judging whether the byte indicating the expansion mode of the AUG port is a preset AU4 mode indicating value, if so, the AU3 port is unavailable, otherwise, entering the step c 22;
c22, judging whether the bytes indicating the AU3 port are all the unoccupied indication values, if so, the AU3 port is available, otherwise, the AU3 port is unavailable.
In the above scheme, in the step c, it is determined whether a TU3 port in an expansion port of the AUG port is available by:
c31, judging whether the byte indicating the expansion mode of the AUG port is a preset AU3 mode indicating value, if so, the TU3 port is unavailable, otherwise, entering the step c 32;
c32, judging whether the bytes indicating the TU3 port are all the unoccupied indication values, if so, the TU3 port is available, otherwise, the TU3 port is unavailable.
In the above scheme, in the step c, it is determined whether a TU12 port in an expansion port of the AUG port is available by:
c41, judging whether a byte indicating an expansion mode of a superior TU2 port of the TU12 port is a preset TU11 mode indication value, if so, the TU12 port is unavailable, otherwise, entering a step c 42;
c42, judging whether the bytes indicating the TU12 port are all the unoccupied indication values, if so, the TU12 port is available, otherwise, the TU12 port is unavailable.
In the above scheme, in the step c, it is determined whether a TU11 port in an expansion port of the AUG port is available by:
c51, judging whether a byte indicating an expansion mode of a superior TU2 port of the TU11 port is a preset TU12 mode indication value, if so, the TU11 port is unavailable, otherwise, entering a step c 52;
c52, judging whether the bytes indicating the TU11 port are all the unoccupied indication values, if so, the TU11 port is available, otherwise, the TU11 port is unavailable.
The invention has the following beneficial effects: in the method for calculating the available capacity of the optical port, 274 bytes of memory are allocated to each AUG port expanded by the optical port, and whether each level of port expanded by the AUG port is occupied is indicated by using the corresponding byte in the memory, so that the available capacity of the optical port is calculated, the complexity of calculation is reduced, the flexibility of calculation is increased, and the calculation efficiency is improved.
Drawings
Fig. 1 is a flow chart of calculating the available capacity of an optical port according to the present invention.
Detailed Description
The present invention will be further described with reference to the drawings, taking an OLE (abbreviation of Object Linking and Embedding) 16 port as an example.
Referring to fig. 1, a method for calculating an available capacity of an optical port includes the following steps:
s101: allocating a memory for each expanded AUG port according to the layer rate of the optical port, and initializing bytes contained in the memory to a preset unoccupied indication value;
the step is realized by the following three steps:
1. determining the number of the expanded AUG ports according to the layer rate of the optical ports;
the number of the AUG ports expanded by the OLE16 port is 16;
2. allocating a memory containing 274 continuous bytes for each AUG port;
of the 274 bytes allocated for one AUG port, each byte represents one minimum capacity unit. Since the optical ports can be expanded to TU11 ports or TU12 ports, the minimum capacity unit is equivalent to 1/3 TU11 ports or 1/4 TU12 ports, that is, one TU12 port contains 4 minimum capacity units, i.e., indicated by 4 bytes; one TU11 port contains 3 minimum capacity units, i.e. indicated by 3 bytes, and so on the following conclusions can be drawn:
an AU4 port contains 252 minimum capacity units, indicated by 252 bytes;
an AU3 port contains 84 minimum capacity units, indicated by 84 bytes;
one TU3 port contains 84 minimum capacity units, indicated by 84 bytes;
one TU2 port contains 12 minimum capacity units, indicated by 12 bytes;
therefore, of the 274 bytes allocated to an AUG port, 1 byte indicates the expansion mode of the AUG port, 21 bytes indicates the expansion mode of 21 TU2 ports expanded by the AUG port, the remaining 252 bytes indicate the AU4 port expanded by the AUG port through all 252 bytes, 3 consecutive 84 bytes indicate the 3 AU3 ports or TU3 ports expanded by the AUG port, 63 consecutive 4 bytes indicate the 63 TU12 ports expanded by the 21 TU2 ports, and 84 consecutive 3 bytes indicate the 84 TU11 ports expanded by the 21 TU2 ports; wherein the byte indicating the TU12 port or the TU11 port is included in a byte indicating an upper AU3 port or a TU3 port of the TU12 port or the TU11 port;
after the memory allocation mode is adopted, the optical ports are not multiplexed in a grading way, and an AU4 port, an AU3 port, a TU2 port, a TU12 port and a TU11 port which are expanded by each AUG port are all composed of a section of continuous minimum capacity units and are respectively indicated by corresponding continuous bytes, so that the ports do not have the relation of upper and lower stages;
3. initializing bytes contained in the memory to an unoccupied indication value, wherein the unoccupied indication value is generally represented by 0;
for the memory allocated for OLE16, initialize 274 × 16 — 4384 bytes to 0;
s102: traversing AUG ports, setting bytes indicating the expansion mode of a superior port of the occupied port in a memory according to the occupied port type in each level of ports expanded by each AUG port, and setting the bytes indicating the occupied port in the memory as a preset occupied indication value, wherein an occupied indication value is generally represented by 1; wherein,
if the occupied port in each level of ports expanded by one AUG port is an AU4 port, setting the byte indicating the expansion mode of the AUG port in the memory as a preset AU4 mode indication value, and setting 252 bytes indicating the AU4 port in the memory as 1;
if the occupied port in each level of ports expanded by one AUG port is an AU3 port, setting the byte indicating the expansion mode of the AUG port in the memory as a preset AU3 mode indication value, and setting 84 bytes indicating the AU3 port in the memory as 1;
if the occupied port in each level of ports expanded by one AUG port is a TU3 port, setting a byte indicating the expansion mode of the AUG port in a memory as a preset TU3 mode indication value, and setting 84 bytes indicating the TU3 port in the memory as 1;
if the occupied port in each level of ports expanded by one AUG port is a TU12 port
(1) Setting bytes in the memory, which indicate the expansion mode of an upper TU2 port of the TU12 port, as a preset TU12 mode indication value;
(2) if the TU2 port is a port expanded by the TU3 port, setting a byte indicating the expansion mode of the AUG port in a memory as a preset TU3 mode indication value; if the TU2 port is a port expanded by an AU3 port, setting a byte indicating the expansion mode of the AUG port in a memory as a preset AU3 mode indication value;
(3) setting 4 bytes indicating the TU12 port in the memory as 1;
if the occupied port in each level of ports expanded by one AUG port is a TU11 port
(1) Setting bytes in the memory, which indicate the expansion mode of an upper TU2 port of the TU11 port, as a preset TU11 mode indication value;
(2) if the TU2 port is a port expanded by the TU3 port, setting a byte indicating the expansion mode of the AUG port in a memory as a preset TU3 mode indication value; if the TU2 port is a port expanded by an AU3 port, setting a byte indicating the expansion mode of the AUG port in a memory as a preset AU3 mode indication value;
(3) setting 3 bytes indicating the TU11 port in the memory as 1;
s103: sequentially calculating the number of available AU4 ports, AU3 ports, TU3 ports, TU12 ports and TU11 ports in each level of ports expanded by all AUG ports according to bytes contained in a memory; namely:
1. calculating the number of available AU4 ports in expansion ports of all AUG ports, and specifically determining whether an AU4 port in expansion ports of each AUG port is available through the following steps:
(1) judging whether the byte indicating the expansion mode of the AUG port is a preset AU3 mode indication value, if so, indicating that the AU4 port is unavailable, otherwise, entering the next step;
(2) judging whether the bytes indicating the AU4 port are all unoccupied indication values of-0, if so, the AU4 port is available, otherwise, the AU4 port is unavailable;
2. calculating the number of available AU3 ports in expansion ports of all AUG ports, and specifically determining whether an AU3 port in expansion ports of each AUG port is available through the following steps:
(1) judging whether the byte indicating the expansion mode of the AUG port is a preset AU4 mode indication value, if so, indicating that the AU3 port is unavailable, otherwise, entering the next step;
(2) judging whether the bytes indicating the AU3 port are all unoccupied indication values of-0, if so, the AU3 port is available, otherwise, the AU3 port is unavailable;
3. calculating the number of available TU3 ports in the expansion ports of all AUG ports, and specifically determining whether a TU3 port in the expansion ports of each AUG port is available through the following steps:
(1) judging whether the byte indicating the expansion mode of the AUG port is a preset AU3 mode indication value, if so, disabling the TU3 port, and otherwise, entering the next step;
(2) judging whether the bytes indicating the TU3 port are all unoccupied indication values of-0, if so, enabling the TU3 port, and if not, disabling the TU3 port;
4. calculating the number of available TU12 ports in the expansion ports of all AUG ports, and specifically determining whether a TU12 port in the expansion ports of each AUG port is available through the following steps:
(1) judging whether a byte indicating an expansion mode of a superior TU2 port of the TU12 port is a preset TU11 mode indication value, if so, disabling the TU12 port, and otherwise, entering the next step;
(2) and judging whether the bytes indicating the TU12 port are all unoccupied indication values of-0, if so, the TU12 port is available, and otherwise, the TU12 port is unavailable.
5. Calculating the number of available TU11 ports in the expansion ports of all AUG ports, and specifically determining whether a TU11 port in the expansion ports of each AUG port is available through the following steps:
(1) judging whether a byte indicating an expansion mode of a superior TU2 port of the TU11 port is a preset TU12 mode indication value, if so, disabling the TU11 port, and otherwise, entering the next step;
(2) and judging whether the bytes indicating the TU11 port are all unoccupied indication values of-0, if so, the TU11 port is available, and otherwise, the TU11 port is unavailable.
Therefore, the calculation of the available capacity of the optical port is simply and conveniently realized, and the calculation efficiency and the flexibility are higher.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.
Claims (12)
1. A method for calculating available capacity of an optical port, comprising the steps of:
a. allocating a memory for each expanded AUG port according to the layer rate of the optical port, and initializing bytes contained in the memory to a preset unoccupied indication value;
b. traversing AUG ports, setting bytes in the memory for indicating the expansion mode of a superior port of each occupied port according to the occupied port type in each level of ports expanded by the AUG ports, and respectively setting the bytes in the memory for indicating the expansion mode of the AUG ports as a preset TU3 mode indicating value and a preset AU3 mode indicating value and setting the bytes in the memory for indicating the occupied ports as a preset occupied indicating value according to whether the superior port is an expanded port of a TU3 port or an expanded port of an AU3 port;
c. and sequentially calculating the number of available AU4 ports, AU3 ports, TU3 ports, TU12 ports and TU11 ports in all the ports of each level expanded by the AUG ports according to the bytes contained in the memory.
2. The method for calculating the available capacity of the optical port according to claim 1, wherein the step a further comprises the steps of:
a1, determining the number of the expanded AUG ports according to the layer rate of the optical ports;
a2, allocating memory containing 274 continuous bytes for each AUG port;
a3, initializing bytes contained in the memory to the unoccupied indication value.
3. The method of calculating the available capacity of an optical port of claim 2, wherein: of the 274 bytes, 1 byte indicates an expansion mode of the AUG port, 21 bytes indicates an expansion mode of 21 TU2 ports expanded by the AUG port, and the remaining 252 bytes indicate an AU4 port expanded by the AUG port through all 252 bytes, or indicate 3 AU3 ports or TU3 ports expanded by the AUG port through 3 consecutive 84 bytes, or indicate 63 TU12 ports expanded by the 21 TU2 ports through 63 consecutive 4 bytes, or indicate 84 TU11 ports expanded by the 21 TU2 ports through 84 consecutive 3 bytes.
4. The method of calculating the available capacity of an optical port of claim 1, wherein: in step b, if the occupied port of each stage of ports expanded by the AUG port is an AU4 port, setting the byte indicating the expansion mode of the AUG port in the memory to be a preset AU4 mode indication value, and setting 252 bytes indicating the AU4 port in the memory to be 1; if the occupied port in each level of ports expanded by the AUG port is a TU3 port, setting the byte indicating the expansion mode of the AUG port in the memory as a preset TU3 mode indication value, and setting 84 bytes indicating the TU3 port in the memory as 1.
5. The method of calculating the available capacity of an optical port of claim 1, wherein: in step b, when the occupied port of each stage of ports expanded by the AUG port is an AU3 port, setting the byte indicating the expansion mode of the AUG port in the memory to be a preset AU3 mode indication value, and setting 84 bytes indicating the AU3 port in the memory to be 1.
6. The method of calculating the available capacity of an optical port of claim 1, wherein: in the step b, when the occupied port of each level of ports expanded by the AUG port is a TU12 port, setting a byte in the memory indicating an expansion mode of a higher-level TU2 port of the TU12 port as a preset TU12 mode indication value; and if the TU2 port is a port expanded by the TU3 port, setting a byte indicating the expansion mode of the AUG port in the memory to be a preset TU3 mode indication value, if the TU2 port is a port expanded by the AU3 port, setting a byte indicating the expansion mode of the AUG port in the memory to be a preset AU3 mode indication value, and setting 4 bytes indicating the TU12 port in the memory to be 1.
7. The method of calculating the available capacity of an optical port of claim 1, wherein: in the step b, when the occupied port of each level of ports expanded by the AUG port is a TU11 port, setting a byte in the memory indicating an expansion mode of a higher-level TU2 port of the TU11 port as a preset TU11 mode indication value; and if the TU2 port is a port expanded by the TU3 port, setting a byte indicating the expansion mode of the AUG port in the memory to be a preset TU3 mode indication value, if the TU2 port is a port expanded by the AU3 port, setting a byte indicating the expansion mode of the AUG port in the memory to be a preset AU3 mode indication value, and setting 3 bytes indicating the TU11 port in the memory to be 1.
8. The method for calculating the available capacity of the optical port as claimed in claim 1, wherein in the step c, it is determined whether an AU4 port among the expansion ports of the AUG port is available by:
c11, judging whether the byte indicating the expansion mode of the AUG port is a preset AU3 mode indicating value, if so, the AU4 port is unavailable, otherwise, entering the step c 12;
c12, judging whether the bytes indicating the AU4 port are all the unoccupied indication values, if so, the AU4 port is available, otherwise, the AU4 port is unavailable.
9. The method for calculating the available capacity of the optical port as claimed in claim 1, wherein in the step c, it is determined whether an AU3 port among the expansion ports of the AUG port is available by:
c21, judging whether the byte indicating the expansion mode of the AUG port is a preset AU4 mode indicating value, if so, the AU3 port is unavailable, otherwise, entering the step c 22;
c22, judging whether the bytes indicating the AU3 port are all the unoccupied indication values, if so, the AU3 port is available, otherwise, the AU3 port is unavailable.
10. The method for calculating the available capacity of the optical port as claimed in claim 1, wherein in the step c, it is determined whether a TU3 port among the expansion ports of the AUG port is available by:
c31, judging whether the byte indicating the expansion mode of the AUG port is a preset AU3 mode indicating value, if so, the TU3 port is unavailable, otherwise, entering the step c 32;
c32, judging whether the bytes indicating the TU3 port are all the unoccupied indication values, if so, the TU3 port is available, otherwise, the TU3 port is unavailable.
11. The method for calculating the available capacity of the optical port as claimed in claim 1, wherein in the step c, it is determined whether a TU12 port among the expansion ports of the AUG port is available by:
c41, judging whether a byte indicating an expansion mode of a superior TU2 port of the TU12 port is a preset TU11 mode indication value, if so, the TU12 port is unavailable, otherwise, entering a step c 42;
c42, judging whether the bytes indicating the TU12 port are all the unoccupied indication values, if so, the TU12 port is available, otherwise, the TU12 port is unavailable.
12. The method for calculating the available capacity of the optical port as claimed in claim 1, wherein in the step c, it is determined whether a TU11 port among the expansion ports of the AUG port is available by:
c51, judging whether a byte indicating an expansion mode of a superior TU2 port of the TU11 port is a preset TU12 mode indication value, if so, the TU11 port is unavailable, otherwise, entering a step c 52;
c52, judging whether the bytes indicating the TU11 port are all the unoccupied indication values, if so, the TU11 port is available, otherwise, the TU11 port is unavailable.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810216265XA CN101369847B (en) | 2008-09-19 | 2008-09-19 | Optical port active volume computing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810216265XA CN101369847B (en) | 2008-09-19 | 2008-09-19 | Optical port active volume computing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101369847A CN101369847A (en) | 2009-02-18 |
CN101369847B true CN101369847B (en) | 2012-06-06 |
Family
ID=40413505
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810216265XA Active CN101369847B (en) | 2008-09-19 | 2008-09-19 | Optical port active volume computing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101369847B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1667985A (en) * | 2005-03-24 | 2005-09-14 | Ut斯达康通讯有限公司 | SDH/SONET non-loading plug-in method and apparatus |
CN1791033A (en) * | 2004-12-15 | 2006-06-21 | 华为技术有限公司 | System for realizing SDH logic test and its method |
CN1905755A (en) * | 2005-07-28 | 2007-01-31 | 中兴通讯股份有限公司 | Light plate time slot time division optimizing configuration method on branch plate of SDH system |
-
2008
- 2008-09-19 CN CN200810216265XA patent/CN101369847B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1791033A (en) * | 2004-12-15 | 2006-06-21 | 华为技术有限公司 | System for realizing SDH logic test and its method |
CN1667985A (en) * | 2005-03-24 | 2005-09-14 | Ut斯达康通讯有限公司 | SDH/SONET non-loading plug-in method and apparatus |
CN1905755A (en) * | 2005-07-28 | 2007-01-31 | 中兴通讯股份有限公司 | Light plate time slot time division optimizing configuration method on branch plate of SDH system |
Also Published As
Publication number | Publication date |
---|---|
CN101369847A (en) | 2009-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11356370B2 (en) | System and method for efficient network isolation and load balancing in a multi-tenant cluster environment | |
US20230353507A1 (en) | System and method for supporting efficient load-balancing in a high performance computing (hpc) environment | |
CN101179351B (en) | Dynamic allocation method for space/time division cross time slot resource of synchronous digital hierarchy equipment | |
US10411806B2 (en) | Gridless optical routing and spectrum assignment | |
WO2019119388A1 (en) | Methods and apparatus for configuring a flex ethernet node | |
WO2002035871A3 (en) | Network topologies | |
CN107959642B (en) | Method, device and system for measuring network path | |
CN108471358A (en) | A kind of virtual network protectiveness mapping method based on minimum spanning tree | |
CN101369847B (en) | Optical port active volume computing method | |
US5051984A (en) | Methods for flexibly allocating bandwidth for a point-to-point serial, bidirectional communication path | |
UA45402C2 (en) | LOCAL NETWORK ACCESS SYSTEM IN ASYNCHRONOUS TRANSMISSION MODE (ATM) | |
WO2020169009A1 (en) | Configuration method and device of slot container | |
JPH0369232A (en) | Method and apparatus for evaluating throughput of virtual circuit using time sharing multiplexed transmission channel | |
CN103797748B (en) | Method and device for spectrum distribution | |
CN109831379B (en) | Anchor point-based virtual network survivability mapping method in elastic optical network | |
CN109257216B (en) | Method for configuring 64K service end-to-end segment | |
WO2023138390A1 (en) | Timeslot allocation method, network device, and system | |
JP5501297B2 (en) | Network capacity management device | |
Shi et al. | Design of hierarchical self-healing ring networks | |
KR100456975B1 (en) | Resource Allocation System And Method For PVC Connection In ATM Network | |
KR20010028707A (en) | Method for allocating and deallocating resources in telecommunication system | |
Lee et al. | Cost analysis of optical networks with dynamic setup and release of/spl lambda/-channels | |
CN109241053A (en) | A kind of mark code distributing method, device and server | |
CN102036400A (en) | Indicating method and device for realizing data multiplexing | |
WO2014044300A1 (en) | Method and device for allocating transmission resources |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |