CN102724084B - Test and verification system for grid video monitoring system - Google Patents

Test and verification system for grid video monitoring system Download PDF

Info

Publication number
CN102724084B
CN102724084B CN201210168537.XA CN201210168537A CN102724084B CN 102724084 B CN102724084 B CN 102724084B CN 201210168537 A CN201210168537 A CN 201210168537A CN 102724084 B CN102724084 B CN 102724084B
Authority
CN
China
Prior art keywords
protocol
module
layer
test
submodule
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210168537.XA
Other languages
Chinese (zh)
Other versions
CN102724084A (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.)
State Grid Electric Power Research Institute
Original Assignee
State Grid Electric Power Research Institute
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 State Grid Electric Power Research Institute filed Critical State Grid Electric Power Research Institute
Priority to CN201210168537.XA priority Critical patent/CN102724084B/en
Publication of CN102724084A publication Critical patent/CN102724084A/en
Application granted granted Critical
Publication of CN102724084B publication Critical patent/CN102724084B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a test and verification system for a grid video monitoring system, and the system comprises the following four layers: a network layer, a protocol processing layer, a data loading analysis layer and a business control layer. The network layer comprises a TCP (transmission control protocol) processing module and a UDP (user datagram protocol) processing module, and is used for providing a processing interface for the protocol processing layer. The protocol processing layer comprises an SIP (session initiation protocol) analysis and processing unit, an RTSP (real time streaming protocol) analysis and processing unit, an HTTP (hyper text transfer protocol) analysis and processing unit and an RTP/RTCP (real time protocol/real time control protocol) analysis and processing unit, wherein each protocol analysis and processing unit is constructed by a commercial protocol stack, and is independent from each other. The data loading analysis layer is used for checking packing format of information content in each communication protocol; the business control layer is used for processing and checking business logic in an interaction process according to a business process and business function content, and displaying a final testing result. According to the test and verification system for the grid video monitoring system, the standard protocol stack and a data format analysis module are adopted, and accuracy and reliability required by the test can be satisfied.

Description

