CN102298551B - A kind of method and system of the Real-time performance statistics variable based on the rule of event - Google Patents

A kind of method and system of the Real-time performance statistics variable based on the rule of event Download PDF

Info

Publication number
CN102298551B
CN102298551B CN201010207104.1A CN201010207104A CN102298551B CN 102298551 B CN102298551 B CN 102298551B CN 201010207104 A CN201010207104 A CN 201010207104A CN 102298551 B CN102298551 B CN 102298551B
Authority
CN
China
Prior art keywords
rule
event
counter
index
performance statistics
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
CN201010207104.1A
Other languages
Chinese (zh)
Other versions
CN102298551A (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.)
Fengxian County Science And Technology Development Service Station
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 CN201010207104.1A priority Critical patent/CN102298551B/en
Publication of CN102298551A publication Critical patent/CN102298551A/en
Application granted granted Critical
Publication of CN102298551B publication Critical patent/CN102298551B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of method and system of the Real-time performance statistics variable based on the rule of event, described method comprises: by laying down a regulation to event and configuring counter, dynamically generates the rule base including event table, rule list and counters table; The rule engine module of capability management unit is according to the event identifier in reported event, the entrance rule index corresponding with event identifier is read from event table, then from rule list, the counter index corresponding with entrance rule index is read, from counters table, find the counter that counter index is corresponding, counter is reported Operation and Maintenance Unit and carry out Real-time performance statistics.The rule base that in the present invention, rule engine module download online dynamically generates, processes event, counter is reported Operation and Maintenance Unit and carries out performance statistics, achieves flexible, efficient, comprehensive Real-time performance statistics.

Description

