CN1275429C - A method for performance measurement data acquisition of embedded distributed system - Google Patents

A method for performance measurement data acquisition of embedded distributed system Download PDF

Info

Publication number
CN1275429C
CN1275429C CN 200310113606 CN200310113606A CN1275429C CN 1275429 C CN1275429 C CN 1275429C CN 200310113606 CN200310113606 CN 200310113606 CN 200310113606 A CN200310113606 A CN 200310113606A CN 1275429 C CN1275429 C CN 1275429C
Authority
CN
China
Prior art keywords
processor
master processor
measurement data
measurement
timer
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 - Lifetime
Application number
CN 200310113606
Other languages
Chinese (zh)
Other versions
CN1545259A (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 CN 200310113606 priority Critical patent/CN1275429C/en
Publication of CN1545259A publication Critical patent/CN1545259A/en
Application granted granted Critical
Publication of CN1275429C publication Critical patent/CN1275429C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The present invention discloses a method for collecting the performance measure data of an embedded distribution system, which comprises the following processing procedures: step one, a master processor and slave processors are initialized; step two, the master processor begins to collect the performance data and respectively transmits collection commands toward each slave processors; step three, the performance data are collected by each slave processor and sent to the master processor in package; step four, the master processor backups all the sampled data in the cycle and clears unified buffer areas so as to start the measurement counting of the next cycle; step five, if the time of a timer T3 on the master processor in reporting to the back stage is expired, all the sampled data in the cycle of T3 are statistically calculated by the master processor and then sent to the back stage, and then the master processor turns to step two, or the master processor directly turns to step two. As compared with the prior art, the adoption of the method in the present invention increases the stability of the embedded distribution system and the reliability of data transmission, and lowers the influence on other service modules.

Description

A kind of performance measurement data acquisition method of inlaid distribution system
Technical field
The present invention relates to a kind of inlaid distribution system performance measurement data acquisition method, belong to communication field.
Background technology
At communication field, inlaid distribution system particularly, performance data is the foundation of reflection system business amount, operation flow success rate, it also is an important indicator of evaluation system reliability and stability, the fault that occurs in the navigation system also plays important effect simultaneously, thereby it is just essential in system every performance index to be measured statistics.A kind of good collecting method is particularly important, because the collection meeting of performance measurement affects to the whole service system.Because performance index are from each business module, and business module may be distributed in master processor and from processor, thereby performance measurement comprises master processor and respectively from the data collection of processor business module with report.The performance measurement data acquisition method of inlaid distribution system is so at present:
1, the performance measurement module is provided with cycle collection timer T2 on the master processor, and offers uniformity energy measurement buffering area, and business module is write unified performance measurement buffering area on the master processor; Respectively carry out the counting of each counter from the beginning from processor.
2, after master processor is received the performance measurement order on backstage, be provided with to the backstage and report timer T3 (T3 is the integral multiple of T2), and overtime at T2 to respectively reporting order (comprising tested tabulation) from processor transmission performance measurement, reset timer T2.
3, respectively receive that from processor performance measurement reports order after, be unit with the measurand, according to measuring tabulation, and, begin the rolling counters forward of following one-period to the counter O reset from processor to master processor reduction into possession measurand one by one measurement result.
4, receive respectively after the replying of processor when master processor, the record result, and when T2 is overtime, send measuring command once more to corresponding respectively from processor, begin the data acquisition of following one-period.
5, overtime as T3, the performance measurement module reports the sampled result of T3 in the time to the backstage on the master processor.
6, after performance measurement module on the master processor receives that the measurement on backstage is ceased and desisted order, kill timer T3, and remove and measure tabulation.
There is following shortcoming in said method under the situation of high traffic:
1, greatly reduces the stability of a system.This is mainly reflected on the transfer of data of processor and master processor (communication of principal and subordinate's processor can by T net or Ethernet), such as if measuring object be the sub-district, each can handle 80 sub-districts from the processor maximum, are furnished with 48 altogether from processor (maximum traffic situation), owing to send simultaneously by master processor from the unification of processor measurement data reporting message, cause respectively from processor reported data at one time almost, master processor will receive 80 * 48=3840 message (being measurement data) at every turn continuously like this.Concerning the very high master processor of burden requirement, the short time handles so that multidata certainly will be to make the matter worse, and causes system crash.
2, reduce Business Processing speed.An important feature under the embedded environment is in real time, and speed is the problem that the user is concerned about very much, thereby respectively from the processing speed of the processor speed decisive role to whole distributed system.At present reporting work from the performance measurement of processor is to be finished by the Service Processing Module from processor, when measuring object is a lot of, certainly will reduce respectively from the processor traffic handing capacity, thereby influence the speed of distributed system.
3, transmission reliability is poor.Under big professional situation, even not collapse of master processor, frequent giving out a contract for a project also can make in the transmission course very easily packet loss, and the data (comprising business datum) that make master processor receive are unreliable.
Summary of the invention
The present invention proposes a kind of performance measurement data acquisition method of inlaid distribution system, overcome the shortcoming that influences the stability of a system in the prior art, solve exist in the prior art influence Business Processing speed and the insecure problem of measurement data.
The performance measurement data acquisition method of inlaid distribution system of the present invention comprises following treatment step:
The first step: principal and subordinate's processor initialization; Master processor is offered unified buffer area, and the measurement count on the beginning master processor, directly writes unified buffer memory; Increase measurement data from processor and report process, and begin measurement count from the processor, this process priority is low.
Second step: master processor begins statistics and to send acquisition from processor;
The 3rd step: send from processor collecting performance data and group bag;
The 4th step: master processor backs up this cycle image data.Periodic recording timer T2 on master processor is overtime, master processor minute book cycle data collection result (comprise master processor business module collection result and from the processor reported result), and will unify the buffering area zero clearing, begin the counting of next measuring period;
The 5th the step: if master processor on report timer T3 overtime to the backstage, then master processor carries out sending to the backstage after the statistical computation to T3/T2 the sampled result of T3 in the cycle, forwarded for second step again to, otherwise directly forwarded for second step (promptly repeat second and third, four steps) to.
The 6th step: when master processor receives that the backstage stops measuring command, empty corresponding measurement tabulation, and gather timer T1, periodic recording timer T2 and to backstage report cycle T3, no longer carry out measurement data acquisition work the removing cycle.
Wherein second step comprised the following steps:
(1) measurement count of business module on the beginning master processor.Owing to directly write unified buffering area during each Counter Value of statistics, do not need special message trigger.
(2) master processor is provided with the cycle and gathers timer T1 and periodic recording timer T2 (T1<T2).
(3) after the performance measurement module is received the measuring command (performance measurement tabulation comprise the object to be measured that will collect) on backstage on the master processor, begin to be provided with to the backstage and report timer T3 (T3 is the T2 integral multiple).
(4) overtime as cycle collection timer T1, the performance measurement module reports order to corresponding from processor transmission measurement data according to measuring tabulation on the master processor, and time-delay t1 is arranged between many orders.
Wherein the 3rd step comprised the following steps:
(1) business process is added up counter separately from the processor.
(2) report process to collect the measurement data of measurand from the processor measurement.
(3) report process to back up this periodicity certificate from the processor measurement, and begin the statistics of following one-period.
(4) report process according to the size of measuring tabulation, each measurand data and the restriction of affiliated master processor and network communication packet size from the processor measurement data,, a plurality of measurands are formed a bag the classification of backup measurement data.
(5) report process to send from the processor measurement data and respectively wrap data, between bag and the bag certain time-delay t2 is arranged to master processor.
(6) master processor performance measurement module is returned an acknowledge message after receiving packet, puts according to acknowledge message from processor and receives successful bitmap.
(7) after reporting process to send all packets of organizing, the processor measurement data establishes a retransmission timer T4.
Whether (8) retransmission timer T4 is overtime, then corresponding bag is retransmitted once according to receiving successful bitmap (being the affirmation message of every bag) decision.
T1, T2, T3 are the timer on the master processor, and T4 is the timer from the processor.Above-mentioned the 3rd step must be in that (finish in T2-T1-t1 * n) second, wherein n be the number from processor, thereby requirement (t2 * maximum possible bag number) * 2+T4+t1 * n<(T2-T1).In addition, to some fundamental measurement items that need not the backstage measuring command, performance measurement method and said method are similar, and just master processor performance measurement module sends measuring command to what all had a business datum from processor, rather than according to measuring task list.
Use method of the present invention, following advantage arranged:
1, reduced from the processor performance measurement to the influence of other business modules.Increased a process from processor, priority is lower, is specifically designed to reporting of measurement data, thereby has reduced from the burden of processor Service Processing Module, has improved from the processor traffic handing capacity, helps improving the service rate of distributed system.
2, improved the stability of system.Use method of the present invention, subpackage sends and has significantly reduced from the message count of processor and master processor, time-delay sends and has alleviated from the burden of processor and master processor communication between each message bag, (buffer time of T2-T1-t1 * n) is except that having reduced transmission frequency, also alleviated the burden of master processor greatly, these are a significant benefit to the stability of raising system.
3, improved reliability of data transmission.By the retransmission mechanism of message authentication, significantly reduced owing to the transmission packet loss makes the incorrect probability of measurement data, improved the transmission reliability and the authenticity of measurement data.
4, adopt the method for the invention, compared with prior art, improved stability, the reliability of data transmission of inlaid distribution system, reduced influence other business modules.
Description of drawings
Fig. 1 is that performance measurement is realized schematic diagram.
Fig. 2 is performance measurement data realization flow figure.
Fig. 3 is the decomposition to " master processor begin statistics and to send acquisition from processor " among Fig. 2.
Fig. 4 is the decomposition that " sends from processor image data and group bag " among Fig. 2.
Embodiment
Be described in further detail below in conjunction with the enforcement of accompanying drawing technical scheme:
As Fig. 1, comprise performance measurement module and other business modules on the master processor, buffering area is opened in the unification of do as one likes energy measurement module on the master processor, and other business modules are responsible for rolling counters forward, and directly write unified buffering area.After master processor performance measurement module is received the measuring command on backstage, timer T1 is overtime then to report process according to measuring tabulation transmission measuring command to corresponding performance measurement from processor if the cycle on the master processor gathers, from processor in that (T2-T1-t1 * n) finishes in the time that the measurement data packing sends (parlor has time-delay t2) and to the zero clearing of measurement counter from processor, then replying decision and whether send out for the second time according to master processor.Performance counter from the processor is by other business module statistics that adds up, and reports process only to be responsible for the zero clearing of packing, transmission and the counter of measurement result from the performance measurement of processor; After periodic recording timer T2 on the master processor is overtime, the count results that master processor record adds up from the measurement result returned from processor and other modules of master processor, the unified buffering of zero clearing is laid equal stress on and is established timer T1 and T2, begins the counting of following one-period.When reporting timer T3 overtime to the backstage, master processor performance measurement module is simply calculated the measurement result in he in T3/T2 sampling period in addition and is sent to the backstage, and the backstage generates the form of section sometime according to reported result again.
With reference to figure 2,3,4, system's power-up initializing at first, master processor is offered uniformity energy measurement buffering area, and need to begin the adding up of counter of master processor statistics, increase measurement data and report process from the processor back that powers on, each business module begins counter and adds up simultaneously; After the measurement task is built on the backstage, send the performance measurement master processor of tabulating, and comprise value (T3 is the integral multiple of T1) to backstage report cycle T3; After master processor performance measurement module was received the measuring command on backstage, the cycle that is provided with gathered timer T1, periodic recording timer T2 and reports timer T3 to the backstage; Overtime as T1, master processor sends acquisition and reports process to corresponding measurement data from processor, and time-delay t1 is arranged between many orders, to stagger the different times from the processor reported data as far as possible; After respectively reporting process to receive acquisition from the processor measurement data, according to the restriction of measuring tabulation, the size of each measurand data, affiliated master processor and Netcom's news packet size, the measurement data of a plurality of measurands is formed a bag, simultaneously with all counters of zero clearing, send then and respectively wrap master processor, send at interval between bag and the bag, be t2 blanking time; Return an acknowledge message after the every reception of the master processor performance measurement module one bag data, notice from processor should the bag Data Receiving whether success; Report process to distribute behind time all packets from the processor measurement data and establish a retransmission timer T4; Retransmission timer T4 is overtime, report process whether corresponding bag to be retransmitted from the processor measurement data according to receiving successful bitmap (being the affirmation message of every bag) decision, from receiving acquisition to end of retransmission, whole process must be at (T2-T1-t1 * n) finish in the time from processor.T2 is overtime when the periodic recording timer, and this periodicity of master processor performance measurement module records, is laid equal stress on and established timer T2 and T1 all counter O resets according to collection result, begins the counting of next measuring period; T1 is overtime once more when cycle collection timer, then sends measuring command once more to from processor, repeats said process; When overtime to backstage report cycle T3, master processor then carries out simple computation to T3/T2 the sampled result of T3 in the cycle and sends to the backstage; If master processor performance measurement module is received the performance measurement the finish command on backstage, then empty corresponding measurement tabulation, and remove to backstage report cycle T3, performance measurement reports process to finish.
For example:
Because entire method relates to the value of some parameters, the parameter value of performance measurement collecting method in implementation procedure is illustrated in the gprs system for example.
Performance measurement collecting method in the gprs system: gprs system is an inlaid distribution system, master processor is the foreground, from processor is all category-A veneers and category-B veneer, suppose multipotency 48 category-A veneers of configuration and 16 category-B veneers, a category-A veneer can dispose 80 sub-districts at most, measurand is the sub-district, each sub-district contains 80 counters on the category-A veneer, each counter size is 4Byte, category-A veneer and foreground communication data packets size are restricted to less than 1400Byte, each cell measurement size of data is 80 * 4Byte=320Byte, 4 sub-districts can be formed a bag according to our method like this and send, every bag size is 4 * 320Byte=1280Byte<1400Byte.If a category-A veneer is furnished with 80 sub-districts, then need report 80/4=20 bag.Can establish:
Foreground periodic sampling timer T1=270 second
Foreground periodic recording timer T2=300 second
AM/BAM synchro timer T3=900 second
Master processor is sent to respectively the measuring command time interval t1=8 millisecond from processor
From processor (category-A veneer) retransmission timer T4=4 second
From processor (category-A veneer) t2=400 millisecond blanking time of giving out a contract for a project
Wherein: (400 milliseconds * 20) * 2+4 second+8 millisecond * (48+16)=20.32 second<(T2-T1)=30 second can guarantee that the category-A veneer finished measurement data and report work in 30 seconds.The foreground is provided with timer T1 (270 seconds), T2 (300 seconds) and T3 (900 seconds) simultaneously after receiving the performance measurement acquisition on backstage, the interval with t1 when timer T1 (270 seconds) is overtime reports process to send the measurement acquisition to the measurement data of all category-A veneers; After measurement data reports process to receive the measurement acquisition, size (if being 320byte), affiliated master processor (supposing to belong to same master processor) and the big or small restriction (less than 1400byte) of Netcom's news bag according to each measured object data bag, carrying out the group bag of measurement data (as above describes, can organize 20 bags), and with the counter O reset on the category-A veneer so that the statistics of following one-period, interval with t2 (400 milliseconds) sends the bag that all are organized to the foreground then, and establishes timer T4 (4 seconds); The foreground receives whenever that a bag just returns and replys (being set to merit position bitmap) accordingly that the T4 of category-A veneer (4 seconds) is overtime, then according to success position bitmap, retransmits not receiving the bag of replying, and no longer establishes timer T4 after the repeating transmission; Unified buffering is directly write after receiving the data of category-A veneer in the foreground, and when T2 (300 seconds) is overtime, and with the data backup in the unified buffering, and zero clearing unifies buffering area, resets timer T1 and T2; The foreground is carried out simple computation with the record result of 3 times (900 seconds/300 seconds=3) and is sent to the backstage when T3 is overtime, lay equal stress on and establish timer T3.

Claims (5)

1. the performance measurement data acquisition method of an inlaid distribution system is characterized in that, described method comprises following treatment step:
The first step: principal and subordinate's processor initialization; Master processor is offered unified buffer area, and the measurement count on the beginning master processor, directly writes unified buffer memory; Increase measurement data from processor and report process, and begin measurement count from the processor, the described process priority that reports is low;
Second step: master processor begins collecting performance data, and unified buffering area is added up and write to the measurement count of business module on the master processor; After the performance measurement module is received the measuring command on backstage on the master processor, regularly send measurement data respectively from processor and report order to corresponding, between each bar order forward delay interval is set according to measuring tabulation;
The 3rd step: respectively business process is added up counter separately from the processor, report process to collect the measurement data of measurand from the processor measurement,, a plurality of measurands are formed a bag the classification of backup measurement data, send and respectively wrap data, between bag and the bag certain time-delay is arranged to master processor;
The 4th step: master processor backs up all sampled datas in this cycle, and will unify the buffering area zero clearing, begins the measurement count of following one-period;
The 5th the step: if master processor on report timer T3 overtime to the backstage, then master processor carries out sending to the backstage after the statistical computation to T3 all sampled datas in the cycle, forward to again second the step, otherwise directly forward to second the step.
2. the performance measurement data acquisition method of inlaid distribution system according to claim 1 is characterized in that, described method also comprises following treatment step:
When master processor receives that the backstage stops measuring command, empty respective performances and measure tabulation, and remove all cycle timers, no longer carry out measurement data acquisition work.
3. the performance measurement data acquisition method of inlaid distribution system according to claim 1 and 2 is characterized in that, described second step specifically comprises following treatment step:
(1) unified buffering area is added up and write to the measurement count of business module on the master processor in the first step;
(2) cycle collection timer T1 and periodic recording timer T2 are set on master processor, and make T1<T2;
(3) after the performance measurement module is received the measuring command on backstage on the master processor, begin to be provided with to the backstage and report timer T3;
(4) to gather timer T1 overtime when the cycle, and the performance measurement module sends measurement data respectively from processor and reports order to corresponding according to measuring tabulation on the master processor, between each bar order forward delay interval t1 is set.
4. the performance measurement data acquisition method of inlaid distribution system according to claim 1 and 2 is characterized in that, described the 3rd step specifically comprises following treatment step:
(1) business process is added up counter separately from the processor;
(2) report process to collect the measurement data of measurand from the processor measurement;
(3) report process to back up this periodicity certificate from the processor measurement, and begin the statistics of following one-period;
(4) report process according to the size of measuring tabulation, each measurand data and the restriction of affiliated master processor and network communication packet size from the processor measurement data,, a plurality of measurands are formed a bag the classification of backup measurement data;
(5) report process to send from the processor measurement data and respectively wrap data, between bag and the bag certain time-delay t2 is arranged to master processor;
(6) master processor performance measurement module is returned an acknowledge message after receiving packet, puts according to acknowledge message from processor and receives successful bitmap;
(7) after reporting process to send all packets of organizing, the processor measurement data establishes a retransmission timer T4;
Whether (8) retransmission timer T4 is overtime, then corresponding bag is retransmitted once according to receiving successful bitmap decision.
5. the performance measurement data acquisition method of inlaid distribution system according to claim 4, it is characterized in that, be sent in to master processor from processor collecting performance data and group bag respectively in described the 3rd step that (finish in T2-T1-t1 * n) second, wherein n is the number from processor.
CN 200310113606 2003-11-13 2003-11-13 A method for performance measurement data acquisition of embedded distributed system Expired - Lifetime CN1275429C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200310113606 CN1275429C (en) 2003-11-13 2003-11-13 A method for performance measurement data acquisition of embedded distributed system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200310113606 CN1275429C (en) 2003-11-13 2003-11-13 A method for performance measurement data acquisition of embedded distributed system

Publications (2)

Publication Number Publication Date
CN1545259A CN1545259A (en) 2004-11-10
CN1275429C true CN1275429C (en) 2006-09-13

Family

ID=34336938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200310113606 Expired - Lifetime CN1275429C (en) 2003-11-13 2003-11-13 A method for performance measurement data acquisition of embedded distributed system

Country Status (1)

Country Link
CN (1) CN1275429C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1984119B (en) * 2005-12-13 2010-06-23 中兴通讯股份有限公司 Method for controlling flow by time-division technology
CN101459918B (en) * 2007-12-11 2011-10-26 中兴通讯股份有限公司 Distributed performance data management implementation method for base station controller
CN102448089A (en) * 2011-10-25 2012-05-09 华为技术有限公司 Business data statistic validation method and user equipment
US8886033B2 (en) * 2012-03-22 2014-11-11 Source Photonics, Inc. Enhanced status monitoring, storage and reporting for optical transceivers
CN103135944B (en) * 2013-03-12 2016-06-29 飞依诺科技(苏州)有限公司 Expand the method and system of maximum ultrasound image data amount of storage
CN104092586A (en) * 2014-07-21 2014-10-08 上海斐讯数据通信技术有限公司 Method and system for collecting running information of embedded system
CN106610905A (en) * 2015-12-04 2017-05-03 中视迪威激光显示技术有限公司 Assistant selection local area network interface system and communication method thereof

Also Published As

Publication number Publication date
CN1545259A (en) 2004-11-10

Similar Documents

Publication Publication Date Title
CN1275429C (en) A method for performance measurement data acquisition of embedded distributed system
CN108234524A (en) Method, apparatus, equipment and the storage medium of network data abnormality detection
DE3331233C2 (en) Data control device in local connection networks
CN101043375A (en) Distributed system journal collecting method and system
CN109446157B (en) Data format checking system and method based on formatted data
CN103685224A (en) A network invasion detection method
CN101114946A (en) Method for collecting performance object data in telecommunication network management system
CN107135088A (en) The method and apparatus that daily record is handled in cloud computing system
CN102402459A (en) Method and device for summarizing performance data of network management system
CN102023920B (en) Method for gathering messages in remote parallel program debugging system based on tree form
CN106682206A (en) Method and system for big data processing
WO2012034445A1 (en) Method and device for measuring system performance in real time
CN109088782A (en) The log collecting method and device of distributed system
CN110716986B (en) Big data analysis system and application method thereof
CN107463487A (en) A kind of distributed host performance acquisition system and performance acquisition method
CN1601975A (en) Packet-switcher flow monitoring and inquiry method and line card picker
CN1870524A (en) Network element warning data obtaining method
CN101459918B (en) Distributed performance data management implementation method for base station controller
El Sibai et al. A performance study of the chain sampling algorithm
CN110399095A (en) A kind of statistical method and device of memory space
CN104270466A (en) Data reporting method and related equipment
CN109246331A (en) A kind of method for processing video frequency and system
CN106599005A (en) Data archiving method and device
AT&T
Danzig Optimally selecting the parameters of adaptive backoff algorithms for computer networks and multiprocessors

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
EE01 Entry into force of recordation of patent licensing contract

Assignee: SHENZHEN ZTE SOFTWARE Co.,Ltd.

Assignor: ZTE Corp.

Contract fulfillment period: 2007.4.1 to 2013.4.1

Contract record no.: 2008990000942

Denomination of invention: A method for performance measurement data acquisition of embedded distributed system

Granted publication date: 20060913

License type: Exclusive license

Record date: 20081027

LIC Patent licence contract for exploitation submitted for record

Free format text: EXCLUSIVE LICENSE; TIME LIMIT OF IMPLEMENTING CONTACT: 2007.4.1 TO 2013.4.1; CHANGE OF CONTRACT

Name of requester: SHENZHEN CITY ZHONGXING SOFTWARE CO.,LTD.

Effective date: 20081027

CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20060913