A kind of power network video supervisory control system testing authentication system
Technical field
The present invention is the function of the power network video supervisory control system following definition in the serial company standard of State Grid Corporation of China Q/GDW 517 " power network video supervisory control system and interface ", performance and communication interface standard, a kind of test and verification platform proposed, belongs to power grid security precautionary technology field.
Background technology
Power network video supervisory control system is the important component part of intelligent grid, and being widely used in the aspects such as the construction of electrical network, production, operation, is the important support of visual electrical network.Because standard disunity, technology path are inconsistent, power network video supervisory control system has selected the product of different technology and different manufacturers in different construction period, particularly part manufacturer for technical maintain secrecy and market on monopolization, the privately owned communication protocol of a large amount of employing and Standard modification agreement, thus to result between different system cannot interconnected, unified systems organization cannot be carried out, the problem such as information cannot be shared, constrain development and the application of power network video supervisory control system.
At present, State Grid Corporation of China's intelligent grid is built, new requirement is proposed to video monitoring system, therefore unified monitoring, unified storage, grading control, point territory management is realized, different video monitoring systems is interconnected, meet the demand of development of video monitoring system globalize, integration, become problem demanding prompt solution.Advance to perfect order can be carried out according to unified standard for making power network video supervisory control system, realize Real-Time Monitoring and the application of power network video information, State Grid Corporation of China has issued the part 1 of company standard " power network video supervisory control system and interface ": technical requirement, part 2: method of testing, the 3rd part: the acceptance of work.
For ensureing that this series standard can correctly intactly implement and perform, ensure that video monitoring system that each manufacturer provides can meet the requirement of standard, need to carry out network access testing and checking of interconnecting to the video monitoring system that each manufacturer provides according to the content that standard specifies, detect the consistency of its agreement and systemic-function and performance.And the testing authentication requirement to video monitoring system can be met without any complete testing scheme and test macro at present, foundation cannot be provided for the lectotype selection of power network video supervisory control system, system Construction, the acceptance of work etc.
The present invention will develop a kind of test and verification platform for Q/GDW 517 " power network video supervisory control system and interface " series standard, for the power network video of State Grid Corporation of China's system is monitored, power transmission and transformation equipment state video monitoring, emergency command Mobile video system, visual production scheduling, produce the unified standard construction of the system such as office and marketing place security protection video monitoring, specification power network video monitoring system and operation of power networks, management and the interface in controlling between multiple application system and agreement, realize the interconnected and data sharing between each operation system, eliminate the information " isolated island " between each system, expand multimedia new business etc. and establish necessary basis.Also provide foundation by for the design of associated production producer, manufacture and improvement, realize seamless the interconnecting under the unified platform of different manufacturers product, greatly reduce construction cost and the maintenance work amount of power network video supervisory control system, avoid overlapping construction, improve Regulation level and operating efficiency.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind ofly has the detailed test macro of accuracy, reliability, design rationality and test result, the agreement to power network video monitor supervision platform can be convenient to, service function requirement, performance requirement test and expand, thus meeting different test requests.
For solving the problems of the technologies described above, the invention provides a kind of power network video supervisory control system testing authentication system, it is characterized in that, comprise following four layers:
Network layer: the Transmission Control Protocol processing module and the udp protocol processing module that comprise IP based network, provide Processing Interface to protocol layer;
Protocol layer: comprise Session Initiation Protocol dissection process unit, RTSP protocol analysis processing unit, http protocol dissection process unit and RTP/RTCP protocol analysis processing unit, each protocol analysis processing unit builds by Business agreement stack, ensure that accuracy and the standard of protocol analysis, separate between each protocol analysis processing unit;
Deta bearer analysis layer: comprise each relevant independently Deta bearer analysis module, independently realize resolving and geocoding decoding XML format parsing, SDP format analysis, audio decoder format analysis, video decode, the encapsulation format of the message content in SIP, RTSP, HTTP, RTP/RTCP communication protocol is checked;
Service control layer: according to the content such as operation flow, business function the service logic in interaction flow processed and check; Service control layer is shown final test result;
Pass between each layer is: software network layer provides network processes to support to protocol layer; Without any exchange process between Deta bearer analysis layer and protocol layer, adopt the method for designing that agreement is separated with Deta bearer, unification carries out unified management by service control layer to two-layer process, combined by the disparate modules of Business treatment by data carrying layers and protocol layer, thus form corresponding Service Processing Module.
Aforesaid a kind of power network video supervisory control system testing authentication system, it is characterized in that: to correct message processing facility be: in testing process, service control layer is after processing correct request, service control layer sends correct response to protocol layer, after protocol layer receives the correct response of service control layer, sending correct response to network layer, replying correctly responding eventually through network layer.
Aforesaid a kind of power network video supervisory control system testing authentication system, it is characterized in that: error message processing procedure is: in handling process, comprise reporting and response two kinds process to error message of error reason, the processing mode successively reported all is adopted in the mistake of different layers, the error reason of network layer is directly reported to protocol layer, the error reason of protocol layer to network layer and self parsing is directly reported to service control layer, for the direct reporting service key-course of error reason that Deta bearer analysis layer self is resolved; Service control layer responds request the mistake be resolved to, response message adopts the mode of successively replying, service control layer mistake and Deta bearer analysis layer are by error reason notification protocol processing layer, protocol layer by data carrying layers, service control layer and self resolve error reason informing network layer, all error reasons respond by network layer.
Aforesaid a kind of power network video supervisory control system testing authentication system, it is characterized in that: in described service control layer, the platform interconnected with tested platform is simulated: video monitoring system subsystem by the mode of software, the front end system interconnected with tested platform is simulated: front end system subsystem by the mode of software, aided heavy traffic testing device is simulated: telephone traffic test subsystems by the mode of software, thus jointly form power network video supervisory control system test and verification platform by these three parts, realize the function to tested platform, performance, interface tests.
Video monitoring system test subsystems: simulate the superior system as tested video monitoring system or lower system, adopt interface A agreement to communicate with tested video monitoring system, complete realization is tested the functional completeness of tested video monitoring system, the protocol conformance of interface A;
Front end system test subsystems: simulate the front end system as tested video monitoring system, adopt interface A agreement to communicate with tested video monitoring system, the protocol conformance of complete realization to tested video monitoring system interface B is tested;
Telephone traffic test subsystems: simulate the superior platforms as tested video monitoring system and front end system, communicated with tested video monitoring system with interface B agreement by interface A agreement, realize testing the various performance parameters of tested video monitoring system.Interface A agreement, interface B agreement two kinds of agreements for defining in " power network video supervisory control system and interface " standard.
Power network video supervisory control system test and verification platform of the present invention, can be tested as the interface A agreement of subordinate's platform, each interface protocol of interface B agreement of video monitoring system and function as the interface A agreement of superior platforms, video monitoring system the front end system interface B agreement of power network video supervisory control system, video monitoring system by test macro, the standard, interconnecting property etc. of each power network video supervisory control system construction that standardizes.
For in practical application, the function items of power network video supervisory control system can constantly be expanded, test macro have employed the method for designing of configuration, can edit functional test item easily and expand, thus meet the follow-up testing requirement constantly changed functional test item.
Due in actual applications, the communication interface standard of power network video supervisory control system can constantly be expanded, and the performance test item corresponding with it will constantly increase, and native system have employed modular method for designing, test item can be increased neatly, thus meet the testing requirement of constantly change.
Be supported in the distributed deployment on hardware, according to the performance test requirement of reality, jumbo performance test can be supported easily.
By adopting Time Synchronization Mechanism and high-resolution timer, ensure that each hardware device in time synchronous, each hardware device can be controlled in real time and produce message request according to the time requirement of specifying, and test structure statistical accuracy can be ensure that.
Although test macro is developed for the demand of power network video supervisory control system at first, but due to the flexibility of its structure, as the basic platform of soft switchcall server, multimedia dispatching system, audio/video communication system etc., applicability widely can also be had.
Test macro have employed the error message treatment mechanism of layering analysis, can to the unexpected message occurred in test process or incorrect handling process, miscue is accurately provided, is convenient to tested video monitoring system and can prepares location and find Problems existing.
The beneficial effect that the present invention reaches:
(1) solve in traditional test and common apparatus can only be adopted to carry out the problem of testing
Before this device, can only test by third party's standard test equipment of costliness the performance test of power network video monitor supervision platform, and testing process is deposited, message content, can all there is certain defect in the aspect such as test item, cannot meet test request.Native system is for " power network video supervisory control system and interface " series standard, and this test macro of customized development, can in satisfied actual testing requirement.
(2) the communication interface standard item of power network video supervisory control system is tested
Can be tested as the interface A agreement of subordinate's platform, each interface protocol of interface B agreement of video monitoring system and function as the interface A agreement of superior platforms, video monitoring system the front end system interface B agreement of power network video supervisory control system, video monitoring system by test macro, the standard, interconnecting property etc. of each power network video supervisory control system construction that standardizes.
(3) extensibility to functional test item is possessed
For in practical application, the function items of power network video supervisory control system can constantly be expanded, test macro have employed the method for designing of configuration, can edit functional test item easily and expand, thus meet the follow-up testing requirement constantly changed functional test item.
(4) extensibility to communication interface standard test item is possessed
Due in actual applications, the communication interface standard of power network video supervisory control system can constantly be expanded, and the performance test item corresponding with it will constantly increase, and native system have employed modular method for designing, test item can be increased neatly, thus meet the testing requirement of constantly change.
(5) applicability is widely possessed
Although test macro is developed for the demand of power network video supervisory control system at first, but due to the flexibility of its structure, as the basic platform of soft switchcall server, multimedia dispatching system, audio/video communication system etc., applicability widely can also be had.
(6) to be convenient in the test process to tested video monitoring system produce the accurate location of mistake
Test macro have employed the error message treatment mechanism of layering analysis, can to the unexpected message occurred in test process or incorrect handling process, miscue is accurately provided, is convenient to tested video monitoring system and can prepares location and find Problems existing.
(7) high performance test request is solved
Due to power network video monitor supervision platform in electric power application as an important service application, in actual applications, higher to the performance requirement of power network video supervisory control system, meanwhile, for the power network video supervisory control system of different stage, also different to its performance requirement.Native system can support the processing mode that multimachine is concurrent, according to actual test performance requirement, can carry out flexible configuration hardware, thus meet different performance test requirements.
Accompanying drawing explanation
Fig. 1 communication interface standard test overall construction drawing;
Fig. 2 performance test overall construction drawing
Fig. 3 the layer of software figure;
Relation structure diagram between Fig. 4 software hierarchy;
The correct message processing flow-chart of Fig. 5;
Fig. 6 error message process chart;
Fig. 7 interface testing flow chart;
Fig. 8 combination flow process figure;
Fig. 9 protocol test sub-module process of analysis figure;
Figure 10 performance test flow chart;
Figure 11 realizes the dynamic assignment of test resource and the concurrent know-why block diagram of software of Optimized Operation based on multithreading;
Figure 12 multi machine synchronized measurment know-why block diagram
specific implementation method
Object of the present invention verifies whether power network video supervisory control system meets Q/GDW 517 " power network video supervisory control system and interface " series standard, comprises interface and performance requirement exactly.
This method, based on the longitudinal layered design of software, comprises network layer, protocol layer, Deta bearer analysis layer, service control layer, adopts loosely coupled design between each layer.Independently protocol stack is adopted to realize parsing to different agreement, response, test respectively at protocol layer, protocol type includes Session Initiation Protocol, RTSP agreement, http protocol, RTP/RTCP agreement etc., separate mentality of designing is adopted between each protocol stack, from the design angle of software, be convenient to the expansion to agreement; Realize parsing to different pieces of information encapsulation format, response, test at data carrying layers respectively by independent data format analysis module, include XML, SDP, H.264, G.711 etc.By this design, improve the extensibility to communication interface standard test, when tested software goes wrong, be convenient to carry out more detailed prompting, greatly convenient for users to use; Meanwhile, adopt protocol stack and the data format parsing module of standard, the accuracy needed for test, reliability can be met.
Aforesaid testing software, the Software for Design of employing is layering sub-module design, is divided into four layers:
Network layer: network layer is mainly TCP and udp protocol process two module compositions of IP based network, provides Processing Interface to protocol layer.
Protocol layer: form primarily of each separate agreement structure and parsing processing unit, mainly comprise Session Initiation Protocol parsing, RTSP protocol analysis, http protocol are resolved and RTP/RTCP protocol analysis, each protocol analysis processing unit builds by the Business agreement stack of standard, ensure that accuracy and the standard of protocol analysis;
Deta bearer analysis layer: primarily of each relevant independently Deta bearer analysis module composition, can independently realize respectively resolving and geocoding decoding XML format parsing, SDP format analysis, audio decoder format analysis, video decode, the encapsulation format of this processing section to the message content in various communication protocol checks;
Service control layer: mainly according to the content such as operation flow, business function the service logic in interaction flow processed and check; Service control layer is shown final test result.
Pass between each layer is: software network layer provides network processes to support to protocol layer; Without any exchange process between Deta bearer analysis layer and protocol layer, adopt the method for designing that agreement is separated with Deta bearer, unification carries out unified management by service control layer to two-layer process, combined by the disparate modules of Business treatment by data carrying layers and protocol layer, thus form corresponding Service Processing Module.
To correct message processing facility be: in testing process, as shown below to the treatment mechanism of correct message.In above-mentioned handling process, service control layer is after processing correct request, and service control layer sends correct response to protocol layer, after protocol layer receives the correct response of service control layer, sending correct response to network layer, replying correctly responding eventually through network layer.
Error message treatment mechanism: in handling process, include reporting and response two kinds process to error message of error reason, the processing mode successively reported all is adopted in the mistake of different layers, the error reason of network layer is directly reported to protocol layer, protocol layer is directly reported to service control layer, to the direct reporting service key-course of error reason of self resolving with Deta bearer analysis layer to network layer and the error reason of self resolving; Service control layer responds the mistake reply request be resolved to, response message have employed the mode of successively replying, service control layer mistake and Deta bearer analysis layer are by error reason notification protocol processing layer, protocol layer by data carrying layers, service control layer and self resolve error reason informing network layer, all error reasons respond by network layer.
The system construction drawing of test interface as shown in Figure 1.Whether the present invention meets A interface or B interface when having test measurand, and when testing A interface, measurand is connected with the present invention as video monitoring system, and when test b interface, measurand is connected with the present invention as Video Front-end System.
Below in conjunction with the flow process of Fig. 7 specification interface test.When the present invention works, the 1st step is carried out self-starting and is completed relevant initialization action; 2nd step is different at test A, B interface, if test A interface then successively examining system rolls off the production line (being designated as function 1) and system keepalive feature (being designated as function 2), then first surveys registering functional (being designated as function 1) during test b interface; 3rd step is that test resource obtains function (being designated as function 3); 4th step has 3 kinds of functions to need test for A interface, be respectively event subscription event notice function (being designated as function 4), real-time video function of browse (being designated as function 5) and voice and video telephone function (being designated as function 6), then test tone video call function is not needed for B interface; 5th step then does different tests according to the 4th step for A interface testing, the test of history alarm query function (being designated as function 7) just can be done after function 4, history video retrieval (being designated as function 8), speech talkback voice broadcast service function (being designated as function 9), cradle head control function (being designated as function 10), flow query function (being designated as function 11) can be done after function 5, for the test of B interface test then it goes without doing function 11; 6th step is then finishing the playing back videos function after function 8 (being designated as function 12); 7th step is the result of showing test.
The system construction drawing of performance test as shown in Figure 2.Now the present invention not only simulates the superior platforms of tested video monitoring system but also simulates the front end system accessing tested video monitoring system.
The flow process of performance test is illustrated below in conjunction with Figure 10.As shown in Figure 10, testing process step 1-step 2, adopts the registration concurrency performance test that " platform test AFE (analog front end) system " is initiated to tested power network video monitor supervision platform.
Testing process step 4-step 6, " platform test simulation superior platforms " to " the platform test AFE (analog front end) system " that be linked into tested power network video monitor supervision platform make a call concurrency performance test, test the calling forwarding performance of tested power network video monitor supervision platform.
Testing process step 7-step 12, step 7-step 10 is that " platform test simulation superior platforms " makes a call to " the platform test AFE (analog front end) system " being linked into tested power network video monitor supervision platform, tested power network video monitor supervision platform forwarded call request, step 11-step 12 sends media data by tested power network video monitor supervision platform to " platform test simulation superior platforms " for " platform test AFE (analog front end) system ", thus tests the media forwarding distribution performance of tested power network video monitor supervision platform.
Testing process step 13-step 20, step 13 is for notifying that " platform test AFE (analog front end) system " starts active-standby switch performance test, step 14-step 15 is register flow path, step 16 is notice " platform test simulation superior platforms " successful registration, and step 17-step 20 is with step 4-step 6.Thus the active-standby switch time of tested power network video monitor supervision platform is gone out by whole procedural test.
The internal agreement process hierarchy for interface testing of software as shown in Figure 3.Existing composition graphs 4 illustrates the direct relation of each layer: network layer provides network processes to support to protocol layer; Without any exchange process between Deta bearer analysis layer and protocol layer, adopt the method for designing that agreement is separated with Deta bearer, unification carries out unified management by service control layer to two-layer process, combined by the disparate modules of Business treatment by data carrying layers and protocol layer, thus form corresponding Service Processing Module.
How the present invention inside processes for the correct and wrong message between each layer, see shown in Fig. 5 and Fig. 6.The handling process to correct message as shown in Figure 5: service control layer is after processing correct request, service control layer sends correct response to protocol layer, after protocol layer receives the correct response of service control layer, sending correct response to network layer, replying correctly responding eventually through network layer.And for the handling process of the message of mistake be: include reporting and response two kinds process to error message of error reason as shown in Figure 6, the processing mode successively reported all is adopted in the mistake of different layers, the error reason of network layer is directly reported to protocol layer, protocol layer is directly reported to service control layer, to the direct reporting service key-course of error reason of self resolving with Deta bearer analysis layer to network layer and the error reason of self resolving; Service control layer responds the mistake reply request be resolved to, response message have employed the mode of successively replying, service control layer mistake and Deta bearer analysis layer are by error reason notification protocol processing layer, protocol layer by data carrying layers, service control layer and self resolve error reason informing network layer, all error reasons respond by network layer.
the parsing of layered contents
As shown in Figure 3, based on the longitudinal layered design of software, comprise network layer, protocol layer, Deta bearer analysis layer, service control layer, between each layer, adopt loosely coupled design.Independently protocol stack is adopted to realize parsing to different agreement, response, test respectively at protocol layer, protocol type includes Session Initiation Protocol, RTSP agreement, http protocol, RTP/RTCP agreement etc., separate mentality of designing is adopted between each protocol stack, from the design angle of software, be convenient to the expansion to agreement; Realize parsing to different pieces of information encapsulation format, response, test at data carrying layers respectively by independent data format analysis module, include XML, SDP, H.264, G.711 etc.By this design, improve the extensibility to communication interface standard test, when tested software goes wrong, be convenient to carry out more detailed prompting, greatly convenient for users to use; Meanwhile, adopt protocol stack and the data format parsing module of standard, the accuracy needed for test, reliability can be met.
Network layer: network layer is mainly TCP and udp protocol process two module compositions of IP based network, provides Processing Interface to protocol layer.
Protocol layer: form primarily of each separate agreement structure and parsing processing unit, mainly comprise Session Initiation Protocol parsing, RTSP protocol analysis, http protocol are resolved and RTP/RTCP protocol analysis, each protocol analysis processing unit builds by the Business agreement stack of standard, ensure that accuracy and the standard of protocol analysis;
Deta bearer analysis layer: primarily of each relevant independently Deta bearer analysis module composition, can independently realize respectively resolving and geocoding decoding XML format parsing, SDP format analysis, audio decoder format analysis, video decode, the encapsulation format of this processing section to the message content in various communication protocol checks;
Service control layer: mainly according to the content such as operation flow, business function the service logic in interaction flow processed and check; Service control layer is shown final test result.
functional test Configuration Design
Tester software design on, have employed the method for designing of configuration software, to functional test item by user from edlin content measurement, test request and method of testing, there is very large test flexibility; Simultaneously, to protocol layer and the separately design of service bearer layer on Software for Design, and modularized design is carried out to protocol processes, user can according to the demand of service application, corresponding protocol processes model, interactive mode, business datum content is selected to combine voluntarily, thus the expansion of mouthful test item that achieves a butt joint.
For functional test, software configuration design as shown in Figure 8, configuration is divided into three large parts: display module, configuration configuration file, configuration editing and processing module, display module includes showing interface production module, configuration configuration file is by module title, module position, module map sheet path and title, test request describes, test precondition describes, the content compositions such as test result item description, configuration editing and processing module is by module library submodule, picture library submodule, module editing and processing submodule, module picture editing and processing submodule, test request edit box submodule, test precondition choice box submodule, test result edit box submodule, the part such as configuration file process submodule composition,
Button control, combobox control, radio box, static text frame, Document Editing frame is mainly provided in the submodule of module library, user can carry out model choice by module editing and processing submodule, and carry out position by mouse and pull, for configuration file process submodule module, record is carried out to module No. and module position;
Module picture editing and processing submodule can select the picture of specifying to be loaded in module from picture library submodule, then by configuration file process submodule, realizes the setting to module skin;
Test request edit box submodule provides edit box to carry out editor's input for user to the test request of test item, by configuration file process submodule, test request is write configuration file;
Test precondition choice box submodule provides drop-down choice box need meet test precondition for user to this test item, can select just can must test this after a certain test item of execution;
Test result edit box submodule provide to the test of this test item by after result formats and the displaying content of result;
Configuration file process submodule is used in operating result write configuration configuration file submodule every to module editing and processing submodule, module picture editing and processing submodule, test request edit box submodule, test precondition choice box submodule, test result edit box submodule, corresponds to " module title ", " module position ", " module map sheet path and title " in configuration file, " test request descriptions ", " side seem precondition description ", " description of test result item " respectively;
Showing interface generation module submodule by reading the every configuration in configuration configuration file, thus generates corresponding functional test interface.
the sub-module of protocol test is resolved
For protocol test, the agreement parting blocking design of software as shown in Figure 9.Primarily of protocol process module, protocol module editing and processing unit, configuration configuration file, configuration editing and processing module, the several large module composition of test display module, each large module is made up of each submodule again respectively.
Protocol process module: four processing modules including Session Initiation Protocol processing module: INVITE processing module, INFO processing module, MESSAGE processing module and NOTIFY processing module, a processing module " HTTP processing module " of http protocol processing module, be two processing modules " SDP modules " to the encapsulation format of data entrained by agreement in addition, " XML module ", incidence relation is not had mutually between five protocol process module comprised in protocol process module, five modules associate with " XML module " with " SDP module " according to the connecting line in upper figure.
Protocol module editing and processing unit comprises following submodule:
Protocol module chooser module: define contents such as the titles of test item, selects to select corresponding processing protocol to this test item simultaneously, will configure write configuration file accordingly by configuration file processing module submodule;
SDP Edition Contains submodule is used for editing the content of the protocol-dependent SDP of SIP INVITE processing module, and the SDP content of having edited will configure write configuration file accordingly by " configuration file processing module ";
XML Edition Contains submodule is used for editing the content of SIP INFO processing module, MESSAGE processing module, NOTIFY processing module, the protocol-dependent XML of HTTP processing module, and the XML content of having edited will configure write configuration file accordingly by configuration file processing module submodule;
When handling process editor submodule is used for determining that this is tested, tester is determined as the flow process of recipient or initiator;
Configuration file processing module submodule is used for operating result every to " protocol module chooser module ", SDP Edition Contains submodule, XML Edition Contains submodule, handling process editor submodule to write in configuration configuration file;
Configuration editing and processing module: the operation in congenerous test;
Configuration configuration file: for storing the configuration data in " configuration editing and processing module " and the related configuration data in " configuration file process ";
Protocol test display module: by reading the every configuration in " configuration configuration file ", thus generate corresponding protocol test interface.
the dynamic assignment of test resource and the software concurrent method of Optimized Operation is realized based on multithreading
As shown in figure 11, the design principle figure of the dynamic assignment of test resource and the concurrent technology of software of Optimized Operation is realized based on multithreading as shown below.Devise many cover memory pools and thread pool model, do so mainly in order to asynchronous mechanism and high efficiency.Such as conversation message can be thrown away in the message memory pool that distributes in advance to carry out constructing, resolve, destroy; Then from process dispatch thread pond, obtain idle thread and carry out Message Processing.
multi machine synchronized measurment method
Multi machine synchronized measurment mechanism as shown in figure 12, the software control handling process of multimachine is described for " platform test simulation superior platforms " in Figure 12, illustrate for 1 main frame, 2 estrade machines, when exist more multiple stage handset time, handling process is identical, and " platform test AFE (analog front end) system " handling process is also identical.
Process is as follows step by step:
Step 1-step 4: this part is notice flow processing of reaching the standard grade, and this flow process is timing cycle handling process, handset timing carries out to main frame notice of reaching the standard grade.Step 1, step 3 to be reached the standard grade notice main frame for handset, and step 2 and step 4 are that main frame is reached the standard grade to handset the response process of notice;
Step 5-step 8: this part is time synchronizing flow process, this flow process is timing cycle handling process, and main frame timing is calibrated process to handset.Step 5 and step 7 are time service request, and step 6 and step 8 are time service response.Thus ensure the time synchronized between main frame and each handset;
Step 9-step 12: this part is the definition of this requested service.Step 9 and step 11 be main frame by need to perform service request, beginning and winding-up request time announcement handset, handset carries out Resourse Distribute according to request.Step 10 and step 12 are the response of handset to request.
Step 13-step 18: this part is actual traffic data.Step 13, step 15, step 17 are the service request to tested platform, and step 14, step 16, step 18 are the response of tested platform to service request.
Step 19-step 22: this part is real-time report implementation status.In the flow process of test, step 19, step 21 are reported to main frame for handset to real-time testing structured data, add up real-time testing result data for main frame, and show test result, step 20 and step 22 are the response of main frame to real-time report request.
Step 23-step 26: this part is for adjust control flow in real time.In the flow process of test, main frame has the authority controlled in real time to each main frame, can do real-time adjustment to testing process, step 23, step 25 are each handset of host request and adjust test request in real time, and step 24, step 26 are the response of handset to request.

