CN109190217A - A kind of message mask emulation test system of elastically regulating and controlling platform - Google Patents

A kind of message mask emulation test system of elastically regulating and controlling platform Download PDF

Info

Publication number
CN109190217A
CN109190217A CN201810951529.XA CN201810951529A CN109190217A CN 109190217 A CN109190217 A CN 109190217A CN 201810951529 A CN201810951529 A CN 201810951529A CN 109190217 A CN109190217 A CN 109190217A
Authority
CN
China
Prior art keywords
mask
message
test
test case
platform
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
CN201810951529.XA
Other languages
Chinese (zh)
Other versions
CN109190217B (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.)
Dongfang Electronics Co Ltd
Original Assignee
Dongfang Electronics Co Ltd
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 Dongfang Electronics Co Ltd filed Critical Dongfang Electronics Co Ltd
Priority to CN201810951529.XA priority Critical patent/CN109190217B/en
Publication of CN109190217A publication Critical patent/CN109190217A/en
Application granted granted Critical
Publication of CN109190217B publication Critical patent/CN109190217B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of message mask emulation test systems of elastically regulating and controlling platform, it increases mask field dynamically recording transmission of news information newly in platform original message structure, realizes that the in-circuit emulation to the kernel services such as wide area front-collection, distributed parallel SCADA and advanced application in regulation service center is tested.Tool includes mask marking component, test case management module, mask test bus, intermediate state data extraction module, propagation path analysis module and test coverage analysis module etc., and the man-machine interface of common platform realizes dispatching and monitoring business in-circuit emulation test.The present invention provides a kind of emulation test method for real time monitoring class PAAS platform, improves the testability and stability of platform.

Description