A kind of method and system of the Real-time performance statistics variable based on the rule of event
Technical field
The present invention relates to performance statistics technology, particularly relate to a kind of method and system of the Real-time performance statistics variable based on the rule of event.
Background technology
Performance management is the critical function of the network equipment in Operation and Maintenance, regularly performance statistic can be reported to backstage in equipment running process, backstage draws various index after gathering, the index such as quality (percent of call completed, cutting off rate), load (number of users, flow), availability of such as network.The daily servicing that these indexs and user carry out, examination and upgrade expanding decision-making are closely bound up.But in the process of the actual use equipment of user, the emphasis that each user pays close attention to can be different, if ripe operator is more it is of concern that the index of network quality aspect, as percent of call completed, cutting off rate etc.; And startup carrier is more it is of concern that number of users, network capacity.Even if same user, the different phase that he carries out in business also has different index requests.User often proposes the statistical requirements of more refinement according to the needs of oneself.
When needing diversified statistical requirements in the use procedure of user at a set of equipment, some post analysis instruments can be utilized to carry out analytic statistics according to the requirement of user to the logout or log recording etc. that the network equipment provides, the feature of this mode is relatively flexibly but due to the restriction of the aspect such as flow and efficiency, can not carries out performance statistics all sidedly in real time to the network equipment.
Usual conventional network equipment in real time comprehensively performance statistics be use various counter to reach statistics object, equipment some specified point in operational process can trigger the renewal of these counters, but, the renewal point of counter has just carried out fixing (hard-coded) in software programming process, can not on-the-fly modify online, therefore equipment vendors are in order to meet the index demand of user, the counter set that one large and complete can be provided usually, counter set is closed after reporting and carry out various adaptations again on backstage to meet the statistical demand of user, this way can cause the violent expansion of foreground performance statistic on the one hand, take a large amount of internal memories, hardware space, increase foreground and background data flow, on the other hand due to the introducing of a large amount of counter code, the readability of software can be caused to decline, increase the maintenance difficulties etc. of equipment.And need the index increased can not to be realized by the counter set provided once user, just need by amendment code, carry out the software release upgrade of equipment, implement underaction, and the frequent upgrading of equipment can cause service disruption, O&M cost to rise, easily cause the problems such as network failure.
Summary of the invention
The object of the invention is to, for the above-mentioned performance statistics utilizing post analysis instrument to carry out equipment, not there is the ineffective activity of real-time and comprehensive and existing comprehensive performance accounting method in real time, provide a kind of method and system of the Real-time performance statistics variable based on the rule of event, possess the dirigibility of post analysis instrument simultaneously, also achieved in real time efficient performance statistics comprehensively.
By the following technical solutions, a kind of method of the Real-time performance statistics variable based on the rule of event, said method comprising the steps of in the present invention:
By laying down a regulation to event and configuring counter, dynamically generate the rule base including event table, rule list and counters table;
The rule engine module of capability management unit obtains the rule base for carrying out the Real-time performance statistics based on event by download online;
Described rule engine module is according to the event identifier in business unit reported event, the entrance rule index corresponding with described event identifier is read from described event table, then from described rule list, the counter index corresponding with described entrance rule index is read, then from described counters table, find the counter that described counter index is corresponding, described counter is reported Operation and Maintenance Unit and carries out Real-time performance statistics.
Present invention also offers a kind of system of the Real-time performance statistics variable based on the rule of event, comprise Operation and Maintenance Unit, described system also comprises:
Capability management unit, for the rule base including event table, rule list and counters table that download online dynamically generates, and read the entrance rule index corresponding with described event identifier according to the event identifier in the event reported from described event table, then from described rule list, the counter index corresponding with described entrance rule index is read, then from described counters table, find the counter that described counter index is corresponding, described counter is reported described Operation and Maintenance Unit and carries out Real-time performance statistics;
At least one business unit, for generating event according to event and equipment practical operation situation and report described capability management unit.
Compared with prior art, beneficial effect of the present invention: the rule base including event table, rule list and counters table that rule engine module is dynamically generated by download online, and event is processed, counter is reported Operation and Maintenance Unit and carry out performance statistics, by continuous down loading updating rule base, achieve more flexible, efficient, comprehensive Real-time performance statistics.
Accompanying drawing explanation
Fig. 1 is the system architecture diagram of the Real-time performance statistics method variable based on the rule of event using the embodiment of the present invention to provide;
Fig. 2 is event definition example figure in the Real-time performance statistics method variable based on the rule of event that provide of the embodiment of the present invention;
Fig. 3 is the method flow diagram of the Real-time performance statistics variable based on the rule of event that the embodiment of the present invention provides;
Fig. 4 is the process flow diagram processing reported event in the Real-time performance statistics method variable based on the rule of event that provide of the embodiment of the present invention;
Fig. 5 is the system schematic of the Real-time performance statistics variable based on the rule of event that the embodiment of the present invention provides.
Embodiment
Be described in detail below in conjunction with the method and system of accompanying drawing to a kind of Real-time performance statistics variable based on the rule of event provided by the invention.
Fig. 1 shows the system architecture of the Real-time performance statistics method variable based on the rule of event using the embodiment of the present invention to provide.
As shown in Figure 1, foreground equipment 10 comprises capability management unit 11, business unit 12 and business unit 13, and background devices 20 comprises Operation and Maintenance Unit 21.Wherein above-mentioned foreground equipment 10 comprises at least one business unit.
First, according to the demand of user, scheduled event is laid down a regulation storehouse and configuration counter, dynamic generation includes the rule base of event table, rule list and counters table, and in the embodiment of the present invention, rule base can be the configuration file etc. of database file or user-defined format.Operation and Maintenance Unit 21 in background devices 20 stores described counter and is configured foreground equipment 10, and when rule base changes, the capability management unit 11 of foreground equipment 10 can carry out real-time online down loading updating to rule base.
In the process that foreground equipment 10 runs, business unit 12 reports the event data of various pre-defined event to capability management unit 11, capability management unit 11 processes the event received according to rule base, counter is operated, and described counter is reported Operation and Maintenance Unit 21 to carry out performance statistics.
In the embodiment of the present invention, the definition of event needs comprehensively, to cover as far as possible many treatment schemees, also will conclude simultaneously, as the event in same class flow process can consider unified definition, finally also will consider the application scenarios of equipment.
Wherein above-mentioned event comprises event identifier, object properties parameter, conditional parameter, measured value parameter etc.Event identifier is used for distinguishing different types of event; Object properties parameter is the information of some objects associated by this event, such as wireless communication system small area, base station etc.; Measured value parameter is some statisticss needing to report, as number of users, flow etc.
The definition of event of how carrying out is described for " safe mode " process of TD-SCDMA below, as shown in Figure 2:
Core net sends " safe mode command " message to wireless controller;
Wireless controller starts to carry out a series of " safe mode " flow processing after receiving described " safe mode command (SecurityModeCommand) " message.Event " RANAP_SECURITY_MODE_CMD " can being defined herein, for reporting once the beginning of " safe mode " flow process, the message such as " Serving cell ", " cryptographic algorithm " and " identifying algorithm " can be attached simultaneously;
At the end of " safe mode " flow process, wireless controller sends " safe mode completes (SecurityModeComplete) " message to core net.This place can define event " RANAP_SECURITY_MODE_CMP ", may be used for reporting once being successfully completed of " safe mode " flow process, the message such as " Serving cell ", " cryptographic algorithm ", " identifying algorithm " and " processing delay " can be attached simultaneously.
Rule base comprises event table, rule list, counters table etc.The Article 1 processing rule that wherein each event of event table record is corresponding and the position of entrance rule in rule list, it is index with event identifier, ensure according to event identifier can quick-searching to regular process entrance, it specifically forms in table one:
Event identifier Entrance rule index
1 ...
2 ...
3 ...
4 ...
5 ...
6 ...
7 ...
8 ...
9 ...
10 7
11 ...
... ...
Table one
As seen from the above table, event table comprises event identifier and entrance rule index etc., and event identifier is the index of event list item, with event identification information in the event data that business module reports; Entrance rule index is used to indicate the position of entrance rule in rule list of event.
Rule list contains the processing logic of all events, comprise the condition of coupling, fit through/not by time perform operation, relevant counter index etc., there is the relation of redirect between the strictly all rules of an event, how redirect depends on regular comparison result.Rule list comprises rule index, comparison object value, mask, initially compares position, terminates to compare position, next rule index etc. that next rule index that comparative type instruction, counter index, counter operation type, operating value skew, operating value type, object offset, condition are true time, condition are fictitious time.Concrete with reference to table two:
Rule index Comparison object value Mask Initially compare position Terminate to compare position Comparative type Counter index Counter operation type Operating value offsets Operating value type Object offset Condition is the lower rule index of true time Condition is the lower rule index of fictitious time
... ... ... ... ... ... ... ... ... ... ... ... ...
7 0x0100 0000 0000 0xFF00 0000 0000 1 8 Equal Empty Empty Empty Empty Empty 8 10
8 0x0001 0000 0000 0x00FF 0000 0000 9 16 Equal 1 Add 1 Empty Empty 33 Empty 9
9 0x0002 0000 0000 0x00FF 00000000 9 16 Equal 2 Subtract 1 Empty Empty 33 Empty Empty
10 0x0200 0000 0000 0xFF00 0000 0000 1 8 Equal Empty Empty Empty Empty Empty 11 13
11 0x0001 0000 0000 0x00FF 0000 0000 9 16 Equal 3 Value added 17 2 33 Empty 12
12 0x0002 0000 0000 0x00FF 0000 0000 9 16 Equal 4 Depreciation 17 2 33 Empty Empty
13 0x0200 0000 0000 0xFF00 0000 0000 1 8 Be greater than Empty Empty Empty Empty Empty 14 Empty
14 0x0001 0000 0000 0x00FF 0000 0000 9 16 Equal 5 Add 1 Empty Empty 33 Empty 15
15 0x0002 0000 0000 0x00FF 0000 0000 9 16 Equal 6 Subtract 1 Empty Empty 33 Empty Empty
16 ... ... ... ... ... ... ... ... ... ... ... ...
Table two
Below the information comprised in above-mentioned rule list is further explained:
1) rule index: the unique index of regular list item;
2) comparison object value: the coupling desired value of the event argument involved by regular list item;
3) mask: be used in masked event data with the parameter that this rule is irrelevant;
4) position is compared with end in initial position of comparing: identify the position of bit in event data that this rule relates to.By these two fields, the bit not within the scope of this can be ignored, speed up processing.A kind of special circumstances are " initial compare position " is null value with " position is compared in end " simultaneously, then represent that this rule is without the need to mating, and directly performs the relevant treatment fitted through.
5) comparative type instruction: indicate the matching way that this rule adopts, comprise " equaling ", " being not equal to ", " being greater than ", " being less than ", " being more than or equal to " and " being less than or equal to ";
6) counter index: when this rule fits through, as needs operational counter, then " counter index " indicates the position of corresponding counter in counters table;
7) counter operation type: indicate how operational counter, common action type comprise " adding one ", " subtracting one ", " value added ", " depreciation ", " maximal value " and " minimum value " etc.;
8) operating value skew: when counter operation desired value parameter time (as " added value "), " operating value skew " instruction position of analog value parameter in event data;
9) operating value type: when counter operation desired value parameter time (as " added value "), " operating value type " indicates the type (as " short ", " integer " and " long ") of analog value parameter;
10) object offset: the position of image parameter in event data required for indication counter operation;
11) condition is next rule index of true time: when current rule match is passed through, the position of next rule in rule list.As being sky, then current event process terminates, and performs without the need to continuing;
12) condition is next rule index of fictitious time: when current rule match is not passed through, the position of next rule in rule list.As being sky, then current event process terminates, and performs without the need to continuing; Rule index is the index of regular list item;
Counters table preserves the information of all counters, comprises as counter index, counter identification, object type etc.Specifically in table three:
Counter index Counter identification Object type
1 C11 Community (2 byte)
2 C12 Community (2 byte)
3 C21 Community (2 byte)
4 C22 Community (2 byte)
5 C31 Community (2 byte)
6 C32 Community (2 byte)
... ... ...
Table three
Counter index in upper table is the index of counter performance; Counter identification is the mark of counter, and this is identified between AM/BAM is usually shared; Object type indicates the type of counter operation object, as the community in wireless communication system, office to etc.
Fig. 3 shows a kind of variable based on the rule of the event Real-time performance statistics method that the embodiment of the present invention provides, and as shown in Figure 3, said method comprising the steps of:
Step S101, by lay down a regulation to scheduled event according to the demand of user and configure counter, dynamically generates the rule base including event table, rule list and counters table;
In this step, described rule base can be the configuration file of database file or user-defined format.
Step S102, the rule engine module of capability management unit upgrades above-mentioned rule base by download online, obtains the rule base for carrying out the Real-time performance statistics based on event.
Step S103, described rule engine module processes the event that business unit reports, according to the event identifier in business unit reported event, the entrance rule index corresponding with described event identifier is read from described event table, then from described rule list, the counter index corresponding with described entrance rule index is read, then from described counters table, find the counter that described counter index is corresponding, described counter is reported Operation and Maintenance Unit and carries out Real-time performance statistics.
Fig. 4 shows the process of rule engine module process reported event in the Real-time performance statistics method variable based on the rule of event that the embodiment of the present invention provides, and as shown in Figure 4, described process reported event process comprises the following steps:
Step S201, finds the entrance rule index of this event in above-mentioned event table according to the event identifier in the event reported;
Step S202, according to described entrance rule index, finds the entrance rule of this event in above-mentioned rule list;
Step S203, by comparing described event and described entrance rule corresponding contents, judges whether the event data reported meets the matching condition of current rule, if meet, performs step S204, otherwise perform step S205;
In this step, the method whether event that above-mentioned judgement reports meets the matching condition of current rule is specially: first " mask " in event data and above-mentioned rule is carried out step-by-step and operation, the data irrelevant with this rule is shielded; Then according to " the comparative type instruction " in above-mentioned rule by step-by-step with after event data and " comparison object value " compare, comparison range can be indicated by " initial compare position " in rule list and " position is compared in end ", to improve the treatment effeciency of data, in the embodiment of the present invention, " comparative type instruction " can for the one in " being greater than ", " equaling ", " being less than ", " being more than or equal to ", " being less than or equal to ", " being not equal to ".
Step S204, find the counter index of current rule, and described counter index is not when being empty, from above-mentioned counters table, find the counter corresponding with described counter index to operate, and to obtain next rule index be " next rule index that condition is true time ";
In this step, when the counter index of current rule is not empty, the corresponding counter in above-mentioned counters table is found according to the counter index of current rule, read the object type of this counter according to counters table, the object offset of foundation object type and current rule takes out the object value of this counting from event data; Read counter operation type, described counter operation type comprises " adding one ", " subtracting one " " value added ", " depreciation ", " maximal value ", " minimum value " etc., takes out the operating value of this counting according to operating value skew and operating value type from event data.Finally carry out counter operation by counter operation type, object value, operating value and counter identification, and counter is reported Operation and Maintenance Unit and carry out Real-time performance statistics; Obtain next rule index is " next rule index that condition is true time " simultaneously.
Step S205, obtaining next rule index is " next rule index that condition is fictitious time ";
Step S206, when the index of next rule that step S204 or step S205 obtains is not empty, forwards the rule indicated by this rule index to, performs step S203; When the index of next rule that step S204 or step S205 obtains is empty, then terminate the process of current event.
Can carry out in the mode of byte stream based on the process of the reported event of rule engine module process in the variable Real-time performance statistics method of the rule of event in the embodiment of the present invention, do not need to understand one by one the concrete structure of event data and logical circuit of counter, even if when event structure or statistic logic change, above-mentioned processing procedure still can be applied.
Be described in further detail for performance statistics concrete event below.
Suppose to there is event A, its event identifier is 10, comprises four field x, y, z, w.Wherein x is a unsigned character, takies 1 byte; Y is also a unsigned character, takies 1 byte; Z is a signless integer, takies 2 byte.Object identity when w is event generation, takies 2 byte.The then mapping of event A in internal memory (not containing event identifier field) is as shown in the table:
Suppose that a series of counters that event A is mapped to are as follows, the matched rule of the counter that presentation of events A maps and method of operating, illustrate for Article 1: " in event A x equal 1 and y equals 1 time, the C11 counter of the object value representated by event object parameter w is added 1 ".
X Y Counter operation
Equal 1 Equal 1 The C11 counter of object w adds 1
Equal 1 Equal 2 The C12 counter of object w subtracts 1
Equal 2 Equal 1 The C21 counter of object w adds the value of z
Equal 2 Equal 2 The C22 counter of object w deducts the value of z
Be greater than 2 Equal 1 The C31 counter of object w adds 1
Be greater than 2 Equal 2 The C32 counter of object w subtracts 1
Suppose shown in the dash area in list item table one described above that event A is relevant to event table, rule list and counters table in rule base, table two, table three, the parameter value of certain event A reported is { x=2, y=1, z=3, w=11}, then above-mentioned parameter value is (for large syllable sequence): 0x02010003000B in internal memory.
First in event table (table one), find corresponding list item according to the event identifier (10) of the event A reported, read corresponding entrance rule index (7);
In rule list (table two), corresponding rule is found according to entrance rule index (7).Whether decision event parameter matches with rule 7: according to " initial compare position (1) " and " position (8) is compared in end " by 1 to 8 (0xFF) step-by-steps of 1 to 8 of event argument (0x02) and mask and, result is: 0x02, because comparative type is " equaling ", compare so this result is carried out " equaling " with 1 to 8 (0x01) of comparison object value, ineligiblely namely do not mate, therefore obtaining next rule index is " next rule index (10) that condition is fictitious time ";
Jump to rule 10, namely continue judgment rule 10 whether to mate with the event argument reported: according to " initial compare position (1) " and " position (8) is compared in end " by 1 to 8 (0XFF) step-by-steps of 1 to 8 of event argument (0x02) and mask and, result is: 0x02, because comparative type is " equaling ", compare so this result is carried out " equaling " with 1 to 8 (0x02) of comparison object value, eligiblely namely to match, but now " counter index is empty ", therefore the operation carrying out counter is not needed, obtaining next rule index is " next rule index (11) that condition is true time ",
Jump to rule 11, namely continue judgment rule 11 whether to mate with the event argument reported: according to " initial compare position (9) " and " position (16) is compared in end " by 9 to 16 (0XFF) step-by-steps of 9 to 16 of event argument (0x01) and mask and, result is: 0x01, because comparative type is " equaling ", compare so this result is carried out " equaling " with 9 to 16 (0x01) of comparison object value, eligiblely namely to match, now " counter index is not empty ", then the operation carrying out counter is needed:
find the C21 counter in counters table (table three) according to " counter index (3) ", the object type of this counter is community, and length is 2 bytes;
be 2 bytes according to " object offset (33) " and object type, read 2 byte: 0x000B that in event argument, the 33rd starts, obtain the above-mentioned object value i.e. counter for community 11 of this event action;
according to " timer operation type (value added) ", " operating value skew (17) ", " operating value type (2) " read 2 byte: 0x0003 that in event argument, the 17th starts, and transfer signless integer to, obtain aforesaid operations value 3;
according to " counter operation type (value added) " obtained above, " object value (community 11) ", " operating value (3) ", the C21 counter of community 11 is increased by 3 by " counter identification (C21) ".
Report after counter operation, obtaining next rule index is " next rule index (sky) that condition is true time ", then this performance statistics terminates.
Fig. 4 shows the system signal of the performance statistics that the embodiment of the present invention provides, and described system comprises capability management unit 11, business unit 12 and Operation and Maintenance Unit 21.Wherein said business unit 12 can be multiple.
Capability management unit 11 comprises rule base module 111 Sum fanction engine modules 112; Business unit 12 comprises event generation module 121 and reporting events module 122.
When according to the demand of user by storehouse and the configuration counter of laying down a regulation to event, after dynamic generation includes the rule base of event table, rule list and counters table, described Operation and Maintenance Unit 21 stores described counter, and described capability management unit is configured, rule engine module 112 can be carried out real-time online download to rule base and is stored into downloading the rule base obtained in rule base module 111.
Event generation module 121 is according to the practical operation situation of equipment, generation event, and pass through reporting events module 122 by described reporting events to rule engine module 112, rule engine module 112 reads the entrance rule index corresponding with described event identifier according to the event identifier in described event from described event table, the entrance rule of this event is found in the rule base stored in rule base module 111 according to described entrance rule index, rule engine module 112 is by comparing the corresponding contents of described event and described entrance rule, judge whether described event meets the matching condition of described rule, the method whether concrete decision event meets the matching condition of current rule is: first " mask " in event data and above-mentioned rule list is carried out step-by-step and operation, the data irrelevant with this rule are shielded, then according to " the comparative type instruction " in above-mentioned rule list by step-by-step with after event data and " comparison object value " compare, comparative result is consistent, be then satisfied, otherwise do not meet, wherein comparison range was indicated by " initial compare position " in rule list and " position is compared in end ", and in the embodiment of the present invention, " comparative type instruction " can for the one in " being greater than ", " equaling ", " being less than ", " being more than or equal to ", " being less than or equal to ", " being not equal to ".
When rule engine module 112 decision event data meet the matching condition of current rule, find the counter index of current rule, when described counter index is not empty, the counter pointed by described counter index is found to go forward side by side line operate by described counters table, concrete steps are: the object type reading this counter according to counters table, and the object offset of foundation object type and current rule takes out the object value of this counting from event data; Read counter operation type, described counter operation type comprises " adding one ", " subtracting one " " value added ", " depreciation ", " maximal value ", " minimum value " etc., takes out the operating value of this counting according to operating value skew and operating value type from event data.Finally carry out counter operation by counter operation type, object value, operating value and counter identification, and counter is reported Operation and Maintenance Unit and carry out Real-time performance statistics.Rule engine module 112 obtains next rule index simultaneously, be " next rule index that condition is true time ", when above-mentioned " condition is next rule index of true time " be not for time empty, this rule is found in the rule base that rule engine module 112 stores in rule base module 111 according to " next rule index that condition is true time " of obtaining, continue the matching condition whether decision event data meet current rule, repeat above-mentioned disposal route, repeat no more; When above-mentioned " condition is next rule index of true time " is for time empty, then terminate the process of current event.
When rule engine module 112 decision event data do not meet the matching condition of current rule, next rule index of direct acquisition, be " next rule index that condition is fictitious time ", when above-mentioned " condition is next rule index of fictitious time " be not for time empty, this rule is found in the rule base that rule engine module 112 stores in rule base module 111 according to " next rule index that condition is fictitious time " of obtaining, whether rule engine module 112 decision event data meet the matching condition of current rule, repeat above-mentioned disposal route, repeat no more; When above-mentioned " condition is next rule index of fictitious time " is for time empty, then terminate the process of current event.
The foregoing is only preferably embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (9)