Claims (2)

1. a power network video supervisory control system testing authentication system, is characterized in that, comprises following four layers:
Network layer: the Transmission Control Protocol processing module and the udp protocol processing module that comprise IP based network, provide Processing Interface to protocol layer;
Protocol layer: comprise Session Initiation Protocol dissection process unit, RTSP protocol analysis processing unit, http protocol dissection process unit and RTP/RTCP protocol analysis processing unit, each protocol analysis processing unit builds by Business agreement stack, separate between each protocol analysis processing unit;
Deta bearer analysis layer: comprise the Deta bearer analysis module that each is separate, independently realize resolving and geocoding decoding XML format parsing, SDP format analysis, audio decoder format analysis, video decode, the encapsulation format of the message content in SIP, RTSP, HTTP, RTP/RTCP communication protocol is checked;
Service control layer: according to operation flow, business function content the service logic in interaction flow processed and check; Service control layer is shown final test result;
Pass between above-mentioned each layer is: network layer provides network processes to support to protocol layer; Without any exchange process between Deta bearer analysis layer and protocol layer, adopt the method that agreement is separated with Deta bearer, unification carries out unified management by service control layer to two-layer process, combined by the disparate modules of service control layer by data carrying layers and protocol layer, thus form corresponding Service Processing Module;
Described service control layer comprises following system:
Video monitoring system test subsystems: simulate the superior system as tested video monitoring system or lower system, adopt interface A agreement to communicate with tested video monitoring system, complete realization is tested the functional completeness of tested video monitoring system, the protocol conformance of interface A;
Front end system test subsystems: simulate the front end system as tested video monitoring system, adopt interface B agreement to communicate with tested video monitoring system, the protocol conformance of complete realization to tested video monitoring system interface B is tested;
Telephone traffic test subsystems: simulate the superior platforms as tested video monitoring system and front end system, communicated with tested video monitoring system with interface B agreement by interface A agreement, realize testing the various performance parameters of tested video monitoring system;
Described Deta bearer analysis layer comprises following functional module:
Display module: comprise showing interface generation module submodule, for showing interface;
Configuration configuration file: comprise module title, module position, module map sheet path and title, test request describes, test precondition describes, test result item describes;
Configuration editing and processing module comprises following submodule:
Module library submodule: button control, combobox control, radio box, static text frame, Document Editing frame are provided, user can carry out model choice by module editing and processing submodule, and carry out position by mouse and pull, for configuration file process submodule, record is carried out to module No. and module position;
Module picture editing and processing submodule: select the picture of specifying to be loaded in module from picture library submodule, then by configuration file process submodule, realize the setting to module skin;
Test request edit box submodule: provide edit box to carry out editor's input for user to the test request of test item, by configuration file process submodule, test request is write configuration configuration file;
Test precondition choice box submodule: provide drop-down choice box need meet test precondition for user to this test item, can select just can must test this after a certain test item of execution;
Test result edit box submodule: provide to the test of certain test item by after result formats and the displaying content of result;
Configuration file process submodule: for by operating result write configuration configuration file submodule every to module editing and processing submodule, module picture editing and processing submodule, test request edit box submodule, test precondition choice box submodule, test result edit box submodule, correspond to " module title ", " module position ", " module map sheet path and title " in configuration configuration file, " test request descriptions ", " description of test precondition ", " description of test result item " respectively;
Described showing interface generation module submodule by reading the every configuration in configuration configuration file submodule, thus generates corresponding functional test interface;
Described protocol layer comprises: protocol process module, protocol module editing and processing unit, configuration file, configuration editing and processing module and protocol test display module,
Protocol process module: four processing modules comprising Session Initiation Protocol dissection process unit: INVITE processing module, INFO processing module, MESSAGE processing module and NOTIFY processing module, also comprise the HTTP processing module of http protocol dissection process unit, Session Initiation Protocol, RTSP agreement, data encapsulation form entrained by http protocol is SDP form and XML format, described INVITE processing module, INFO processing module, MESSAGE processing module, incidence relation is not had mutually between NOTIFY processing module and HTTP processing module, and associate with XML Edition Contains submodule with SDP Edition Contains submodule,
Protocol module editing and processing unit comprises following submodule:
Protocol module chooser module: define the title of test item, selects to select corresponding processing protocol to this test item simultaneously, will configure write configuration file accordingly by configuration file processing module submodule;
SDP Edition Contains submodule: for editing the content of the protocol-dependent SDP of INVITE processing module in Session Initiation Protocol, the SDP content of having edited will configure write configuration file accordingly by configuration file processing module submodule;
XML Edition Contains submodule: for editing the content of INFO processing module, MESSAGE processing module, NOTIFY processing module, the protocol-dependent XML of HTTP processing module, the XML content of having edited will configure write configuration file accordingly by configuration file processing module submodule;
Handling process editor submodule: for when carrying out a certain flow testing, tester is determined as the flow process of recipient or initiator;
Configuration file processing module submodule: for by operating result write configuration file every to protocol module chooser module, SDP Edition Contains submodule, XML Edition Contains submodule, handling process editor submodule;
Configuration editing and processing module;
Configuration profile module: for storing the configuration data in configuration editing and processing module and the related configuration data in configuration file processing module submodule;
Protocol test display module: by reading the every configuration in configuration file, thus generate corresponding protocol test interface.
2. power network video supervisory control system testing authentication system according to claim 1, it is characterized in that: to correct message processing facility be: in testing process, service control layer is after processing correct request, service control layer sends correct response to protocol layer, after protocol layer receives the correct response of service control layer, sending correct response to network layer, replying correctly responding eventually through network layer;
In handling process, comprise reporting and response two kinds process to error message of error reason, the processing mode successively reported all is adopted in the mistake of different layers, the error reason of network layer is directly reported to protocol layer, the error reason of protocol layer to network layer and self parsing is directly reported to service control layer, for the direct reporting service key-course of error reason that Deta bearer analysis layer self is resolved; Service control layer responds request the mistake be resolved to, response message adopts the mode of successively replying, service control layer mistake and Deta bearer analysis layer are by error reason notification protocol processing layer, protocol layer by data carrying layers, service control layer and self resolve error reason informing network layer, all error reasons respond by network layer.
CN201210168537.XA 2012-05-25 2012-05-25 Test and verification system for grid video monitoring system Active CN102724084B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210168537.XA CN102724084B (en) 2012-05-25 2012-05-25 Test and verification system for grid video monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210168537.XA CN102724084B (en) 2012-05-25 2012-05-25 Test and verification system for grid video monitoring system

