CN103326901B - A kind of power system broadband network performance test methods and system - Google Patents

A kind of power system broadband network performance test methods and system Download PDF

Info

Publication number
CN103326901B
CN103326901B CN201310260050.9A CN201310260050A CN103326901B CN 103326901 B CN103326901 B CN 103326901B CN 201310260050 A CN201310260050 A CN 201310260050A CN 103326901 B CN103326901 B CN 103326901B
Authority
CN
China
Prior art keywords
tested
data
service
business datum
type
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.)
Active
Application number
CN201310260050.9A
Other languages
Chinese (zh)
Other versions
CN103326901A (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.)
Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd
State Grid Corp of China SGCC
Southwest Jiaotong University
Original Assignee
Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd
State Grid Corp of China SGCC
Southwest Jiaotong University
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 Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd, State Grid Corp of China SGCC, Southwest Jiaotong University filed Critical Electric Power Research Institute of State Grid Chongqing Electric Power Co Ltd
Priority to CN201310260050.9A priority Critical patent/CN103326901B/en
Publication of CN103326901A publication Critical patent/CN103326901A/en
Application granted granted Critical
Publication of CN103326901B publication Critical patent/CN103326901B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application discloses a kind of power system broadband network performance test methods and system, the method includes: in test phase, receive test request, data cell corresponding with tested data cell mark in configuration power system, then the business datum corresponding with tested type of service is generated, target service data will be converted to according to preset rules with business datum, to be transmitted between target service data source port in tested data cell and destination interface, according to tested type, analyze the data of transmission, obtain test result.In power system broadband network performance test methods disclosed in the embodiment of the present invention, the business datum of different-format is generated according to different types of service, and the data transmission procedure of analog service, test, thus solving in prior art, the problem that data stream is single, for realizing the power business bearing capacity of network is tested and assessment establishes basis, meets the diversity requirements of power business.

Description

