CN103023816A - Method and device for realizing control of resources at network access - Google Patents

Method and device for realizing control of resources at network access Download PDF

Info

Publication number
CN103023816A
CN103023816A CN2011102790932A CN201110279093A CN103023816A CN 103023816 A CN103023816 A CN 103023816A CN 2011102790932 A CN2011102790932 A CN 2011102790932A CN 201110279093 A CN201110279093 A CN 201110279093A CN 103023816 A CN103023816 A CN 103023816A
Authority
CN
China
Prior art keywords
data message
counter
value
port
threshold
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.)
Granted
Application number
CN2011102790932A
Other languages
Chinese (zh)
Other versions
CN103023816B (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.)
Suzhou Centec Communications Co Ltd
Original Assignee
Centec Networks Suzhou 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 Centec Networks Suzhou Co Ltd filed Critical Centec Networks Suzhou Co Ltd
Priority to CN201110279093.2A priority Critical patent/CN103023816B/en
Publication of CN103023816A publication Critical patent/CN103023816A/en
Application granted granted Critical
Publication of CN103023816B publication Critical patent/CN103023816B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method and a device for realizing control of resources at a network access, wherein the method comprises the following steps: S1. configuring lowest threshold values and highest threshold values of all channels, port threshold values of all ports, stage threshold values and a total threshold value; S2. According to information of an input data message, mapping the numbers of data message input ports into channel numbers; S3. according to the length of the data message, correcting values of corresponding resource counters; and S4. comparing the values of the resource counters and the corresponding threshold values, and determining whether the data message is abandoned. According to the method and the device, on the premise of ensuring that each priority level has the lowest utilization amount on caching items, the caching resources are fully allocated according to the number of input ports and the priority level, and the management flexibility of the caching resources and the resource usage fairness can be greatly enhanced.

Description