A kind of message mask emulation test system of elastically regulating and controlling platform
Technical field
The present invention relates to a kind of emulation test systems for monitoring class PAAS platform in real time, are based especially on " the electricity of cloud The emulation testing tool of net intelligent scheduling monitoring support platform " regulation service center.
Background technique
Reform existing " electric network intelligent scheduling monitoring support platform " based on cloud, researches and develops the power grid elasticity towards 202x EMS support platform, it has also become the development trend of industry.Elastically regulating and controlling platform integrates artwork data center by flexible application frame With regulation service center, it is difficult to track and record transmission of news approach, elementary path coverage test can not be carried out, in-circuit emulation is surveyed It is big to try difficulty.
Summary of the invention
The invention proposes a kind of message mask emulation test system of elastically regulating and controlling platform, technology to be solved is asked Topic is: carrying out continuous monitoring in regulation service center of the true test scene to elastically regulating and controlling platform and in-circuit emulation is surveyed Examination.
Technical scheme is as follows:
A kind of message mask emulation test system of elastically regulating and controlling platform, it is characterised in that: surveyed including mask marking component, mask Try bus, intermediate state data extraction module and propagation path analysis module;
The mask marking component is used to provide the mask application encapsulation of message for the service of elastically regulating and controlling platform;The mask packet Containing following information: monitored object type name, node name, Service name and message body;
The mask test bus pushes the message to come for chronologically sequential storage application service;
The intermediate state data extraction module, for monitored object type name corresponding to mask in mask test bus and disappearing The message that breath body can match with test case is extracted, will be in the message that extracted write-in propagation path analysis library;
The propagation path analysis module, when for extracting the relevant message of test case and foundation from propagation path analysis library Between sort, thus the information on services that the derivative message for obtaining test case executes on each node, obtain test case message Propagation path, and judge whether propagation path is reasonable by service logic;
The test case includes following information: monitored object type name and message body.
As a further improvement of the present invention: the mask application encapsulation includes creation, translation, push and the pumping of mask It takes;
The mask format is A.B.C.D, and the corresponding information of mask attribute value A is monitored object type name ObjType, mask category Property the corresponding information of value B be node name Node, the corresponding information of mask attribute value C is Service name Srv, and mask attribute value D is corresponding Information be message body Mes;The translation refers to the mutual translation between attribute value and corresponding information in mask;
The push of the mask refers to while application service is pushed to calculated result the elastic messaging bus of platform mask The message of middle A non-zero is chronologically sequentially pushed to mask test bus;
The extraction of the mask refers to the message for consuming the condition that meets from mask test bus by test case;
It is additionally provided with mask dictionary library, for recording the corresponding relationship between each attribute value of mask and corresponding information.
As a further improvement of the present invention: further include test case management module, for realizing test case document and The newly-increased of mask dictionary library, deletion, maintenance and inquiry, and mask dictionary library is safeguarded by test case document automatically;
Test case document sets are set for test purpose, the test case document sets include several test case documents, often A test case document stores the test case of a kind of type of message.
As a further improvement of the present invention: before the mask test bus is built with using the elastic messaging bus of platform It sets queue, calculate queue, control queue and event queue;
The preposition queue is used to store the message of wide area front-collection device generation, and it is parallel for distributed storage to calculate queue The real-time calculating message of SCADA, control queue are used to store the procedure message of remote control and remote regulating, and event queue then stores SCADA Event and the message transitional information of alarm.
As a further improvement of the present invention: the processing method of the intermediate state data extraction module are as follows: input test is used Example translates mask attribute value A and D corresponding to monitored object type name and message body in test case, total from mask test On line consume mask can with the message of A and D successful match, and by A, D, timestamp t and message data be written propagation path Analyze library.
As a further improvement of the present invention: the processing method of the propagation path analysis module are as follows: input test use-case, Mask attribute value A and D corresponding to monitored object type name and message body in test case are translated, according to A and D to propagating road Diameter analysis library is retrieved, and t is temporally stabbed to search result and is ranked up to obtain message queue, is successively analyzed each in message queue The mask of message by the information on services that the derivative message that translation obtains test case executes on each node, and obtains test The propagation path of use-case;Judge whether propagation path is reasonable by service logic process, analyze the abnormal conditions of outbound path, extracts different Normal message, and from the distributed memory library of platform inquire unexpected message data, complete message calculation and check.
As a further improvement of the present invention: the abnormal conditions include interruption, winding and the over range in path.
As a further improvement of the present invention: further including test coverage analysis module, for calculating path testing covering Rate.
As a further improvement of the present invention: the man-machine interface of the emulation test system common platform realizes that emulation is surveyed Examination.
Compared with the existing technology, the present invention has following good effect: (1) present invention can be in UAT or PROD environment Under, carry out continuous monitoring using regulation service center of the true test scene to elastically regulating and controlling platform and in-circuit emulation is surveyed Examination;(2) tool includes mask marking component, test case management, mask test bus, intermediate state data pick-up, propagation path The key modules such as analysis, test coverage analysis, the man-machine interface of common platform are realized preposition to wide area in regulation service center The elementary path coverage test of the kernel services such as acquisition, distributed parallel SCADA and advanced application;(3) present invention improves reality When monitor class PAAS platform testability and stability.
Detailed description of the invention
Fig. 1 is message mask emulation testing flow chart.Wherein: mask marking component 1 provides covering for message for application service Code application encapsulation;Test case document 2 is the JSON text document of type of message and message body composition binary group building;Mask word 3 MaskDictDB of allusion quotation library is the KV dictionary library of message mask attribute, saves four category informations of mask dictionary definition;Test case Management module 4 realizes the functions such as test case document and the newly-increased of mask dictionary library, deletion, maintenance, inquiry;Intermediate state data are taken out Modulus block 5 disappears by the test case of the input intermediate state that chronologically consumer applications service calculates generation from mask test bus Breath;Mask test bus 6 is using the building of plateau elastic messaging bus comprising calculating data queue, control queue and event queue etc. Test queue;Propagation path analysis module 7 is used to analyze the exception information of propagation path track record queue QueueM;Test is covered Lid rate analyzes 8 modules and calculates the test coverage of application service, measures the test coverage of type and the coverage rate of mask message Deng.
It is other to regulate and control in service center for platform based on the micro- of Docker in Fig. 1 in addition to emulation testing instrumental function module Service, abbreviated functional description: mistake of the preprocessor 11 of wide area front-collection for the life data of front end processor acquisition RTU multiplexer channel It filters, select excellent processing, complete the creation of message mask;" the raw data " that the collector 12 of wide area front-collection acquires RTU are regulated Parameter match process is that SCADA monitors " ripe data ";Elastic messaging bus 13 manages distributed elastic message queue, elastic event Queue etc.;Distributed parallel SCADA14 realizes that more SCADA service parallel computation using grouping, allocation methods;Distribution is advanced to answer The advanced computation function of power grid is realized using parallel section calculation technology with 15;Api interface service 16 is a set of RestfulAPI, is realized and platform exterior is applied and the external interface of man-machine interface communication;Man-machine interface 17 includes based on QT's The interface MMI and WEB interface;Distributed memory library 18 is the distributing real-time data bank of cross-node, for improving parallel SCADA's Real time data processing ability.
Fig. 2 is that schematic diagram is disposed in the implementation of elastically regulating and controlling platform.Elastically regulating and controlling platform is divided into five layers: system resource layer leads to With podium level, business platform layer, platform services layer and platform presentation layer.Wherein, " emulation testing tool " is also used and is based on The micro services mode of Docker loads, and is deployed to business platform layer, main to realize in regulation service center " wide area is preposition adopts Collection ", " emulation testing of distributed parallel SCADA " and " distributed advanced application " three classes core business and external api interface.
Specific embodiment
Below according to the attached drawing technical solution that the present invention will be described in detail:
The present invention is a kind of message mask emulation test system tool of elastically regulating and controlling platform, is had before implementation as shown in Figure 2 Prototype PAAS platform, the IaaS environment that system resource layer uses OpenStack to build, emulation testing tool dispose business scheduling in office In management node.Emulation testing flow chart is as shown in Figure 1.
Mask marking component is in the nature a kind of pitching pile probe assembly, in application service to elastic messaging bus PUSH message While, judge whether non-zero is pushed to mask test bus and the message of non-zero to message mask;Emulation testing tooling order The solely test post in analysis mask test bus;As it can be seen that the process of emulation testing, does not influence the stream of former regulation service center Formula calculation process.
Statement and definition:
CasePointDB: test case relating dot library;m∈Set[ObjType,Mes];The test case hypostazation m.case of m [A,D];Storage format of the m in test case relating dot library:<pointid,A+"_"+D>, pointid is that test case is associated Point number, A and D are type of message and the message body for a little deriving message.
PathDB: propagation path analyzes the library KV, caches the message of intermediate state data pick-up.
QueueM: the message queue of the propagation path of a test case case [A, D] is chronologically cached.
Construct emulation testing tool:
By in Fig. 11 ~ 8 sequence, the nucleus module of testing tool is constructed.
1) mask marking component
Component includes the api interfaces such as creation, translation, push, the extraction of mask.
Mask creation: the definition original message body of platform is M, and the mask for increasing by 12 character compositions in message body belongs to Property, M.mask=" A.B.C.D " saves the character string that " 00.00.00.00 " arrives " FF.FF.FF.FF ".Wherein production environment is covered Code attribute is 0(i.e. 00.00.00.00).Mask creates process, and practical is to disappear by the derivative of " test case covers measuring point " The mask of breath indicates process.
Mask translation: M.mask≤> [ObjType, Node, Srv, Mes], i.e., message mask and message, which are propagated, records mutually The logic calculation process of translation, fractionation are accomplished by
(a) M.mask- > [ObjType, Node, Srv, Mes];
It parses [A, B, C, D], constructs the key of mask dictionary, inquiry mask dictionary library is carried out key-value mapping translation, obtained To the explanation tuple of mask: [ObjType, Node, Srv, Mes].
(b) [ObjType, Node, Srv, Mes] -> M.mask;
Traversal retrieval mask dictionary library is inquired key, is translated [A, B, C, D] by the matching of value, and splicing obtains M.mask.The Mes that traversal matching mask dictionary library key first is started with " D_ ", parses first effective A1 and D;Again time The ObjType that matching mask dictionary library key is started with " A_ " is gone through, successful match value is A2;When verifying A1 equal to A2, traversal matching Mask dictionary library key parses effective B and C with " B_ " Node started and the Srv started with " C_ ", exports " A1.B.C.D";When other abnormal conditions, to " elastic event queue " transmission " anomalous event notification information ", such as " mask dictionary is different Normal: Ce Shiyongli &caseJson, there are two kinds of explanations [A1, D] and [A2, D], please correct test case ".
Mask push: it is original into the functional module of " elastic messaging bus " PUSH message M in platform, increase mask judgement Probe: if M.mask is not equal to " 00.00.00.00 ", M push is a to mask test bus.Wherein, wide area is preposition The message that collector generates is pushed to preposition queue, and the real-time calculating message of distributed parallel SCADA is pushed to calculating queue, distant Control, remote regulating procedure message be pushed to control queue, the message transitional information of SCADA event and alarm is pushed to event queue.
2) test case document
When testing tool starts, the specified test case document store path of environmental variance TestCasePath is read, as this The test case document sets of secondary test;Document is named by ObjType.case, and every row stores the test case of similar ObjType JSON string: JSON (Mes).A set of test case document sets are designed to one or several functions of test regulation service center Point.It scans TestCasePath and obtains current test case set Set [ObjType, Mes], construction mask dictionary can be facilitated.
Test case is a kind of binary array case [A, D], and A and D need first to state in mask dictionary.
Test Sample Design indicates message flow by two-stage, and ObjType is level-one mark, and Mes is second level mark;Every kind of level-one Mark contains up to 255 second level marks.Level-one mark can classify by electric power secondary system, i.e., plant stand, voltage class, interval, Five major class such as equipment, measuring point, such as ObjType=" plant stand ", then test case document " plant stand .case " content is as follows:
Mes=[{ type=" plant stand ", id=" 5 ", name=" GHB ", desc=" change of 220kV red fruit " },
{ type=" interval ", id=" 32 ", name=" GHB_106BAY ", desc=" red eastern 106 interval of 220kV red fruit " },
{ type=" switch ", id=" 1123 ", name=" GHB_106BK ", desc=" 106 breaker of the red eastern line of 220kV red fruit " },
{ type=" measuring point ", id=" 10723 ", name=" GHB_106BK_Ia ", red eastern 106 electricity of line of desc=" 220kV red fruit Flow A " },
]}
Each Mes contains up to 255 records, conducive to the rapid translation of mask.
3) mask dictionary library
Mask dictionary library uses the typical library KV, stores mask dictionary.Be defined as follows "
(a) monitored object type dictionary, ADict=<" A_ "+A, ObjType>, A is first attribute of mask, and ObjType is " prison Control object type name ";
(b) nodal information dictionary: BDict=<" B_ "+B, Node>, B is second attribute of mask, and Node is " node name ";
(c) information on services dictionary: CDict=<" C_ "+C, Srv>, C is mask third attribute, and Srv is " Service name ";
(d) message body dictionary: DDict=<" D_ "+A+ " _ "+D, Mes>, D is the 4th attribute of mask, and Mes is " message body ", packet Containing [type, id, name, desc], each attribute is the actual parameter at artwork data center, and type type is ObjType Similar or subclass, id are object number, and name is object name, and desc is object factory.
Maximum capacity needed for mask dictionary library can be calculated as the definition of mask, data volume is small, supports to look into using traversal The mode of inquiry obtains data.
The process that testing tool initializes mask dictionary library is as follows:
(a) the platform resources information such as node, service list, service packet and the copy amount of 2 Portable Batch System of attached drawing are read, Construct BDict and CDict;
(b) ADict, DDict in MaskDictDB are emptied;
(c) the test case document of TestCasePath is read in scanning, calculates the set Set of type of message and message body [ObjType,Mes];
(d) m, m ∈ Set [ObjType, Mes] are taken;
(e) judge m.ObjType whether in the value of MaskDictDB: then finding key (" A_ "+m.A);It is not looking into then Maximum value k (empty then k equal to 0) that " A_ " starts, being followed by number is looked for, if k+1≤255, by ADict=< " A_ "+(k+ 1), m.ObjType > write-in MaskDictDB;
(f) judge m.Mes whether in the value of MaskDictDB;Then finding key (" D_ "+m.A+ " _ "+m.D);Do not exist Maximum value k (empty then k is equal to 0) that " D_ "+m.A+ " _ " starts, being followed by number is then searched, if k+1≤255, by DDict =<" D_ "+m.A+ " _ "+(k+1), m.Mes>, MaskDictDB is written;
If (g) k+1 > 255, prompt test case exceeded, subsequent use-case is not used;
(h) return step (e) removes a m from set Set [ObjType, Mes], until completing the behaviour of all elements in set Make.
4) test case management
Realize the functions such as mask dictionary library and the newly-increased of test case document, deletion, maintenance, inquiry.Mask dictionary library passes through KV Library is managed, easy to operate.Test case is managed by text document line by line, and document is written in when initialization HashMap<Mes, ObjType>, the maintenance test use-case in HashMap, and write-back test case text document.
It searches Set [ObjType, Mes] and gathers corresponding measurement point set, create test case relating dot library CasePointDB retrieves the SCADA parameter at artwork data center, realizes following calculate:
(a) m, m ∈ Set [ObjType, Mes] are taken;
(b) use-case hypostazation traverses mask dictionary library, inquires m.A1 by m.ObjType, inquires m.A2 and m.D by m.Mes;Such as Fruit m.A1 is equal to m.A2, then the test case hypostazation result of m is m.case [A, D], and A1=A2=A obtains m.value=m.A +"_"+m.D;
(c) monitored object of m.Mes.type corresponding types is inquired, then retrieves measuring point corresponding to monitored object m.Mes.id Information;It presses<pointid,m.value>storage format (pointid is measuring point number), stores information into casePointDB;
If (d) environmental variance TestCasePath changes, casePointDB is reinitialized.
Wide area front-collection preprocessor calls mask marking component, realizes that the process of the mask creation of message M is as follows:
(a) preprocessor initial message mask: M.mask=" 00.00.00.00 ";
(b) preprocessor obtains node name and the Service name of local service, inquires mask dictionary BDict and CDict, obtains M.mask ="00.B.C.00";
(c) it after the preprocessed device processing of the raw data of front-collection, generates and acquires ripe data (having matched regulation parameter);Take ripe data The ID of middle measuring point matches the key of casePointDB;
If (d) successful match, M.value=M.A+ " _ "+M.D is taken, [A, D] is parsed;Indicate message mask: M.mask=" A.B.C.D";M.mask=" 00.00.00.00 " if matching is unsuccessful;
(e) return step (a) continues the message for matching subsequent acquisition.
5) intermediate state data pick-up
Such as attached drawing 1, elastically regulating and controlling platform mainly divides preposition pretreatment, front-collection device, distributed parallel SCADA and distribution high Four steps such as grade application complete the streaming computing of message, and mask marking component is called after the completion of calculating every time, disappear mask is non-zero Breath, is pushed to mask test bus.Wherein, the test post of preposition pretreatment and collector is pushed to preposition queue, SCADA's Message is calculated in real time and is pushed to calculating queue, and SCADA remote control, remote regulating message are pushed to control queue, SCADA event and alarm Message is then pushed to event queue.
Intermediate state data pick-up refers to that test case set Set [ObjType, Mes] driving platform carries out test, then The process for pressing the test post in use-case entity set processing mask test bus after set use-case hypostazation, it is accomplished by
(a) it takes and has been used to preposition pretreated use-case in set Set, use-case hypostazation obtains case [A, D];
(b) timestamp for the Message Processing assumed is t, extracts the message M of message mask A and D successful match in preposition queue, <A+ " _ "+D+ " _ "+t, M>write-in PathDB;
(c) the message M that SCADA calculates message mask A and D successful match in queue is extracted,<A+ " _ "+D+ " _ "+t, M>write-in PathDB;
(d) the message M for extracting message mask A and D successful match in ' control queue ',<A+ " _ "+D+ " _ "+t, M>write-in PathDB;
(e) PathDB sorts by the chronological order of A+ " _ "+D+ " _ "+t;Resulting message queue QueueM (case) is The primary extraction result of test case case.
As it can be seen that chronologically storing the derivative transmission of news track record information of test case case, note in QueueM The information on services for having recorded case is constructed in streaming computing message and its derivative the flowed through node of message is that analysis message propagates road The basic data of diameter.
6) mask test bus
The test queues such as preposition, calculating, control and event are included using the building of plateau elastic messaging bus, chronologically sequential storage Application service pushes the message to come.Theoretically, the message in mask test bus is processing message in elastic messaging bus Subset, cache test message;Message can be extracted by the service in flexible application frame, carry out calculation and check.
7) propagation path is analyzed
Propagation path be test case case mark measuring point message, in flexible application frame respectively service in processing road Diameter records passed through node and Service name.The object of propagation path analysis is that test use cases close Set [ObjType, Mes] The message of the mask non-zero indicated, in the path set for the calculating service that the streaming computing of flexible application frame is passed through.
Each test case m in test case document is m.case [A, D], the execution route meter of m after use-case hypostazation Calculation process:
(a) m is finished by service logic operation mark in regulation service center, test post is pushed to mask test bus;
(b) carry out intermediate state data pick-up, deposit<A+ " _ "+D+ " _ "+t, Mes in the library PathDB>(Mes ∈ M, M for m derivative Message set);
(c) with A+ " _ "+D+ " _ " beginning fuzzy search PathDB, the queue QueueM by t sequence is obtained;
(d) the propagation path QueueM analysis of m: message is in chronological sequence read one by one from queue head, by service logic process (calculate, control when mainly SCADA, the distributed treatment logic of event) judges whether propagation path is reasonable, analyzes outbound path The abnormal conditions such as interruption, winding, over range;
(e) when path dependent options, the data of unexpected message are inquired from distributed memory library, carry out message calculation and check.
8) test coverage is analyzed
Emulation testing tool uses need-based Test coverage method, is substantially carried out platform base IT component, flexible application frame The path coverage test of frame and Distributed Services;Tool takes turns the mode of current test, to different functions using more set test cases Module carries out path coverage test, finally provides brief analysis report.
By basic path set BashPath design test case collection T, execute T theoretically by BashPath.Using " the road Z Diameter optimization " design test case covers common plant stand type, voltage class, interval, device type, measures type;Covering with The general surveillance of upper type and four remote operatings.Using message mask dynamically track message propagation path, construction actual measurement path set RunPath。
Path coverage calculates: PCP=(RunPath/BashPath) × 100%, wherein RunPath=P (T1) P (T2) ... P (Tn), P is the execution route set for the use-case tested every time.
Testing tool is the same as " Portable Batch System ", " flexible application frame ", " artwork data " center " and " in regulation business The heart " is parallel to be disposed, and is tested " regulation service center " interior wide area front-collection of tradition EMS function extension for in-circuit emulation, is divided The services such as the parallel SCADA of cloth, distributed advanced application and api interface.

