KR20160121039A - Apparatus and method for conformance testing of communication protocols - Google Patents

Apparatus and method for conformance testing of communication protocols Download PDF

Info

Publication number
KR20160121039A
KR20160121039A KR1020150050430A KR20150050430A KR20160121039A KR 20160121039 A KR20160121039 A KR 20160121039A KR 1020150050430 A KR1020150050430 A KR 1020150050430A KR 20150050430 A KR20150050430 A KR 20150050430A KR 20160121039 A KR20160121039 A KR 20160121039A
Authority
KR
South Korea
Prior art keywords
component
power management
test
ttcn
testing
Prior art date
Application number
KR1020150050430A
Other languages
Korean (ko)
Inventor
황태인
Original Assignee
한국전자통신연구원
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 한국전자통신연구원 filed Critical 한국전자통신연구원
Priority to KR1020150050430A priority Critical patent/KR20160121039A/en
Publication of KR20160121039A publication Critical patent/KR20160121039A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Abstract

Disclosed are a conformance testing device of a communication protocol and a method thereof. The conformance testing device of the communication protocol comprises: a testing and test control notation (TTCN) script execution engine to drive a power management system testing emulator component and a master test component (MTC) by reading a TTCN script inputted by a testee; an enterprise service bus to register and execute a proxy service for copying power management message transmitted and received between the power management system testing emulator component and testing target systems or delivering the power management message to a destination; and a TTCN component adapter to provide a communication interface so that the driven power management system testing emulator component communicates with the enterprise service bus.

Description

[0001] Apparatus and method for conformance testing of communication protocols [

The present invention relates to an apparatus and method for testing conformance of a communication protocol.

Standards such as IEC 61970, IEC 61968, OpenADR, and SEP related to Smart Grid are based on the Common Information Model (CIM) and are based on Energy Management System (EMS), Distribution Management System (DMS) Standardized information models for homes, buildings, and industrial facilities. In order to test the conformity of the communication protocol to the systems developed based on the standard information model, the test environment is configured in the local network environment, and the message exchanged between the test target systems is directly monitored and confirmed by the tester, It is possible to judge whether or not the communication protocol is suitable. This method is difficult to construct various communication protocol conformance test environments as the communication protocols to be accommodated for interworking with the test target system and other systems become various and complicated. As a result, It has a disadvantage in that a lot of time and cost are incurred because it is necessary for a specialist to directly analyze by using a tool to judge suitability.

The present invention relates to a communication protocol for exchanging a power management message based on a Common Information Model (CIM) between power management systems for power meter management, demand response management, distributed power management, And to propose a conformance testing apparatus and method of a communication protocol for testing and verifying the communication protocol.

According to an aspect of the present invention, a conformance testing apparatus for a communication protocol is disclosed.

The conformance testing apparatus of the communication protocol according to the embodiment of the present invention reads the test and test control notation (TTCN) script input by the tester and drives the emulator component for testing the power management system and the master test component (MTC) An enterprise service bus for registering and executing a proxy service for duplicating or transmitting a power management message sent and received between the emulator components for testing the power management system and the test target systems, And a TTCN component adapter that provides a communication interface for communicating with the enterprise service bus, an emulator component for testing the management system.

The present invention relates to the complexity of constructing a test environment due to the diversity of communication protocols to be accommodated for interworking between a test target system and other systems under a conventional smart grid environment and a message comparison based on a power management common information model for communication protocol conformance testing The difficulty of the analysis can be solved.

Brief Description of the Drawings Fig. 1 schematically illustrates the configuration of a conformance testing apparatus for a communication protocol. Fig.
2 is a diagram schematically illustrating a configuration of a conformance testing apparatus for a communication protocol according to another embodiment;
3 is a flowchart showing a conformance testing method of a communication protocol in the conformance testing apparatus of the communication protocol of FIG.
FIG. 4 is a flowchart showing a conformance test method of a communication protocol in the conformance testing apparatus of the communication protocol of FIG. 2;

While the present invention has been described in connection with certain exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and similarities. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In the following description of the present invention, detailed description of known related arts will be omitted when it is determined that the gist of the present invention may be unnecessarily obscured. In addition, numerals (e.g., first, second, etc.) used in the description of the present invention are merely an identifier for distinguishing one component from another.

Also, in this specification, when an element is referred to as being "connected" or "connected" with another element, the element may be directly connected or directly connected to the other element, It should be understood that, unless an opposite description is present, it may be connected or connected via another element in the middle.

Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In order to facilitate a thorough understanding of the present invention, the same reference numerals are used for the same means regardless of the number of the drawings.

1 is a view schematically illustrating the configuration of a conformance testing apparatus for a communication protocol.

Referring to FIG. 1, the conformance testing apparatus 100 of the communication protocol includes a test execution engine 110, a TTCN component adapter 120, and an ESB (Enterprise Service Bus) 130).

