CN102647339B - Port configuration method of access switch and access switching equipment - Google Patents
Port configuration method of access switch and access switching equipment Download PDFInfo
- Publication number
- CN102647339B CN102647339B CN201210074644.6A CN201210074644A CN102647339B CN 102647339 B CN102647339 B CN 102647339B CN 201210074644 A CN201210074644 A CN 201210074644A CN 102647339 B CN102647339 B CN 102647339B
- Authority
- CN
- China
- Prior art keywords
- port
- bandwidth
- message
- uplink port
- unit
- 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
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention provides a port configuration method of an access switch and access switching equipment. The port configuration method comprises the following steps of: configuring a bandwidth of each downlink port of the access switch, so that the sum of the configured bandwidths of all the downlink ports is less than or equal to a total bandwidth of an uplink port; when one of the downlink ports of the access switch receives a user message, marking a part of the user message within a configured bandwidth range of the downlink port as a high priority, and marking the remained user message as a low priority; and after transmitting the user message marked as the high priority through an array of the uplink port, transmitting the user message marked as the low priority through the other array of the uplink port when determining that the uplink port has remained bandwidth. With the adoption of the port configuration method and the access switching equipment provided by the invention, the user message is effectively transmitted in a condition that a minimum bandwidth and a remained bandwidth of the uplink port can be sufficiently used.
Description
Technical field
The present invention relates to communication technical field, particularly a kind of access switch port configuration method and access switching equipment.
Background technology
At present, the user's message received from the different inbound ports of access switch all can be mapped as a queue outbound port, to realize by the forwarding of different queue to different user message.But, the port of the exchange chip adopted in existing general access switch can only support at most 8 queues, therefore, when there being the user's message of more than 8 to be forwarded by access switch simultaneously, how ensureing that these user's messages can forward in maximum efficiency becomes the problem that prior art needs solution badly.
Summary of the invention
In view of this, the invention provides a kind of port configuration method of access switch, when ensureing that uplink port minimum bandwidth and remaining bandwidth make full use of, can effectively realizing the forwarding to user's message.
Present invention also offers a kind of access switching equipment, when ensureing that uplink port minimum bandwidth and remaining bandwidth make full use of, can effectively realizing the forwarding to user's message.
In order to achieve the above object, the technical scheme that the present invention proposes is:
A port configuration method for access switch, the method comprises:
Each downlink port bandwidth of configuration access switch, makes the downlink port bandwidth summation of all configurations be not more than uplink port total bandwidth;
When certain downlink port of access switch receives user's message, be high priority by the certain customers' packet labeling in the bandwidth range configured at this downlink port, remainder user's message is labeled as low priority;
After the certain customers' message being labeled as high priority is forwarded by a queue of uplink port, when determining that uplink port bandwidth has residue, the certain customers' message being labeled as low priority is forwarded by another queue of uplink port.
When determining that uplink port bandwidth does not remain, described in abandoning, be labeled as certain customers' message of low priority.
Before each downlink port bandwidth of described configuration access switch, the method also comprises: downlink port and the uplink port of determining described access switch, and the uplink port determined is carried out aggregated links binding.
A kind of access switching equipment, this equipment comprises band width configuration unit, priority flag unit, the first retransmission unit, judging unit and the second retransmission unit, wherein,
Described band width configuration unit, for configuring each downlink port bandwidth, makes the downlink port bandwidth summation of all configurations be not more than uplink port total bandwidth;
Described priority flag unit, is high priority for certain customers' packet labeling of downlink port in the bandwidth range of described band width configuration cell location that will receive user's message, remainder user's message is labeled as low priority;
Described first retransmission unit, is forwarded by a queue of uplink port for certain customers' message priority flag unit being labeled as high priority;
Described judging unit, after being sent by uplink port by the certain customers' message being labeled as high priority when the first retransmission unit, judges whether this uplink port bandwidth has residue;
Described second retransmission unit, during for judging that when judging unit uplink port bandwidth has a residue, certain customers' message priority flag unit being labeled as low priority is forwarded by another queue of uplink port.
This equipment also comprises packet loss unit, during for judging that uplink port bandwidth does not remain when judging unit, abandons certain customers' message that described priority flag unit is labeled as low priority.
This equipment also comprises port determining unit, for determining downlink port and the uplink port of access switch, and the uplink port determined is carried out aggregated links binding;
Then, described band width configuration unit, for each downlink port bandwidth that configured port determining unit is determined.
In sum, the port configuration method of access switch of the present invention, first, by being configured each downlink port bandwidth of access switch, the all downlink port bandwidth summations configured are made to be not more than uplink port total bandwidth, secondly, the certain customers' packet labeling within the scope of configured bandwidth received by downlink port is high priority, all the other user's messages are labeled as low priority, and after the certain customers' message being labeled as high priority being forwarded by a queue of uplink port by access switch, when determining that this uplink port bandwidth has residue, the certain customers' message being labeled as low priority is forwarded by another queue of uplink port.Because the certain customers' message being labeled as high priority can be forwarded by access switch by the inventive method, also just for the uplink port minimum bandwidth of user provides guarantee, further, under uplink port bandwidth has remaining situation, can also make full use of these remaining bandwidths, thus, also just have effectively achieved the forwarding to user's message.
Accompanying drawing explanation
Fig. 1 is the workflow diagram of access switch port collocation method of the present invention;
Fig. 2 is the structural representation of access switching equipment of the present invention.
Embodiment
In order to solve the technical problem that the present invention proposes, the specific implementation of scheme of the present invention comprises:
Each downlink port bandwidth of configuration access switch, makes the downlink port bandwidth summation of all configurations be not more than uplink port total bandwidth; When certain downlink port of access switch receives user's message, be high priority by the certain customers' packet labeling in the bandwidth range configured at this downlink port, remainder user's message is labeled as low priority; After the certain customers' message being labeled as high priority is forwarded by a queue of uplink port, when determining that uplink port bandwidth has residue, the certain customers' message being labeled as low priority is forwarded by another queue of uplink port.
For making the object, technical solutions and advantages of the present invention clearly, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.
Fig. 1 is the workflow diagram of access switch port collocation method of the present invention, and as shown in Figure 1, the method comprises:
Step 101: downlink port and the uplink port of determining access switch, and the uplink port determined is carried out aggregated links binding.
In this step, the uplink port of described access switch and downlink port can have several, but for uplink port, need each uplink port to determining to carry out aggregated links binding, make it to become a logic uplink port.Specifically how to carry out aggregated links to uplink port binds prior art, repeats no more here.
Step 102: configure each downlink port bandwidth determined respectively, makes the downlink port bandwidth summation of all configurations be not more than uplink port total bandwidth.
It should be noted that, each port of existing access switch generally is gigabit mouth, the all user's messages received to make downlink port can both forward, need to provide a minimum bandwidth to ensure to each user, also namely need to be configured downlink port bandwidth, enable the bandwidth of configuration meet the minimum forwarding demand of user's message.
Also it should be noted that, in order to make the user's message providing minimum bandwidth to ensure to forward, needing the minimum bandwidth summation making all user's messages to be not more than uplink port total bandwidth.
Step 103: when the downlink port of access switch receives user's message, is high priority by the certain customers' packet labeling in this downlink port bandwidth range, remainder user's message is labeled as low priority.
In this step, which user's message is labeled as high priority, which user's message is labeled as low priority and is decided according to the actual requirements, be as the criterion with the realization not affecting the embodiment of the present invention.
Step 104: when user's message arrives uplink port, is forwarded the message being labeled as high priority by a queue of uplink port.
Step 105: judge whether this uplink port bandwidth has residue, if so, performs step 106; Otherwise, perform step 107.
Step 106: after being forwarded by another queue of uplink port by the user's message being labeled as low priority, terminate whole workflow.
It should be noted that, in this step, when the remaining bandwidth of uplink port can be not less than the bandwidth needed for the user's message being labeled as low priority, the user's message being labeled as low priority all can be forwarded away by this uplink port, otherwise, the user's message being labeled as low priority only has part to be forwarded away, specifically to which part of the user's message being labeled as low priority forwards and is as the criterion with actual needs, repeat no more here.
Step 107: after abandoning the user's message being labeled as low priority, terminates whole workflow.
So far, namely the port configuration method of access switch of the present invention is completed, owing to the user's message being labeled as high priority can both be forwarded in the methods of the invention, also the Minimum requirements of user is just met, and when uplink port bandwidth is enough, the user's message being labeled as low priority can also be forwarded, also just take full advantage of remaining bandwidth.
And, in the methods of the invention, the user's message being labeled as high priority and low priority is forwarded respectively by two queues, also just solve when there being the user's message of more than 8 to be forwarded by access switch simultaneously, the problem that certain user's message that the number of queues supported due to switching chip port is brought not can not normally forward.
Based on said method, Fig. 2 gives access switching equipment of the present invention, and as shown in Figure 2, this equipment comprises: band width configuration unit 21, priority flag unit 22, first retransmission unit 23, judging unit 24 and the second retransmission unit 25 wherein,
Described band width configuration unit 21, for configuring each downlink port bandwidth, makes the downlink port bandwidth summation of all configurations be not more than uplink port total bandwidth.
Described priority flag unit 22, is high priority for certain customers' packet labeling of downlink port in the bandwidth range that described band width configuration unit 21 configures that will receive user's message, remainder user's message is labeled as low priority.
Described first retransmission unit 23, is forwarded by a queue of uplink port for certain customers' message priority flag unit 22 being labeled as high priority.
Described judging unit 24, after being sent by uplink port by the certain customers' message being labeled as high priority when the first retransmission unit 23, judges whether this uplink port bandwidth has residue.
Described second retransmission unit 25, during for judging that when judging unit 24 uplink port bandwidth has a residue, certain customers' message priority flag unit 22 being labeled as low priority is forwarded by another queue of uplink port.
Further, this equipment also comprises packet loss unit 26, for when judging unit 24 judges that uplink port bandwidth does not remain, abandons certain customers' message that described priority flag unit 22 is labeled as low priority.
Further, this equipment also comprises port determining unit 27, for determining downlink port and the uplink port of access switch, and the uplink port determined is carried out aggregated links binding;
Then, described band width configuration unit 21, for each downlink port bandwidth that configured port determining unit 27 is determined.
So far, access switching equipment of the present invention is namely obtained.The specific works flow process accessing switching equipment described in Fig. 2 see the workflow of method described in Fig. 1, can repeat no more here.
In a word, the port configuration method of access switch of the present invention, first, by being configured each downlink port bandwidth of access switch, the all downlink port bandwidth summations configured are made to be not more than uplink port total bandwidth, secondly, the certain customers' packet labeling within the scope of configured bandwidth received by downlink port is high priority, all the other user's messages are labeled as low priority, and after the certain customers' message being labeled as high priority being forwarded by a queue of uplink port by access switch, when determining that this uplink port bandwidth has residue, the certain customers' message being labeled as low priority is forwarded by another queue of uplink port.Because the certain customers' message being labeled as high priority can be forwarded by access switch by the inventive method, also just for the uplink port minimum bandwidth of user provides guarantee, further, under uplink port bandwidth has remaining situation, can also make full use of these remaining bandwidths, thus, also just have effectively achieved the forwarding to user's message.
Further, in the methods of the invention, after the certain customers' message being labeled as high priority is forwarded by a queue of uplink port by access switch, and when determining that this uplink port bandwidth does not remain, the user's message being labeled as low priority can also be abandoned.
Further, the port configuration method of access switch of the present invention, the user's message being labeled as high priority and low priority is forwarded respectively by two queues, also just solve when there being the user's message of more than 8 to be forwarded by access switch simultaneously, the problem that certain user's message that the number of queues supported due to switching chip port is brought not can not normally forward.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.
Claims (6)
1. a port configuration method for access switch, is characterized in that, the method comprises:
Each downlink port bandwidth of configuration access switch, makes the downlink port bandwidth summation of all configurations be not more than uplink port total bandwidth;
When certain downlink port of access switch receives user's message, be high priority by the certain customers' packet labeling in the bandwidth range configured at this downlink port, remainder user's message is labeled as low priority;
After the certain customers' message being labeled as high priority is forwarded by a queue of uplink port, when determining that uplink port bandwidth has residue, the certain customers' message being labeled as low priority is forwarded by another queue of uplink port.
2. method according to claim 1, is characterized in that, when determining that uplink port bandwidth does not remain, is labeled as certain customers' message of low priority described in abandoning.
3. method according to claim 1, it is characterized in that, before each downlink port bandwidth of described configuration access switch, the method also comprises: downlink port and the uplink port of determining described access switch, and the uplink port determined is carried out aggregated links binding.
4. access a switching equipment, it is characterized in that, this equipment comprises band width configuration unit, priority flag unit, the first retransmission unit, judging unit and the second retransmission unit, wherein,
Described band width configuration unit, for configuring each downlink port bandwidth, makes the downlink port bandwidth summation of all configurations be not more than uplink port total bandwidth;
Described priority flag unit, is high priority for certain customers' packet labeling of downlink port in the bandwidth range of described band width configuration cell location that will receive user's message, remainder user's message is labeled as low priority;
Described first retransmission unit, is forwarded by a queue of uplink port for certain customers' message priority flag unit being labeled as high priority;
Described judging unit, after being sent by uplink port by the certain customers' message being labeled as high priority when the first retransmission unit, judges whether this uplink port bandwidth has residue;
Described second retransmission unit, during for judging that when judging unit uplink port bandwidth has a residue, certain customers' message priority flag unit being labeled as low priority is forwarded by another queue of uplink port.
5. equipment according to claim 4, is characterized in that, this equipment also comprises packet loss unit, during for judging that uplink port bandwidth does not remain when judging unit, abandons certain customers' message that described priority flag unit is labeled as low priority.
6. equipment according to claim 4, is characterized in that, this equipment also comprises port determining unit, for determining downlink port and the uplink port of access switch, and the uplink port determined is carried out aggregated links binding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210074644.6A CN102647339B (en) | 2012-03-20 | 2012-03-20 | Port configuration method of access switch and access switching equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210074644.6A CN102647339B (en) | 2012-03-20 | 2012-03-20 | Port configuration method of access switch and access switching equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102647339A CN102647339A (en) | 2012-08-22 |
CN102647339B true CN102647339B (en) | 2015-02-11 |
Family
ID=46659923
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210074644.6A Active CN102647339B (en) | 2012-03-20 | 2012-03-20 | Port configuration method of access switch and access switching equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102647339B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106681501A (en) * | 2016-12-14 | 2017-05-17 | 天津阳泽科技有限公司 | Data exchange system of wearable device in human-computer interaction in computer field |
CN111181753B (en) * | 2018-11-12 | 2021-06-29 | 华为技术有限公司 | Dynamic bandwidth allocation method and related equipment |
CN110519119B (en) * | 2019-07-31 | 2020-11-13 | 视联动力信息技术股份有限公司 | Bandwidth management method and device based on video network and storage medium |
CN114640638B (en) * | 2020-12-16 | 2024-05-14 | 华为技术有限公司 | Message transmission method and transmitting terminal equipment |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123587A (en) * | 2007-09-13 | 2008-02-13 | 杭州华三通信技术有限公司 | Traffic control method and device for switch service flow |
-
2012
- 2012-03-20 CN CN201210074644.6A patent/CN102647339B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123587A (en) * | 2007-09-13 | 2008-02-13 | 杭州华三通信技术有限公司 | Traffic control method and device for switch service flow |
Also Published As
Publication number | Publication date |
---|---|
CN102647339A (en) | 2012-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102615567B1 (en) | Information transmission methods and devices | |
US10594450B2 (en) | Asymmetric OFDMA tone mapping and dynamic channel access using non-primary channels | |
EP3576453A1 (en) | Method, network element, and system for implementing data processing, and storage medium | |
CN110169118A (en) | The method and device of UL grouping is sent based on service quality (QoS) stream in a wireless communication system | |
TWI581587B (en) | Method of handling csi report and related communication device | |
CN108616909B (en) | Data transmission method and device | |
WO2014197682A1 (en) | Eps bearer splitting for dual connectivity devices | |
CN102647339B (en) | Port configuration method of access switch and access switching equipment | |
CN110169113A (en) | The method and device thereof of the radio link monitoring and failure process of multi-beam operation are executed in a wireless communication system | |
JP2019525629A (en) | QoS parameter processing method and device in switching scenario | |
US20200383020A1 (en) | Method and device for pscell switching | |
WO2016095574A1 (en) | Sdn-based mpls network control system and method | |
US8774155B2 (en) | Transporting call data via a packet data network | |
US20140200011A1 (en) | LTE/HSDPA Carrier Aggregation | |
CN105323137B (en) | Service data transmission method and device | |
CN107852773A (en) | A kind of method of data transfer, relevant device and system | |
WO2015167546A1 (en) | Transmission control for bearer split under dual connectivity | |
MX2010012889A (en) | Method for providing seamless transition between networks following different protocols. | |
CN102340888A (en) | Multi-base-station collaboration method and system, mobile terminal and main service base station | |
CN104270441A (en) | Multi-priority communication method and system of distributed system | |
CN101616343A (en) | A kind of auto-negotiation method for service types and convergence device thereof | |
US20100158033A1 (en) | Communication apparatus in label switching network | |
CN103516619A (en) | Bandwidth adjusting method and device in network virtualization system | |
JP2021516910A (en) | Optimized URLLC scheduling policy for multi-node connectivity with data replication | |
CN102104916A (en) | Data scheduling method and system |
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 | ||
CP03 | Change of name, title or address |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Patentee after: Xinhua three Technology Co., Ltd. Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base Patentee before: Huasan Communication Technology Co., Ltd. |
|
CP03 | Change of name, title or address |