CN104092626A - Method for guaranteeing IP converged communication system service quality - Google Patents
Method for guaranteeing IP converged communication system service quality Download PDFInfo
- Publication number
- CN104092626A CN104092626A CN201410348238.3A CN201410348238A CN104092626A CN 104092626 A CN104092626 A CN 104092626A CN 201410348238 A CN201410348238 A CN 201410348238A CN 104092626 A CN104092626 A CN 104092626A
- Authority
- CN
- China
- Prior art keywords
- message
- service
- queue
- protocol stack
- priority
- 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.)
- Pending
Links
Abstract
Provided is a method for guaranteeing IP converged communication system service quality. Due to the fact that the requirements of enterprises for communication services are more and more, the requirements for the coordination between the communication services and between the communication services and IT services are higher and higher. Single-function network equipment has problems which cannot be solved in the coordination between cost, deployment and services. The method for guaranteeing the IP converged communication system service quality comprises the step of establishing two layers of queues at the inlet of an IP protocol stack of a kernel. The first layer of queue is used for establishing an equipment queue for network equipment, the equipment queue is used for carrying out fair-share scheduling, the second layer of queue is used for establishing a plurality of service queues, and the service queues are used for carrying out priority scheduling. The method for guaranteeing the IP converged communication system service quality is applied to IP converged communication systems.
Description
Technical field:
The present invention relates to computer network communication and converged communication field, particularly a kind of method of hop communication system service quality.
Background technology:
Along with enterprise is more and more to the requirement of communication service, to between communication service, the interoperability requirement of communication service and IT business is more and more higher, and the network equipment of simple function faces a lot of insurmountable problems on cost, deployment and business cooperation, high cost, dispose difficulty and maintenance cost very high, collaborative between equipment relates to complicated interface interchange, so expedited the emergence of out converged communication market.Converged communication system adopts the IP kernel heart mostly, is convenient to the expansion of business, and therefore all business all enter system with IP packet mode.
How converged communication system taking IP as core, realize based on general-purpose operating system OS, and service processing entity exists with process form, and Business Processing is substantially all the processing of IP bag.General-purpose operating system OS generally supports process priority to set, and therefore, in user's space, can ensure to a certain extent the quality of business.But in kernel protocol stack aspect, cannot dispatch message according to service priority, all messages all enter system with same priority.And because message enters system with interrupt mode, cause the message of low priority traffice can interrupt the processing of high-priority service process, if message is very many, even cause high-priority service process to can not get scheduling completely.
Summary of the invention:
The object of this invention is to provide a kind of method of the guarantee IP converged communication system service quality that can improve IP converged communication system service quality.
Above-mentioned object realizes by following technical scheme:
A kind of method that ensures IP converged communication system service quality, this method comprises the IP stack porch of the first step at kernel, set up two layer queues, ground floor is that each network equipment is set up a device queue, equity dispatching is carried out in device queue, the second layer is set up multiple service queues, and service queue carries out priority scheduling;
Second step protocol stack is each network equipment of poll successively, obtains message, is put in corresponding device queue;
After the 3rd step poll completes, device queue message is classified, identify its type of service and priority, put into the service queue of the second layer;
The 4th step is carried out priority scheduling to two layer service queues, ensures that the message of important service is introduced into system by protocol stack processing;
The 5th step extracts message from service queue while processing, first protocol stack judges the service attribute of current application process, if this business is more important than current business queue, initiatively abdicates central processing unit cpu, do not carry out message processing, otherwise start to process message;
The 6th step protocol stack is handled after message, message is put into the socket queue of business process, according to process priority, again business process is dispatched;
The 7th step is in protocol stack and application layer process message process, and network-driven can interrupt processing, on certain network equipment of notification protocol stack, has message to come, and protocol stack restarts poll.
The method of described guarantee IP converged communication system service quality, in protocol stack porch, the queue of configuration preference level, and message is classified, ensure that the important service message prior system of entering is processed.
The method of described guarantee IP converged communication system service quality, protocol stack is the service priority of current process and the service priority of current queue relatively, only have in the time that the service priority of queue is greater than process service priority, just from queue, extract message and process.
The method of described guarantee IP converged communication system service quality, in the processing procedure of protocol stack and business process, network-driven interrupts processing at any time, makes the message of high priority can carry out immediately system.
Beneficial effect:
1. the present invention puts together the processing of kernel protocol stack and application process to carry out integrated dispatch, has solved in the general-purpose operating system, and protocol stack is always unconditionally seized application process, causes business service to can not get the problem ensureing.
2. the present invention processes the message of kernel protocol stack and application process puts together and carries out integrated dispatch, has solved in the general-purpose operating system, and protocol stack is always unconditionally seized application process, causes converged communication business service to can not get the problem of guarantee.
3. the present invention can rise the q&r of IP converged communication business greatly, has good society and economic benefit, be rated as there is novelty, the good technology of creativeness, practicality, market application foreground is boundless.
Brief description of the drawings:
Accompanying drawing 1 is the flow chart of this product.
Symbol in accompanying drawing 1 is:
S1: central processor CPU receives in network interface card and have no progeny, the first step is closed interruption.
S2: drive notification protocol stack, protocol stack starts to take out message from the buffer of equipment buffering area.
S3: put into corresponding device queue, this queue is created by protocol stack.
S4: judge whether that poll is complete, poll is complete has referred to each device node poll one time, and message has all taken out or the quota of equipment reaches.The quota of equipment refers to the maximum message segment number that once can obtain from an equipment, and the object that quota is set is the fairness that ensures many equipment.
S5: reopen interruption.
S6: protocol stack starts polling device queue successively.
S7: analytic message, the rule of coupling business process configuration, classifies to message.
S8: according to classification results, message is put into respective queue.
S9: whether judgment device queue also has message, if also had, poll always, until message all takes out.
S10: start service queue to carry out strict priority scheduling.Each is all first from the queue of limit priority, to get message.
S11: judge the current queue of processing, if its priority is greater than the priority of current process, continue message processing, otherwise the processing of exit protocol stack, active schedule consumer process.Current process refers to the consumer process being interrupted by kernel, if current process priority ratio current queue priority is high, indicates that prior service needed is in the processing of user's state, and kernel should initiatively be abdicated central processing unit cpu.Otherwise the message that kernel is worked as pre-treatment is the business that priority is higher, kernel should continue to process.
S11.1: the processing of protocol finishes stack, dispatched users process.
S12: protocol stack is processed message.
S13: message is put into the queue of business process socket by protocol stack.
S14: protocol stack is finished dealing with, triggers kernel dispatching device, dispatching services process.
Embodiment:
Embodiment 1:
A kind of method that ensures IP converged communication system service quality, this method comprises the IP stack porch of the first step at kernel, set up two layer queues, ground floor is that each network equipment is set up a device queue, equity dispatching is carried out in device queue, the second layer is set up multiple service queues, and service queue carries out priority scheduling;
Second step protocol stack is each network equipment of poll successively, obtains message, is put in corresponding device queue;
After the 3rd step poll completes, device queue message is classified, identify its type of service and priority, put into the service queue of the second layer;
The 4th step is carried out priority scheduling to two layer service queues, ensures that the message of important service is introduced into system by protocol stack processing;
The 5th step extracts message from service queue while processing, first protocol stack judges the service attribute of current application process, if this business is more important than current business queue, initiatively abdicates central processing unit cpu, do not carry out message processing, otherwise start to process message;
The 6th step protocol stack is handled after message, message is put into the socket queue of business process, according to process priority, again business process is dispatched;
The 7th step is in protocol stack and application layer process message process, and network-driven can interrupt processing, on certain network equipment of notification protocol stack, has message to come, and protocol stack restarts poll.
Embodiment 2:
The method of the guarantee IP converged communication system service quality described in embodiment 1, in protocol stack porch, the queue of configuration preference level, and message is classified, ensure that the important service message prior system of entering is processed.
Embodiment 3
The method of the guarantee IP converged communication system service quality described in embodiment 1, protocol stack is the service priority of current process and the service priority of current queue relatively, only have in the time that the service priority of queue is greater than process service priority, just from queue, extract message and process.
Embodiment 4
The method of the guarantee IP converged communication system service quality described in embodiment 1, in the processing procedure of protocol stack and business process, network-driven interrupts processing at any time, makes the message of high priority can carry out immediately system.
Embodiment 5
The method of the guarantee IP converged communication system service quality described in above-mentioned example, 1) in the IP stack porch of kernel, set up two layer queues, ground floor is that each network equipment is set up a device queue, equity dispatching is carried out in device queue, the second layer is set up multiple service queues, and service queue carries out strict priority scheduling; 2) protocol stack each network equipment of poll successively, obtains message, is put in corresponding device queue; 3) after poll completes, device queue message is classified, identify its type of service and priority, put into the service queue of the second layer; 4) two layer service queues are carried out to priority scheduling, ensure that the message prior of important service enters system by protocol stack processing; 5) while extracting message process from service queue, first protocol stack judges the service attribute of current application process, if this business is more important than current business queue, initiatively abdicates central processing unit cpu, do not carry out message processing, otherwise start to process message; 6) protocol stack is handled after message, message is put into the socket queue of business process, according to process priority, again business process is dispatched; 7) in protocol stack and application layer process message process, network-driven can interrupt processing, on certain network equipment of notification protocol stack, has message to come, and protocol stack restarts poll.
Step 2) normally in the situation that closing network interface card hardware interrupts, carry out, avoid livelock livelock, and be that each equipment is set weight, ensure that each network equipment obtains fair dealing.
Step 3) in the situation that opening network interface card hardware interrupts, to carry out, object is in order to ensure the 7th step, processes in message process at protocol stack, network-driven can interrupt it and process, and makes high priority message can enter rapidly protocol stack.
Step 3) method of message classification, general converged communication business process creates socket and collects message, kernel can expose an interface to user's state, business process creates after socket, filec descriptor fd is informed to kernel protocol stack, protocol stack extracts five-tuple (transmission control protocol tcp) or tlv triple (User Datagram Protoco (UDP) udp) information of socket, be organized into password table of comparisons hash or similar structures, in the time of message classification, inquire about this table and can obtain the service attribute of this message.Business process can certainly adopt additive method, as long as can inform that its message match pattern of kernel protocol stack is just passable.
Step 5) when extracting message process from service queue, what protocol stack used is strict priority scheduling, all first start polling message from highest-priority queue at every turn, ensured, after high priority message arrival system, can obtain protocol stack priority treatment.
Claims (4)
1. one kind ensures the method for IP converged communication system service quality, it is characterized in that: this method comprises the IP stack porch of the first step at kernel, set up two layer queues, ground floor is that each network equipment is set up a device queue, equity dispatching is carried out in device queue, the second layer is set up multiple service queues, and service queue carries out priority scheduling;
Second step protocol stack is each network equipment of poll successively, obtains message, is put in corresponding device queue;
After the 3rd step poll completes, device queue message is classified, identify its type of service and priority, put into the service queue of the second layer;
The 4th step is carried out priority scheduling to two layer service queues, ensures that the message of important service is introduced into system by protocol stack processing;
The 5th step extracts message from service queue while processing, first protocol stack judges the service attribute of current application process, if this business is more important than current business queue, initiatively abdicates central processing unit cpu, do not carry out message processing, otherwise start to process message;
The 6th step protocol stack is handled after message, message is put into the socket queue of business process, according to process priority, again business process is dispatched;
The 7th step is in protocol stack and application layer process message process, and network-driven can interrupt processing, on certain network equipment of notification protocol stack, has message to come, and protocol stack restarts poll.
2. the method for guarantee IP converged communication system service quality according to claim 1, is characterized in that: in protocol stack porch, and the queue of configuration preference level, and message is classified, ensure that the important service message prior system of entering is processed.
3. the method for guarantee IP converged communication system service quality according to claim 1, it is characterized in that: protocol stack is the service priority of current process and the service priority of current queue relatively, only have in the time that the service priority of queue is greater than process service priority, just from queue, extract message and process.
4. the method for guarantee IP converged communication system service quality according to claim 1, is characterized in that: in the processing procedure of protocol stack and business process, network-driven interrupts processing at any time, makes the message of high priority can carry out immediately system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410348238.3A CN104092626A (en) | 2014-07-22 | 2014-07-22 | Method for guaranteeing IP converged communication system service quality |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410348238.3A CN104092626A (en) | 2014-07-22 | 2014-07-22 | Method for guaranteeing IP converged communication system service quality |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104092626A true CN104092626A (en) | 2014-10-08 |
Family
ID=51640309
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410348238.3A Pending CN104092626A (en) | 2014-07-22 | 2014-07-22 | Method for guaranteeing IP converged communication system service quality |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104092626A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6779181B1 (en) * | 1999-07-10 | 2004-08-17 | Samsung Electronics Co., Ltd. | Micro-scheduling method and operating system kernel |
US20060268699A1 (en) * | 2005-05-27 | 2006-11-30 | Nokia Corporation | High speed serial bus architecture employing network layer quality of service (QoS) management |
US20080279166A1 (en) * | 2003-08-07 | 2008-11-13 | Carty Clark A | Wireless-aware network switch |
CN101894047A (en) * | 2010-06-24 | 2010-11-24 | 北京航空航天大学 | Kernel virtual machine scheduling policy-based implementation method |
CN102082765A (en) * | 2009-11-26 | 2011-06-01 | 上海大学 | User and service based QoS (quality of service) system in Linux environment |
US20120036513A1 (en) * | 2008-10-03 | 2012-02-09 | Khong Neng Choong | Method to assign traffic priority or bandwidth for application at the end users-device |
CN102413051A (en) * | 2011-11-30 | 2012-04-11 | 深圳市共进电子股份有限公司 | Method and device for scheduling quality of service (QOS) |
CN102916901A (en) * | 2012-10-12 | 2013-02-06 | 烽火通信科技股份有限公司 | Linux software based uplink QoS scheduling method and device |
-
2014
- 2014-07-22 CN CN201410348238.3A patent/CN104092626A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6779181B1 (en) * | 1999-07-10 | 2004-08-17 | Samsung Electronics Co., Ltd. | Micro-scheduling method and operating system kernel |
US20080279166A1 (en) * | 2003-08-07 | 2008-11-13 | Carty Clark A | Wireless-aware network switch |
US20060268699A1 (en) * | 2005-05-27 | 2006-11-30 | Nokia Corporation | High speed serial bus architecture employing network layer quality of service (QoS) management |
US20120036513A1 (en) * | 2008-10-03 | 2012-02-09 | Khong Neng Choong | Method to assign traffic priority or bandwidth for application at the end users-device |
CN102082765A (en) * | 2009-11-26 | 2011-06-01 | 上海大学 | User and service based QoS (quality of service) system in Linux environment |
CN101894047A (en) * | 2010-06-24 | 2010-11-24 | 北京航空航天大学 | Kernel virtual machine scheduling policy-based implementation method |
CN102413051A (en) * | 2011-11-30 | 2012-04-11 | 深圳市共进电子股份有限公司 | Method and device for scheduling quality of service (QOS) |
CN102916901A (en) * | 2012-10-12 | 2013-02-06 | 烽火通信科技股份有限公司 | Linux software based uplink QoS scheduling method and device |
Non-Patent Citations (1)
Title |
---|
王永新: "支持QoS的实时Linux系统QR-Linux", 《中国优秀博硕士学位论文全文数据库 (硕士) 信息科技辑》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
MX2018015779A (en) | Method for managing traffic in a network based upon ethernet switches, vehicle, communication interface, and corresponding computer program product. | |
EP3048764B1 (en) | Method and system for implementing 802.1p-supporting openvswitch switch | |
CN101557340B (en) | Method for realizing multilevel queue scheduling in data network and device | |
CN101996099A (en) | Method and system for processing information | |
WO2020083301A1 (en) | Network slice method, computer device and storage medium | |
CN101631077A (en) | Message processing method and device | |
CN103139100A (en) | Business handling method and business handling system | |
WO2019072072A1 (en) | Congestion flow identification method and network device | |
WO2016131299A1 (en) | Packet reception method and apparatus for processor network interface inside device | |
WO2015131744A1 (en) | Network device alarm reporting method and network device | |
CN102801737A (en) | Asynchronous network communication method and device | |
CN108605292A (en) | Electric power knows formula network communication | |
CN105577563B (en) | flow management method | |
US20170353409A1 (en) | Extensible chat rooms in a hosted chat environment | |
CN104144130B (en) | Method, system and the access switch of virtual machine system interconnection | |
CN104160735A (en) | Packet processing method, forwarder, packet processing device and packet processing system | |
CN104486188B (en) | A kind of method to set up and device for receiving and dispatching separate threads | |
CN110753008A (en) | Network data processing device and method based on DPAA | |
CN104092626A (en) | Method for guaranteeing IP converged communication system service quality | |
CN104123174B (en) | Dynamic realtime CPU scheduling system under a kind of virtualized environment | |
CN105052088A (en) | Network statistical information providing system, network statistical information providing method, and program | |
CN107800548A (en) | A kind of enterprise network flow total management system | |
CN103873386B (en) | Method for managing network transmission sequence | |
CN102377665B (en) | IPv6-based radio frequency identification (RFID) router quality of service (QoS) method | |
WO2018010420A1 (en) | Wireless network access method, device, terminal, system, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20141008 |