The TTCN script execution engine 110 reads the TTCN script input by the tester and drives the emulator component for testing the power management system and the master test component (MTC). For example, the power management system may be a Meter Data Management System (MDMS), a Customer Information System (CIS), or a Metering System (MS).

The TTCN component adapter 120 provides a communication interface for the emulator component for power management system testing driven by the TTCN script execution engine 110 to communicate with the enterprise service bus 130.

The enterprise service bus 130 registers and executes a proxy service for replicating or transmitting the power management message transmitted and received between the test target systems 200 as well as the emulator component for testing the power management system.

2 is a diagram schematically illustrating the configuration of a conformance testing apparatus for a communication protocol according to another embodiment.

Referring to FIG. 2, the conformance testing apparatus 100 of the communication protocol includes an emulator component 111 for a CIS test, a master test component 112, an emulator component 113 for MS test, a CIS SOAP (Simple Object Access Protocol) An MMS SOAP adapter 122, an MS SOAP adapter 123, an MDMS-CIS proxy 131, a CIS-MS proxy 132, and an MDMS-MS proxy 133.

The master test component 112 is driven by the TTCN script execution engine 110 and is communicated between the CIS test emulator component 111, the MS test emulator component 113 and the MDMS 201, Verify power management messages.

A CIS SOAP adapter 121 for CIS test emulator component 111 for SOAP communication with enterprise service bus 130 and an MS SOAP adapter 123 for SOAP communication with MS test emulator component 113 ) And the MTC SOAP adapter 122 for the master test component 112 to SOAP communication with the enterprise service bus 130 are driven by the TTCN component adapter 120.

The MDMS-CIS proxy 131 performs replication and delivery of the power management message between the emulator component 111 for CIS test and the MDMS 201.

The CIS-MS proxy 132 performs replication and delivery of power management messages between the CIS test emulator component 111 and the MS test emulator component 113.