1., based on a method for the variable Real-time performance statistics of the rule of event, it is characterized in that, said method comprising the steps of:
By laying down a regulation to event and configuring counter, dynamically generate the rule base including event table, rule list and counters table;
The rule base including event table, rule list and counters table dynamically generated described in the rule engine module download online of capability management unit;
The rule engine module of capability management unit, according to the event identifier in business unit reported event, reads the entrance rule index corresponding with described event identifier from described event table;
The rule engine module of capability management unit reads the counter index corresponding with described entrance rule index from described rule list;
The counter that the rule engine module of capability management unit finds described counter index corresponding from described counters table, reports Operation and Maintenance Unit by described counter and carries out Real-time performance statistics.
2. the method for claim 1, is characterized in that, described from described rule list read the counter index corresponding with described entrance rule index be specially:
By by the comparison of described event with the corresponding contents of the corresponding rule of described entrance rule index, judge whether the event reported meets the matching condition of described rule, if described event meets the matching condition of described rule, then from described rule, find counter index, then the counter corresponding with described counter index is found from described counters table, described counter is reported, and obtain next rule index, if described event does not meet the matching condition of described rule, then directly obtain next rule index;
When next rule index described is not empty, from rule list, finds next rule corresponding with next rule index described, repeat previous step, when the index of next rule described is empty, terminate the process of current event.
3. method as claimed in claim 2, it is characterized in that, described rule base comprises the instruction of mask, comparison object value and comparative type, the concrete steps whether event that wherein said judgement reports meets the matching condition of described rule are: the mask of described event and described rule is carried out step-by-step and operation, the comparison object value of operating result and described rule is compared, when comparative result meets the comparative type instruction of described rule, then described event meets the matching condition of described rule, otherwise described event does not meet the matching condition of described rule.
4. method as claimed in claim 3, it is characterized in that, described rule base also comprises and initially compares position and position is compared in end, and wherein described event and the mask of described rule being carried out step-by-step and operation is that the scope comparing position with described rule initial and terminate to compare bit-identify carries out step-by-step and operation.
5. the method as described in Claims 2 or 3 or 4, it is characterized in that, described rule base also comprises next rule index that condition is true time, if wherein said described event meets the matching condition of described rule, then from described rule, find counter index, then find and described counter index number corresponding counter from described counters table, and next the rule index obtained is described " condition is next rule index of true time ".
6. the method as described in Claims 2 or 3 or 4, it is characterized in that, described rule base comprises next rule index that condition is fictitious time, if wherein said described event does not meet the matching condition of described rule, then next the rule index obtained is described " condition is next rule index of fictitious time ".
7., based on a system for the variable Real-time performance statistics of the rule of event, comprise Operation and Maintenance Unit, it is characterized in that, described system also comprises:
Capability management unit, for:
The rule base of what download online dynamically generated include event table, rule list and counters table;
The entrance rule index corresponding with described event identifier is read from described event table according to the event identifier in the event reported;
The counter index corresponding with described entrance rule index is read from described rule list;
From described counters table, find the counter that described counter index is corresponding, described counter is reported described Operation and Maintenance Unit and carries out Real-time performance statistics; And
At least one business unit, for generating event identifier according to event and equipment practical operation situation and report described capability management unit.
8. system as claimed in claim 7, it is characterized in that, described business unit comprises further:
Event generation module, for generating according to predefined event and practical operation situation the event including event identifier, object properties parameter, conditional parameter and measured value parameter;
Reporting events module, for giving described performance management module by the reporting events of described event generation module generation.
9. system as claimed in claim 7 or 8, it is characterized in that, described capability management unit comprises further:
Rule engine module, for the rule base that include event table, rule list and counters table of download online by laying down a regulation to event and configure counter and dynamically generate, and according to the event identifier of reported event, the entrance rule index corresponding with described event identifier is read from described event table, then from described rule list, the counter index corresponding with described entrance rule index is read, then from described counters table, find the counter that described counter index is corresponding, described counter is reported described Operation and Maintenance Unit and carries out Real-time performance statistics;
Rule base module, for storing the rule base for carrying out the Real-time performance statistics based on event that described rule engine module download online obtains.
CN201010207104.1A 2010-06-23 2010-06-23 A kind of method and system of the Real-time performance statistics variable based on the rule of event Expired - Fee Related CN102298551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010207104.1A CN102298551B (en) 2010-06-23 2010-06-23 A kind of method and system of the Real-time performance statistics variable based on the rule of event

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010207104.1A CN102298551B (en) 2010-06-23 2010-06-23 A kind of method and system of the Real-time performance statistics variable based on the rule of event