Claims (9)

1. a kind of message mask emulation test system of elastically regulating and controlling platform, it is characterised in that: including mask marking component, mask Test bus, intermediate state data extraction module and propagation path analysis module;
The mask marking component is used to provide the mask application encapsulation of message for the service of elastically regulating and controlling platform;The mask packet Containing following information: monitored object type name, node name, Service name and message body;
The mask test bus pushes the message to come for chronologically sequential storage application service;
The intermediate state data extraction module, for monitored object type name corresponding to mask in mask test bus and disappearing The message that breath body can match with test case is extracted, will be in the message that extracted write-in propagation path analysis library;
The propagation path analysis module, when for extracting the relevant message of test case and foundation from propagation path analysis library Between sort, thus the information on services that the derivative message for obtaining test case executes on each node, obtain test case message Propagation path, and judge whether propagation path is reasonable by service logic;
The test case includes following information: monitored object type name and message body.
2. the message mask emulation test system of elastically regulating and controlling platform as described in claim 1, it is characterised in that: the mask It include creation, translation, push and the extraction of mask using encapsulation;
The mask format is A.B.C.D, and the corresponding information of mask attribute value A is monitored object type name ObjType, mask category Property the corresponding information of value B be node name Node, the corresponding information of mask attribute value C is Service name Srv, and mask attribute value D is corresponding Information be message body Mes;The translation refers to the mutual translation between attribute value and corresponding information in mask;
The push of the mask refers to while application service is pushed to calculated result the elastic messaging bus of platform mask The message of middle A non-zero is chronologically sequentially pushed to mask test bus;
The extraction of the mask refers to the message for consuming the condition that meets from mask test bus by test case;
It is additionally provided with mask dictionary library, for recording the corresponding relationship between each attribute value of mask and corresponding information.
3. the message mask emulation test system of elastically regulating and controlling platform as claimed in claim 2, it is characterised in that: further include surveying Example management module on probation for realizing test case document and the newly-increased of mask dictionary library, deletion, maintenance and inquiry, and is led to It crosses test case document and safeguards mask dictionary library automatically;
Test case document sets are set for test purpose, the test case document sets include several test case documents, often A test case document stores the test case of a kind of type of message.
4. the message mask emulation test system of elastically regulating and controlling platform as described in claim 1, it is characterised in that: the mask Test bus is built with preposition queue using the elastic messaging bus of platform, calculates queue, control queue and event queue;
The preposition queue is used to store the message of wide area front-collection device generation, and it is parallel for distributed storage to calculate queue The real-time calculating message of SCADA, control queue are used to store the procedure message of remote control and remote regulating, and event queue then stores SCADA Event and the message transitional information of alarm.
5. the message mask emulation test system of elastically regulating and controlling platform as claimed in claim 2, it is characterised in that the centre The processing method of state data extraction module are as follows: input test use-case translates monitored object type name and message in test case Mask attribute value A and D corresponding to body, from mask test bus consume mask can with the message of A and D successful match, and A, D, timestamp t and message data write-in propagation path are analyzed into library.
6. the message mask emulation test system of elastically regulating and controlling platform as claimed in claim 5, it is characterised in that the propagation The processing method of path analysis module are as follows: input test use-case translates monitored object type name and message body in test case Corresponding mask attribute value A and D, according to A and D to propagation path analysis library retrieve, search result is temporally stabbed t into Row sequence obtains message queue, successively analyzes the mask of each message in message queue, obtains the derivative of test case by translation The information on services that message executes on each node, and obtain the propagation path of test case;Judge to propagate by service logic process Whether path is reasonable, analyzes the abnormal conditions of outbound path, extracts unexpected message, and inquires from the distributed memory library of platform different The data of normal message, complete message calculation and check.
7. the message mask emulation test system of elastically regulating and controlling platform as claimed in claim 6, it is characterised in that: the exception Situation includes interruption, winding and the over range in path.
8. the message mask emulation test system of elastically regulating and controlling platform as described in claim 1, it is characterised in that: further include surveying Coverage rate analysis module is tried, for calculating path testing coverage rate.
9. the message mask emulation test system of elastically regulating and controlling platform as described in any of the claims 1 to 8, it is characterised in that: The man-machine interface of the emulation test system common platform realizes emulation testing.
CN201810951529.XA 2018-08-21 2018-08-21 Message mask simulation test system of elastic regulation and control platform Active CN109190217B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810951529.XA CN109190217B (en) 2018-08-21 2018-08-21 Message mask simulation test system of elastic regulation and control platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810951529.XA CN109190217B (en) 2018-08-21 2018-08-21 Message mask simulation test system of elastic regulation and control platform

