CN103326901A - Method and system for testing broadband network performance of power system - Google Patents

Method and system for testing broadband network performance of power system Download PDF

Info

Publication number
CN103326901A
CN103326901A CN2013102600509A CN201310260050A CN103326901A CN 103326901 A CN103326901 A CN 103326901A CN 2013102600509 A CN2013102600509 A CN 2013102600509A CN 201310260050 A CN201310260050 A CN 201310260050A CN 103326901 A CN103326901 A CN 103326901A
Authority
CN
China
Prior art keywords
data
tested
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.)
Granted
Application number
CN2013102600509A
Other languages
Chinese (zh)
Other versions
CN103326901B (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

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and system for testing the broadband network performance of a power system. The method comprises the following steps: in a testing phase, a test request is received, a data unit corresponding to a tested data unit in identification in the power system is configured, then service data corresponding to a tested service in type are generated, the service data are converted into target service data according to a preset rule, the target service data are transmitted between a source port and a destination port of the tested data unit, the transmitted data are analyzed according to the type of the tested service, and a test result is obtained. According to the method for testing the broadband network performance of the power system, service data of different formats are generated according to different types of services, the process of transmitting the service data is simulated for conducting tests, the problem that only a single data flow is available in the prior art is solved, a foundation is built for realizing testing and evaluating the power service loading capacity of a network, and therefore the requirement for diversity of the power service is met.

Description

A kind of electric power system broadband network performance test methods and system
Technical field
The present invention relates to electric power system detection technique field, relate in particular a kind of electric power system broadband network performance test methods and system.
Background technology
Have a large number of services to need long-range, intellectuality in the electric power networks system, so the construction of network communication platform is extremely urgent.Although electric power private wire network installation guideline thought is take optical fiber+broadband wireless technology as the main medium and long distance distribution communication network that makes up at present, and is corresponding, needs research to method or the equipment of electric network performance test.
For this reason, the Chinese invention patent publication number is that the invention " network performance testing system and method for testing " of CN101931571A adopts default document as Business Stream the performance of network to be tested, although this method of testing is comparatively simple, easy operating, but, the data flow of system is more single, can not test and assess the power business bearing capacity of network, can not satisfy the diversity requirement of power business.
Summary of the invention
In view of this, the invention provides a kind of electric power system broadband network performance test methods and system, to solve in the method for testing of the prior art, the data flow of system is more single, can not test and assess the power business bearing capacity of network, can not satisfy the problem of the diversity requirement of power business.
For achieving the above object, the invention provides following technical scheme:
A kind of electric power system broadband network performance test methods is applied to electric power system, and the method comprises: business datum definition phase and test phase;
The described business datum definition phase comprises:
Be respectively message format corresponding to each traffic set, message field (MFLD) and sequential;
Described test phase comprises:
Receive test request, comprise in the described test request: tested type of service sign, tested type identification and tested configuration parameter comprise in the described tested configuration parameter at least: tested nodes and tested data cell sign;
According to described tested type of service, tested type and tested configuration parameter, configure data cell corresponding with described tested data cell sign in the described electric power system;
Generate the business datum corresponding with described tested type of service according to message format corresponding to predefined and described tested type of service, message field (MFLD) definition and message sequential;
Described business datum is converted to the target service data according to preset rules, the information that includes at least described business datum and identify the type of service of described business datum in the described target service data;
According to the principle corresponding with described tested type, with described target service data in described tested data cell source port and destination interface between transmit;
According to described tested type, analyze the data of described transmission, obtain test result.
Preferably, described tested configuration parameter also comprises: tested professional number of times and service interval.
Preferably, described tested data cell sign comprises: the port numbers of described unitunder test or IP address.
Preferably, the business datum corresponding with described tested service identification comprised according to the process that preset rules is converted to the target service data:
Utilize the udp protocol form to represent described business datum;
Adding 12 bytes behind the UDP of the described business datum head between business datum;
In described 12 bytes, choose default number byte, according to the type of service of the described business datum of preset rules mark.
Preferably, also comprise in the described target service data:
Business datum length information, check information, traffic sequence number, professionally confirm sequence number and retransmit sign.
Preferably, described number n according to business datum corresponding to message format corresponding to predefined and described tested type of service, message field (MFLD) definition and the generation of message sequential and described tested type of service rDetermine according to following formula:
Figure BDA00003415243800021
Wherein, T rProduce the time interval of information for data cell, T pFor main website to each data cell polling cycle.
Preferably, when described tested type is service success rate test, described tested professional number of times is n and described service interval when being t, and is described according to described tested type, analyzes the data of described transmission, and the process that obtains test result comprises:
Obtain respectively the data of transmitting in each tested process, analyze this business procedure and be successfully or failure;
Obtain professional number of success m sWith service fail number of times m l
According to service success rate η=m s/ (m s+ m l) * 100% acquisition test result.
Preferably, this business of described analysis be successfully or failed process comprise:
In the data of analyzing described transmission, all include under the data message and the whole correct situations of described data message of stages in this business procedure this business success;
In analyzing the data of described transmission, all do not include in the not exclusively correct situation of the data message of stages in this business procedure or described data message this service fail.
Preferably, when described tested type is maximum throughput rate when test, according to the principle corresponding with described tested type, with described target service data in described tested data cell source port and destination interface between the process transmitted comprise:
Control described source port sends predetermined quantity to destination interface according to current setting speed business datum.
Preferably, described according to described tested type, analyze the data of described transmission, the process that obtains test result comprises:
Obtain the business datum amount that described destination interface receives;
In the business datum amount of described reception during less than described predetermined quantity, after turning described current setting speed down predetermined value, control described source port according to the business datum of dwindling speed after the predetermined value and send described predetermined quantity, and return and carry out the step obtain the data volume that described destination interface receives, continue to carry out, until the business datum amount that described destination interface receives equates with described predetermined quantity;
When determining that business datum amount that described destination interface receives equates with described predetermined quantity, the transmission rate of source port is maximum throughput rate.
Preferably, when described tested type is end-to-end average retardation test, according to described tested type, analyze the data of described transmission, the process that obtains test result comprises:
Determine predefined data to be transmitted piece group, in the described data to be transmitted piece group a plurality of data blocks are arranged;
After source port and the destination interface time synchronized, transmit successively the data block in the described data to be transmitted piece group;
Record respectively the first bit data in each data block and leave the time that last bit data in time of source port and this data block arrives destination interface;
Obtain respectively the end-to-end time delay of each data block;
The end-to-end time delay mean value of determining each data block is end-to-end average retardation.
Preferably, described target service data are carried out also comprising before the transmitting step between described tested data cell:
According to the principle that the packet that arrives destination interface in the set time is obeyed Poisson distribution, the generation background packet also transmits.
A kind of electric power system broadband network Performance Test System is applied to electric power system, and the method comprises:
Business datum message definition module is used for being respectively message format corresponding to each traffic set, message field (MFLD) and sequential;
Receiver module, be used for receiving test request, comprise in the described test request: tested type of service sign, tested type identification and tested configuration parameter comprise in the described tested configuration parameter at least: tested nodes and tested data cell sign
Configuration module is used for according to described tested type of service, tested type and tested configuration parameter, configures data cell corresponding with described tested data cell sign in the described electric power system;
The target service data generation module, be used for generating the business datum corresponding with described tested type of service according to message format corresponding to predefined and described tested type of service, message field (MFLD) definition and message sequential, to be converted to the target service data according to preset rules with described business datum, the information that includes at least described business datum and identify the type of service of described business datum in the described target service data;
Data transmission module is used for according to the principle corresponding with described tested type, with described target service data in described tested data cell source port and destination interface between transmit;
Results analyses module is used for according to described tested type, analyzes the data of described transmission, obtains test result.
Via above-mentioned technical scheme as can be known, compared with prior art, in the disclosed electric power system broadband network of the embodiment of the invention performance test methods, generate the business datum of different-format according to different types of service, and the data transmission procedure of analog service, test, thereby solved in the prior art, the problem that data flow is single has been set up the basis for realizing the power business bearing capacity of network tested and assess, and has satisfied the diversity requirement of power business.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is embodiments of the invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to the accompanying drawing that provides other accompanying drawing.
Fig. 1 is the disclosed a kind of electric power system broadband network performance test methods flow chart of the embodiment of the invention;
Fig. 2 is the disclosed another electric power system broadband network performance test methods flow chart of the embodiment of the invention;
Fig. 3 is the disclosed business datum form of embodiment of the invention schematic diagram;
Fig. 4 is the disclosed another electric power system broadband network performance test methods flow chart of the embodiment of the invention;
Fig. 5 is the disclosed operation flow schematic diagram of the embodiment of the invention;
Fig. 6 is the disclosed another electric power system broadband network performance test methods flow chart of the embodiment of the invention;
Fig. 7 is the structural representation of the disclosed a kind of electric power system broadband network Performance Test System of the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The embodiment of the invention discloses a kind of electric power system broadband network performance test methods, the method is applied to electric power system, comprising: 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 the power business standard, utilizes program language to describe message format, message field (MFLD) and the sequential etc. of each professional data.Thereby different business is distinguished, so that follow-up when testing, what can clearly test according to these features is the data of any business.
The business datum definition phase or just carries out when new definition rule generation is arranged only when testing for the first time.
Test phase then is that test process all needs stage of experiencing each time, and its flow process comprises as shown in Figure 1:
Step S11, reception test request comprise in the described test request: tested type of service sign, tested type identification and tested configuration parameter comprise in the described tested configuration parameter at least: tested nodes and tested data cell sign;
Main frame in the electric power system or processor are carried out the method.At first receive the test request of tester's input, the sign and the tested configuration parameter that include the sign of tested type of service, tested type in the test request, being designated of the sign of tested type of service and tested type presets, can for type of service or tested type one to one letter or character, when receiving this character, can determine any business is carried out any test.Certainly, this sign also can be concrete type of service or the title of test-types.
Set the number that needs for the node that participates in test process in the tested configuration parameter, and determined to be specially which data cell by the measured data unit marks.
Step S12, according to described tested type of service, tested type and tested configuration parameter, configure in the described electric power system and identify corresponding data cell with described tested data cell;
This process is for the type of determining business datum, nodes, data cell sign.Such as 20 management of power load service nodes of substation simulation, then need configure the IP address of each node and the IP address port of port and master station, after being connected with main website, selected to which node to send the information such as those class service message data of the management of power load by main website, so that electric power system can be carried out whole test process.
Further, tested configuration parameter can also comprise: tested professional number of times and service interval then need configuration transaction dry run number of times, the parameters such as the time interval of each service analogue.
Step S13, generate the business datum corresponding with described tested type of service according to the definition of message format corresponding to predefined and described tested type of service, message field (MFLD) and message sequential;
According to the tested type of service sign among the step S11, determine tested type of service, and generate the business datum of this type of service according to predefined message format, message field (MFLD) definition and the message sequential corresponding with this type of service.
Step S14, described business datum is converted to the target service data according to preset rules, the information that includes at least described business datum and identify the type of service of described business datum in the described target service data;
In the target service data, have the information of the type of the business datum that comprises in these target service data of sign, be the data of any type of service thereby be convenient to identify.
Step S15, according to the principle corresponding with described tested type, with described target service data in described tested data cell source port and destination interface between transmit;
According to different test-types, set concrete data transmission principle.Such as, when described tested type is the maximum throughput rate test, then need to set speed and the quantity that source port sends business datum.
Step S16, according to described tested type, analyze the data of described transmission, obtain test result.
In the disclosed electric power system broadband network of the present embodiment performance test methods, generate the business datum of different-format according to different types of service, and the data transmission procedure of analog service, test, thereby solved in the prior art, the problem that data flow is single has been set up the basis for realizing the power business bearing capacity of network tested and assess, and has satisfied the diversity requirement of power business.
In the disclosed another electric power system broadband network performance test methods of the embodiment of the invention, its basic procedure is identical with flow process shown in Figure 1, its will be corresponding with described tested service identification business datum be converted to the target service data according to preset rules detailed process as shown in Figure 2, comprising:
Step S21, utilize the udp protocol form to represent described business datum;
Step S22, adding 12 bytes behind the UDP of the described business datum head between business datum;
The purpose of adding 12 bytes herein is, utilizes udp protocol simulation Transmission Control Protocol, and its length is consistent with the Transmission Control Protocol data length.
Step S23, in described 12 bytes, choose default number byte, according to the type of service of the described business datum of preset rules mark.
Select one of them byte in the present embodiment, add the type of service sign.
In addition, also comprise in the described target service data:
Business datum length information, check information, traffic sequence number, professionally confirm sequence number and retransmit sign.
Concrete business datum form, as shown in Figure 3,12 additional bytes mainly comprise 1 byte type of service identifier, 1 byte business datum length, 2 byte check digit, 2 byte traffic sequence number, 2 bytes already confirm to be engaged in sequence number, 2 byte markers and the identification byte of 2 bytes.Wherein 2 identification byte the insides comprise 1 and ask connection identifier, 1 re-transmission sign, 1 affirmation sign, 1 end to identify remaining 12 reservations.
In the present embodiment, add 12 characters behind the UDP of the described business datum head between business datum, also be consistent with the professional length of practical business transmission when guaranteeing the analog service transmission and indicate business datum, thereby can guarantee the accuracy of test result.
Shown in above-mentioned embodiment, when generating the business datum corresponding with type of service, the number n of business datum rMultiple definite mode can be arranged.
For example, suppose that the process of the terminal unit FTU generation information in the electrical power distribution automatization system is Poisson process, the distribution that FTU produces the information number is Poisson distribution.Can obtain the mathematic expectaion (weighted average) that FTU produces the information number by Poisson distribution.
Suppose that business datum is with average T mThe exponential distribution rule of time occurs, on average the every T of each FTU mProduce a metrical information second, the every T of each FTU gProduce a control information second, suppose that at last accident information seldom produces, do not affect the transmission of passage.
Based on above-mentioned hypothesis, can calculate the time interval T that FTU produces information rSuppose in a period of time T, the total information number that FTU produces is n r, the measurement business information that this total information number should equal during this period of time to produce is counted n mCount n with control information gSum, that is:
n r=n m+ n g(formula 1)
Wherein n r = T T r , n m = T T m , n g = T T g (formula 2)
Formula 2 substitution formula 1, after the arrangement:
1 T r = 1 T m + 1 T g (formula 3)
The time interval of supposing an information of FTU generation is T r, FTU produces information in time period T probability distribution is P{X=k}, obeys Poisson distribution.Learn that by Poisson distribution parameter lambda is:
λ = T T r (formula 4)
New probability formula with formula 4 generation people's 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)
Concept by mathematic expectaion can know, mathematic expectaion is the weighted average that all of stochastic variable X may values, therefore, try to achieve the whole cycle T to each FTU poll in main website pA central FTU produces the weighted average of information number, can calculate with mathematic expectaion:
n r = E [ k ] = Σ K = 0 ∞ kP ( k ) (formula 7)
Formula 6 substitution formula 7 are obtained:
n r = Σ k = 0 ∞ ( T P T r ) k e - T P Tr k ! (formula 8)
Like this, by FTU being produced the statistical property research of information, obtained the number n of FTU generation information rComputing formula.
Except above-mentioned formula, suppose the FTU average T rTime produces an information, and main website is T to cycle of all FTU polls of conllinear pSo,, we can also draw and calculate n rAnother formula
n r = T p T r (formula 9)
In the present embodiment, both can utilize formula 8 to obtain n r, also can utilize formula 9 to obtain n r, can select according to actual conditions.
The below is described in detail the test process of different tested types of service respectively.
Take service success rate as example.Service success rate in the present embodiment is namely in n business, the professional shared ratio of success, therefore, when test, in the tested configuration parameter except comprising: tested nodes and the tested data cell sign, also comprise tested professional frequency n and service interval t.Its overall flow is similar to flow process shown in Figure 1, is the concrete tested corresponding adjustment of type of process foundation.And, according to described tested type, analyze the data of described transmission, obtain the process of test result as shown in Figure 4, comprising:
Step S41, obtain the data of transmitting in each tested process respectively, analyze this business procedure and be successfully or failure;
Step S42, the professional number of success m of acquisition sWith service fail number of times m l
Step S43, according to service success rate η=m s/ (m s+ m l) * 100% acquisition test result.
And wherein analyze business procedure be successfully or failed process as follows:
In the data of analyzing described transmission, all include under the data message and the whole correct situations of described data message of stages in this business procedure this business success;
In analyzing the data of described transmission, all do not include in the not exclusively correct situation of the data message of stages in this business procedure or described data message this service fail.
Take operation flow shown in Figure 5 as example, finished by these a series of message switching of message 1-5 in this operation flow, if these a series of messages can both be accurately the alternately then professional success of expression, otherwise, if a certain message dropping or then service fail of other mistakes occurs wherein.Such as, total calling service needed of power distribution automation business sends total calling order by main website, after the substation is replied and is confirmed order, according to the 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 time interval of transmission is determined by line parameter circuit value.Only finish these all actions and could calculate once professional success.
When described tested type is maximum throughput rate when test, concrete, according to the principle corresponding with described tested type, with described target service data in described tested data cell source port and destination interface between the process transmitted comprise:
Control described source port sends predetermined quantity to destination interface according to current setting speed business datum.
According to described tested type, analyze the data of described transmission, obtain the process of test result as shown in Figure 6, comprising:
Step S61, obtain the business datum amount that described destination interface receives;
Whether step S62, the business datum amount that judge to receive less than predetermined quantity, if, execution in step S63 then, if not, execution in step S64 then;
Whether the business datum amount that receives has two results less than predetermined quantity, less than, perhaps equal.Can not occur greater than situation, so when the business datum amount that receives is not less than the intended service data volume, namely be that the business datum amount that described destination interface receives equates 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 of dwindling after the predetermined value, and return execution in step S61;
Step S64, determine that the transmission rate of source port is maximum throughput rate.
When described tested type is end-to-end average retardation test, according to described tested type, analyze the data of described transmission, the process that obtains test result is as follows:
At first determine predefined data to be transmitted piece group, in this transmission data block group a plurality of data blocks are arranged;
After source port and destination interface time synchronized, transmit successively the data block in the described data to be transmitted piece group; Record respectively the first bit data in each data block and leave the time that last bit data in time of source port and this data block arrives destination interface; Obtain respectively the end-to-end time delay of each data block; The end-to-end time delay mean value of determining each data block is end-to-end average retardation.
Take one of them data block as example, to leave the time of source port be T to the first bit data in this data block 0, the time that last bit data arrives destination interface is T 1, the end-to-end delay that then utilizes this data block to record is T Ete=T 1-T 0
And when carrying out the test of round-trip delay, the time of last bit data arrival destination interface is T in the data block 1, destination interface can feed back an acknowledgement frame to source port, and the record source port receives that the time of acknowledgement frame is designated as T bRound-trip delay rtt c=T 1-T b
In addition, except above-mentioned test-types, also comprise maximum concurrent connection number test, the number of the business that setting source port and destination interface need to be tested in the test configurations parameter, the predetermined throughput of each service connection, according to described tested type, analyze the data of described transmission, the detailed process that obtains test result is as follows:
The connection of a business in the business that model is scheduled to, after the detection business datum reaches the predetermined throughput of this business, set up next professional connection, after this business also reaches predetermined throughput, setting up next service connection, by that analogy, until newly-established service connection can't reach predetermined throughput, at this moment, the quantity of the service connection of current foundation is maximum concurrent connection number.
In addition, also comprise the system reliability test, tested professional number of times and service interval in the test configurations parameter.Record is the time of professional continual and steady operation each time, then removes repeatedly the mean value of running time, as system's 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 that are applied in the electric power system all can realize by the disclosed embodiment of the application, give unnecessary details no longer one by one at this.And above-mentioned test result can also by output equipment output displays such as display or printers, so that the tester based on this, be assessed the performance of electric power system.
Further, in order to realize the authenticity of test process, all can be described target service data be carried out transmitting step between described tested data cell before in above-mentioned each embodiment, according to the principle that the packet that arrives destination interface in the set time is obeyed Poisson distribution, the generation background packet also transmits.
Namely, in each test process, added background traffic, with consume network bandwidth, so that the process of analog service is truer.The content of this background traffic can be taken from the stochastic flow file.And according to the analysis to the packet arrival process: according to binomial distribution, the probability that arrives k packet in the time t 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 further investigated.When n → ∞,
Figure BDA00003415243800113
The Poisson distribution of the approximate obedience of binomial distribution obtains at last:
P t ( x = k ) = e - βt ( βt ) k k ! (formula 13)
Formula 13 explanations, the probability P of k packet of arrival in the time t t(x=k) obey Poisson distribution.And the data packet interarrival times is obeyed evenly and is distributed.
Corresponding with the disclosed electric power system broadband network of above-described embodiment performance test methods, disclosed herein as well is a kind of electric power system broadband network Performance Test System, its structure comprises as shown in Figure 7:
Business datum message definition module 71 is used for being respectively message format corresponding to each traffic set, message field (MFLD) and sequential;
Receiver module 72, be used for receiving test request, comprise in the described test request: tested type of service sign, tested type identification and tested configuration parameter comprise in the described tested configuration parameter at least: tested nodes and tested data cell sign
Configuration module 73 is used for according to described tested type of service, tested type and tested configuration parameter, configures data cell corresponding with described tested data cell sign in the described electric power system;
Target service data generation module 74, be used for generating the business datum corresponding with described tested type of service according to message format corresponding to predefined and described tested type of service, message field (MFLD) definition and message sequential, to be converted to the target service data according to preset rules with described business datum, the information that includes at least described business datum and identify the type of service of described business datum in the described target service data;
Data transmission module 75 is used for according to the principle corresponding with described tested type, with described target service data in described tested data cell source port and destination interface between transmit;
Results analyses module 76 is used for according to described tested type, analyzes the data of described transmission, obtains test result.
The disclosed electric power system broadband network of the present embodiment Performance Test System, generate the business datum of different-format according to different types of service, and the data transmission procedure of analog service, test, thereby solved in the prior art, the problem that data flow is single has been set up the basis for realizing the power business bearing capacity of network tested and assess, and has satisfied the diversity requirement of power business.
Concrete, configuration module 73 can be divided into, service parameter configuration submodule and system parameters configuration submodule, wherein, service parameter configuration submodule is used for tested professional number of times, service interval, tested nodes and the tested data cell sign etc. according to tested parameter, and tested data cell is configured.And system parameters configuration submodule, then IP address and the port numbers of configuration-system.
In order to make the tester can know easily test result, can also comprise test result display module 77, concrete, can be display screen.
Further, in order to realize the authenticity of test process, also comprise the background traffic generation module, be used for the principle according to the packet obedience Poisson distribution that arrives destination interface in the set time, the generation background packet also transmits.
Each embodiment adopts the mode of going forward one by one to describe in this specification, and what each embodiment stressed is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For the disclosed device of embodiment, because it is corresponding with the disclosed method of embodiment, so description is fairly simple, relevant part partly illustrates referring to method and gets final product.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be apparent concerning those skilled in the art, and General Principle as defined herein can be in the situation that do not break away from the spirit or scope of the present invention, in other embodiments realization.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. an electric power system broadband network performance test methods is characterized in that, be applied to electric power system, the method comprises: business datum definition phase and test phase;
The described business datum definition phase comprises:
Be respectively message format corresponding to each traffic set, message field (MFLD) and sequential;
Described test phase comprises:
Receive test request, comprise in the described test request: tested type of service sign, tested type identification and tested configuration parameter comprise in the described tested configuration parameter at least: tested nodes and tested data cell sign;
According to described tested type of service, tested type and tested configuration parameter, configure data cell corresponding with described tested data cell sign in the described electric power system;
Generate the business datum corresponding with described tested type of service according to message format corresponding to predefined and described tested type of service, message field (MFLD) definition and message sequential;
Described business datum is converted to the target service data according to preset rules, the information that includes at least described business datum and identify the type of service of described business datum in the described target service data;
According to the principle corresponding with described tested type, with described target service data in described tested data cell source port and destination interface between transmit;
According to described tested type, analyze the data of described transmission, obtain test result.
2. method according to claim 1 is characterized in that, described tested configuration parameter also comprises: tested professional number of times and service interval;
Described tested data cell sign comprises: the port numbers of described unitunder test or IP address.
3. method according to claim 2 is characterized in that, the business datum corresponding with described tested service identification comprised according to the process that preset rules is converted to the target service data:
Utilize the udp protocol form to represent described business datum;
Adding 12 bytes behind the UDP of the described business datum head between business datum;
In described 12 bytes, choose default number byte, according to the type of service of the described business datum of preset rules mark.
4. method according to claim 3 is characterized in that, also comprises in the described target service data:
Business datum length information, check information, traffic sequence number, professionally confirm sequence number and retransmit sign.
5. method according to claim 4 is characterized in that, described number n according to business datum corresponding to message format corresponding to predefined and described tested type of service, message field (MFLD) definition and the generation of message sequential and described tested type of service rDetermine according to following formula:
Figure FDA00003415243700021
Wherein, T rProduce the time interval of information for data cell, T pFor main website to each data cell polling cycle.
6. method according to claim 5 is characterized in that, when described tested type is the service success rate test, described tested professional number of times is that n and described service interval are when being t, described according to described tested type, analyze the data of described transmission, the process that obtains test result comprises:
Obtain respectively the data of transmitting in each tested process, analyze this business procedure and be successfully or failure;
Obtain professional number of success m sWith service fail number of times m l
According to service success rate η=m s/ (m s+ m l) * 100% acquisition test result;
This business of described analysis be successfully or failed process comprise:
In the data of analyzing described transmission, all include under the data message and the whole correct situations of described data message of stages in this business procedure this business success;
In analyzing the data of described transmission, all do not include in the not exclusively correct situation of the data message of stages in this business procedure or described data message this service fail.
7. method according to claim 5, it is characterized in that, when described tested type is the maximum throughput rate test, according to the principle corresponding with described tested type, with described target service data in described tested data cell source port and destination interface between the process transmitted comprise:
Control described source port sends predetermined quantity to destination interface according to current setting speed business datum;
Described according to described tested type, analyze the data of described transmission, the process that obtains test result comprises:
Obtain the business datum amount that described destination interface receives;
In the business datum amount of described reception during less than described predetermined quantity, after turning described current setting speed down predetermined value, control described source port according to the business datum of dwindling speed after the predetermined value and send described predetermined quantity, and return and carry out the step obtain the data volume that described destination interface receives, continue to carry out, until the business datum amount that described destination interface receives equates with described predetermined quantity;
When determining that business datum amount that described destination interface receives equates with described predetermined quantity, the transmission rate of source port is maximum throughput rate.
8. method according to claim 5 is characterized in that, when described tested type is end-to-end average retardation test, according to described tested type, analyzes the data of described transmission, and the process that obtains test result comprises:
Determine predefined data to be transmitted piece group, in the described data to be transmitted piece group a plurality of data blocks are arranged;
After source port and the destination interface time synchronized, transmit successively the data block in the described data to be transmitted piece group;
Record respectively the first bit data in each data block and leave the time that last bit data in time of source port and this data block arrives destination interface;
Obtain respectively the end-to-end time delay of each data block;
The end-to-end time delay mean value of determining each data block is end-to-end average retardation.
9. the described method of any one is characterized in that according to claim 1-8, and described target service data are carried out also comprising before the transmitting step between described tested data cell:
According to the principle that the packet that arrives destination interface in the set time is obeyed Poisson distribution, the generation background packet also transmits.
10. an electric power system broadband network Performance Test System is characterized in that, be applied to electric power system, the method comprises:
Business datum message definition module is used for being respectively message format corresponding to each traffic set, message field (MFLD) and sequential;
Receiver module, be used for receiving test request, comprise in the described test request: tested type of service sign, tested type identification and tested configuration parameter comprise in the described tested configuration parameter at least: tested nodes and tested data cell sign
Configuration module is used for according to described tested type of service, tested type and tested configuration parameter, configures data cell corresponding with described tested data cell sign in the described electric power system;
The target service data generation module, be used for generating the business datum corresponding with described tested type of service according to message format corresponding to predefined and described tested type of service, message field (MFLD) definition and message sequential, to be converted to the target service data according to preset rules with described business datum, the information that includes at least described business datum and identify the type of service of described business datum in the described target service data;
Data transmission module is used for according to the principle corresponding with described tested type, with described target service data in described tested data cell source port and destination interface between transmit;
Results analyses module is used for according to described tested type, analyzes the data of described transmission, obtains 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 true CN103326901A (en) 2013-09-25
CN103326901B 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)