A kind of power system broadband network performance test methods and system
Technical field
The present invention relates to power system detection technique field, more particularly to a kind of power system broadband network performance test methods and system.
Background technology
Having a large number of services to need long-range, intellectuality in electric power networks system, therefore the construction of network communication platform is extremely urgent.Although electric power private wire network installation guideline thought is with optical fiber+broadband wireless technology for main structure medium and long distance distribution communication network at present, accordingly, it is necessary to study the method to electric network performance test or equipment.
For this, the invention " network performance testing system and method for testing " that Chinese invention patent publication number is CN101931571A adopts default document as Business Stream, the performance of network to be tested, although this method of testing is relatively simple, easily operated, but, the data flow ratio of system is more single, it is impossible to the power business bearing capacity of network is tested and is assessed, it is impossible to enough meets the diversity requirements of power business.
Summary of the invention
In view of this, the invention provides a kind of power system broadband network performance test methods and system, to solve in method of testing of the prior art, the data flow ratio of system is more single, the power business bearing capacity of network can not be tested and assessed, it is impossible to the problem enough meeting the diversity requirements of power business.
For achieving the above object, the present invention provides following technical scheme:
A kind of power system broadband network performance test methods, is applied to power system, and the method includes: business datum definition phase and test phase;
The described business datum definition phase includes:
Message format, message field (MFLD) and the sequential that respectively each traffic set is corresponding;
Described test phase includes:
Receiving test request, described test request includes: tested type of service mark, tested type identification and tested configuration parameter, at least includes in described tested configuration parameter: tested nodes and tested data cell mark;
According to described tested type of service, tested type and tested configuration parameter, configure data cell corresponding with described tested data cell mark in described power system;
The business datum corresponding with described tested type of service is generated according to message format corresponding to tested type of service set in advance and described, message field (MFLD) definition and message sequential;
Described business datum is converted to target service data according to preset rules, including at least having described business datum and identifying the information of type of service of described business datum in described target service data;
According to the principle corresponding with described tested type, will be transmitted between described target service data source port in described tested data cell and destination interface;
According to described tested type, analyze the data of described transmission, obtain test result.
Preferably, described tested configuration parameter also includes: tested business number of times and service interval.
Preferably, described tested data cell mark includes: the port numbers of described unitunder test or IP address.
Preferably, the process that the business datum corresponding with described tested service identification is converted to target service data according to preset rules is included:
Udp protocol form is utilized to be indicated described business datum;
12 bytes are added between business datum after the UDP head of described business datum;
Described 12 bytes choose predetermined number byte, the type of service of business datum described in preset rules labelling.
Preferably, described target service data also include:
Business datum length information, check information, traffic sequence number, business confirm serial number and retransmit mark.
Preferably, the described message format corresponding according to tested type of service set in advance and described, message field (MFLD) definition and message sequential generate the number n of the business datum corresponding with described tested type of servicerDetermine according to following formula:
Wherein, TrThe interval of information, T is produced for data cellpFor main website to each data cell polling cycle.
Preferably, when described tested type is service success rate test, described tested business number of times is n and when described service interval is t, described analyzes the data of described transmission according to described tested type, and the process obtaining test result includes:
Obtaining the data of transmission in each tested process respectively, analyzing this business procedure is success or failure;
Acquisition business number of success msWith service fail number of times ml
According to service success rate η=ms/(ms+ml) * 100% obtain test result.
Preferably, this business of described analysis is that the process of success or failure includes:
The data analyzing described transmission all include the data message in each stage in this business procedure and described data message all correct, this business success;
The data analyzing described transmission all do not include the data message in each stage in this business procedure or described data message not exclusively correct, this service fail.
Preferably, when described tested type is maximum throughput rate test, according to the principle corresponding with described tested type, the process being transmitted between described target service data source port in described tested data cell and destination interface is included:
Control described source port and send the business datum of predetermined quantity to destination interface according to the current speed that sets.
Preferably, described analyzing the data of described transmission according to described tested type, the process obtaining test result includes:
Obtain the business datum amount that described destination interface receives;
When the business datum amount of described reception is less than described predetermined quantity, after turning described current setting speed down predetermined value, control described source port and send the business datum of described predetermined quantity according to the speed after reducing predetermined value, and return the step performing to obtain the data volume that described destination interface receives, continue executing with, until the business datum amount that described destination interface receives is equal with described predetermined quantity;
Determine that, when the business datum amount that described destination interface receives is equal with described predetermined quantity, the transmission rate of source port is maximum throughput rate.
Preferably, when described tested type is the test of end-to-end average retardation, according to described tested type, analyzing the data of described transmission, the process obtaining test result includes:
Determine data to be transmitted block group set in advance described data to be transmitted block group has multiple data block;
After source port and destination interface time synchronized, transmit the data block in described data to be transmitted block group successively;
Record the first bit data in each data block respectively to leave last bit data in time of source port and this data block and arrive the time of destination interface;
Obtain the end-to-end time delay of each data block respectively;
The end-to-end time delay meansigma methods determining each data block is end-to-end average retardation.
Preferably, also include before described target service data being transmitted step between described tested data cell:
Obey the principle of Poisson distribution according to the packet arriving destination interface in the set time, generate background data bag and be transmitted.
A kind of power system broadband network Performance Test System, is applied to power system, and the method includes:
Business datum message definition module, for message format, message field (MFLD) and sequential that respectively each traffic set is corresponding;
Receiver module, for receiving test request, described test request includes: tested type of service mark, tested type identification and tested configuration parameter, at least includes in described tested configuration parameter: tested nodes and tested data cell mark
Configuration module, for according to described tested type of service, tested type and tested configuration parameter, configuring data cell corresponding with described tested data cell mark in described power system;
Target service data generation module, the business datum corresponding with described tested type of service is generated for the message format corresponding according to tested type of service set in advance and described, message field (MFLD) definition and message sequential, target service data will be converted to according to preset rules, including at least having described business datum and identifying the information of type of service of described business datum in described target service data with described business datum;
Data transmission module, for according to the principle corresponding with described tested type, will be transmitted between described target service data source port in described tested data cell and destination interface;
Interpretation of result module, for according to described tested type, analyzing the data of described transmission, obtain test result.
Known via above-mentioned technical scheme, compared with prior art, in power system broadband network performance test methods disclosed in the embodiment of the present invention, generate the business datum of different-format the data transmission procedure of analog service according to different types of service, test, thus solving in prior art, the problem that data stream is single, for realizing the power business bearing capacity of network is tested and assessment establishes basis, meets the diversity requirements of power business.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to the accompanying drawing provided.
Fig. 1 is the disclosed a kind of power system broadband network performance test methods flow chart of the embodiment of the present invention;
Fig. 2 is another power system broadband network performance test methods flow chart disclosed in the embodiment of the present invention;
Fig. 3 is business datum form schematic diagram disclosed in the embodiment of the present invention;
Fig. 4 is another power system broadband network performance test methods flow chart disclosed in the embodiment of the present invention;
Fig. 5 is operation flow schematic diagram disclosed in the embodiment of the present invention;
Fig. 6 is another power system broadband network performance test methods flow chart disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of a kind of power system broadband network Performance Test System disclosed in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
The embodiment of the invention discloses a kind of power system broadband network performance test methods, the method is applied to power system, including: business datum definition phase and test phase.
The business datum definition phase is that whole test process carries out at initial operating stage, and in the present embodiment, this process is specially according to power business specification, utilizes program language to describe the message format of data of each business, message field (MFLD) and sequential etc..Thus different business is made a distinction, in order to follow-up when testing, it is possible to what clearly carry out according to these features testing is the data of any business.
The business datum definition phase is only when first time tests, or just performs when there being new definition rule to produce.
Test phase is then that test process is required for the stage of experience each time, and its flow process is as it is shown in figure 1, include:
Step S11, reception test request, described test request includes: tested type of service mark, tested type identification and tested configuration parameter, at least includes in described tested configuration parameter: tested nodes and tested data cell mark;
Main frame or processor in power system perform the method.First the test request of tester's input is received, test request includes the mark of tested type of service, the mark of tested type and tested configuration parameter, mark and being designated of tested type of tested type of service preset, can be and type of service or tested type letter or character one to one, when receiving this character, namely can determine that it is that any business is carried out any test.Certainly, this mark can also be the title of concrete type of service or test-types.
Tested configuration parameter sets the number needing the node for participating in test process, and determines to be specially which data cell by measured data unit marks.
Step S12, according to described tested type of service, tested type and tested configuration parameter, configure in described power system and identify corresponding data cell with described tested data cell;
This process is for determining that the type of business datum, nodes, data cell identify.Such as 20 management of power load service nodes of substation simulation, then need to configure the IP address port of the IP address of each node and port and master station, by main website selection to information such as those class service message data of which node transmission management of power load after being connected with main website, so that power system can carry out whole test process.
The parameters such as further, tested configuration parameter can also include: tested business number of times and service interval, then need configuration transaction dry run number of times, the interval of each service analogue.
Step S13, generate the business datum corresponding with described tested type of service according to message format corresponding to tested type of service set in advance and described, message field (MFLD) definition and message sequential;
Identify according to the tested type of service in step S11, it is determined that tested type of service, and generate the business datum of this type of service according to the predefined message format corresponding with this type of service, message field (MFLD) definition and message sequential.
Step S14, described business datum is converted to target service data according to preset rules, including at least having described business datum and identifying the information of type of service of described business datum in described target service data;
In target service data, there is the information of the type identifying the business datum comprised in these target service data, consequently facilitating identification is the data of any type of service.
Step S15, according to the principle corresponding with described tested type, will be transmitted between described target service data source port in described tested data cell and destination interface;
According to different test-types, set concrete data transmission principle.Such as, when described tested type is maximum throughput rate test, then needs to set source port and send speed and the quantity of business datum.
Step S16, according to described tested type, analyze the data of described transmission, obtain test result.
In power system broadband network performance test methods disclosed in the present embodiment, the business datum of different-format is generated according to different types of service, and the data transmission procedure of analog service, test, thus solving in prior art, the problem that data stream is single, for realizing the power business bearing capacity of network is tested and assessment establishes basis, meets the diversity requirements of power business.
In another power system broadband network performance test methods disclosed in the embodiment of the present invention, its basic procedure is identical with flow process shown in Fig. 1, the business datum corresponding with described tested service identification is converted to the detailed process of target service data according to preset rules as in figure 2 it is shown, include by it:
Step S21, described business datum utilize udp protocol form be indicated;
Step S22, after the UDP head of described business datum between business datum add 12 bytes;
The purpose herein adding 12 bytes is in that, utilizes udp protocol simulation Transmission Control Protocol, and its length is consistent with Transmission Control Protocol data length.
Step S23, in described 12 bytes, choose predetermined number byte, the type of service of business datum described in preset rules labelling.
The present embodiment is selected one of them byte, adds type of service mark.
In addition, described target service data also include:
Business datum length information, check information, traffic sequence number, business confirm serial number and retransmit mark.
Concrete business datum form, as shown in Figure 3,12 supplementary bytes mainly include 1 byte type of service identifier, 1 byte business datum length, 2 byte check bit, 2 byte traffic sequence number, 2 byte industry confirmation business serial number, 2 byte markers and the identification byte of 2 bytes.Wherein inside 2 identification bytes, comprise 1 request connection identifier, 1 retransmit mark, 1 confirm mark, 1 terminate mark, reserve for remaining 12.
In the present embodiment, after the UDP head of described business datum, between business datum, add 12 characters, it is ensured that also keep consistent and mark business datum during analog service transmission with the business length of practical business transmission, thereby may be ensured that the accuracy of test result.
As shown in above-described embodiment, when generating the business datum corresponding with type of service, the number n of business datumrCan have and multiple determine mode.
For example it is assumed that the process that the terminal unit FTU in electrical power distribution automatization system produces information is Poisson process, it is Poisson distribution that FTU produces the distribution of information number.FTU can be obtained by Poisson distribution and produce the mathematic expectaion (weighted mean) of information number.
Assume that business datum is with average TmThe exponential rule of time occurs, the average every T of each FTUmSecond produce a metrical information, the every T of each FTUgSecond produce one control information, finally suppose accident information seldom produce, do not affect the transmission of passage.
Based on above-mentioned it is assumed that FTU can be calculated produce the interval T of informationr.Assuming in a period of time T, the total information number that FTU produces is nr, this total information number should be equal to the measurement business information number n during this period of time producedmWith control Information Number ngSum, it may be assumed that
nr=nm+ng(formula 1)
Wherein n r = T T r , n m = T T m , n g = T T g (formula 2)
Formula 2 substitutes into formula 1, after arrangement:
1 T r = 1 T m + 1 T g (formula 3)
Assuming that the interval that FTU produces an information is Tr, it is P{X=k} that FTU produces the probability distribution of information in time period T, obeys Poisson distribution.Learnt that parameter lambda is by Poisson distribution:
λ = T T r (formula 4)
New probability formula by formula 4 generation people Poisson distribution
P { X = k } = λ k e - λ k ! , k = 0,1,2 , . . . (formula 5)
:
P { X = k } = ( T Tr ) k e - T Tr k ! , k = 0,1,2 , . . . (formula 6)
By the concept of mathematic expectaion it is recognised that mathematic expectaion is all of stochastic variable X is likely to the weighted average of values, it is therefore desirable to must in main website whole cycle T to each FTU pollpThe weighted mean of central produced an information number of FTU, it is possible to calculate by mathematic expectaion:
n r = E [ k ] = Σ K = 0 ∞ kP ( k ) (formula 7)
Formula 6 is substituted into formula 7 obtain:
n r = Σ k = 0 ∞ ( T P T r ) k e - T P Tr k ! (formula 8)
So, by FTU being produced the statistical property research of information, obtaining FTU and producing the number n of informationrComputing formula.
Except above-mentioned formula, it is assumed that the average T of FTUrTime produces an information, and cycle of all FTU polls of conllinear is T by main websitep, so, we can also draw calculating nrAnother formula
n r = T p T r (formula 9)
In the present embodiment, formula 8 both can be utilized to obtain nr, it is also possible to utilize formula 9 to obtain nr, it is possible to select according to practical situation.
Separately below the test process of different tested types of service is described in detail.
For service success rate.Service success rate in the present embodiment is namely in n business, success ratio shared by business, therefore, when test, except including in tested configuration parameter: tested nodes and tested data cell also include tested business frequency n and service interval t except identifying.Its overall flow is similar to flow process shown in Fig. 1, and simply concrete process foundation is test for type and adjusts accordingly.Further, according to described tested type, analyze the data of described transmission, obtain the process of test result as shown in Figure 4, including:
Step S41, obtaining in each tested process the data of transmission respectively, analyzing this business procedure is success or failure;
Step S42, acquisition business number of success msWith service fail number of times ml
Step S43, foundation service success rate η=ms/(ms+ml) * 100% obtain test result.
And it is as follows wherein to analyze the process that business procedure is success or failure:
The data analyzing described transmission all include the data message in each stage in this business procedure and described data message all correct, this business success;
The data analyzing described transmission all do not include the data message in each stage in this business procedure or described data message not exclusively correct, this service fail.
For operation flow shown in Fig. 5, this operation flow is completed by these a series of MESSAGE EXCHANGE of message 1-5, if these a series of messages can both be accurately mutual, represent business success, otherwise, if wherein a certain message dropping or other mistakes, service fail occur.Such as, total calling service needed of power distribution automation business is sent by main website always calls order, and substation is replied after confirming order, according to remote signalling frame, telemetry frame, load tap changer frame, remote terminal unit status frames, the message sequence of water level frame sends to master station, and the interval of transmission is determined by line parameter circuit value.Only complete all these action and could calculate a business success.
When described tested type is maximum throughput rate test, concrete, according to the principle corresponding with described tested type, the process being transmitted between described target service data source port in described tested data cell and destination interface is included:
Control described source port and send the business datum of predetermined quantity to destination interface according to the current speed that sets.
According to described tested type, analyze the data of described transmission, obtain the process of test result as shown in Figure 6, including:
Step S61, obtain described destination interface receive business datum amount;
Step S62, judge receive business datum amount whether less than predetermined quantity, if so, then perform step S63, if it is not, then perform step S64;
Whether the business datum amount received has two results less than predetermined quantity, less than, or be equal to.Do not have more than situation, so when receive business datum amount be not less than intended service data volume time, be namely described destination interface receive business datum amount equal with described predetermined quantity.
Step S63, turn described current setting speed down predetermined value, control described source port and send the business datum of described predetermined quantity according to the speed after reducing predetermined value, and return execution step S61;
Step S64, the transmission rate determining source port are maximum throughput rate.
When described tested type is the test of end-to-end average retardation, according to described tested type, analyzing the data of described transmission, the process obtaining test result is as follows:
First determine data to be transmitted block group set in advance, this transmission data chunk has multiple data block;
When after source port with destination interface time synchronized, transmit the data block in described data to be transmitted block group successively;Record the first bit data in each data block respectively to leave last bit data in time of source port and this data block and arrive the time of destination interface;Obtain the end-to-end time delay of each data block respectively;The end-to-end time delay meansigma methods determining each data block is end-to-end average retardation.
For one of them data block, in this data block, the first bit data leaves the time of source port is T0, the time of last bit data arrival destination interface is T1, then utilizing the end-to-end delay that this data block records is Tete=T1-T0
And when carrying out the test of round-trip delay, in data block, the time of last bit data arrival destination interface is T1, destination interface can feed back an acknowledgement frame to source port, and record source port receives the time of acknowledgement frame and is designated as Tb.Round-trip delay rttc=T1-Tb
In addition, except above-mentioned test-types, also include the test of maximum concurrent connection number, test configurations parameter sets the number of the business of source port and destination interface needs test, the predetermined throughput of each service connection, according to described tested type, analyzing the data of described transmission, the detailed process obtaining test result is as follows:
Initially set up the connection of a business in predetermined business, after detection business datum reaches the predetermined throughput of this business, set up the connection of next business, after this business also reaches predetermined throughput, setting up next service connection, by that analogy, until newly-established service connection is unable to reach predetermined throughput, now, the quantity of the current service connection set up is maximum concurrent connection number.
In addition, system reliability test, tested business number of times and service interval in test configurations parameter are also included.Record the time that business each time is run continually and steadily, then go repeatedly to run the meansigma methods of time, as the system reliability service time.
The embodiment of the present application does not limit and only comprises above-mentioned test-types, and all system performance testing types being applied in power system all can be realized by disclosed embodiments, and this is no longer going to repeat them.Further, above-mentioned test result, it is also possible to by the outut device output display such as display or printer, in order to the performance of power system based on this, is estimated by tester.
Further, in order to realize the verity of test process, all can before described target service data be transmitted step between described tested data cell in each embodiment above-mentioned, obey the principle of Poisson distribution according to the packet arriving destination interface in the set time, generate background data bag and be transmitted.
It is, add background traffic in each test process, with consumption network bandwidth so that the process of analog service is truer.The content of this background traffic can take from stochastic flow file.And according to the analysis to packet arrival process: according to binomial distribution, arriving k in time t according to the probability wrapped is:
P t ( x = k ) = C n k ( βΔt ) k ( 1 - βΔt ) n - k (formula 12)
Wherein C n k = n ! k ! ( n - k ) ! ;
Formula 12 is investigated further.As n → ∞,Binomial distribution is approximate obeys Poisson distribution, finally obtains:
P t ( x = k ) = e - βt ( βt ) k k ! (formula 13)
Formula 13 illustrates, arrives the k probability P according to bag in time tt(x=k) Poisson distribution is obeyed.And, data packet interarrival times is obeyed and is uniformly distributed.
With above-described embodiment disclosed in power system broadband network performance test methods corresponding, disclosed herein as well is a kind of power system broadband network Performance Test System, its structure as it is shown in fig. 7, comprises:
Business datum message definition module 71, for message format, message field (MFLD) and sequential that respectively each traffic set is corresponding;
Receiver module 72, for receiving test request, described test request includes: tested type of service mark, tested type identification and tested configuration parameter, at least includes in described tested configuration parameter: tested nodes and tested data cell mark
Configuration module 73, for according to described tested type of service, tested type and tested configuration parameter, configuring data cell corresponding with described tested data cell mark in described power system;
Target service data generation module 74, the business datum corresponding with described tested type of service is generated for the message format corresponding according to tested type of service set in advance and described, message field (MFLD) definition and message sequential, target service data will be converted to according to preset rules, including at least having described business datum and identifying the information of type of service of described business datum in described target service data with described business datum;
Data transmission module 75, for according to the principle corresponding with described tested type, will be transmitted between described target service data source port in described tested data cell and destination interface;
Interpretation of result module 76, for according to described tested type, analyzing the data of described transmission, obtain test result.
Power system broadband network Performance Test System disclosed in the present embodiment, the business datum of different-format is generated according to different types of service, and the data transmission procedure of analog service, test, thus solving in prior art, the problem that data stream is single, for realizing the power business bearing capacity of network is tested and assessment establishes basis, meets the diversity requirements of power business.
Concrete, configuration module 73 can be divided into, service parameter configuration submodule and systematic parameter configuration submodule, wherein, service parameter configuration submodule is for according to the tested business number of times in tested parameter, service interval, tested nodes and tested data cell mark etc., configuring tested data cell.And systematic parameter configuration submodule, then configure IP address and the port numbers of system.
In order to enable tester to know test result easily, it is also possible to include test result display module 77, concrete, it is possible to for display screen.
Further, in order to realize the verity of test process, also include background traffic generation module, for obeying the principle of Poisson distribution according to the packet arriving destination interface in the set time, generate background data bag and be transmitted.
In this specification, each embodiment adopts the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so what describe is fairly simple, relevant part illustrates referring to method part.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention.The multiple amendment of these embodiments be will be apparent from for those skilled in the art, and generic principles defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein, and is to fit to the widest scope consistent with principles disclosed herein and features of novelty.