Publications (2)

Publication Number Publication Date
CN102724084A CN102724084A (en) 2012-10-10
CN102724084B true CN102724084B (en) 2015-04-22

Family

ID=46949754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210168537.XA Active CN102724084B (en) 2012-05-25 2012-05-25 Test and verification system for grid video monitoring system

Country Status (1)

Country Link
CN (1) CN102724084B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686348B (en) * 2013-11-27 2016-08-24 青岛海信电器股份有限公司 The coding/decoding method of image and device
CN104853323B (en) * 2015-03-16 2018-08-31 国家电网公司 A kind of distributed multilink synchronous communication processing method towards power emergency rescue
CN108965057A (en) * 2018-07-23 2018-12-07 高新兴科技集团股份有限公司 A kind of test device and method based on GB/T28181 agreement
CN111796998A (en) * 2019-06-27 2020-10-20 上海市计量测试技术研究院 AML language performance verification system
CN114598617A (en) * 2021-03-26 2022-06-07 公安部第三研究所 Device for realizing large-scale multi-task parallel detection processing aiming at security monitoring networking
CN113542032A (en) * 2021-07-21 2021-10-22 中电海康无锡科技有限公司 Method and device for rapidly verifying GB/T28181 protocol
CN113824953A (en) * 2021-11-19 2021-12-21 军事科学院系统工程研究院网络信息研究所 Method and system for standardized testing of video system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777124A (en) * 2004-11-16 2006-05-24 华为技术有限公司 Protocol test device and method for realizing protocol test
CN101969233A (en) * 2010-10-29 2011-02-09 广东电网公司电力科学研究院 Testing method and device of power grid video and environment monitoring system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8401709B2 (en) * 2009-11-03 2013-03-19 Spirae, Inc. Dynamic distributed power grid control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777124A (en) * 2004-11-16 2006-05-24 华为技术有限公司 Protocol test device and method for realizing protocol test
CN101969233A (en) * 2010-10-29 2011-02-09 广东电网公司电力科学研究院 Testing method and device of power grid video and environment monitoring system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于SIP协议电网视频统一平台的研究;齐宝利;《电力系统通信》;20111010;第32卷(第228期);全文 *