Publications (2)

Publication Number Publication Date
CN102298551A CN102298551A (en) 2011-12-28
CN102298551B true CN102298551B (en) 2015-11-25

Family

ID=45358982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010207104.1A Expired - Fee Related CN102298551B (en) 2010-06-23 2010-06-23 A kind of method and system of the Real-time performance statistics variable based on the rule of event

Country Status (1)

Country Link
CN (1) CN102298551B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595442B (en) * 2011-12-30 2018-02-16 中兴通讯股份有限公司 The acquisition method and data acquisition unit of a kind of performance statistic
CN106411545A (en) * 2015-07-28 2017-02-15 深圳市中兴微电子技术有限公司 Service attribute counting method and device
CN106294699A (en) * 2016-08-08 2017-01-04 无锡天脉聚源传媒科技有限公司 A kind of generation method and device of advertistics index
CN106294710A (en) * 2016-08-08 2017-01-04 无锡天脉聚源传媒科技有限公司 A kind of generation method and device of advertistics index
CN106294698A (en) * 2016-08-08 2017-01-04 无锡天脉聚源传媒科技有限公司 A kind of generation method and device of advertistics index
CN106326349A (en) * 2016-08-08 2017-01-11 无锡天脉聚源传媒科技有限公司 Method and device for generating advertisement statistics index
CN106446171A (en) * 2016-09-26 2017-02-22 天脉聚源(北京)科技有限公司 Method and device for generating statistics indexes
CN107992506B (en) * 2016-10-27 2021-09-03 北京京东尚科信息技术有限公司 Information processing method and device
CN111258916B (en) * 2020-03-06 2023-08-15 贝壳技术有限公司 Automatic test method, device, storage medium and equipment
CN114004619A (en) * 2021-11-16 2022-02-01 平安养老保险股份有限公司 Annuity payment rule checking method and device and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780455A (en) * 2004-11-22 2006-05-31 华为技术有限公司 Estate performance statistical method
CN101101651A (en) * 2007-08-01 2008-01-09 中兴通讯股份有限公司 Conversion processing method, system and conversion rule engine for electronic worksheet data
US20080049641A1 (en) * 2006-08-22 2008-02-28 Edwards Stephen K System and method for displaying a graph representative of network performance over a time period
CN101141811A (en) * 2007-09-28 2008-03-12 中兴通讯股份有限公司 Service establishing parameter autoregulative method
CN101572880A (en) * 2009-06-18 2009-11-04 浙江大学 Rule-based management method in mobile terminals

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780455A (en) * 2004-11-22 2006-05-31 华为技术有限公司 Estate performance statistical method
US20080049641A1 (en) * 2006-08-22 2008-02-28 Edwards Stephen K System and method for displaying a graph representative of network performance over a time period
CN101101651A (en) * 2007-08-01 2008-01-09 中兴通讯股份有限公司 Conversion processing method, system and conversion rule engine for electronic worksheet data
CN101141811A (en) * 2007-09-28 2008-03-12 中兴通讯股份有限公司 Service establishing parameter autoregulative method
CN101572880A (en) * 2009-06-18 2009-11-04 浙江大学 Rule-based management method in mobile terminals