Claims (10)

1. a power system broadband network performance test methods, it is characterised in that being applied to power system, the method includes: business datum definition phase and test phase;
The described business datum definition phase includes:
Message format, message field (MFLD) and the sequential that respectively each traffic set is corresponding;
Described test phase includes:
Receiving test request, described test request includes: tested type of service mark, tested type identification and tested configuration parameter, at least includes in described tested configuration parameter: tested nodes and tested data cell mark;
According to tested type of service, tested type and tested configuration parameter, configure tested data cell corresponding with described tested data cell mark in described power system;
The business datum corresponding with described tested type of service is generated according to message format corresponding to tested type of service set in advance and described, message field (MFLD) definition and message sequential;
Described business datum is converted to target service data according to preset rules, including at least having described business datum and identifying the information of type of service of described business datum in described target service data;
According to the principle corresponding with described tested type, will be transmitted between described target service data source port in described tested data cell and destination interface;
According to described tested type, analyze the data of described transmission, obtain test result.
2. method according to claim 1, it is characterised in that described tested configuration parameter also includes: tested business number of times and service interval;
Described tested data cell mark includes: the port numbers of described tested data cell or IP address.
3. method according to claim 2, it is characterised in that the process that the business datum corresponding with described tested type of service is converted to target service data according to preset rules is included:
Udp protocol form is utilized to be indicated described business datum;
12 bytes are added between business datum after the UDP head of described business datum;
Described 12 bytes choose predetermined number byte, the type of service of business datum described in preset rules labelling.
4. method according to claim 3, it is characterised in that also include in described target service data:
Business datum length information, check information, traffic sequence number, business confirm serial number and retransmit mark.
5. method according to claim 4, it is characterised in that the definition of the described message format corresponding according to tested type of service set in advance and described, message field (MFLD) and message sequential generate the number n of the business datum corresponding with described tested type of servicerDetermine according to following formula:
Wherein, TrThe interval of information, T is produced for tested data cellpFor main website to each tested data cell polling cycle.
6. method according to claim 5, it is characterised in that when described tested type is service success rate test, described tested business number of times is n and when described service interval is t, described analyzing the data of described transmission according to described tested type, the process obtaining test result includes:
Obtaining the data of transmission in each tested process respectively, analyzing this business procedure is success or failure;
Acquisition business number of success msWith service fail number of times ml
According to service success rate η=ms/(ms+ml) * 100% obtain test result;
The process that this business of described analysis is success or failure includes:
The data analyzing described transmission all include the data message in each stage in this business procedure and described data message all correct, this business success;
The data analyzing described transmission all do not include the data message in each stage in this business procedure or described data message not exclusively correct, this service fail.
7. method according to claim 5, it is characterized in that, when described tested type is maximum throughput rate test, according to the principle corresponding with described tested type, the process being transmitted between described target service data source port in described tested data cell and destination interface is included:
Control described source port and send the business datum of predetermined quantity to destination interface according to the current speed that sets;
Described analyzing the data of described transmission according to described tested type, the process obtaining test result includes:
Obtain the business datum amount that described destination interface receives;
When the business datum amount of described reception is less than described predetermined quantity, after turning described current setting speed down predetermined value, control described source port and send the business datum of described predetermined quantity according to the speed after reducing predetermined value, and return the step performing to obtain the business datum amount that described destination interface receives, continue executing with, until the business datum amount that described destination interface receives is equal with described predetermined quantity;
Determine that, when the business datum amount that described destination interface receives is equal with described predetermined quantity, the transmission rate of source port is maximum throughput rate.
8. method according to claim 5, it is characterised in that when described tested type is the test of end-to-end average retardation, according to described tested type, analyzing the data of described transmission, the process obtaining test result includes:
Determine data to be transmitted block group set in advance described data to be transmitted block group has multiple data block;
After source port and destination interface time synchronized, transmit the data block in described data to be transmitted block group successively;
Record the first bit data in each data block respectively to leave last bit data in time of source port and this data block and arrive the time of destination interface;
Obtain the end-to-end time delay of each data block respectively;
The end-to-end time delay meansigma methods determining each data block is end-to-end average retardation.
9. the method according to any one in claim 1-8, it is characterised in that also include before being transmitted step between described target service data source port in described tested data cell and destination interface:
Obey the principle of Poisson distribution according to the packet arriving destination interface in the set time, generate background data bag and be transmitted.
10. a power system broadband network Performance Test System, it is characterised in that be applied to power system, this test system includes:
Business datum message definition module, for message format, message field (MFLD) and sequential that respectively each traffic set is corresponding;
Receiver module, for receiving test request, described test request includes: tested type of service mark, tested type identification and tested configuration parameter, at least includes in described tested configuration parameter: tested nodes and tested data cell mark
Configuration module, for according to tested type of service, tested type and tested configuration parameter, configuring tested data cell corresponding with described tested data cell mark in described power system;
Target service data generation module, the business datum corresponding with described tested type of service is generated for the message format corresponding according to tested type of service set in advance and described, message field (MFLD) definition and message sequential, target service data will be converted to according to preset rules, including at least having described business datum and identifying the information of type of service of described business datum in described target service data with described business datum;
Data transmission module, for according to the principle corresponding with described tested type, will be transmitted between described target service data source port in described tested data cell and destination interface;
Interpretation of result module, for according to described tested type, analyzing the data of described transmission, obtain test result.
CN201310260050.9A 2013-06-26 2013-06-26 A kind of power system broadband network performance test methods and system Active CN103326901B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310260050.9A CN103326901B (en) 2013-06-26 2013-06-26 A kind of power system broadband network performance test methods and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310260050.9A CN103326901B (en) 2013-06-26 2013-06-26 A kind of power system broadband network performance test methods and system