Realize the method and apparatus of Web portal resource control
Technical field
The present invention relates to the network communication field technology, especially a kind of method and apparatus of realizing the control of Web portal resource.
Background technology
Along with the fast development of Ethernet and chip technology, the processing bandwidth of exchanger chip constantly increases, and network port capacity also grows with each passing day.Simultaneously, along with QoS(Quality of Service) development of technology, the packet priority quantity that each port is supported also increases gradually.For the chips of Ethernet exchange of using shared storage, how to realize memory resource effective and reasonable distribution between each port, become the key factor that determines metropolitan area network exchanger core piece performance to satisfy each port QoS and bandwidth demand.
Yet existing portal resource administrative skill is only added up the memory resource that each port takies, and when needs satisfied the QoS demand of port data message, the resource that again each priority data message of port is taken was added up respectively.This technology occurs when congested at the network of switch, the data message of a certain port priority takies a large amount of memory resources, but when not surpassing resource threshold, other priority are not surpassing in the situation of the resource threshold of setting, may be forced to abandon because memory resource exhausts the data message of input, for example, if low priority takes the lead in taking memory resource, the message of input is dropped after the high priority; If a certain port takes the lead in taking memory resource, the message of other port inputs of equal priority will be dropped.Above-mentioned situation has been run counter to the principle of QoS, causes the memory resource unreasonable distribution of exchanger chip.
Summary of the invention
For above-mentioned technical problem, the object of the present invention is to provide a kind of method that realizes the control of Web portal resource, by setting the two-stage resource threshold memory resource is carried out grading control, satisfying the QoS demand of various priority, thus allocate memory resource rationally and effectively.
Correspondingly, another object of the present invention is to provide a kind of a kind of device of realizing the control of Web portal resource of using said method.
Wherein, a kind of method that realizes the control of Web portal resource may further comprise the steps:
The port threshold value of S1, the lowest threshold that disposes each passage and high threshold, each port, phase threshold and total threshold value;
S2, according to the information of input data message, the input slogan of data message is mapped as channel number;
S3, according to the length of described data message, revise the value of corresponding resource count device, wherein, described resource count device comprises channel counter, port counter, the total batching counter of priority and total batching counter;
S4, with value and the corresponding threshold of each resource count device, determine whether to abandon data message.
As a further improvement on the present invention, described step S3 specifically comprises:
The shared Resource Unit number of data message of S31, identification input;
S32, the value with respective channel counter, port counter, the total batching counter of priority and total batching counter adds the Resource Unit number that the above data message takies respectively.
As a further improvement on the present invention, the maintenance of described resource count device is read logic realization by data message input logic and data message.
As a further improvement on the present invention, described step S4 is specially:
S41, the value of total batching counter and total threshold value are compared, judge that whether the value of total batching counter is greater than total threshold value, if then abandon this data message; If not, execution in step S42;
Value and the port threshold value of S42, port counter that input port is corresponding compare, and judge that whether the value of port counter is greater than the port threshold value, if then abandon this data message; If not, execution in step S43;
S43, value and the phase threshold that will input the total batching counter of priority corresponding to data message compare, and whether judge the value of the total batching counter of priority greater than phase threshold, if, execution in step S44; If not, execution in step S45;
S44, value and the minimum passage threshold value of channel counter compared, judge that whether the value of channel counter is greater than minimum passage threshold value, if then abandon this data message; If not, then with in this data message write memory;
S45, the value of channel counter and high channel threshold value are compared, whether the value of judging channel counter is greater than high channel threshold value, if then abandon this data message; If not, then with in this data message write memory.
As a further improvement on the present invention, the number of the number of described phase threshold and the total batching counter of priority is suitable, and the corresponding total batching counter of priority of each phase threshold.
Correspondingly, a kind of device of realizing the control of Web portal resource comprises with lower unit:
Threshold value dispensing unit: be used for the port threshold value, phase threshold of the lowest threshold of each passage of configuration and high threshold, each port and total threshold value;
Passage map unit: be used for the information according to the input data message, the input slogan of data message is mapped as channel number;
The memory space statistic unit: be used for the length according to described data message, revise the value of corresponding resource count device, wherein, described resource count device comprises channel counter, port counter, the total batching counter of priority and total batching counter;
Abandon control unit: be used for value and corresponding threshold with each resource count device, determine whether to abandon data message.
As a further improvement on the present invention, described memory space statistic unit also is used for:
The shared Resource Unit number of data message of identification input;
Value with respective channel counter, port counter, the total batching counter of priority and total batching counter adds the Resource Unit number that the above data message takies respectively.
As a further improvement on the present invention, the maintenance of described resource count device is read logic realization by data message input logic and data message.
As a further improvement on the present invention, the described control unit that abandons specifically comprises:
Total threshold value comparing unit: be used for the value of total batching counter is compared with total threshold value, judge that whether the value of total batching counter is greater than total threshold value, if then abandon this data message; If not, carry out the port threshold ratio than the unit;
Port threshold value comparing unit: the value and the port threshold value that are used for the port counter that input port is corresponding compare, and judge that whether the value of port counter is greater than the port threshold value, if then abandon this data message; If not, execution phase threshold value comparing unit;
Phase threshold comparing unit: compare for value and the phase threshold that will input the total batching counter of priority corresponding to data message, whether judge the value of the total batching counter of priority greater than phase threshold, if carry out minimum passage threshold value comparing unit; If not, carry out high channel threshold value comparing unit;
Minimum passage threshold value comparing unit: be used for value and the minimum passage threshold value of channel counter are compared, judge that whether the value of channel counter is greater than minimum passage threshold value, if then abandon this data message; If not, then with in this data message write memory;
High channel threshold value comparing unit: be used for the value of channel counter and high channel threshold value are compared, whether the value of judging channel counter is greater than high channel threshold value, if then abandon this data message; If not, then with in this data message write memory.
As a further improvement on the present invention, the number of the number of described phase threshold and the total batching counter of priority is suitable, and the corresponding total batching counter of priority of each phase threshold.
Compared to prior art, the invention has the beneficial effects as follows: the present invention is according to the flow situation of different port, and different priorities is to the demand of cache resources, and each fan-in network port of Reasonable Regulation And Control is shared cache resources.The present invention is guaranteeing fully to distribute cache resources according to the quantity of input port and priority under the prerequisite of each priority to the minimum utilization of cache entries, thereby has greatly increased the flexibility of cache resources management and the fairness that resource is used.
Description of drawings
Fig. 1 is the flow chart of realizing the method for Web portal resource control in an embodiment of the present invention;
Fig. 2 is the passage view of memory resource in an embodiment of the present invention;
Fig. 3 is the port view of memory resource in an embodiment of the present invention;
Fig. 4 is the total amount view of memory resource in an embodiment of the present invention;
Fig. 5 is the concrete steps flow chart of step S3 in an embodiment of the present invention;
Fig. 6 is the concrete steps flow chart of step S4 in an embodiment of the present invention;
Fig. 7 is the schematic diagram of realizing the device of Web portal resource control in an embodiment of the present invention.
Embodiment
Describe the present invention below with reference to each embodiment shown in the drawings.But these embodiment do not limit the present invention, and the conversion on the structure that those of ordinary skill in the art makes according to these embodiment, method or the function all is included in protection scope of the present invention.
The invention provides a kind of method and apparatus for each port assignment of exchanger chip Web portal direction and management shared storage.As shown in Figure 1, in an embodiment of the present invention, a kind of method that realizes the control of Web portal resource may further comprise the steps:
The port threshold value of S1, the lowest threshold that disposes each passage and high threshold, each port, phase threshold and total threshold value; Particularly, by specific software program each passage and the shared memory buffer element number of each port are carried out reasonable disposition, i.e. threshold value configuration.Preferably, in present embodiment, described specific software program can be written to internal system by cpu i/f, and described cpu i/f can also provide the logic of read threshold configuration data.
In conjunction with Fig. 2, Fig. 3, shown in Figure 4, Fig. 2 is the memory resource view of describing from each passage operating position angle, is called for short the passage view; Fig. 3 is the memory resource view that uses the angle description of total amount from 8 passages of a port, is called for short the port view; Fig. 4 is from all passages memory resource view of describing of use amount angle altogether, is called for short the total amount view.From the passage view, passage can be set to N in the network, and each passage is provided with a lowest threshold and high threshold.When Web portal was unimpeded, each passage can use high threshold, when the buffer unit quantity that namely takies when this passage surpasses high threshold, will be dropped from the data message of this passage input.From the port view, 8 passages of each port relative set are such as passage 0, passage 1 ... passage 7, each port are provided with a threshold value, when the buffer unit quantity that takies when all passages of this port surpasses the port threshold value, will be dropped from the data message of this port input.From the total amount view, whole storage resources is divided 8 phase threshold according to 8 priority, 7 correspondingly arrange 8 phase threshold from priority 0 to priority, when when Web portal is congested, each passage determines according to the quantity (hereinafter referred to as the priority total amount) that its corresponding priority takies memory cell altogether which threshold value this uses.If the priority total amount surpasses corresponding phase threshold, this passage can use high threshold to determine the situation that abandons of incoming message; Otherwise this passage can only use lowest threshold to determine the situation that abandons of incoming message.In the present embodiment, a total threshold value is set also, when the number of memory cells that takies when all passages surpasses this threshold value, only has crucial message to be accepted, other incoming message will be dropped without exception.
S2, according to the information of input data message, the input slogan of data message is mapped as channel number; Preferably, can input a data message by external network, described data message comprises some relevant informations.At first, system can be mapped to some passages according to data message priority (take 8 priority as example) with the network port, in this step, behind input one data message, according to the data message information of inputting the input slogan is mapped to a certain channel number.
S3, according to the length of described data message, revise the value of corresponding resource count device, wherein, described resource count device comprises channel counter, port counter, the total batching counter of priority and total batching counter; In the present embodiment, system by the specific hardware circuit to the buffer unit that altogether uses of the shared buffer unit of each passage and port and all passages add up, described specific hardware circuit can be coincidence counter or asynchronous counter, has finished the operating position of each memory cell is added up by setting some resource count devices.
In the present embodiment, system reads logic according to data message input logic and data message and safeguards the resource count device, adds up the quantity of the memory cell that each passage and all passages use altogether, is called channel counter and port counter.Preferably, 8 channel counter of each port maintenance and a port counter, certainly, in other embodiments, the number of described channel counter is relative set as required.Use amount to memory cell is altogether safeguarded a resource count device, is called total batching counter.The number of memory cells of simultaneously each priority being used is altogether safeguarded a resource count device, is called the total batching counter of priority, altogether safeguards 8 total batching counters of priority.The number of the number of described phase threshold and the total batching counter of priority is suitable, and the corresponding total batching counter of priority of each phase threshold.Because the priority that present embodiment is set is 8, the total batching counter of corresponding priority also is 8.
S4, with value and the corresponding threshold of each resource count device, determine whether to abandon data message.Particularly, judge by corresponding Compare Logic whether the value of each resource count device exceeds corresponding threshold value behind this data message of current input, system determines in packet loss or the write memory according to corresponding comparative result.
As shown in Figure 5, described step S3 specifically comprises:
The shared Resource Unit number of data message of S31, identification input; Particularly, judge according to the length of described data message.
S32, the value with respective channel counter, port counter, the total batching counter of priority and total batching counter adds the Resource Unit number that the above data message takies respectively; In the present embodiment, when a data message of input, respective channel counter, port counter, the total batching counter of priority and total batching counter add respectively the Resource Unit number that this message takies, and make things convenient for to judge in the subsequent step and determine whether abandoning of this data message; Correspondingly, when data message reads logic and reads a data message from memory, deduct the Resource Unit number that this message takies from respective channel counter, port counter, the total batching counter of priority and total batching counter.
As shown in Figure 6, after step S3, the value of each resource count device all can correspondingly be modified, and utilizes these amended new values, and described step S4 is specially:
S41, the value of total batching counter and total threshold value are compared, whether judge the value of total batching counter greater than total threshold value, if, and the data message of inputting neither crucial message, then abandons this data message; If not, execution in step S42;
Value and the port threshold value of S42, port counter that input port is corresponding compare, and judge that whether the value of port counter is greater than the port threshold value, if then abandon this data message; If not, execution in step S43;
S43, value and the phase threshold that will input the total batching counter of priority corresponding to data message compare, and whether judge the value of the total batching counter of priority greater than phase threshold, if, execution in step S44; If not, execution in step S45;
S44, value and the minimum passage threshold value of channel counter compared, judge that whether the value of channel counter is greater than minimum passage threshold value, if then abandon this data message; If not, then with in this data message write memory;
S45, the value of channel counter and high channel threshold value are compared, whether the value of judging channel counter is greater than high channel threshold value, if then abandon this data message; If not, then with in this data message write memory.
As shown in Figure 7, correspondingly, in the present embodiment, a kind of device of realizing the control of Web portal resource comprises with lower unit:
Threshold value dispensing unit 10: be used for the port threshold value, phase threshold of the lowest threshold of each passage of configuration and high threshold, each port and total threshold value; Particularly, can carry out reasonable disposition to each passage and the shared memory buffer element number of each port by specific software program, i.e. threshold value configuration.Preferably, in present embodiment, described specific software program can be written to internal system by cpu i/f 80, and described cpu i/f 80 can also provide the logic of read threshold configuration data.
In conjunction with Fig. 2, Fig. 3, shown in Figure 4, Fig. 2 is the memory resource view of describing from each passage operating position angle, is called for short the passage view; Fig. 3 is the memory resource view that uses the angle description of total amount from 8 passages of a port, is called for short the port view; Fig. 4 is from all passages memory resource view of describing of use amount angle altogether, is called for short the total amount view.From the passage view, passage can be set to N in the network, and each passage is provided with a lowest threshold and high threshold.When Web portal was unimpeded, each passage can use high threshold, when the buffer unit quantity that namely takies when this passage surpasses high threshold, will be dropped from the data message of this passage input.From the port view, 8 passages of each port relative set are such as passage 0, passage 1 ... passage 7, each port are provided with a threshold value, when the buffer unit quantity that takies when all passages of this port surpasses the port threshold value, will be dropped from the data message of this port input.From the total amount view, whole storage resources is divided 8 phase threshold according to 8 priority, 7 correspondingly arrange 8 phase threshold from priority 0 to priority, when when Web portal is congested, each passage determines according to the quantity (hereinafter referred to as the priority total amount) that its corresponding priority takies memory cell altogether which threshold value this uses.If the priority total amount surpasses corresponding phase threshold, this passage can use high threshold to determine the situation that abandons of incoming message; Otherwise this passage can only use lowest threshold to determine the situation that abandons of incoming message.In the present embodiment, a total threshold value is set also, when the number of memory cells that takies when all passages surpasses this threshold value, only has crucial message to be accepted, other incoming message will be dropped without exception.
Passage map unit 20: be used for the information according to the input data message, the input slogan of data message is mapped as channel number; Preferably, can input a data message by external network, described data message comprises some relevant informations.At first, system can be mapped to some passages according to data message priority (take 8 priority as example) with the network port, in this step, behind input one data message, according to the data message information of inputting the input slogan is mapped to a certain channel number.
Memory space statistic unit 30: be used for the length according to described data message, revise the value of corresponding resource count device, wherein, described resource count device comprises channel counter, port counter, the total batching counter of priority and total batching counter; In the present embodiment, system by the specific hardware circuit to the buffer unit that altogether uses of the shared buffer unit of each passage and port and all passages add up, described specific hardware circuit can be coincidence counter or asynchronous counter, has finished the operating position of each memory cell is added up by setting some resource count devices.
In the present embodiment, system reads logic 70 maintenance resources counters according to data message input logic 60 and data message, adds up the quantity of the memory cell that each passage and all passages use altogether, is called channel counter and port counter.Preferably, 8 channel counter of each port maintenance and a port counter, certainly, in other embodiments, the number of described channel counter is relative set as required.Use amount to memory cell is altogether safeguarded a resource count device, is called total batching counter.The number of memory cells of simultaneously each priority being used is altogether safeguarded a resource count device, is called the total batching counter of priority, altogether safeguards 8 total batching counters of priority.The number of the number of described phase threshold and the total batching counter of priority is suitable, and the corresponding total batching counter of priority of each phase threshold.Because the priority that present embodiment is set is 8, the total batching counter of corresponding priority also is 8.
Abandon control unit 40: be used for value and corresponding threshold with each resource count device, determine whether to abandon data message.Particularly, judge by corresponding Compare Logic whether the value of each resource count device exceeds corresponding threshold value behind this data message of current input, system determines in packet loss or the write memory according to corresponding comparative result.
In the present embodiment, described memory space statistic unit 30 also is used for:
The shared Resource Unit number of data message of identification input; Particularly, judge according to the length of described data message.
Value with respective channel counter, port counter, the total batching counter of priority and total batching counter adds the Resource Unit number that the above data message takies respectively.In the present embodiment, when a data message of data message input processing logic 60 inputs, respective channel counter, port counter, the total batching counter of priority and total batching counter add respectively the Resource Unit number that this message takies, and make things convenient for to judge in the subsequent step and determine whether abandoning of this data message; Correspondingly, when data message reads logic 70 and reads a data message from memory, deduct the Resource Unit number that this message takies from respective channel counter, port counter, the total batching counter of priority and total batching counter.
The described control unit 40 that abandons specifically comprises:
Total threshold value comparing unit: be used for the value of total batching counter is compared with total threshold value, whether judge the value of total batching counter greater than total threshold value, if, and the data message of inputting neither crucial message, then abandons this data message; If not, carry out the port threshold ratio than the unit;
Port threshold value comparing unit: the value and the port threshold value that are used for the port counter that input port is corresponding compare, and judge that whether the value of port counter is greater than the port threshold value, if then abandon this data message; If not, execution phase threshold value comparing unit;
Phase threshold comparing unit: compare for value and the phase threshold that will input the total batching counter of priority corresponding to data message, whether judge the value of the total batching counter of priority greater than phase threshold, if carry out minimum passage threshold value comparing unit; If not, carry out high channel threshold value comparing unit;
Minimum passage threshold value comparing unit: be used for value and the minimum passage threshold value of channel counter are compared, judge that whether the value of channel counter is greater than minimum passage threshold value, if then abandon this data message; If not, then with in this data message write memory; Described memory is shared memory 50 for being arranged at intrasystem one, and it can comprise static memory or dynamic memory.
High channel threshold value comparing unit: be used for the value of channel counter and high channel threshold value are compared, whether the value of judging channel counter is greater than high channel threshold value, if then abandon this data message; If not, then with in this data message write memory.
The present invention is according to the flow situation of different port, and different priorities is to the demand of cache resources, and each fan-in network port of Reasonable Regulation And Control is shared cache resources.The present invention is guaranteeing fully to distribute cache resources according to the quantity of input port and priority under the prerequisite of each priority to the minimum utilization of cache entries, thereby has greatly increased the flexibility of cache resources management and the fairness that resource is used.
For the convenience of describing, be divided into various unit with function when describing above device and describe respectively.Certainly, when implementing the application, can in same or a plurality of softwares and/or hardware, realize the function of each unit.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the application and can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that the application's technical scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the storage medium, such as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each execution mode of the application or execution mode.
Device embodiments described above only is schematic, wherein said unit as the separating component explanation can or can not be physically to separate also, the parts that show as the unit can be or can not be physical locations also, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of module to realize the purpose of present embodiment scheme.Those of ordinary skills namely can understand and implement in the situation of not paying creative work.
The application can be used in numerous general or special purpose computingasystem environment or configuration or communication system environment or the equipment.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, comprise distributed computing environment (DCE) of above any system or equipment etc., and switch, router, comprise communication system environment of above any equipment etc.
The application can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract data type, program, object, assembly, data structure etc.Also can in distributed computing environment (DCE), put into practice the application, in these distributed computing environment (DCE), be executed the task by the teleprocessing equipment that is connected by communication network.In distributed computing environment (DCE), program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
Be to be understood that, although this specification is described according to execution mode, but be not that each execution mode only comprises an independently technical scheme, this narrating mode of specification only is for clarity sake, those skilled in the art should make specification as a whole, technical scheme in each execution mode also can through appropriate combination, form other execution modes that it will be appreciated by those skilled in the art that.
Above listed a series of detailed description only is specifying for feasibility execution mode of the present invention; they are not to limit protection scope of the present invention, allly do not break away from equivalent execution mode or the change that skill spirit of the present invention does and all should be included within protection scope of the present invention.