Publications (2)

Publication Number Publication Date
CN109190217A true CN109190217A (en) 2019-01-11
CN109190217B CN109190217B (en) 2023-02-14

Family

ID=64918642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810951529.XA Active CN109190217B (en) 2018-08-21 2018-08-21 Message mask simulation test system of elastic regulation and control platform

Country Status (1)

Country Link
CN (1) CN109190217B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6385750B1 (en) * 1999-09-01 2002-05-07 Synopsys, Inc. Method and system for controlling test data volume in deterministic test pattern generation
EP1478138A2 (en) * 2003-05-13 2004-11-17 Samsung Electronics Co., Ltd. Security method for broadcasting service in a mobile communication system
CN1568589A (en) * 2000-10-26 2005-01-19 Wave7光学公司 Method and system for processing downstream packets of an optical network
US7275249B1 (en) * 2002-07-30 2007-09-25 Unisys Corporation Dynamically generating masks for thread scheduling in a multiprocessor system
CN101411150A (en) * 2006-04-05 2009-04-15 艾格瑞系统有限公司 HSDPA co-processor for mobile terminals
US20120016919A1 (en) * 2010-07-16 2012-01-19 Anderson Timothy D Extended-width shifter for arithmetic logic unit
CN103744726A (en) * 2014-01-02 2014-04-23 西北工业大学 Two-stage scheduling method of real-time extension of Windows system
US20160350019A1 (en) * 2015-05-29 2016-12-01 Intel Corporation Access control for memory protection key architecture
CN107408210A (en) * 2015-03-25 2017-11-28 英特尔公司 Covering mask compression based on edge
CN107566165A (en) * 2017-08-18 2018-01-09 国网山东省电力公司信息通信公司 A kind of method and system for finding and disposing electric power cloud data center available resources

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6385750B1 (en) * 1999-09-01 2002-05-07 Synopsys, Inc. Method and system for controlling test data volume in deterministic test pattern generation
CN1568589A (en) * 2000-10-26 2005-01-19 Wave7光学公司 Method and system for processing downstream packets of an optical network
US7275249B1 (en) * 2002-07-30 2007-09-25 Unisys Corporation Dynamically generating masks for thread scheduling in a multiprocessor system
EP1478138A2 (en) * 2003-05-13 2004-11-17 Samsung Electronics Co., Ltd. Security method for broadcasting service in a mobile communication system
CN101411150A (en) * 2006-04-05 2009-04-15 艾格瑞系统有限公司 HSDPA co-processor for mobile terminals
US20120016919A1 (en) * 2010-07-16 2012-01-19 Anderson Timothy D Extended-width shifter for arithmetic logic unit
CN103744726A (en) * 2014-01-02 2014-04-23 西北工业大学 Two-stage scheduling method of real-time extension of Windows system
CN107408210A (en) * 2015-03-25 2017-11-28 英特尔公司 Covering mask compression based on edge
US20160350019A1 (en) * 2015-05-29 2016-12-01 Intel Corporation Access control for memory protection key architecture
CN107566165A (en) * 2017-08-18 2018-01-09 国网山东省电力公司信息通信公司 A kind of method and system for finding and disposing electric power cloud data center available resources

