CN100589417C - System and method for processing a large number reporting message on topology interface in telecommunication network management system - Google Patents

System and method for processing a large number reporting message on topology interface in telecommunication network management system Download PDF

Info

Publication number
CN100589417C
CN100589417C CN200710188082A CN200710188082A CN100589417C CN 100589417 C CN100589417 C CN 100589417C CN 200710188082 A CN200710188082 A CN 200710188082A CN 200710188082 A CN200710188082 A CN 200710188082A CN 100589417 C CN100589417 C CN 100589417C
Authority
CN
China
Prior art keywords
message
performance element
module
sign
described message
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
Application number
CN200710188082A
Other languages
Chinese (zh)
Other versions
CN101170448A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200710188082A priority Critical patent/CN100589417C/en
Publication of CN101170448A publication Critical patent/CN101170448A/en
Application granted granted Critical
Publication of CN100589417C publication Critical patent/CN100589417C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A system for processing a large amount of reporting information of telecommunication network management topology interface includes: an information source module, a message queue module, an information processing thread module and an information processing module. The method of using the system to process the reporting information includes the following steps: the information source module generates the reporting information, seals the information to the information implementation unit which has the level mark and sends to the message queue module; the message queue module adds the informationinto the corresponding queue or discards the information according to the level mark of the information implementation unit; when the information processing thread module receives the notice information of completion of the processing which is sent by the information processing module or arrives the monitoring period, the system monitors whether the message queue module has the queue which needsto be processed, if yes, the treatment is carried out; the information processing module receives the information implementation unit and arranges thereof into the user interface thread to carry out the corresponding treatment. The invention is the method which is more simple and practical, as well as has no need of consideration of complicated thread lock mechanism, thus improving the processingefficiency of the client.

Description