Publications (2)

Publication Number Publication Date
CN103326901A CN103326901A (en) 2013-09-25
CN103326901B true CN103326901B (en) 2016-07-06

Family

ID=49195444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310260050.9A Active CN103326901B (en) 2013-06-26 2013-06-26 A kind of power system broadband network performance test methods and system

Country Status (1)

Country Link
CN (1) CN103326901B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107026766A (en) * 2016-02-02 2017-08-08 ***通信集团河北有限公司 A kind of assessment detection method and device of network quality
CN108694118B (en) * 2017-04-11 2021-10-01 北京京东尚科信息技术有限公司 Application testing method and device
CN108667536B (en) * 2018-04-26 2021-08-13 国网冀北电力有限公司秦皇岛供电公司 Test method and device for analog signal communication system
CN109491815A (en) * 2018-10-17 2019-03-19 深圳壹账通智能科技有限公司 Based on multistage data creation method, device and computer equipment
CN111385163A (en) * 2018-12-29 2020-07-07 中兴通讯股份有限公司 Flow analysis and detection method and device
CN112148621A (en) * 2020-10-14 2020-12-29 中国农业银行股份有限公司 Test method and device and electronic equipment
CN114339856B (en) * 2021-12-03 2024-03-12 国家电网有限公司信息通信分公司 Test method and device for power inspection service, terminal equipment and network equipment
CN115459863A (en) * 2022-08-23 2022-12-09 深圳市共进电子股份有限公司 Network equipment performance test method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742358A (en) * 2009-12-22 2010-06-16 重庆重邮东电通信技术有限公司 Method and device for testing quality of network television
CN101931571A (en) * 2009-06-24 2010-12-29 鸿富锦精密工业(深圳)有限公司 System and method for testing network performance
CN102497294A (en) * 2011-12-09 2012-06-13 重庆市电力公司电力科学研究院 Method and system for testing power line carrier route
CN102710463A (en) * 2012-05-22 2012-10-03 中国电力科学研究院 Dynamic simulation system and simulation method of electric power data network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070263539A1 (en) * 2004-09-10 2007-11-15 Telefonaktiebolaget Lm Ericsson (Publ) Method For Monitoring Service Performance And Quality Level In A Telecommunications Network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931571A (en) * 2009-06-24 2010-12-29 鸿富锦精密工业(深圳)有限公司 System and method for testing network performance
CN101742358A (en) * 2009-12-22 2010-06-16 重庆重邮东电通信技术有限公司 Method and device for testing quality of network television
CN102497294A (en) * 2011-12-09 2012-06-13 重庆市电力公司电力科学研究院 Method and system for testing power line carrier route
CN102710463A (en) * 2012-05-22 2012-10-03 中国电力科学研究院 Dynamic simulation system and simulation method of electric power data network

