CN107426025A - A kind of dispatching method for strengthening webmaster north orientation message response degree - Google Patents
A kind of dispatching method for strengthening webmaster north orientation message response degree Download PDFInfo
- Publication number
- CN107426025A CN107426025A CN201710627117.6A CN201710627117A CN107426025A CN 107426025 A CN107426025 A CN 107426025A CN 201710627117 A CN201710627117 A CN 201710627117A CN 107426025 A CN107426025 A CN 107426025A
- Authority
- CN
- China
- Prior art keywords
- message
- response
- queue
- north orientation
- time
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
- H04L41/064—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis involving time analysis
-
- 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)
- Computer And Data Communications (AREA)
Abstract
A kind of dispatching method for strengthening webmaster north orientation message response degree, webmaster north orientation message response degree is scheduled using north orientation disposed of in its entirety message sender, original unique message transmit queue is decomposed into alarm information queue in webmaster north orientation message sends processing procedure first, response message queue and final three queues of message transmit queue for being sent to Socket buffering areas, response message queue then is carried out into message response according to user's preconfigured information to calculate than priority, finally it is ordered as orderly response message queue, message transmit queue head is inserted into orderly response message queue again and carries out message transmission and transmission, to ensure the real-time of response message;Effectively solve in the case of alarm windstorm, the problem of a large amount of Real-time Alarms fill message transmit queues and cause the high response message of remaining priority not sent in time.
Description
Technical field
The present invention relates to communication scheduling technical field, more particularly to a kind of dispatching party for strengthening webmaster north orientation message response degree
Method.
Background technology
Webmaster north orientation message based on Socket sends in processing procedure and normally only uses single message transmit queue, will
All message to be sent, including Real-time Alarm and instruction response message be stored in, and according to acquiescence first in first out side
Formula carries out the transmission of message.Alarm port is not only merely responsible for the collection and transmission of Real-time Alarm information, while also bears and connect with NMS
The holding of side heartbeat connection is received, NMS receiving sides fail to receive the heartbeat acknowledgement information of north orientation transmission in time within a certain period of time, then
Assert and be in chain rupture state with north orientation and disconnect the connection with north orientation server, once there is alarm windstorm, a large amount of warning information
The queue buffer is filled into, because generally adding message transmit queue by the way of prerequisite variable, now north orientation system
Constantly continue report and alarm information to alarm port, and could be sent out after heartbeat acknowledgement information is placed to alarm windstorm queue
Send, and more than north orientation system and NMS sides heartbeat retention time, cause NMS sides to occur with the chain rupture of webmaster north orientation indirectly, NMS is received
Side, which fails to receive in time, causes overstocked Real-time Alarm message to suppress response message to last and then can not send in time, in height
Trigger a series of problems under concurrent scene.
The content of the invention
Technical problem solved by the invention is to provide a kind of dispatching method for strengthening webmaster north orientation message response degree, with
Solves the shortcomings that in above-mentioned background technology.
Technical problem solved by the invention is realized using following technical scheme:
A kind of dispatching method for strengthening webmaster north orientation message response degree, using north orientation disposed of in its entirety message sender to webmaster north orientation
Message response degree is scheduled, by original unique message transmit queue point first in webmaster north orientation message sends processing procedure
Solve as alarm information queue, response message queue and final three queues of message transmit queue for being sent to Socket buffering areas, and
Response message queue is carried out into message response according to user's preconfigured information afterwards to calculate than priority, is finally ordered as responding in order
Message queue, then message transmit queue head is inserted into orderly response message queue and carries out message transmission and transmission, to ensure response
The real-time of message.
North orientation disposed of in its entirety message sender include pretreatment module, message separation module, warning processing module, at response
Reason module and message transmission module, message enter north orientation disposed of in its entirety message sender, message separation mould by message separation module
Block will be all receiving or be disposed that to need the message for responding to NMS sides to carry out logically separate, and according to not
Same type makes a distinction, and is respectively stored in alarm information queue and response message queue;Warning processing module presses warning information
Received according to the mode of prerequisite variable into alarm information queue, and add message and send area;Pretreatment module is real according to user
Shi Yaoqiu, different type response feedback message is configured into different priorities information, so that response processing module is effectively calculated,
And be persisted in north orientation network management system, loaded after the startup of north orientation network management system;Response processing module is according to user configuration
Different response message types and respective processing time carry out response ratio calculating with the stand-by period, complete to arrange according to final response ratio
Sequence adds response message queue, no matter now whether there is alarm information queue, all inserts message in an optimal manner and sends team
Row head performs, to ensure the real-time of response message;Ordered state according to final message transmit queue writes every message
It Socket buffering areas, now can no longer be changed if fixed message transmit queue, be directly entered Socket queues stack buffering
Area, send to opposite end.
In the present invention, message separation module is carried out logically separate to message, and the separation algorithm time complexity is O
(1).
In the present invention, it is O that warning information Algorithms T-cbmplexity is transmitted in warning processing module processing(n).
In the present invention, the response message priority that response processing module is pre-configured with according to user in pretreatment module
Information carries out priority algorithm sequence, and priority algorithm sort algorithm formula is:R=(W*P+L)/L, wherein, R is response ratio, W for etc.
Treat the time that=present system time millisecond number-receives the message time millisecond number, P is that the type message is fixed in pretreatment module
The priority of justice, L is message-length bit numbers;Response processing module is finally ranked up and is stored as according to R size order
Orderly response message queue, the sorting algorithems time complexity is O (nlogn);Response processing module will be orderly according to response ratio
Response message be inserted into message transmit queue head, and then ensure response message send in time, regardless of whether there is Real-time Alarm
Message is present.
Beneficial effect:North orientation message queue is split as three kinds of message queues by the present invention, then by response message queue root
Message response is carried out according to user's preconfigured information to calculate than priority, is finally ordered as orderly response message queue, then will be orderly
Response message queue insertion message transmit queue head carries out message and sends and transmit, with ensure the promptness of response message with effectively
Property, effectively solve in the case of alarm windstorm, a large amount of Real-time Alarms fill message transmit queue and cause remaining priority high
The problem of response message can not be sent in time.
Brief description of the drawings
Fig. 1 is the north orientation message response degree scheduling relation schematic diagram in presently preferred embodiments of the present invention.
Embodiment
In order that the technical means, the inventive features, the objects and the advantages of the present invention are easy to understand, tie below
Conjunction is specifically illustrating, and the present invention is expanded on further.
A kind of dispatching method for strengthening webmaster north orientation message response degree, using north orientation disposed of in its entirety message sender to webmaster
North orientation message response degree is scheduled, and original unique message is sent into team in webmaster north orientation message sends processing procedure first
Row are decomposed into alarm information queue, response message queue and final three teams of message transmit queue for being sent to Socket buffering areas
Row, response message queue is then subjected to message response according to user's preconfigured information and calculated than priority, has finally been ordered as
Sequence response message queue, then transmission and transmission by orderly response message queue insertion message transmit queue head progress message, with
The promptness and validity of response message are ensured, is effectively solved in the case of alarm windstorm, a large amount of Real-time Alarm filling message hairs
The problem of sending queue and causing the high response message of remaining priority not sent in time;Message transmit queue is finally to disappear
Breath is pushed to Socket transmission buffering area when sending, alarm information queue is stored in the Real-time Alarm information that webmaster side joint receives
Memory block, response message queue are stored in the storage area to be sent for needing that response ratio is calculated according to priority ranking;
As shown in figure 1, north orientation disposed of in its entirety message sender with lower module by being formed:
1)Pretreatment module, according to user's requirement of real time, different type response feedback message is configured into different priorities information, with
Effectively calculated, and be persisted in north orientation network management system for response processing module, loaded after the startup of north orientation network management system;
2)Message separation module, all the receiving or message for needing to respond to NMS sides that has been disposed is patrolled
Upper separation is collected, and is made a distinction according to different type, is respectively stored in alarm information queue and response message queue, the separation is calculated
Method time complexity is O(1);
3)Warning processing module, warning information is entered into alarm information queue in the way of prerequisite variable, and add message
Send area;The processing pass-algorithm time complexity is O(n);
4)Response processing module, entered according to the different response message types of user configuration and respective processing time with the stand-by period
Row response ratio calculates, and completing to sort according to final response ratio adds response message queue, no matter now whether there is alarm information
Queue, message transmit queue head is all inserted in an optimal manner and is performed, to ensure the real-time of response message;According to user pre-
The response message precedence information being pre-configured with processing module carries out priority algorithm sequence, and the optional algorithm of priority algorithm sequence is public
Formula is:R=(W*P+L)/L, wherein, R is response ratio, and W is the stand-by period=present system time millisecond number-when receiving the message
Between millisecond number, P is priority of the type message defined in pretreatment module, and L is message-length bit numbers;Response is handled
Module is finally ranked up according to R size order and is stored as orderly response message queue, the sorting algorithems time complexity
For O (nlogn);
Response processing module will be inserted into message transmit queue head according to the orderly response message of response ratio, and then ensures response
Message is sent in time, regardless of whether with the presence of Real-time Alarm message;
5. message transmission module, every message is write into Socket buffering areas according to the ordered state of final message transmit queue,
It now can no longer be changed if fixed message transmit queue, be directly entered Socket queues stack buffer, send to opposite end.
The general principle and principal character and advantages of the present invention of the present invention has been shown and described above.The technology of the industry
Personnel are it should be appreciated that the present invention is not limited to the above embodiments, and the simply explanation described in above-described embodiment and specification is originally
The principle of invention, without departing from the spirit and scope of the present invention, various changes and modifications of the present invention are possible, these changes
Change and improvement all fall within the protetion scope of the claimed invention.The claimed scope of the invention by appended claims and its
Equivalent thereof.
Claims (5)
1. a kind of dispatching method for strengthening webmaster north orientation message response degree, it is characterised in that sent out using north orientation disposed of in its entirety message
Device is sent to be scheduled webmaster north orientation message response degree, will be original unique first in webmaster north orientation message sends processing procedure
Message transmit queue is decomposed into alarm information queue, response message queue and the final message for being sent to Socket buffering areas and sends team
Three queues of row, response message queue is then subjected to message response according to user's preconfigured information and calculated than priority, finally
Orderly response message queue is ordered as, then message transmit queue head is inserted into orderly response message queue and carries out message transmission and biography
Pass, to ensure the real-time of response message.
A kind of 2. dispatching method for strengthening webmaster north orientation message response degree according to claim 1, it is characterised in that north orientation
Disposed of in its entirety message sender includes pretreatment module, message separation module, warning processing module, response processing module and message
Sending module, message enter north orientation disposed of in its entirety message sender by message separation module, and message separation module is by all receptions
To or be disposed need the message for responding to NMS sides carry out it is logically separate, and according to different type carry out area
Point, it is respectively stored in alarm information queue and response message queue;Warning processing module is by warning information according to prerequisite variable
Mode receive into alarm information queue, and add message send area;Pretreatment module is according to user's requirement of real time, by difference
Type response feedback message configuration different priorities information, so that response processing module is effectively calculated, and persistence is to north
Into network management system, loaded after the startup of north orientation network management system;Response processing module is according to the different response messages of user configuration
Type and respective processing time carry out response ratio calculating with the stand-by period, complete to disappear according to the sequence addition response of final response ratio
Queue is ceased, no matter now whether there is alarm information queue, message transmit queue head is all inserted in an optimal manner and performs, to protect
Hinder the real-time of response message;Every message is write Socket queue stacks and delayed by the ordered state according to final message transmit queue
Area is rushed, is sent to opposite end.
A kind of 3. dispatching method for strengthening webmaster north orientation message response degree according to claim 1, it is characterised in that message
Separation module is logically separate to message progress, and the separation algorithm time complexity is O(1).
A kind of 4. dispatching method for strengthening webmaster north orientation message response degree according to claim 1, it is characterised in that alarm
It is O that warning information Algorithms T-cbmplexity is transmitted in processing module processing(n).
5. a kind of dispatching method for strengthening webmaster north orientation message response degree according to claim 1, it is characterised in that ring
The response message precedence information for answering processing module to be pre-configured with according to user in pretreatment module carries out priority algorithm sequence,
Priority algorithm sort algorithm formula is:R=(W*P+L)/L, wherein, R is response ratio, and W is stand-by period=present system time milli
Number of seconds-receive the message time millisecond number, P is priority of the type message defined in pretreatment module, and L grows for the message
Spend bit numbers;Response processing module is finally ranked up according to R size order and is stored as orderly response message queue, the row
Sequence algorithm time complexity is O (nlogn);Response processing module will be inserted into message hair according to the orderly response message of response ratio
Send in queue heads, and then ensure that response message is sent in time, regardless of whether with the presence of Real-time Alarm message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710627117.6A CN107426025A (en) | 2017-07-28 | 2017-07-28 | A kind of dispatching method for strengthening webmaster north orientation message response degree |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710627117.6A CN107426025A (en) | 2017-07-28 | 2017-07-28 | A kind of dispatching method for strengthening webmaster north orientation message response degree |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107426025A true CN107426025A (en) | 2017-12-01 |
Family
ID=60431455
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710627117.6A Withdrawn CN107426025A (en) | 2017-07-28 | 2017-07-28 | A kind of dispatching method for strengthening webmaster north orientation message response degree |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107426025A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546216A (en) * | 2010-12-30 | 2012-07-04 | 中国移动通信集团山东有限公司 | Method for processing alarm messages in network management system and network management system |
CN104468401A (en) * | 2014-11-20 | 2015-03-25 | 华为技术有限公司 | Message processing method and device |
CN104753769A (en) * | 2015-03-24 | 2015-07-01 | 新余兴邦信息产业有限公司 | Method and device for issuing messages by message queue |
CN106533729A (en) * | 2015-09-14 | 2017-03-22 | 大唐移动通信设备有限公司 | Northbound interface management method and system |
-
2017
- 2017-07-28 CN CN201710627117.6A patent/CN107426025A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546216A (en) * | 2010-12-30 | 2012-07-04 | 中国移动通信集团山东有限公司 | Method for processing alarm messages in network management system and network management system |
CN104468401A (en) * | 2014-11-20 | 2015-03-25 | 华为技术有限公司 | Message processing method and device |
CN104753769A (en) * | 2015-03-24 | 2015-07-01 | 新余兴邦信息产业有限公司 | Method and device for issuing messages by message queue |
CN106533729A (en) * | 2015-09-14 | 2017-03-22 | 大唐移动通信设备有限公司 | Northbound interface management method and system |
Non-Patent Citations (1)
Title |
---|
杨宝星等: "《一种面向BSP系统的多等待队列作业调度算法》", 《计算机与数字工程》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107070613B (en) | Reliable data transmission method in distributed network environment | |
CN102045253B (en) | Method and device for sending video surveillance service messages in link aggregation network | |
CN103634224B (en) | The method and system of data transmission in network | |
CN103973560B (en) | A kind of method and apparatus that link failure processing is stacked in IRF systems | |
CN110418376A (en) | Data transmission method and device | |
CN104618236A (en) | Parallel data transmission system and method of acceleration network | |
EP2051459A1 (en) | A backpressure method, system and node of the multistage switch network and the intermediate stage switch node | |
CN107980213A (en) | Intranet accelerator | |
US10880778B2 (en) | Message cache management in a mesh network | |
CN103200116B (en) | The reliable UDP transmission agreement that not face connects and data transmission method | |
CN105635000B (en) | A kind of message storage forwarding method and circuit and equipment | |
CN103944880B (en) | A kind of method of ZigBee data transfers | |
CN103607360B (en) | Message processing method, line card and switching equipment | |
CN111555984B (en) | Method and device for data transmission, smart home equipment and storage medium | |
CN105763375B (en) | A kind of data packet sending method, method of reseptance and microwave station | |
CN103840962B (en) | Server alerts output intent and system | |
CN203340113U (en) | Source server system for through intranet-extranet long-distance data transmission and target server system | |
CN107426025A (en) | A kind of dispatching method for strengthening webmaster north orientation message response degree | |
CN101232508A (en) | Equipment and method for speeding up poly spanning tree protocol network topological convergence | |
CN103384270B (en) | Method and system for data backup of internal and external network penetrating remote data transmission | |
CN107995315A (en) | Synchronous method, device, storage medium and the computer equipment of business board-to-board information | |
CN102694727A (en) | Method and device for realizing transmission acceleration of network data packets | |
CN101783763B (en) | Congestion prevention processing method and system | |
CN105591975A (en) | Message processing method and apparatus | |
CN104270280B (en) | LSP ping and tracert system and method is realized on the router |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20171201 |
|
WW01 | Invention patent application withdrawn after publication |