The MDMS-MS proxy 133 performs replication and delivery of power management messages between the MS test emulator component 113 and the MDMS 201. [

3 is a flowchart showing a conformance testing method of a communication protocol in the conformance testing apparatus of the communication protocol of FIG.

In step S310, the conformance testing apparatus 100 sets an end point address of the test target system 200 and the emulator components 111 and 113, and transmits a proxy management message Services on the enterprise service bus 130 and executes them.

In step S320, the conformance testing apparatus 100 analyzes the TTCN script input by the tester and drives the emulator components 111 and 113 for testing, and the test emulator components 111 and 113 and the enterprise service bus 130 Run the adapter for communication.

In step S330, the conformance testing apparatus 100 replicates the power management message transmitted between the test target system 200 and the test emulator components 111 and 113 through the proxy service of the enterprise service bus 130, To the master test component 112 together.

In step S340, the conformance testing apparatus 100 verifies the message standard conformity of the power management message received by the master test component 112 using the TTCN script. For example, the standard may be a power system common information model standard, and the conformance testing apparatus 100 may verify the communication protocol suitability of the test target system 200 by comparing the power management message with the TTCN script for message verification can do.

4 is a flowchart showing a conformance testing method of the communication protocol in the conformance testing apparatus of the communication protocol of FIG.

In step S411, the emulator component 111 for CIS test transmits a subscriber registration request message to the enterprise service bus 130.

In step S412, the enterprise service bus 130 transmits the subscriber registration request message received from the emulator component 111 for CIS testing to the MDMS 201 as the destination using the proxy service. At the same time, the subscriber registration request message is duplicated And transmits the subscriber registration request message to the master test component 112.

In step S413, the master test component 112 verifies message conformity to the received subscriber registration request message using the TTCN script.

Thereafter, in steps S421 to S423, a subscriber registration response message from the MDMS 201 to the CIS test emulator component 111, a power amount inquiry request message from the MDMS 201 to the MS test emulator component 113 in steps S431 to S433, In step S441 to step S443, the power meter inquiry response message from the MS test emulator component 113 to the MDMS 201 is also transmitted to the enterprise service bus 130 via the proxy service to the destination MDMS 201 and transmits the message to the master test component 112. The master test component 112 receives the message and verifies the message standard conformity using the TTCN script.

Meanwhile, the conformance testing method of the communication protocol according to the embodiment of the present invention may be implemented in the form of a program command that can be performed through a variety of means for electronically processing information, and may be recorded in a storage medium. The storage medium may include program instructions, data files, data structures, and the like, alone or in combination.

Program instructions to be recorded on the storage medium may be those specially designed and constructed for the present invention or may be available to those skilled in the art of software. Examples of storage media include magnetic media such as hard disks, floppy disks and magnetic tape, optical media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, magneto-optical media and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. The above-mentioned medium may also be a transmission medium such as a light or metal wire, wave guide, etc., including a carrier wave for transmitting a signal designating a program command, a data structure and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as devices for processing information electronically using an interpreter or the like, for example, a high-level language code that can be executed by a computer.

The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.

It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention as defined in the appended claims. It will be understood that the invention may be varied and varied without departing from the scope of the invention.

100: Compatibility test device of communication protocol
110: TTCN script execution engine
120: TTCN component adapter
130: Enterprise Service Bus (ESB)
200: System under test

Claims (1)

A TTCN script execution engine that reads the TTCN script input by the tester and drives an emulator component for power management system test and a master test component (MTC);
An enterprise service bus for registering and executing a proxy service for duplicating or transmitting a power management message sent and received between the emulator component for testing the power management system and the test target systems; And
And a TTCN component adapter that provides a communication interface for the emulated power management system test emulator component to communicate with the enterprise service bus.


KR1020150050430A 2015-04-09 2015-04-09 Apparatus and method for conformance testing of communication protocols KR20160121039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150050430A KR20160121039A (en) 2015-04-09 2015-04-09 Apparatus and method for conformance testing of communication protocols

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150050430A KR20160121039A (en) 2015-04-09 2015-04-09 Apparatus and method for conformance testing of communication protocols

Publications (1)

Publication Number Publication Date
KR20160121039A true KR20160121039A (en) 2016-10-19

Family

ID=57250943

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150050430A KR20160121039A (en) 2015-04-09 2015-04-09 Apparatus and method for conformance testing of communication protocols

Country Status (1)

Country Link
KR (1) KR20160121039A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491055A (en) * 2017-05-08 2017-12-19 宝沃汽车(中国)有限公司 The test system and method for bus
CN108306866A (en) * 2018-01-16 2018-07-20 厦门明延科技有限公司 A kind of Enterprise Service Bus platform and data analysing method
CN109088706A (en) * 2018-08-24 2018-12-25 北京泰德东腾通信技术有限公司 5th third-generation mobile communication is newly eated dishes without rice or wine technology terminal consistency test method and system
KR20200083214A (en) * 2018-12-28 2020-07-08 한국과학기술원 Dynamic security analysis method for control plane and system therefore

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107491055A (en) * 2017-05-08 2017-12-19 宝沃汽车(中国)有限公司 The test system and method for bus
CN108306866A (en) * 2018-01-16 2018-07-20 厦门明延科技有限公司 A kind of Enterprise Service Bus platform and data analysing method
CN109088706A (en) * 2018-08-24 2018-12-25 北京泰德东腾通信技术有限公司 5th third-generation mobile communication is newly eated dishes without rice or wine technology terminal consistency test method and system
KR20200083214A (en) * 2018-12-28 2020-07-08 한국과학기술원 Dynamic security analysis method for control plane and system therefore

Similar Documents

Publication Publication Date Title
CN103178996B (en) Distributed packet-switching chip model verification system and method
US8079017B2 (en) Automated QS interface testing framework
CN110765102B (en) Service data processing method and device, computer equipment and storage medium
KR20160121039A (en) Apparatus and method for conformance testing of communication protocols
CN105577463B (en) A kind of test method and its device based on communication protocol
CN108111364B (en) Service system testing method and device
CN108804313B (en) Method and device for remotely debugging program and server
CN103780455A (en) TETRA digit cluster protocol test method and system based on TTCN-3
CN112100081B (en) Upgrade test method and device based on double-core intelligent electric meter and computer equipment
CN116681013B (en) Simulation verification method, platform, device, equipment and medium of network chip
KR101792864B1 (en) System and Method for verifying application
CN109547430A (en) A kind of exploitation service gateway system and exploitation gateway
CN106981146B (en) Billing method based on multiple gold tax discs
CN110198222A (en) A kind of distribution power automation terminal plug and play test method and test main website
US10725744B2 (en) Method for adapting to blockchain and device, terminal and medium performing the same
CN111526028B (en) Data processing method, device and equipment
CN105446867B (en) A kind of generation method and device of test data
CN110445658A (en) A kind of message processing method and system
KR101862617B1 (en) System of testing iot sensor for power facility management
CN111314805B (en) Debugging method and device for intercommunication OMCI (OMCI) messages of GPON (gigabit passive optical network) system
CN105024874B (en) Off-line emulation system based on trusted service management platform
CN112867046A (en) Method for testing upf network element function based on analog simulation core network
CN110414963B (en) Method, device and storage medium for issuing resources sold by target channel manufacturer
CN112463810A (en) Data processing method, device, equipment and storage medium based on distributed transaction
KR20180117334A (en) Automatic test system for testing operation logic of traffic card payment terminal and test method for the same