Also Published As

Publication number Publication date
CN102724084A (en) 2012-10-10

Similar Documents

Publication Publication Date Title
CN102724084B (en) Test and verification system for grid video monitoring system
CN101404696B (en) Visible service flow tracing method and system, service flow processing system
CN102624679B (en) Realization method for multilevel intelligent multifunctional multimedia information interaction system
Zuehlke Smartfactory–from vision to reality in factory technologies
CN1905455B (en) Open type multimedia transmission system based on internet and streaming media technique
CN104680876B (en) The Teaching Monitoring method, system and device of learning machine
CN105045602B (en) Method and device for constructing Hadoop application development framework and electronic device
TWI519965B (en) Flexible assembly system and method for cloud service service for telecommunication application
CN106231365A (en) A kind of dispatching method and system
CN103096030B (en) A kind of video monitoring multi-service fusion platform and solution
CN105721831B (en) A kind of video monitor client design method based on multi-process framework
CN102077604A (en) System for proactively troubleshooting set top box issues
CN109218086B (en) Method and system for constructing switching network
CN103019201A (en) Remote control method and device based on three-dimensional virtual scene
CN109726000A (en) The management method of more application views, for more application views management device and operating method
CN104462243A (en) Data verification combined ETL scheduling system and method
CN103699760B (en) A kind of multilayer closed-loop main station detection data source simulation method
CN101275978A (en) Virtual electrical energy meter and manufacturing method thereof
CN111967789A (en) Debugging system is transferred in distribution automation terminal warehouse debugging
CN102137223B (en) New media production and broadcasting system having heterogeneous integration function
CN105868170A (en) Method for generating industrial data report in server
CN106781917A (en) It is a kind of to support a pair of power distribution automation Training Simulation Systems of multi-mode
CN100525352C (en) Multimedia transmission and playing method and system in mobile phone network
CN108984398A (en) Method, apparatus, electronic device and the storage medium of software test
CN108897695A (en) A kind of the interconnection test method and system of demand side apparatus

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