Handle the system and method for large number reporting message on topology interface in telecommunication network management system
Technical field
The present invention relates to the communications field, relate in particular to a kind of system and method for handling large number reporting message on topology interface in telecommunication network management system.
Background technology
In telecom network management system,, the performance of interface processing just there has been higher requirement along with the network element of need management is more and more concentrated, number is more and more.For a network management system, the big data quantity processing that embodies network topology structure and alarm all is to take very much resource.For topological diagram, show that in a figure up to ten thousand network elements are possible, in this situation, if reporting message comes very frequently, the interface present or handling property will be subjected to great influence.
For the processing of this reporting message, dual mode is arranged generally: a kind of is after receiving reporting message, disposes the message threads management device that together goes on foot on the foreground and manages, and reporting message is put in the thread handles.When carrying out message queue, lock is write in application; During interface operation, need the application read lock.But the problem that adopts this mode to exist is a reporting message handles the processing that relates to the interface, relating to afterwards all needs in the thread of interface processing to add synchronously, otherwise the interface can occur unusually, and for the user-interface thread of system triggers, for example refresh, then can't add sync id, make mistakes easily in the interface; Another mode is exactly that the reporting message that will receive all is put in the user-interface thread and handles, it is unusual that such processing mode can avoid the interface to occur, but the consequence of bringing is if the user-interface thread holding time is long, and long-time ash screen phenomenon can appear in the interface.When these two methods also have a shortcoming to withdraw from the interface, foreground exactly, might also have information reporting to need to handle, at this moment bad control and treatment logic might withdraw from the foreground, but thread is also in operation.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of system and method for handling large number reporting message on topology interface in telecommunication network management system, to avoid thread lock mechanism problem loaded down with trivial details in the prior art.
The technical solution used in the present invention is:
The invention provides a kind of system that handles telecommunicatioin network management topology interface large number reporting message, comprising: message source module, message queue module, Message Processing thread module and message processing module;
Described message source module is packaged into the message performance element that has the rank sign with it after being used to produce reporting message, and described message performance element is sent to described message queue module;
Described message queue module is used for the rank sign according to described message performance element, described message performance element is put in the corresponding queues or with it abandon;
Message Processing thread module is used for creating and the initiation message processing threads;
Message processing module is used for putting it in the user-interface thread and handling accordingly when receiving described message performance element.
Further, described Message Processing thread is used for receiving the finish dealing with notification message or when having arrived listening period of described message processing module to its transmission, whether begin to monitor has formation to need to handle in the described message queue module, if any, then it is handled.
Further, described rank sign comprises that preceding station identification, back-end data sign, highest level refresh sign or refresh sign automatically.
Further, described message performance element is packed information reporting unit, when withdrawing from the foreground, distinguishes oneself whether should continue operation or be scheduled or finish life cycle.
The present invention also provides a kind of method of using the described system handles telecommunicatioin network management of claim 1 topology interface large number reporting message, may further comprise the steps:
A, message source module produce reporting message, and send to the message queue module after described reporting message is packaged into the message performance element that has the rank sign;
B, described message queue module put it in the corresponding queues or with it according to the rank sign of described message performance element and abandon;
C, Message Processing thread receive the finish dealing with notification message or when having arrived listening period, whether it begin monitor in described message queue module have formation need handle of described message processing module to its transmission, if any, then it is handled;
If the described message processing module of d receives described message performance element, then put it in the user-interface thread and handle accordingly.
Further, described Message Processing thread is by Message Processing thread module creation and startup, and described Message Processing thread is monitored described message queue module according to described listening period.
Further, among the step a, described rank sign comprises that preceding station identification, back-end data sign, highest level refresh sign or refresh sign automatically.
Further, step b is specially: described message queue module judges whether comprised the message performance element that refreshes sign in the rank sign corresponding queues with described message performance element or whether the message performance element number in this formation equals pre-set threshold, if, then described message performance element is abandoned, and the rank sign that will equal all the message performance elements in the formation of described threshold value all is changed to and refreshes sign automatically; Otherwise, described message performance element is put in the described corresponding queues
Further, among the step c, described Message Processing thread is to the processing of the message performance element in the described formation, specifically may further comprise the steps: described Message Processing thread refreshes sign as highest level as described in having in the message performance element in the formation as described in judging, then described message performance element is sent to described message processing module; If the described sign that refreshes is automatically arranged, the default wait threshold value of having judged whether surpassing total time of dormancy behind then described Message Processing thread dormancy one Preset Time is if send to described message processing module with described message performance element; If described foreground sign or back-end data sign are arranged, then described Message Processing thread takes out described message performance element and sends to described message processing module from message queue.
Further, in the steps d, described message processing module is handled the message performance element that receives, specifically may further comprise the steps: refresh sign if described message performance element contains, then described message processing module is put into user-interface thread with refresh operation and is carried out, after complete, send the notification message of finishing dealing with to described Message Processing thread; Station identification or back-end data sign before if described message performance element contains, then described message processing module is put into described message performance element in the described user-interface thread and handles accordingly.
Compared with prior art, the present invention has improved the treatment effeciency of client for a kind of simple more, practical and do not need to consider the method for loaded down with trivial details thread lock mechanism problem.
Description of drawings
Fig. 1 is the system frame structure figure that handles large number reporting message on topology interface in telecommunication network management system in the embodiment of the invention;
Fig. 2 is a method flow diagram of handling large number reporting message on topology interface in telecommunication network management system in the embodiment of the invention;
Fig. 3 is the flow chart of Message Processing thread process message performance element in the embodiment of the invention.
Embodiment
Below in conjunction with drawings and Examples technical scheme of the present invention is described in detail.
The at first classification of some message performance elements that explanation is relevant with present embodiment.Whether the message performance element is packed reporting message, is the basic element in the event handling formation, and when withdrawing from the foreground, it can carry out the oneself and distinguishes, distinguish oneself should continue to move or be scheduled or finish its life cycle.
In the present embodiment, the rank that comprises in message performance element sign is divided into: refresh sign, preceding station identification and back-end data sign, wherein refresh sign and be divided into highest level again and refresh sign and refresh sign automatically.
Highest level refreshes sign: the message performance element that contains this sign is highest-ranking in the refresh message performance element of foreground.After the foreground produces this message performance element, trigger immediately, obtain data again from the backstage and present to the foreground;
Automatically refresh sign: the message performance element that contains this sign is that rank is minimum in the refresh message of foreground, and it is not carried out immediately for the refresh operation that the reporting message accumulation produces, certain delay mechanism is arranged, when avoiding the data storm, system does not stop to carry out and refreshes, and increases the weight of the burden on foreground and backstage;
Before station identification: the message performance element that contains this sign only upgrades some message that needs are played up on the foreground, for example only upgrades the state information on foreground or warning information etc.;
The back-end data sign: the message performance element that contains this sign can increase, delete, change operation to topological data.
As shown in Figure 1, the system of processing large number reporting message on topology interface in telecommunication network management system comprises in the present embodiment: message source module, message queue module, Message Processing thread module and message processing module.
After the message source module is used to produce various reporting messages, respectively it is packaged into the message performance element that has above-mentioned rank sign and sends to the message queue module; Whether wherein, the message performance element is packed reporting message unit, is the basic element in the event handling formation, and when withdrawing from the foreground, it can carry out the oneself and distinguishes, distinguish oneself should continue to move or be scheduled or finish its life cycle;
The message queue module is used for the rank sign according to the message performance element that receives, and this message performance element is put in the corresponding queues or with it abandon;
Message Processing thread module is used for creating and the initiation message processing threads; The Message Processing thread is used for whether having formation to need to handle receiving the notification message or when having arrived listening period of finishing dealing with of message processing module to its transmission in the beginning monitoring information formation module, if any, then it is handled;
Message processing module is used for putting it in the user-interface thread and handling accordingly when receiving the message performance element.
In the present embodiment, handle the method for large number reporting message on topology interface in telecommunication network management system, as shown in Figure 2, may further comprise the steps:
Step 1: Message Processing thread module creation and initiation message processing threads, the Message Processing thread begins to initiate poll (this step is not limited to carry out, and it also can be carried out in any step before following step 2, three) every a listening period to the message queue module in step 1;
Step 2: the message source module is packaged into these reporting messages respectively the message performance element and sends to the message queue module after producing reporting message, comprises the rank sign of this reporting message in the message performance element;
Step 3: the message queue module is judged the rank sign type of the message performance element that receives, if for refreshing sign (comprising that highest level refreshes sign or refreshes sign automatically), judge that then whether identifying in the corresponding formation existing one with this rank comprises the message performance element that refreshes sign, if then this message performance element is abandoned; Otherwise, this message performance element is put in the above-mentioned formation goes.Station identification or identify for back-end data before if the rank of the message performance element that receives is designated, then whether judgement equals predefined Message Processing threshold values with the number that this rank identifies the message performance element in the corresponding formation, if, then this message performance element is abandoned, and the rank of the message performance element in this formation sign all is changed to refreshes rank automatically; Otherwise, this message performance element is put in this formation;
Wherein, as long as have reporting message, the execution in step that then circulates two, three in the message source module.
Step 4: the Message Processing thread is to the processing procedure of message performance element, as shown in Figure 3, may further comprise the steps: receive the finish dealing with notification message or when having arrived listening period of message processing module to its transmission as the Message Processing thread, whether the Message Processing thread begins to have in the monitoring information formation module formation to need to handle, if any, then handle, specifically may further comprise the steps (, then re-executing step 4) if do not have:
The Message Processing thread has highest level to refresh sign as judging in the message performance element in the formation, then this message performance element is sent to message processing module;
Automatically refresh sign if having, the default wait threshold values of then having judged whether surpassing total time of dormancy behind Message Processing thread dormancy one Preset Time is if send to message processing module with the message performance element; Otherwise, execution in step four;
If preceding station identification or back-end data sign is arranged, then the Message Processing thread takes out this message performance element and sends to message processing module from message queue;
If the Message Processing thread does not receive the finish dealing with notification message and when being less than listening period of message processing module to its transmission, re-execute step 4;
Step 5: contain the message performance element that refreshes sign if message processing module receives, then refresh operation put into user-interface thread and carry out, complete after, send the notification message of finishing dealing with to the Message Processing thread; The message performance element of station identification or back-end data sign before if message processing module receives and contains, then it is put into these message performance elements in the user-interface thread and handles accordingly, and in this process, the Message Processing thread is in resting state always.Whenever handle a message performance element that contains preceding station identification or back-end data sign, message processing module all need be visited the message queue module one time, judge wherein whether contain the message performance element that refreshes sign, if any, then no longer handle the message performance element of back, directly withdraw from user-interface thread, and send the notification message message of finishing dealing with to the Message Processing thread;
Step 6: re-execute step 4.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1, a kind of system that handles telecommunicatioin network management topology interface large number reporting message is characterized in that, comprising: message source module, message queue module, Message Processing thread module and message processing module;
Described message source module is packaged into the message performance element that has the rank sign with it after being used to produce reporting message, and described message performance element is sent to described message queue module;
Described message queue module is used for the rank sign according to described message performance element, described message performance element is put in the corresponding queues or with it abandon;
Message Processing thread module is used for creating and the initiation message processing threads;
Message processing module is used for putting it in the user-interface thread and handling accordingly when receiving described message performance element.
2, the system as claimed in claim 1 is characterized in that,
Described Message Processing thread is used for receiving the finish dealing with notification message or when having arrived listening period, whether begin monitor in described message queue module have formation need handle of described message processing module to its transmission, if any, then it is handled.
3, the system as claimed in claim 1 is characterized in that,
Described rank sign comprises that preceding station identification, back-end data sign, highest level refresh sign or refresh sign automatically.
4, the system as claimed in claim 1 is characterized in that,
Described message performance element is packed information reporting unit, when withdrawing from the foreground, distinguishes oneself whether should continue operation or be scheduled or finish life cycle.
5, a kind of method of using the described system handles telecommunicatioin network management of claim 1 topology interface large number reporting message is characterized in that, may further comprise the steps:
A, message source module produce reporting message, and send to the message queue module after described reporting message is packaged into the message performance element that has the rank sign;
B, described message queue module put it in the corresponding queues or with it according to the rank sign of described message performance element and abandon;
C, Message Processing thread receive the finish dealing with notification message or when having arrived listening period, whether it begin monitor in described message queue module have formation need handle of described message processing module to its transmission, if any, then it is handled;
If the described message processing module of d receives described message performance element, then put it in the user-interface thread and handle accordingly.
6, method as claimed in claim 5 is characterized in that,
Described Message Processing thread is by Message Processing thread module creation and startup, and described Message Processing thread is monitored described message queue module according to described listening period.
7, method as claimed in claim 5 is characterized in that,
Among the step a, described rank sign comprises that preceding station identification, back-end data sign, highest level refresh sign or refresh sign automatically.
8, method as claimed in claim 7 is characterized in that,
Step b is specially: described message queue module judges whether comprised the message performance element that refreshes sign in the rank sign corresponding queues with described message performance element or whether the message performance element number in this formation equals pre-set threshold, if, then described message performance element is abandoned, and the rank sign that will equal all the message performance elements in the formation of described threshold value all is changed to and refreshes sign automatically; Otherwise, described message performance element is put in the described corresponding queues.
9, method as claimed in claim 8 is characterized in that,
Among the step c, described Message Processing thread is to the processing of the message performance element in the described formation, specifically may further comprise the steps: described Message Processing thread refreshes sign as highest level as described in having in the message performance element in the formation as described in judging, then described message performance element is sent to described message processing module; If the described sign that refreshes is automatically arranged, the default wait threshold value of having judged whether surpassing total time of dormancy behind then described Message Processing thread dormancy one Preset Time is if send to described message processing module with described message performance element; If described foreground sign or back-end data sign are arranged, then described Message Processing thread takes out described message performance element and sends to described message processing module from message queue.
10, method as claimed in claim 9 is characterized in that,
In the steps d, described message processing module is handled the message performance element that receives, specifically may further comprise the steps: refresh sign if described message performance element contains, then described message processing module is put into user-interface thread with refresh operation and is carried out, after complete, send the notification message of finishing dealing with to described Message Processing thread; Station identification or back-end data sign before if described message performance element contains, then described message processing module is put into described message performance element in the described user-interface thread and handles accordingly.
CN200710188082A 2007-11-22 2007-11-22 System and method for processing a large number reporting message on topology interface in telecommunication network management system Expired - Fee Related CN100589417C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710188082A CN100589417C (en) 2007-11-22 2007-11-22 System and method for processing a large number reporting message on topology interface in telecommunication network management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710188082A CN100589417C (en) 2007-11-22 2007-11-22 System and method for processing a large number reporting message on topology interface in telecommunication network management system