Claims (10)

1. a method that realizes the control of Web portal resource is characterized in that, may further comprise the steps:
The port threshold value of S1, the lowest threshold that disposes each passage and high threshold, each port, phase threshold and total threshold value;
S2, according to the information of input data message, the input slogan of data message is mapped as channel number;
S3, according to the length of described data message, revise the value of corresponding resource count device, wherein, described resource count device comprises channel counter, port counter, the total batching counter of priority and total batching counter;
S4, with value and the corresponding threshold of each resource count device, determine whether to abandon data message.
2. method according to claim 1 is characterized in that, described step S3 specifically comprises:
The shared Resource Unit number of data message of S31, identification input;
S32, the value with respective channel counter, port counter, the total batching counter of priority and total batching counter adds the Resource Unit number that the above data message takies respectively.
3. method according to claim 2 is characterized in that, the maintenance of described resource count device is read logic realization by data message input logic and data message.
4. method according to claim 1 and 2 is characterized in that, described step S4 is specially:
S41, the value of total batching counter and total threshold value are compared, judge that whether the value of total batching counter is greater than total threshold value, if then abandon this data message; If not, execution in step S42;
Value and the port threshold value of S42, port counter that input port is corresponding compare, and judge that whether the value of port counter is greater than the port threshold value, if then abandon this data message; If not, execution in step S43;
S43, value and the phase threshold that will input the total batching counter of priority corresponding to data message compare, and whether judge the value of the total batching counter of priority greater than phase threshold, if, execution in step S44; If not, execution in step S45;
S44, value and the minimum passage threshold value of channel counter compared, judge that whether the value of channel counter is greater than minimum passage threshold value, if then abandon this data message; If not, then with in this data message write memory;
S45, the value of channel counter and high channel threshold value are compared, whether the value of judging channel counter is greater than high channel threshold value, if then abandon this data message; If not, then with in this data message write memory.
5. method according to claim 1 is characterized in that, the number of the number of described phase threshold and the total batching counter of priority is suitable, and the corresponding total batching counter of priority of each phase threshold.
6. a device of realizing the control of Web portal resource is characterized in that, comprises with lower unit:
Threshold value dispensing unit: be used for the port threshold value, phase threshold of the lowest threshold of each passage of configuration and high threshold, each port and total threshold value;
Passage map unit: be used for the information according to the input data message, the input slogan of data message is mapped as channel number;
The memory space statistic unit: be used for the length according to described data message, revise the value of corresponding resource count device, wherein, described resource count device comprises channel counter, port counter, the total batching counter of priority and total batching counter;
Abandon control unit: be used for value and corresponding threshold with each resource count device, determine whether to abandon data message.
7. device according to claim 6 is characterized in that, described memory space statistic unit also is used for:
The shared Resource Unit number of data message of identification input;
Value with respective channel counter, port counter, the total batching counter of priority and total batching counter adds the Resource Unit number that the above data message takies respectively.
8. device according to claim 7 is characterized in that, the maintenance of described resource count device is read logic realization by data message input logic and data message.
9. according to claim 6 or 7 described devices, it is characterized in that the described control unit that abandons specifically comprises:
Total threshold value comparing unit: be used for the value of total batching counter is compared with total threshold value, judge that whether the value of total batching counter is greater than total threshold value, if then abandon this data message; If not, carry out the port threshold ratio than the unit;
Port threshold value comparing unit: the value and the port threshold value that are used for the port counter that input port is corresponding compare, and judge that whether the value of port counter is greater than the port threshold value, if then abandon this data message; If not, execution phase threshold value comparing unit;
Phase threshold comparing unit: compare for value and the phase threshold that will input the total batching counter of priority corresponding to data message, whether judge the value of the total batching counter of priority greater than phase threshold, if carry out minimum passage threshold value comparing unit; If not, carry out high channel threshold value comparing unit;
Minimum passage threshold value comparing unit: be used for value and the minimum passage threshold value of channel counter are compared, judge that whether the value of channel counter is greater than minimum passage threshold value, if then abandon this data message; If not, then with in this data message write memory;
High channel threshold value comparing unit: be used for the value of channel counter and high channel threshold value are compared, whether the value of judging channel counter is greater than high channel threshold value, if then abandon this data message; If not, then with in this data message write memory.
10. device according to claim 9 is characterized in that, the number of the number of described phase threshold and the total batching counter of priority is suitable, and the corresponding total batching counter of priority of each phase threshold.
CN201110279093.2A 2011-09-20 2011-09-20 Realize the method and apparatus of Web portal resources control Active CN103023816B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110279093.2A CN103023816B (en) 2011-09-20 2011-09-20 Realize the method and apparatus of Web portal resources control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110279093.2A CN103023816B (en) 2011-09-20 2011-09-20 Realize the method and apparatus of Web portal resources control