Also Published As

Publication number Publication date
CN102298551A (en) 2011-12-28

Similar Documents

Publication Publication Date Title
CN102298551B (en) A kind of method and system of the Real-time performance statistics variable based on the rule of event
CN102982141B (en) A kind of method and device realizing distributed data base agency
CN100478956C (en) Method and corresponding system for creating and obtaining report forms
CN104050248B (en) A kind of document storage system and storage method
CN107730375B (en) Tax map management method, system and terminal equipment
CN102801723B (en) Internet of things access equipment and method
CN108365967A (en) Method, system, terminal and the computer readable storage medium of dynamic configuration communications parameter
CN104462121A (en) Data processing method, device and system
CN111563075B (en) Service verification system, method and equipment and storage medium
CN106503008A (en) File memory method and device and file polling method and apparatus
CN101102259A (en) Network access control system and its method
CN102053962A (en) Lightweight middleware-based networking RFID system and data interaction method
CN107679207A (en) One kind access data preprocessing method, device, server and storage medium
CN109933595B (en) Internet of things equipment information sharing system and device and terminal equipment
CN101576922A (en) Access system and access method
CN114356712A (en) Data processing method, device, equipment, readable storage medium and program product
CN106156904B (en) Cross-platform virtual asset tracing method based on eID
CN101179444B (en) Configuration take-effective method, configuration system and configuration gateway
CN111045928A (en) Interface data testing method, device, terminal and storage medium
CN104933453A (en) Information management system and method of ring main unit (RMU)
CN113591448B (en) Report generation method, device and storage medium
CN109299613A (en) The setting method and terminal device of partitions of database permission
CN110399749B (en) Data asset management method and system
CN107357853A (en) A kind of operating method, device and the computer system of REDIS consoles
CN112230929A (en) Data analysis method and device of CIM (common information model) 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
TR01 Transfer of patent right

Effective date of registration: 20171208

Address after: 221700 Xinhua lane, Fengxian County, Xuzhou, Jiangsu Province, No. 6

Patentee after: Fengxian County science and Technology Development Service Station

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Patentee before: ZTE Corp.

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

Granted publication date: 20151125

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