Publications (2)

Publication Number Publication Date
CN101170448A CN101170448A (en) 2008-04-30
CN100589417C true CN100589417C (en) 2010-02-10

Family

ID=39390927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710188082A Expired - Fee Related CN100589417C (en) 2007-11-22 2007-11-22 System and method for processing a large number reporting message on topology interface in telecommunication network management system

Country Status (1)

Country Link
CN (1) CN100589417C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954586A (en) * 2014-03-28 2015-09-30 中国电信股份有限公司 Method and device for mobile subscriber to obtain friendly state

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739452A (en) * 2012-06-28 2012-10-17 浪潮(北京)电子信息产业有限公司 Method and system for monitoring resources
CN109087487B (en) * 2018-10-23 2020-05-15 安徽工程大学 Alarm message pushing method supporting multi-stage time delay
CN111625322B (en) * 2019-02-27 2024-03-29 阿里巴巴集团控股有限公司 Data processing method, system and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954586A (en) * 2014-03-28 2015-09-30 中国电信股份有限公司 Method and device for mobile subscriber to obtain friendly state

Also Published As

Publication number Publication date
CN101170448A (en) 2008-04-30

Similar Documents

Publication Publication Date Title
CN105740326A (en) Thread state monitoring method and device for browser
CN105302637A (en) Restoration method and apparatus for jamming caused by system process runtime exception and mobile terminal
CN101917303B (en) Processing method and device of alarm dithering resistance
CN104503887A (en) Method and device for showing state of computing equipment
CN102902583A (en) Managing processes within suspend states and execution states
US10075409B2 (en) Terminal and application synchronization method therefor
US9311598B1 (en) Automatic capture of detailed analysis information for web application outliers with very low overhead
CN112650575B (en) Resource scheduling method, device and cloud service system
CN100589417C (en) System and method for processing a large number reporting message on topology interface in telecommunication network management system
CN102999384A (en) Managing processes within suspend states and execution states
CN106569917B (en) Data backup method and mobile terminal
CN110647392A (en) Intelligent elastic expansion method based on container cluster
CN103595566A (en) Method and device for detecting idle IP addresses
CN105068844A (en) Method and apparatus for solving problem of no startup of Android terminal
US20200379810A1 (en) Memory management in data processing systems
CN106162577B (en) A kind of information push method and message pushing equipment
WO2016149945A1 (en) Life cycle event processing method and vnfm
CN105430028A (en) Service calling method, service providing method, and node
CN110888739B (en) Distributed processing method and device for delayed tasks
CN108958980A (en) Prevent method, electronic device and the computer readable storage medium of Activity life cycle exception
CN113783913A (en) Message pushing management method and device
US20180309702A1 (en) Method and device for processing data after restart of node
WO2021244548A1 (en) Instant message processing method and device
CN101662382A (en) Method and system for restraining oscillating alarm reporting in network management system
CN109361620B (en) Data sending method, device, equipment 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
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100210

Termination date: 20171122

CF01 Termination of patent right due to non-payment of annual fee