Publications (2)

Publication Number Publication Date
CN103023816A true CN103023816A (en) 2013-04-03
CN103023816B CN103023816B (en) 2015-08-05

Family

ID=47971956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110279093.2A Active CN103023816B (en) 2011-09-20 2011-09-20 Realize the method and apparatus of Web portal resources control

Country Status (1)

Country Link
CN (1) CN103023816B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103346925A (en) * 2013-06-17 2013-10-09 盛科网络(苏州)有限公司 Message channel burst flow detection method and device based on ASIC
CN106550018A (en) * 2016-10-17 2017-03-29 盛科网络(苏州)有限公司 Buffer resource management, device and network exchanging chip
CN107835135A (en) * 2017-10-23 2018-03-23 深圳市楠菲微电子有限公司 Shared buffer admittance control method and device
CN110838985A (en) * 2019-11-06 2020-02-25 北京宝兰德软件股份有限公司 Method and device for controlling data exchange rate in grading manner
CN116155827A (en) * 2023-01-17 2023-05-23 中国联合网络通信集团有限公司 Data transmission method, device, router, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881937A (en) * 2005-05-02 2006-12-20 美国博通公司 Method and device for making storage space dynamic distribution for multi queue
US20080049640A1 (en) * 2006-08-22 2008-02-28 Heinz John M System and method for provisioning resources of a packet network based on collected network performance information
CN101419579A (en) * 2008-12-10 2009-04-29 中国科学院计算技术研究所 Apparatus and method for providing quality of service on DRAM

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881937A (en) * 2005-05-02 2006-12-20 美国博通公司 Method and device for making storage space dynamic distribution for multi queue
US20080049640A1 (en) * 2006-08-22 2008-02-28 Heinz John M System and method for provisioning resources of a packet network based on collected network performance information
CN101419579A (en) * 2008-12-10 2009-04-29 中国科学院计算技术研究所 Apparatus and method for providing quality of service on DRAM

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103346925A (en) * 2013-06-17 2013-10-09 盛科网络(苏州)有限公司 Message channel burst flow detection method and device based on ASIC
CN106550018A (en) * 2016-10-17 2017-03-29 盛科网络(苏州)有限公司 Buffer resource management, device and network exchanging chip
CN107835135A (en) * 2017-10-23 2018-03-23 深圳市楠菲微电子有限公司 Shared buffer admittance control method and device
CN110838985A (en) * 2019-11-06 2020-02-25 北京宝兰德软件股份有限公司 Method and device for controlling data exchange rate in grading manner
CN110838985B (en) * 2019-11-06 2022-09-30 北京宝兰德软件股份有限公司 Method and device for controlling data exchange rate in grading manner
CN116155827A (en) * 2023-01-17 2023-05-23 中国联合网络通信集团有限公司 Data transmission method, device, router, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103023816B (en) 2015-08-05

Similar Documents

Publication Publication Date Title
CN102413063B (en) Method and system for dynamically adjusting allocation threshold value of output port resources
US11687374B2 (en) Configurable logic platform with reconfigurable processing circuitry
CN106936883B (en) Method and apparatus for cloud system
CN102420776B (en) Method and system for dynamically regulating portal resource allocation threshold value
CN1881937B (en) Method and device for making storage space dynamic distribution for multi queue
CN102082692B (en) Method and equipment for migrating virtual machines based on network data flow direction, and cluster system
Zhu et al. Towards bandwidth guarantee in multi-tenancy cloud computing networks
CN103023816B (en) Realize the method and apparatus of Web portal resources control
Wang et al. Reconciling task assignment and scheduling in mobile edge clouds
Ali et al. Energy efficient disaggregated servers for future data centers
US10216441B2 (en) Dynamic quality of service for storage I/O port allocation
Li et al. Extended efficiency and soft-fairness multiresource allocation in a cloud computing system
Kaur et al. A taxonomy, survey on placement of virtual machines in cloud
CN101197782B (en) Control method and system for network appliance based on multi-core processor
Hou et al. A provident resource defragmentation framework for mobile cloud computing
Concatto et al. Two-levels of adaptive buffer for virtual channel router in nocs
CN114826950B (en) Port number prediction method, device and storage medium
Kang et al. Parcel-Fit: Low Network-Overhead Service-Chain Deployment for Better Datacenter Performance
US11729119B2 (en) Dynamic queue management of network traffic
Carrega et al. Balancing QoS and power consumption in programmable 5G infrastructures
CN109284172A (en) Access method for managing resource, system and virtual machine manager under virtualized environment
Zhou et al. Queue-theory-based protocol block allocation algorithm for software defined wireless network

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
CP03 Change of name, title or address

Address after: 215000 unit 13 / 16, 4th floor, building B, No.5 Xinghan street, Suzhou Industrial Park, Jiangsu Province

Patentee after: Suzhou Shengke Communication Co.,Ltd.

Address before: 215021 unit 13 / 16, floor 4, building B, No. 5, Xinghan street, Suzhou Industrial Park, Suzhou, Jiangsu

Patentee before: CENTEC NETWORKS (SU ZHOU) Co.,Ltd.