Also Published As

Publication number Publication date
CN109190217B (en) 2023-02-14

Similar Documents

Publication Publication Date Title
CN113904443B (en) Multidimensional space visual field transformer equipment monitoring and early warning system
CN105069703B (en) A kind of electrical network mass data management method
CN108564254A (en) Controller switching equipment status visualization platform based on big data
CN103825755B (en) Power secondary system modeling method and system
CN106934000B (en) Voice automatic quality inspection method and system for calling system
CN109829125A (en) Show the platform of user management of dispatching of power netwoks operation data
CN101945009A (en) Positioning method and device of power communication network fault based on case and pattern matching
CN111259073A (en) Intelligent business system running state studying and judging system based on logs, flow and business access
CN109754219A (en) A kind of big data management and analysis platform system based on city management
CN108663581A (en) A kind of secondary equipment of intelligent converting station test method
CN109241096A (en) Data processing method, device and system
CN107124325A (en) A kind of power communication network operation safety evaluation method and system
CN107784392A (en) A kind of the defects of transmission line of electricity based on machine learning Forecasting Methodology and device
CN109783553A (en) A kind of power distribution network mass data increased quality system
CN110932405A (en) Intelligent monitoring and analyzing system for power transformation equipment based on big data
CN115423429A (en) Multimode integrated distribution network operation system based on image and sound information
Leao et al. Big data processing for power grid event detection
CN104182470B (en) A kind of mobile terminal application class system and method based on SVM
CN113902583A (en) Distribution network side operation and maintenance method and system using low-voltage network equipment data
CN108876445A (en) A kind of data interoperation application based on battalion&#39;s distribution end-equipment common information model
CN109190217A (en) A kind of message mask emulation test system of elastically regulating and controlling platform
CN103383649A (en) Design model of complex virtual instrument system
CN108448461B (en) A kind of 220kV substation equipment maintenance and repair system with more monitors
CN202904579U (en) Power industry risk monitoring search analysis engine device based on Internet
Wei et al. Short text data model of secondary equipment faults in power grids based on LDA topic model and convolutional neural network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant