CN106789731B - Queue scheduling method based on energy Internet service importance - Google Patents
Queue scheduling method based on energy Internet service importance Download PDFInfo
- Publication number
- CN106789731B CN106789731B CN201611024465.6A CN201611024465A CN106789731B CN 106789731 B CN106789731 B CN 106789731B CN 201611024465 A CN201611024465 A CN 201611024465A CN 106789731 B CN106789731 B CN 106789731B
- Authority
- CN
- China
- Prior art keywords
- forwarding
- data packets
- queue
- data packet
- importance
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/622—Queue service order
- H04L47/623—Weighted service order
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/625—Queue scheduling characterised by scheduling criteria for service slots or service orders
- H04L47/6275—Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a queue scheduling method based on energy internet service importance, which comprises the following steps: and (4) carrying out weight distribution on the data packet of the node to be forwarded by using an Analytic Hierarchy Process (AHP) and endowing the data packet with an importance attribute. And a queue scheduling stage: after the data packets enter the forwarding nodes or are generated by the forwarding nodes, the data packets and all the data packets at the same time are sorted according to the importance degrees, four queues are configured for each forwarding node according to the calculation capacity of the node and the traffic volume, the priority levels are from high to low, the data packets are sorted into the queues according to the importance degrees, the arrival sequence of the data packets in each queue is recorded, and 3 counters are used for maintaining the first three queues respectively. Firstly, the forwarding node carries out queue check, and the check contents are whether a data packet with the waiting time more than or equal to the maximum waiting time exists in the queue: if yes, the data packet is preferentially sent; and if the data packet does not exist, forwarding the data packet in the queue according to the order of first-in first-out.
Description
Technical Field
The invention belongs to the field of computer networks, relates to a QOS (quality of service) technology, and particularly relates to a queue scheduling method based on intelligent power grid service importance.
Background
The energy internet is a novel information energy fusion wide area network constructed in the internet concept, a large power grid is used as a backbone network, a micro-grid is used as a local area network, and an equivalent information energy integration framework is opened, so that bidirectional on-demand transmission and dynamic balance use of energy are really realized, and the energy internet can be adapted to the access of new energy to the maximum extent. With the development of networks and the construction of smart power grids, power communication networks are continuously extended, so that the power communication network covering all 6 links of power generation, transmission, transformation, distribution, utilization and scheduling of the power grids is formed, and the characteristics of numerous systems and increasingly frequent communication among the systems are presented. Although the electric energy source is only one type of energy, the electric energy has incomparable advantages in the aspects of energy transmission efficiency and the like, and the transmission aspect of future energy infrastructure is also the power grid, so the future energy internet is basically an internet type power grid. The energy internet transforms a centralized, unidirectional grid into a grid that interacts with more consumers. And the power grid is closely combined with the power communication network, and the state of the power communication network directly relates to the safe and stable operation of the power grid. But due to the randomness and frequency of faults in the network, there is a potential risk of power communication traffic channels. How to quantitatively analyze the potential risks of the electric power communication service and adopt effective control measures becomes one of the important problems for guaranteeing the stable operation of the electric power system, and the classified transmission of the electric power communication service is a new idea aiming at the aspect.
Queue management is an important means for controlling network congestion, and plays a great role in network transmission, and scheduling is one of the core mechanisms of queue management. At present, a scheduler exists in each interface, a plurality of queues exist in the scheduler, and an output link is shared, so that the possibility of researching a complex queue scheduling algorithm is provided.
The communication network has a great variety of services, and each forwarding power saving not only needs to classify the data packets to be forwarded, but also has the capability of distinguishing and forwarding important service information in advance while ensuring that the communication network has good service capability, so that the communication network has better service quality. However, data packets that forward important traffic first and ignore general traffic will also cause the service quality of the communication network to degrade or even collapse, and therefore, such a routing method should be improved.
Disclosure of Invention
Aiming at some defects of the prior art, the invention provides a queue scheduling method based on the importance of energy Internet services.
In order to achieve the purpose, the invention adopts the following method:
a queue scheduling method based on energy Internet service importance degree comprises the following steps:
(1) and (3) carrying out weight distribution on the data packet of the node to be forwarded by using an Analytic Hierarchy Process (AHP), and giving an importance attribute to the data packet, wherein the importance attribute comprises attributes of category and priority.
(2) And a queue scheduling stage: after the data packets enter the forwarding nodes or are generated by the forwarding nodes, the data packets and all the data packets at the same time are sorted according to the importance degrees, four queues are configured for each forwarding node according to the calculation capacity of the node and the traffic volume, the priority levels are from high to low, the data packets are sorted into the queues according to the importance degrees, the arrival sequence of the data packets in each queue is recorded, and 3 counters are used for maintaining the first three queues respectively.
(3) Firstly, the forwarding node carries out queue check, and the check contents are whether a data packet with the waiting time more than or equal to the maximum waiting time exists in the queue: if yes, the data packet is preferentially sent; and if the data packet does not exist, forwarding the data packet in the queue according to the order of first-in first-out.
(4) When the forwarding starts, the forwarding node checks the self forwarding capability, and whether the number of the data packets exceeds the self forwarding capability is judged: if the number of the data packets exceeds the forwarding capacity of the data packets, forwarding the data packets according to the principle of comparing importance levels firstly and then comparing maximum waiting time; if the quantity of the data packets does not exceed the self-forwarding capability, forwarding is only carried out according to the maximum waiting time of the data packets.
(5) After the forwarding is finished, adding 1 to the counter value of each data packet currently existing in the first 3 queues, and waiting for the next comparison and forwarding.
Drawings
FIG. 1 is a schematic diagram of a queue scheduling method based on service importance
Detailed Description
The following description will first describe an embodiment with reference to the drawings.
An Analytic Hierarchy Process (AHP) is used to perform weight distribution on the data packet of the node to be forwarded, and an importance attribute is given to the data packet, wherein the importance attribute includes attributes of category and priority. The advantages are that: different importance levels can be given to different services or the same service in different time periods according to factors such as the service requirement, the scale of the communication network, the service volume and the like. The process after the packet enters the forwarding node is shown in fig. 1.
In the figure, four large rectangles in a node represent queues, each small square represents a data packet, the upper part of the slash of the square represents the waiting time of the data packet, and the lower part represents the arrival sequence of the data packet, namely the sequence number. The queues with the importance degrees of "one", "two" and "three" all have the data packet with the latency time of 0, which indicates that the data packet which is just transmitted or generated at the node at the last time step has no latency time in the queue with the lowest importance degree of "four".
The queue scheduling process is as follows:
(1) after the time step starts, firstly, the forwarding node performs queue check, the check content is whether a data packet with the waiting time being more than or equal to the maximum waiting time exists in the queue, and the data packets with the sequence numbers of 1, 2, 3 and 6 meet the conditions through detection.
(2) At this time, a judgment needs to be made: (a) if the transmission capability C of the node is less than 4, assuming that C is 3, the data packets need to be sorted according to a method of comparing importance levels first and then comparing arrival times, and the data packets are sorted in the order of 6, 3, 1, and 2, and finally the data packets with the sequence numbers of 6, 3, and 1 are transmitted; (b) if the transmission capacity C of the node is greater than 4, assuming that C is 8, first, data packets 1, 2, 3, and 6 satisfying the previous detection condition are transmitted, and then, data packets with sequence numbers 4, 5, 7, and 8 are sequentially transmitted in the order of first-in first-out
(3) After the transmission is finished, the waiting time value of each data packet currently existing on the queue with the importance degree of 'one', 'two' and 'three' is added with 1.
Claims (1)
1. A queue scheduling method based on energy Internet service importance degree comprises the following steps:
(1) using an Analytic Hierarchy Process (AHP) to carry out weight distribution on a data packet to be forwarded by a forwarding node, and giving an importance attribute to the data packet, wherein the importance attribute comprises attributes of categories and priorities;
(2) and a queue scheduling stage: after the data packets enter the forwarding nodes or are generated by the forwarding nodes, the data packets and all the data packets at the same time are sorted according to the importance degrees, four queues are configured for each forwarding node according to the calculation capacity of the node and the traffic volume, the priority levels are from high to low, the data packets are distributed into the queues according to the importance degrees, and meanwhile, the arrival sequence of the data packets in each queue is recorded;
(3) firstly, the forwarding node carries out queue check, and the check contents are whether a data packet with the waiting time more than or equal to the maximum waiting time exists in the queue: if yes, the data packet is preferentially sent; if the data packet does not exist, forwarding the data packet in the queue according to the first-in first-out sequence;
(4) when the forwarding starts, the forwarding node checks the self forwarding capability, and whether the number of the data packets exceeds the self forwarding capability is judged: if the number of the data packets exceeds the forwarding capacity of the data packets, forwarding the data packets according to the principle of comparing importance levels firstly and then comparing maximum waiting time; if the quantity of the data packets does not exceed the self-forwarding capacity, forwarding the data packets according to the maximum waiting time of the data packets;
(5) after the forwarding is finished, adding 1 to the counter value of each data packet currently existing in the first 3 queues, and waiting for the next comparison and forwarding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611024465.6A CN106789731B (en) | 2016-11-17 | 2016-11-17 | Queue scheduling method based on energy Internet service importance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611024465.6A CN106789731B (en) | 2016-11-17 | 2016-11-17 | Queue scheduling method based on energy Internet service importance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106789731A CN106789731A (en) | 2017-05-31 |
CN106789731B true CN106789731B (en) | 2020-03-06 |
Family
ID=58968289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611024465.6A Expired - Fee Related CN106789731B (en) | 2016-11-17 | 2016-11-17 | Queue scheduling method based on energy Internet service importance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106789731B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111181873B (en) * | 2019-12-31 | 2022-12-27 | 新奥数能科技有限公司 | Data transmission method, data transmission device, storage medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003084283A3 (en) * | 2002-03-25 | 2004-02-26 | Erlang Technology Inc | Method and apparatus for wfq scheduling using a plurality of scheduling queues |
CN1518296A (en) * | 2003-01-13 | 2004-08-04 | 华为技术有限公司 | Method of implementing integrated queue scheduling for supporting multi service |
CN103441953A (en) * | 2013-07-08 | 2013-12-11 | 京信通信系统(中国)有限公司 | Method, device and system for dispatching data flow |
CN104079501A (en) * | 2014-06-05 | 2014-10-01 | 深圳市邦彦信息技术有限公司 | Queue scheduling method based on multiple priorities |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120327948A1 (en) * | 2011-06-22 | 2012-12-27 | Lsi Corporation | Adjustment of negative weights in weighted round robin scheduling |
-
2016
- 2016-11-17 CN CN201611024465.6A patent/CN106789731B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003084283A3 (en) * | 2002-03-25 | 2004-02-26 | Erlang Technology Inc | Method and apparatus for wfq scheduling using a plurality of scheduling queues |
CN1518296A (en) * | 2003-01-13 | 2004-08-04 | 华为技术有限公司 | Method of implementing integrated queue scheduling for supporting multi service |
CN103441953A (en) * | 2013-07-08 | 2013-12-11 | 京信通信系统(中国)有限公司 | Method, device and system for dispatching data flow |
CN104079501A (en) * | 2014-06-05 | 2014-10-01 | 深圳市邦彦信息技术有限公司 | Queue scheduling method based on multiple priorities |
Non-Patent Citations (4)
Title |
---|
Cloud Bank Model Based on AHP Resource Scheduling Strategy Research;Li H etal;;《2013 International Conference on Cloud Computing and Big Data》;20131219;第493-496页 * |
Queue based job scheduling algorithm for cloud computing;Behzad S etal;;《International Research Journal of Applied and Basic Sciences ISSN》;20131231;第3785-3790页 * |
基于业务重要性的Ad Hoc网络QoS控制技术研究与实现;屈潇;《中国优秀硕士学位论文全文数据库 信息科技辑(月刊)》;20160315;I136-1985 * |
智能电网创新示范区能源互联网评估指标及评价方法;蒋菱 等;《电力系统及其自动化学报》;20160306;第28卷(第1期);第39-45页 * |
Also Published As
Publication number | Publication date |
---|---|
CN106789731A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Lévesque et al. | Communications and power distribution network co-simulation for multidisciplinary smart grid experimentations | |
CN103179046A (en) | Data center flow control method and data center flow control system based on openflow | |
CN109327323B (en) | New energy grid-connected power communication network planning and optimizing method and system | |
CN113038538B (en) | Optimization distribution method and device for WSNs communication data transmission bandwidth of intelligent power distribution network | |
CN102231647A (en) | Fiber communication network service route configuration method used in electric power | |
CN110213175A (en) | A kind of intelligent managing and control system and management-control method towards knowledge definition network | |
Mi et al. | Software-defined green 5G system for big data | |
CN112291791B (en) | Power communication mesh bandwidth resource allocation method based on 5G slice | |
CN113472570A (en) | Delay-sensitive fronthaul network flow scheduling method for power communication | |
CN114666280A (en) | Industrial internet time delay optimization method based on time sensitive software defined network | |
CN109150756A (en) | A kind of queue scheduling weight quantization method based on SDN power telecom network | |
CN106789731B (en) | Queue scheduling method based on energy Internet service importance | |
CN107911763B (en) | Intelligent power distribution and utilization communication network EPON network planning method based on QoS | |
Hu et al. | Communication Scheduling Strategy for the Power Distribution and Consumption Internet of Things Based on Dynamic Priority | |
CN104780471B (en) | A kind of all optical networks fringe node light packet data framing method | |
Zhiqiang et al. | Queue-theory-based service-section communication bandwidth calculation for power distribution and utilization of smart grid | |
Liaojun et al. | Fair data collection scheme in wireless sensor networks | |
CN110875883B (en) | Method and device for generating transmission access ring | |
Liu et al. | A planning method of clustering ONUs based on reliability | |
CN102377665B (en) | IPv6-based radio frequency identification (RFID) router quality of service (QoS) method | |
CN105721309A (en) | Spectrum resource optimization method and apparatus in software defined transmission network | |
LI et al. | Cloud-Edge-Device Collaborative High Concurrency Access Management for Massive IoT Devices in Distribution Grid | |
Li et al. | A genetic algorithm based configuration optimization method for AFDX | |
CN115499343B (en) | Time delay analysis method, system, equipment and storage medium based on effective competitive stream | |
Sun et al. | Real-time signal time delay analysis of WAMS based on MPLS VPN technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200306 Termination date: 20201117 |