Cited By (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
CN108667536A (en) * 2018-04-26 2018-10-16 国网冀北电力有限公司秦皇岛供电公司 A kind of test method and device for analog signal communication system
CN108694118A (en) * 2017-04-11 2018-10-23 北京京东尚科信息技术有限公司 A kind of application testing method and device
CN109491815A (en) * 2018-10-17 2019-03-19 深圳壹账通智能科技有限公司 Based on multistage data creation method, device and computer equipment
WO2020135429A1 (en) * 2018-12-29 2020-07-02 中兴通讯股份有限公司 Traffic analysis method and apparatus, and traffic detection method and apparatus
CN112148621A (en) * 2020-10-14 2020-12-29 中国农业银行股份有限公司 Test method and device and electronic equipment
CN114339856A (en) * 2021-12-03 2022-04-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 (5)

* 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
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

Patent Citations (5)

* 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
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

Cited By (9)

* 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
CN108694118A (en) * 2017-04-11 2018-10-23 北京京东尚科信息技术有限公司 A kind of application testing method and device
CN108667536A (en) * 2018-04-26 2018-10-16 国网冀北电力有限公司秦皇岛供电公司 A kind of 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
WO2020135429A1 (en) * 2018-12-29 2020-07-02 中兴通讯股份有限公司 Traffic analysis method and apparatus, and traffic detection method and apparatus
CN112148621A (en) * 2020-10-14 2020-12-29 中国农业银行股份有限公司 Test method and device and electronic equipment
CN114339856A (en) * 2021-12-03 2022-04-12 国家电网有限公司信息通信分公司 Test method and device for power inspection service, terminal equipment and network 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

Also Published As

Publication number Publication date
CN103326901B (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN103326901B (en) A kind of power system broadband network performance test methods and system
CN101997717B (en) Analysing communication performance of IED
CN109194551B (en) Method, device and system for testing performance of real-time Ethernet equipment
CN101964727B (en) Method and device for measuring available bandwidth by using mixed messages
CN101313521A (en) Using filtering and active probing to evaluate a data transfer path
CN103259696A (en) Network bandwidth detecting method and device and network devices
CN101124542A (en) System and method for associating a DLPDU received by an interface chip with a data measurement made by an external circuit
CN104683182A (en) Method and device for detecting network service quality of IDC machine room
CN104065398A (en) Design method and system of electric power information communication network convergence test platform
CN110505112A (en) A kind of network performance monitoring method, device and storage medium
CN103218295B (en) The method of testing of ESB message handling ability and system
CN107425995A (en) Bidirectional measurement control method, send business device and receive business device
CN103023703B (en) Network timely reliability accelerated test method based on M/M/s queuing model
CN204632087U (en) Based on acquiring electric energy information and the supervisory system of Internet of Things
CN109194545A (en) A kind of network test platform traffic generating system, method, apparatus and electronic equipment
CN116055373B (en) Industrial terminal and network communication quality test evaluation system
CN111884915A (en) Method for improving efficiency of acquiring modbus equipment by gateway
CN105678456B (en) Method and system for automatically evaluating running state of electric energy metering device
CN112671596A (en) Remote control automatic test system and test method
CN109120479B (en) Network throughput testing method based on network message format
CN103595552A (en) Analysis method and analysis system for cluster storage network parallel load
RU2225074C2 (en) Method for evaluating information capabilities of communication system
Netto et al. An ANN based forecast for IED network management using the IEC61850 standard
Stiri et al. Internet of things connectivity-based smart grids in Morocco: Proof of concept and guide to massive deployments
Karimov et al. Models of network processes for describing operation of network protection tools

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