Also Published As

Publication number Publication date
CN103326901A (en) 2013-09-25

Similar Documents

Publication Publication Date Title
CN103326901B (en) A kind of power system broadband network performance test methods and system
CN104065398B (en) A kind of electric power communication network network merges method for designing and the system of test platform
CN104683182A (en) Method and device for detecting network service quality of IDC machine room
CN101841436B (en) Method for testing performance of IPFIX (Internet Protocol Flow Information Export) server, device and system thereof
CN103259696A (en) Network bandwidth detecting method and device and network devices
CN111835588A (en) In-band network remote measurement bearer flow selection method and system
CN101656653B (en) Method and device for configuring receive buffer applied to multi-path transmission
CN103945443A (en) Test method and system for TD-LTE (Internal Tandem Duplication-Line Termination Equipment) wireless network service performance
CN103078765A (en) Test method and device of network element equipment performance
CN104486167A (en) Concurrence network performance and network trending direction testing method based on MESH network
CN101145977A (en) A QoS monitoring system and its measuring method of IP data network
CN107425995A (en) Bidirectional measurement control method, send business device and receive business device
CN103139014A (en) Method and device for network quality evaluating based on by-pass
CN102916883B (en) LINK detection method and routing forwarding equipment
CN111935767B (en) Network simulation system
CN114240031A (en) 5G network bearing quality evaluation method facing power service
CN111884915A (en) Method for improving efficiency of acquiring modbus equipment by gateway
CN103701626B (en) The preparation method of bandwidth information and the equipment for obtaining bandwidth information
CN112671596A (en) Remote control automatic test system and test method
CN107872369A (en) The adaptive real-time detection method of wireless network available bandwidth
CN116055373B (en) Industrial terminal and network communication quality test evaluation system
CN103368786B (en) The method of testing of CAN bus data and device
CN104376220A (en) Multi-dimension electric power communication access network service modeling and demand analyzing method
Kim et al. Feasibility analysis of hybrid control networks based on common industrial protocol
CN115360677A (en) Differential protection system of power distribution network and power distribution network

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