CN101212357B - Interface testing method and device - Google Patents

Interface testing method and device Download PDF

Info

Publication number
CN101212357B
CN101212357B CN2006101354494A CN200610135449A CN101212357B CN 101212357 B CN101212357 B CN 101212357B CN 2006101354494 A CN2006101354494 A CN 2006101354494A CN 200610135449 A CN200610135449 A CN 200610135449A CN 101212357 B CN101212357 B CN 101212357B
Authority
CN
China
Prior art keywords
interface
test
test case
tested
case file
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
CN2006101354494A
Other languages
Chinese (zh)
Other versions
CN101212357A (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.)
Bright Oceans Inter Telecom Co Ltd
Bright Oceans Corp
Original Assignee
Bright Oceans Inter Telecom 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 Bright Oceans Inter Telecom Co Ltd filed Critical Bright Oceans Inter Telecom Co Ltd
Priority to CN2006101354494A priority Critical patent/CN101212357B/en
Publication of CN101212357A publication Critical patent/CN101212357A/en
Application granted granted Critical
Publication of CN101212357B publication Critical patent/CN101212357B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for testing an interface, which comprises the following steps: a case file for testing and an interface adapter corresponding to a tested interface are determined; a mapping relation between testing cases in the case file for testing and testing order in the interface adapter is established; testing cases to be tested are chosen in the case file for testing; a testing parameter is set for the testing cases waited for testing; testing order corresponding to the testing cases to be tested in the interface adapter is determined by the mapping relation; testing is carried out for the tested interface by using the testing parameter and the testing order. The invention also discloses a testing device of the interface. Through the interface adapter corresponding to the tested interface is determined; when the testing cases are selected, a testing order corresponding to the testing cases in the interface adapter is determined by the mapping relation; testing is carried out to the interface by using the testing order, the invention avoids the difference and professional property of diverse interfaces so as to suit for different type of interface flexibly.

Description

A kind of method of testing of interface and device
Technical field
The present invention relates to the computer network communication technology field, more specifically to a kind of method of testing and device of equipment management system northbound interface.
Background technology
Present stage, computer network of China and Communications Network Environment are typical multi-equipment environments, there are different manufacturers, dissimilar equipment and management systems thereof to move in computer and the communication network, in order to improve the network operation managerial skills, realize the construction mode of centralized monitor, centralized maintenance and centralized management, operator is progressively realizing managing all devices with a cover integrated network management system, so, under this environment, the various device management system provides the problem of northbound interface to cause the concern of industry to integrated network management system.To the access capability of the northbound interface of each equipment management system, whether consistent with standard from the information model of each interface usually, whether meet user's request function two aspects and investigate, needs pass through accurate, complete, reliable test come standard.Because the communication protocol difference of various device interface, implementation difference, information model difference and the management function difference of supporting, the functional requirement of user's docking port, test emphasis difference to some extent again in addition, therefore set up information model and function that a cover can accurately be tested northbound interface that each equipment management system provides, can provide according to user's request again and which improved test macro northbound interface is carried out just become particularly important.
Finding is used for the test products of testing equipment interface at present, as CORBAExplorer test macro, Qxcom (inst-tms) test macro, all test at corba interface merely, can not support multiple distinct interface, limited the interface testing scope of described test macro, on the other hand, general manual test method, can exist because the situation of the operating mistake that test process lack of standard, artificial property are caused unavoidablely, or cause the situation of the difference of test result owing to the difference of operator's personal knowledge technical ability.
Summary of the invention
In view of this, main purpose of the present invention be to provide a kind of can flexible adaptive distinct device management system, the method for testing and the device of the equipment management system northbound interface of different network management protocol and different communication protocol, to shield the interface characteristics of various management system personalizations, the information model of docking port and function are carried out full test, thereby can realize complete automatic test according to preplanned testing procedure and method with unified testing process; Overcome the operating mistake that manual testing's lack of standard, artificial property are caused to a certain extent.
The method of testing of a kind of interface of the present invention is achieved in that
A kind of method of testing of interface comprises step:
Determine and corresponding test case file of tested interface and interface adapter;
Set up the test case in the described test case file and the mapping relations of the test command in the interface adapter;
In described test case file, choose test case to be measured;
For this test case to be measured is set test parameter;
Determine in the described interface adapter and the corresponding test command of described test case to be measured according to described mapping relations;
Utilize described test parameter and test command that tested interface is tested.
Also comprise:
Preserve test result.
Also comprise:
Be provided for indicating the state information of test case user mode.
Also comprise:
Testing process is provided with test guide file, and this test guide file is preserved and is used to indicate the order of each testing procedure and the information of state.
Determine to comprise with the step of the corresponding test case file of tested interface:
Automatically generate the information model uniformity test use-case file of the user-defined format of tested interface by the Interface Definition Document of resolving tested interface, or generate the information model uniformity test use-case file of the information model uniformity test use-case file template that meets user-defined format according to interface protocol by hand;
Functional requirement according to user's docking port generates the functional test use-case file that meets user-defined format functional test use-case file template;
Determine that described information model uniformity test use-case file is and the corresponding test case file of described tested interface.
The step of determining test case file specifically comprises:
Manually generate the functional test use-case file that meets custom feature test case file template style according to user's request;
Described functional test use-case file is defined as and the corresponding test case file of the interface message of described tested interface.
Determine to comprise with the step of tested interface corresponding interface adapter:
Set up interface adapter according to interface information model and the technical protocol of deferring to; For the interface that uses the standard interface definition language description,, generate the suitable interface adapter of deferring to described tested interface of technical protocol automatically by resolving the standard interface definition file of tested interface; For the interface that does not use the standard interface definition language description, according to interface type and interfacing agreement, the manual suitable interface adapter of deferring to described tested interface of technical protocol that generates;
Determine described interface adapter for the interface corresponding interface adapter of tested interface.
The invention also discloses a kind of testing apparatus of interface, comprise that test case file unit, interface adapter generation unit, map unit, test case choose unit, test parameter setup unit and interface adapter, wherein,
Described test case file unit is used to set up and the corresponding test case file of interface message of preservation and tested interface;
Described interface adapter generation unit is used for generating and described tested interface protocol information corresponding interface adapter;
Described map unit is used for setting up and preserving the test case of described test case file and the mapping relations between the test command in the described interface adapter;
Described test case is chosen the unit and is used for choosing test case to be measured at described test case file;
Described test parameter setup unit is used to test case to be measured to set test parameter;
Described interface adapter is used to set up being connected between testing apparatus and the tested interface, also comprises memory cell by carrying out to drive, and is used to store detecting information.
Also comprise: state information is provided with the unit, is used to test case that state information is set; Judging unit is used for judging according to the state information of described test case the state of test case of the test case file of described test case file configuration of cells.
Described test case file unit comprises test case file generation unit and test case file, described test case file generation unit comprises: the automatic generation unit of information model uniformity test use-case file, and the standard interface definition file that is used to resolve tested interface generates the information model uniformity test use-case file of user-defined format automatically; The manual generation unit of information model uniformity test use-case file utilizes the information model uniformity test use-case file template of user-defined format to generate information model uniformity test use-case file; Functional test use-case file generating unit generates the functional test use-case file of the custom feature test case file template that meets form according to the functional requirement of user's docking port.
Described interface adapter comprises test command memory block, linkage unit and performance element, wherein,
The test command that is used to drive tested interface is preserved in described test command memory block;
Described linkage unit is used to set up and being connected of tested interface;
Described performance element, choose the test command that the test case of unit selection is shone upon according to the mapping relations in the described map unit at described test case, described test command and test parameter are sent to tested interface, for tested interface is provided with configuration information or obtains the feedback information of tested interface, and described feedback information and expected result compared, determine test result.
Also comprise: the notice acquiring unit is used to obtain the announcement information that tested interface reports.
As seen through the above technical solutions, the present invention has following characteristics and advantage:
1, compared with prior art, the present invention has realized a kind of general interface test method to multiple distinct interface, by determining and the suitable interface adapter of tested interface, when choosing test case, determine in the described interface adapter and the corresponding test command of selected test case by mapping relations, utilize described test command that described interface is tested, shielded the otherness of multiple interfaces and professional effectively, can the dissimilar interface of flexible adaptation.
2, can generate test case file by user's request, to tested interface carry out at many levels, the test of multi-angle, simultaneously, can overcome the situation of the operating mistake that test process lack of standard, artificial property caused by test case file, or cause the situation of the difference of test result owing to the difference of operator's personal knowledge technical ability.
Description of drawings
Fig. 1 is the realization flow figure of the method for testing of a kind of interface of the present invention;
Fig. 2 is the flow chart of the embodiment one of the method for testing of a kind of interface of the present invention;
Fig. 3 is the flow chart of the embodiment two of the method for testing of a kind of interface of the present invention;
Fig. 4 is the structured flowchart of the testing apparatus of a kind of interface of the present invention;
Fig. 5 is the structural representation of the embodiment one of the testing apparatus of a kind of interface of the present invention;
Fig. 6 is the structural representation of the embodiment two of the testing apparatus of a kind of interface of the present invention;
Fig. 7 is the structural representation of the embodiment three of the testing apparatus of a kind of interface of the present invention;
Fig. 8 is the structural representation of the embodiment four of the testing apparatus of a kind of interface of the present invention;
Fig. 9 is the structural representation of the test case file dispensing unit of the testing apparatus of a kind of interface of the present invention;
Figure 10 is the structural representation of the interface adapter of the testing apparatus of a kind of interface of the present invention.
Embodiment
In the realization of equipment management system, Equipment Management Function is mapped as the operation to one group of management object, and management object needs the support of bottom network management protocol and communication protocol primitive when finishing concrete operations.
Interface among the present invention is meant the external interface of equipment management system, can pass through network management protocol and communication protocol and the outside various information of managed device alternately supported.The outside can dispose or obtain the management object information of managed device by the network management protocol and the communication protocol access means management system of interface, for example, element name is set, and obtains the activity alarm of network element system, or the like.The network management protocol of supporting according to equipment management system and the kind of communication protocol different, the interface of equipment management system has number of different types, for example COBRA interface, Q3 interface, SOCKET interface, database interface etc.In order to get access to the management object information of managed device, for each interface all can be set up a corresponding interface adapter, interface adapter can dispose or obtain the management object information of managed device by the network management protocol and the communication protocol access means management system of interface.
The present invention propose a kind of can flexible adaptive different network management protocols and the method for testing of the equipment management system interface of different communication protocol, whether the information model of checking interface meets the statement of equipment producer, checks whether the management function of interface meets the user test standard.
Core concept of the present invention is: determine and corresponding test case file of tested interface and interface adapter; Set up the test case in the described test case file and the mapping relations of the test command in the interface adapter; In described test case file, choose test case to be measured successively; Determine in the described interface adapter and the corresponding test command of described test case to be measured according to described mapping relations; Utilize described test parameter and test command that tested interface is tested.
Interface for different types of equipment management system, adopt suitable interface adapter to finish test respectively, this interface adapter is visited this equipment management system by the network management protocol and the communication protocol of this interface, by carrying out command configuration that drives tested interface or the management object information that obtains this equipment management system.
Interface for different types of equipment management system, can adopt corresponding test case to describe to its test that realizes information model consistency and function, in this article, described test case is used for describing the operation of a management object of testing equipment management system, and what described test case file referred to is exactly the set of testing the operation of a plurality of management objects.
Before docking port is tested, need at first set up interface adapter at each interface, and the test case file of setting up support producer all management functions of equipment, interface message according to tested interface is determined test case file, described test case file comprises a plurality of test cases, generate interface adapter according to interface message, described interface adapter includes a plurality of test commands, described test command and tested interface protocol are adaptive, set up the mapping relations between the test command in test case and the described interface adapter, when docking port is tested, choose a certain test case in the described test case file, determine corresponding test command in the described interface adapter by described mapping relations, and utilize described test command that described tested interface is tested.Reach the professional purpose that has shielded tested interface with this.
In order to make those skilled in the art person understand the present invention program better, the present invention is described in further detail below in conjunction with drawings and Examples.
Please refer to Fig. 1, be the realization flow figure of the method for testing of a kind of interface of the present invention.
At first, enter step S101.
Step S101: determine and corresponding test case file of tested interface and interface adapter.
The interface message of described tested interface comprises definition information and configuration information; Described definition information comprises technical protocol information and the interface information model information of being followed when interface carries out information interaction with the outside; Described configuration information comprises: information such as IP address, serve port, user name, access code and the tested interface type of equipment management system.
Described interface message can also be the specification of the equipment management system that provides of equipment producer; described function declaration book content comprises the description of the interface information model each side function of equipment vendors' statement, comprises configuration management, fault management, performance management, safety management, communication link supervision, time synchronized, protection management, Port Management, service management, exchange of management, traffic management or the like.On the description form of specification, some is with the formal description of standard interface definition language, for example the function declaration book of corba interface adopts the IDL language description, and some is that producer is self-defining, describes the name of interface, name, the parameter name when calling and the type etc. of operation.
According to described interface information model and function declaration book, set up the test case file of test interface information model, it is the test case file that test specification covers tested interface each side function, and the technical protocol information setting interface adapter of following by described tested interface, comprise in the described interface adapter with described test case file in the corresponding test command of each test case, the technical protocol that described test command and described tested interface are followed is suitable, can be discerned by described tested interface.
Step S102: set up the test case in the described test case file and the mapping relations of the test command in the interface adapter.
Described test case is the method for testing of a test process of certain test event, and for example: a test case getEMS is arranged, and its content is " call the getEMS method of producer's equipment management system interface, obtain the information of equipment management system "; And for example, CreatAndActivateSNC is " creating and activate a subnet connects ".
According to the relative position of test case in test case file, and the position of corresponding test command in the described interface adapter, mapping relations set up.
Step S103: in described test case file, choose test case to be measured successively.
Step S104: be described test case input test parameter.
Described test parameter is the specified parameter that needs input in the interface that provides of equipment producer, for example, all activity alarms are returned in test case getAllEMSAndMEActiveAlarms request, the reason, the high severity alarm that may get rid of and the maximum alarm quantities that need input to get rid of are used to filter some alarms.
Step S105: determine in the described interface adapter and the corresponding test command of described test case to be measured according to described mapping relations.
Step S106: utilize described test parameter and test command that tested interface is tested.
Described test parameter and test command are sent to tested interface, and obtain the feedback information of tested interface, described feedback information and expected result are compared, to determine test result.
Be described in detail below in conjunction with the method for testing of the drawings and specific embodiments, please refer to Fig. 2, be the flow chart of the embodiment one of the method for testing of a kind of interface of the present invention a kind of interface of the present invention.
Step S201: beginning.
Step S202: determine test case file.
Obtain the definition information of tested interface, judge whether described interface uses the standard interface definition language to describe, if enter step S203; Otherwise, enter step S204.
Step S203: generate information model uniformity test use-case file automatically.
Interface information model according to standard interface definition linguistic norm and described tested interface generates information model uniformity test use-case file automatically, described information model uniformity test use-case comprises a plurality of test cases, comprises the operation of all management objects of the equipment producer statement of testing described tested interface.
When being corba interface as tested interface, because described corba interface adopts the IDL language, it is a kind of standard interface definition language, so idl file of the tested interface that provides according to IDL linguistic norm and device fabrication producer, can generate information model uniformity test use-case file automatically, described idl file is used for illustrating the operation that the CORBA service object finishes.
The information model uniformity test use-case file of described generation is as shown in table 1:
Table 1: information model uniformity test use-case file
Directory information Test case
1.1 getEMS
1.2 getAllEMSAndMEActiveAlarms
1.3 getAllEMSTopologicalLinks
1.4 getAllTopLevelSubnetworks
2.1 deactivateSNC
2.2 deleteSNC
2.3 deactivateAndDeleteSNC
3.1 getAllActiveAlarms
3.2 getAllCrossConnections
3.3 getAllPTPs
3.4 getAllCTPs
[0089]
3.5 getContainingTPs
3.6 getTP
3.7 getContainedPotentialTPs
3.8 getContainedInUseTPs
3.9 getContainedCurrentTPs
... ...
In described information model uniformity test use-case, the test purpose of each test case is whether the information model of the described tested interface of test is consistent with the producer statement, and whether the information model of checking interface meets equipment producer is stated, for example:
The test purpose of test case getEMS is whether the described tested interface of checking supports the getEMS method, and whether the input of this method and output meet the interface definition of producer statement fully; The test purpose of test case deleteSNC then is whether the described tested interface of checking supports the deleteSNC method, and whether the input of this method and output meet interface definition of producer statement or the like fully.
Enter step S205.
Step S204: set up information model uniformity test use-case file template, the function declaration book of the equipment management system that provides according to equipment producer, fill substance generates information model uniformity test use-case file.
The interface protocol of tested interface or function declaration described in the specification that the equipment producer of utilization provides are made information model uniformity test use-case file template.
For example, when described tested interface was the SOCKET interface, the SOCKET interface did not use the standard definition language description, and it is as follows to set up information model uniformity test use-case file template:
startBit=″xx″
messageLength=″xxxx″
dataFramesId=″xxxx″
controlWord=″xx″
messageContent=″xxxx″
appendPara1=″xxxxxxxx″
appendPara2=″xxxxxxxx″
Wherein, startBit represents start bit, and messageLength represents message length, and dataFramesId represents the Frame sign, and controlWord represents control word, and messageContent represents message content, and appendPara represents other parameters.
The interface protocol or the function declaration book of the equipment management system that provides according to equipment producer are filled in corresponding information and can be generated corresponding test case in described template, as:
startBit=″96″
messageLength=″0002″
dataFramesId=″0030″
controlWord=″03″
messageContent=″4147″
appendPara1=″C0C00402″
appendPara2=″C0C0040A″
Generate test case GetAlmMask, whether corresponding test purpose supports the GetAlmMask method for checking SOCKET interface, and whether the input of this method and output meet the interface definition of producer's statement fully.
By interface protocol or function declaration book and the information model uniformity test use-case file template that equipment producer provides, generate information model uniformity test use-case file.
According to user test standard or user's request systematic function test case, to test certain part management function of described tested interface.Test the function of " inquiry network element on all alarm " of tested interface and the function of " query warning mask " as customer requirements, then fill in functional test use-case template, described template is as follows:
" all alarms on the inquiry network element " functional template:
Start bit=" xx "
Message length=" xxxx "
Frame sign=" xxxx "
Control word=" xx "
Message content=" xxxx "
Sourcesink IP address=" xxxxxxxx "
Node subnet ID=" xxxxxxxx "
Query warning mask template:
Start bit=" xx "
Message length=" xxxx "
Frame sign=" xxxx "
Control word=" xx "
Message content=" xxxx "
Sourcesink IP address=" xxxxxxxx "
Node subnet ID=" xxxxxxxx "
Fill in above-mentioned template, generate test case:
The test case of all alarming on the inquiry network element:
Start bit=" 96 "
Message length=" 0002 "
Frame sign=" 0030 "
Control word=" 03 "
Message content=" 4147 "
Sourcesink IP address=" C0C00402 "
Node subnet ID=" C0C0040A "
The test case of query warning mask:
Start bit=" 96 "
Message length=" 0002 "
Frame sign=" 0030 "
Control word=" 03 "
Message content=" 4148 "
Sourcesink IP address=" C0C00402 "
Node subnet ID=" C0C0040A "
Enter step S205.
Step S205: set up interface adapter according to interface information model and the technical protocol of deferring to.
When using standard interface definition language description interface, the technical protocol that utilizes the information model of described interface and deferred to generates interface adapter, as corba interface, the file that passes through idl file is resolved to java or C language format that utilizes producer to provide, method name, class name, parameter list that identidication key obtains method that interface provides are combined into test command; For the interface that does not use the standard interface definition language description, according to interface type and the technical protocol of being deferred to, the manual code that generates connecting interface, and adopt manual mode to generate test command, for example database interface only need be realized database is issued SQL statement, and handles return results; The SOCKET interface only needs docking port to issue the order of interface protocol definition, and handles return results.
Step S206: set up mapping relations.
The corresponding test command of test case in existence and the information model uniformity test use-case file in interface adapter, according to the relative position of described test command in described and information model uniformity test use-case file, and the position of described test command in described interface adapter, set up the mapping relations of described test command and described test case.
As, corresponding relation will be set up with corresponding test command (as getEMS ()) in the position (as node number is 1.1.1) of test case " getEMS " in described information model uniformity test use-case file, as:
The node number of test case in described test case file that if (curTreeNode.testldStr.compare (" 1.1.1 ")==0) // expression is chosen is 1.1.1;
{
This.EMSMgr_I$getEMS (); Test command corresponding with described node number 1.1.1 in the // interface adapter is called EMSMgr_I$getEMS ()
}
The node number of test case in described test case file that else if (curTreeNode.testldStr.compare (" 1.1.2 ")==0) expression is chosen is 1.1.2;
This.EMSMgr_I$getALLTopLevelSubnetworks (); Test command corresponding with described node number 1.1.2 in the // interface adapter is called EMSMgr_I$getALLTopLevelSubnetworks ();
}
Step S207: choose test case in the described test case file.
Step S208: set test parameter.
Described test parameter is the specified parameter that needs input in the interface that provides of equipment producer, for example, all activity alarms are returned in test case " getAllEMSAndMEActiveAlarms " request, the reason, the high severity alarm that may get rid of and the maximum alarm quantities that need input to get rid of are used to filter some alarms.
Described test parameter can also comprise sign, the attribute (as the connection speed of name, support) of certain management object (as network element) in the described tested interface, parameter informations such as the user name of login, password.
Step S209: determine corresponding test command.
According to mapping relations, determine in the described interface adapter and the corresponding test command of selected test case, as the test case of choosing is when " getEMS ", the test command as described in determining to determine with the relative position (as node number 1.1.1) of described test case in described test case file according to mapping relations in the interface adapter.
Step S210: test is also preserved detecting information.
Test parameter and the described test command chosen are sent to tested interface, and execution result and expected result that tested interface is returned compare, and determine test result.
The description that provides according to manufacturer is provided described expected result, import which kind of parameter, produce which kind of result, test as login feature module tested interface, verify whether described tested interface has the function of " the importing legal information; allow legal login; stop and illegally land " of being explained in its specification, expected result is exactly: when user name or/and during the password mistake, show the warning information of " please input right user name and password ", when user name or/and password when correct, enter system interface, the test parameter that is adopted is exactly a user name, password, login username and password that it is legal are respectively yiyang, 123; When the user imports yiyang, 312 or yiyan, 123 or yiyan, 12 o'clock, the warning information that shows " please input right user name and password ", and the user imports yiyang, 123 o'clock, enter system interface, illustrate that then the login feature module of this tested interface has the function of said in the specification " import legal information, allow legal login, stop illegally login "; Otherwise, illustrate that the login feature module of this tested interface does not have or not exclusively have the function of said in the specification " import legal information, allow legal login, stop illegally login ".
Detecting information is preserved, and described detecting information comprises test case, input parameter and test result.
Can also preserve corresponding log information such as information such as testDate, tester, so that the operator consults at any time and analyzes.
Step S211: test mode information is set.
Be provided for indicating the state information of the user mode of test case, described state information comprises that state has three kinds: test successfully, test crash, test; As with as described in choose and finish the test case of test state be changed to " testing successfully ".
Step S212: according to the user mode information of test case, judge whether also have untapped test case in the test case file,, return step 207 if having; Otherwise, enter step S213.
Step S213: finish.
For when the input error parameter, in time test operator is informed in error message, be convenient to raise the efficiency, can when input test parameter, the legitimacy of described test parameter be verified.
As shown in Figure 3, be the flow chart of the embodiment two of the method for testing of a kind of interface of the present invention.
In the step S208 of the foregoing description one, set after the test parameter, enter step S2081.
Step S2081: when the test parameter of choosing is legal, enter step S209; Otherwise, enter step S2082.
Tested interface only reacts the parameter of form up to specification, as the against regulation form of the parameter of test parameter, think that promptly described test parameter is illegal, requiring the information type of input as test parameter is integer, and the parameter of choosing is 89.5, this parameter is not an integer, thinks that then selected parameter is illegal.
Step S2082: send a warning message.
For the normative testing flow process, when avoiding different testers to test, test result exists the situation than big-difference to occur, and can according to testing process test guide file be set in advance, is used to indicate the order and the state of each testing procedure.For example, according to testing process: determine test case file and interface adapter → connecting interface → checking input test parameter → test → preservation test result, test guide file is set, is used for indicating state each testing procedure of described testing process, as shown in the table:
Table 2
Testing procedure Content State
1 Determine test case file and interface adapter Operate
2 Connecting interface Operate
3 The checking input test parameter Operate
4 Test Not operation
5 Preserve test result Not operation
The tester tests according to testing process shown in the table 2, guarantees the consistency of test result, has reduced to a certain extent because the test error that manually-operated randomness is brought.
In order further testing process to be carried out standard, can also be to the further refinement of each testing procedure in the above-mentioned testing process.
Management for convenience can also be set test event, and test event setting person sets the one or more test cases of test (according to the definite test case that specifically comprises of testing requirement) for each test event, thereby facilitates and simplifies the step of choosing test case.
In order to be connected between interface adapter and the tested interface when going wrong, in time fault message is informed test operator, can be by regularly detection task be set, regularly to detect the connection status of interface adapter and described tested interface, when detecting the disconnection of described interface adapter and described tested interface, in time send failure message to test operator.
Please refer to Fig. 4, be the structured flowchart of the testing apparatus of a kind of interface of the present invention.
This device comprises that test case file unit 101, interface adapter generation unit 102, map unit 103, test case choose unit 104, test parameter setup unit 105, interface adapter 106.
Described test case file unit 101 is used to set up and the corresponding test case file of interface message of preservation and tested interface 200; Described interface adapter generation unit 102 is used for generating and described tested interface protocol information corresponding interface adapter 106; Map unit 103 is used for setting up and preserving the test case of test case file and the mapping relations between the test command in the interface adapter 106; Described test case is chosen unit 104 and is used for choosing test case to be measured at described test case file; Described test parameter setup unit 105 is used to test case to be measured to set test parameter; Described interface adapter 106 is used to set up being connected between testing apparatus and the tested interface, by carrying out the order that drives tested interface, configuration information is set or obtains the feedback information of described tested interface 200.
Wherein, when using standard interface definition language description interface, the technical protocol that utilizes the information model of described interface and deferred to generates interface adapter, as corba interface, so the file that passes through idl file is resolved to java or C language format that utilizes producer to provide, method name, class name, parameter list that identidication key obtains method that interface provides are combined into test command; For the interface that does not use the standard interface definition language description, according to interface type and the technical protocol of being deferred to, the manual code that generates connecting interface, and adopt manual mode to generate test command, for example database interface only need be realized database is issued SQL statement, and handles return results; The SOCKET interface only needs docking port to issue the order of interface protocol definition, and handles return results.
Test case in map unit 103 foundation and the preservation test case file and the mapping relations between the test command in the interface adapter 106, as: test case " getEMS " as described in relative position (is 1.1.1 as node number) in the information model uniformity test use-case file, to set up corresponding relation with corresponding test command (as getEMS ()), as:
The node number of test case in described test case file that if (curTreeNode.testldStr.compare (" 1.1.1 ")==0) // expression is chosen is 1.1.1;
{
This.EMSMgr_I$getEMS (); Test command corresponding with described node number 1.1.1 in the // interface adapter is called EMSMgr_I$getEMS ()
}
The node number of test case in described test case file that else if (curTreeNode.testldStr.compare (" 1.1.2 ")==0) expression is chosen is 1.1.2;
This.EMSMgr_I$getALLTopLevelSubnetworks (); Test command corresponding with described node number 1.1.2 in the // interface adapter is called EMSMgr_I$getALLTopLevelSubnetworks ();
}
The course of work of this device is: test case file unit 101 is provided with test case file according to the interface message of tested interface 200, comprise a plurality of test cases in the test case file, the technical protocol that interface adapter generation unit 102 is supported according to described tested interface generates interface adapter 106, comprise a plurality of test commands in the described interface adapter 106, described test command can be discerned by described tested interface 200, map unit 103 is according to position and described test case the position in described test case file of described test command in described interface adapter 106, set up the mapping relations of test case and test command, and preserve, test case is chosen unit 104 and choose test case in described test case file, test parameter setup unit 105 is that selected test case is set test parameter, interface adapter 106 is determined test command according to the mapping relations in the described map unit 103, the test parameter of described test command and 105 settings of test parameter setup unit is sent to tested interface 200, and configuration information is set or obtains the feedback information of described tested interface 200, utilize the expected result in the statement of described feedback information and producer to compare, determine test result.
Please refer to Fig. 5, be the structural representation of the embodiment one of the testing apparatus of a kind of interface of the present invention.
This device operation principle is identical with the described operation principle of Fig. 4, can also comprise memory cell 107 in addition, be used to preserve test result information, described object information comprises test case, test parameter and test result, can also comprise corresponding log information such as information such as testDate, tester, so that the operator consults at any time and analyzes.
Please refer to Fig. 6, be the structural representation of the embodiment two of the testing apparatus of a kind of interface of the present invention.
This device operation principle is identical with the described operation principle of Fig. 5, and can also comprise in addition: state information is provided with unit 108, and described state information is provided with the state information that the unit is used to indicate the user mode of test case; Judging unit 109 is used for judging according to described state information the state of the test case of described test case file.
Choose the test case that unit 104 is chosen according to information in the interface adapter 106 and test case, state information is provided with the information that unit 108 is provided for indicating the user mode of test case in the described test case file unit 101, and described state information comprises that state has three kinds: test successfully, test crash, the test; As with as described in choose and finish the test case of test state be changed to " testing successfully "; Test case is chosen unit 104 and constantly choose the test case of state for " use " in described test case file, up to judging unit Unit 109 draw according to described identification information judgment do not have untapped test case in the described test case file till.
For when tested interface breaks down, in time fault message is informed test operator, this device can also comprise notice acquiring unit 110, as shown in Figure 7, is the structural representation of the embodiment three of the testing apparatus of a kind of interface of the present invention.
Described notice acquiring unit 110 is used to obtain the notice that tested interface 200 reports.
For when the input error parameter, in time the operator is informed in error message, be convenient to raise the efficiency, parameter authentication unit 111 and parameter Alarm Unit 112 can be set, as shown in Figure 8, be the structural representation of the embodiment four of the testing apparatus of a kind of interface of the present invention.
The legitimacy of the test parameter that described parameter authentication unit 111 is used to verify that the user chooses, because tested interface only reacts the parameter of form up to specification, requiring the information type of input as test parameter is integer, and the parameter of choosing is 89.5, this parameter is not an integer, think that then selected parameter is illegal, when the parameter of choosing as described parameter authentication unit 111 checking users was illegal, parameter Alarm Unit 112 sent alarm notifications.
For the normative testing flow process, when avoiding different testers to test, there is the appearance than the situation of big-difference in test result, this device can also comprise test guide unit, described test guide unit and test case file unit 101, interface adapter generation unit 102, test case is chosen unit 104, test parameter authentication unit 111 links to each other with memory cell 107, be used to be provided with indication information, described indication information comprises the state information that the order information and the testing procedure of testing procedure are set according to testing process, described state information is the information according to the information setting in above-mentioned each functional unit, as " operating " or " not operation ".For example, according to testing process: determine test case file and interface adapter → connecting interface → checking input test parameter → test → preservation test result, test guide file is set, is used for indicating state each testing procedure of described testing process, as shown in the table:
Table 3
Testing procedure Content State
1 Determine test case file and interface adapter Operate
2 Connecting interface Operate
3 The checking input test parameter Operate
4 Test Not operation
5 Preserve test result Not operation
The tester tests according to testing process shown in the table 3, guarantees the consistency of test result, has reduced to a certain extent because the test error that manually-operated randomness is brought.
In order further testing process to be carried out standard, can also be to the further refinement of each testing procedure in the above-mentioned testing process.
Management for convenience can also be set test event, and test event setting person sets the one or more test cases of test (according to the definite test case that specifically comprises of testing requirement) for each test event, thereby facilitates and simplifies the step of choosing test case.
Please refer to Fig. 9, be the structural representation of the test case file unit of the testing apparatus of a kind of interface of the present invention.
Described test case file unit 101 comprises: test case file generation unit 113 and test case file 114, described test case generation unit 113 comprises: the automatic generation unit 1131 of information model uniformity test use-case file, the manual generation unit 1132 of information model uniformity test use-case file and functional test use-case generation unit 1133.
Described interface message file 211 is to obtain in advance before the operator tests, and described interface message file comprises the technical protocol information of interface, the configuration information such as the information such as IP address, serve port, user name password and tested interface type of interface; Described interface message file 211 can also comprise the function declaration book that the system development merchant provides, and described function declaration book content comprises the description for interface each side function.
When satisfying the interface of standard definition linguistic norm for interface definition, information model uniformity test use-case file generating unit 1131 generates information model uniformity test use-case file automatically according to the interface information model of described standard definition linguistic norm and described tested interface; Described information model uniformity test use-case comprises a plurality of test cases, and described each test case comprises the method for certain aspect function of testing described tested interface.
When being corba interface as tested interface, because the IDL language that described corba interface adopts is a kind of standard definition language, so the idl file that adopts the manufacturer of IDL linguistic norm and tested interface to provide generates information model uniformity test use-case file automatically, described idl file promptly is the function declaration book of corba interface.
Described information model uniformity test use-case file is as shown in table 4:
Table 4: information model uniformity test use-case file
Directory information Test case
1.1 getEMS
1.2 getAllEMSAndMEActiveAlarms
1.3 getAllEMSTopologicalLinks
1.4 getAllTopLevelSubnetworks
2.1 deactivateSNC
2.2 deleteSNC
2.3 deactivateAndDeleteSNC
3.1 getAllActiveAlarms
3.2 getAllCrossConnections
[0225]
3.3 getAllPTPs
3.4 getAllCTPs
3.5 getContainingTPs
3.6 getTP
3.7 getContainedPotentialTPs
3.8 getContainedInUseTPs
3.9 getContainedCurrentTPs
... ...
In described information model uniformity test use-case, the test purpose of each test case is model consistent with the Interface Definition Document statement whether of certain method of the described tested interface of checking, for example:
The test purpose of test case getEMS is whether the described tested interface of checking supports the getEMS method, and whether the input of this method and output meet the interface definition of producer statement fully; The test purpose of test case deleteSNC then is whether the described tested interface of checking supports the deleteSNC method, and whether the input of this method and output meet interface definition of producer statement or the like fully.
Do not satisfy the interface of standard definition linguistic norm for the definition of interface, the parameter configuration model uniformity test use-case file that information model uniformity test use-case file configuration unit 1132 utilizes the information model uniformity test use-case template that sets in advance and user to fill in.
Described information model uniformity test use-case template is to utilize the information model of tested interface to make, when described tested interface is the SOCKET interface, the definitional language of SOCKET interface is not the standard definition language, and its information model uniformity test use-case file template is as follows:
startBit=″xx″
messageLength=″xxxx″
dataFramesId=″xxxx″
controlWord=″xx″
messageContent=″xxxx″
appendPara1=″xxxxxxxx″
appendPara2=″xxxxxxxx″
Wherein, startBit represents start bit, and messageLength represents message length, and dataFramesId represents the Frame sign, and controlWord represents control word, and messageContent represents message content, and appendPara represents other parameters.
Fill message can generate corresponding test case in described template, as:
startBit=″96″
messageLength=″0002″
dataFramesId=″0030″
controlWord=″03″
messageContent=″4147″
appendPara1=″C0C00402″
appendPara2=″C0C0040A″/>
Generate test case GetAlmMask, whether corresponding test purpose possesses the function of " all alarms on the inquiry network element " for checking SOCKET interface.
The specification that provides by producer finally generates information model uniformity test use-case file.
Functional test use-case generation unit 1133 is according to user's request systematic function test case, to test certain partial function of described tested interface.
Test the function of " inquiry network element on all alarm " of tested interface and the function of " query warning mask " as customer requirements, then fill in functional test use-case template, described template is as follows:
" all alarms on the inquiry network element " functional template:
Start bit=" xx "
Message length=" xxxx "
Frame sign=" xxxx "
Control word=" xx "
Message content=" xxxx "
Sourcesink IP address=" xxxxxxxx "
Node subnet ID=" xxxxxxxx "
Query warning mask template:
Start bit=" xx "
Message length=" xxxx "
Frame sign=" xxxx "
Control word=" xx "
Message content=" xxxx "
Sourcesink IP address=" xxxxxxxx "
Node subnet ID=" xxxxxxxx "/〉
Fill in above-mentioned template, generate test case:
The test case of all alarming on the inquiry network element:
Start bit=" 96 "
Message length=" 0002 "
Frame sign=" 0030 "
Control word=" 03 "
Message content=" 4147 "
Sourcesink IP address=" C0C00402 "
Node subnet ID=" C0C0040A "
The test case of query warning mask:
Start bit=" 96 "
Message length=" 0002 "
Frame sign=" 0030 "
Control word=" 03 "
Message content=" 4148 "
Sourcesink IP address=" C0C00402 "
Node subnet ID=" C0C0040A "/〉
Please refer to Figure 10, be the structural representation of the interface adapter of the testing apparatus of a kind of interface of the present invention.
Described interface adapter 106 comprises test command memory block 1061, linkage unit 1062 and performance element 1063, and wherein, described test command memory block 1061 is used to preserve test command; Described linkage unit 1062 is used for connecting with tested interface, described performance element 1063 is used for determining to choose the corresponding test command of the test case of choosing unit 104 with described test case according to the mapping relations that described map unit 103 is preserved, described test command and described test parameter are sent to tested interface, obtain tested interface feedback information, and compare according to described feedback information and prefabricated expected result, determine test result.
The course of work of this interface adapter 106 is: when test case is chosen unit 104 and chosen certain test case in the test case file, determine and the corresponding test command of selected test case according to the test case of storage in the map unit 103 and the mapping relations of test command, and the test parameter of described test command and setting is sent to tested interface 200, obtain the feedback information of tested interface, and feedback information and expected result compared, to determine test result.
Described expected result is exactly the expected result in producer's statement.
Compared with prior art, the present invention is by determining and the suitable interface adapter of tested interface, when choosing test case, determine in the described interface adapter and the corresponding test command of described test case by mapping relations, utilize described test command docking port to test, shielded the professional of lower floor's connecting system effectively, can the dissimilar interface of flexible adaptation.
And the present invention can generate test case file tested interface is carried out multi-angle, systematic test by user's testing requirement.
More than disclosed only be preferred implementation of the present invention; but the present invention is not limited thereto; any those skilled in the art can think do not have a creationary variation, and, all should drop in protection scope of the present invention not breaking away from some improvements and modifications of being done under the principle of the invention prerequisite.

Claims (13)

1. the method for testing of an interface is characterized in that, comprises step:
Determine and corresponding test case file of tested interface and interface adapter;
Set up the test case in the described test case file and the mapping relations of the test command in the interface adapter;
In described test case file, choose test case to be measured;
For this test case to be measured is set test parameter;
Determine in the described interface adapter and the corresponding test command of described test case to be measured according to described mapping relations;
Utilize described test parameter and test command that tested interface is tested.
2. the method for testing of a kind of interface as claimed in claim 1 is characterized in that, also comprises:
Preserve test result.
3. the method for testing of a kind of interface as claimed in claim 1 is characterized in that, also comprises:
Be provided for indicating the state information of test case user mode.
4. the method for testing of a kind of interface as claimed in claim 1 is characterized in that, also comprises:
Testing process is provided with test guide file, and this test guide file is preserved and is used to indicate the order of each testing procedure and the information of state.
5. the method for testing of interface as claimed in claim 1 is characterized in that, determines to comprise with the step of the corresponding test case file of tested interface:
Automatically generate the information model uniformity test use-case file of the user-defined format of tested interface by the Interface Definition Document of resolving tested interface, or generate the information model uniformity test use-case file of the information model uniformity test use-case file template that meets user-defined format according to interface protocol by hand;
Functional requirement according to user's docking port generates the functional test use-case file that meets user-defined format functional test use-case file template;
Determine that described information model uniformity test use-case file is and the corresponding test case file of described tested interface.
6. the method for testing of interface as claimed in claim 1 is characterized in that, determines that the step of test case file specifically comprises:
Manually generate the functional test use-case file that meets custom feature test case file template style according to user's request;
Described functional test use-case file is defined as and the corresponding test case file of the interface message of described tested interface.
7. the method for testing of interface as claimed in claim 1 is characterized in that, determines to comprise with the step of tested interface corresponding interface adapter:
Set up interface adapter according to interface information model and the technical protocol of deferring to; For the interface that uses the standard interface definition language description,, generate the suitable interface adapter of deferring to described tested interface of technical protocol automatically by resolving the standard interface definition file of tested interface; For the interface that does not use the standard interface definition language description, according to interface type and interfacing agreement, the manual suitable interface adapter of deferring to described tested interface of technical protocol that generates;
Determine described interface adapter for the interface corresponding interface adapter of tested interface.
8. the testing apparatus of an interface is characterized in that, comprises that test case file unit, interface adapter generation unit, map unit, test case choose unit, test parameter setup unit and interface adapter, wherein,
Described test case file unit is used to set up and the corresponding test case file of interface message of preservation and tested interface;
Described interface adapter generation unit is used for generating and described tested interface protocol information corresponding interface adapter;
Described map unit is used for setting up and preserving the test case of described test case file and the mapping relations between the test command in the described interface adapter;
Described test case is chosen the unit and is used for choosing test case to be measured at described test case file;
Described test parameter setup unit is used to test case to be measured to set test parameter;
Described interface adapter is used to set up being connected between testing apparatus and the tested interface, by carrying out the order that drives tested interface, configuration information is set or obtains the feedback information of described tested interface.
9. the testing apparatus of interface as claimed in claim 8 is characterized in that, also comprises memory cell, is used to store detecting information.
10. the testing apparatus of interface as claimed in claim 8 or 9 is characterized in that also comprise: state information is provided with the unit, is used to test case that state information is set; Judging unit is used for judging according to the state information of described test case the state of test case of the test case file of described test case file configuration of cells.
11. the testing apparatus of interface as claimed in claim 8, it is characterized in that, described test case file unit comprises test case file generation unit and test case file, described test case file generation unit comprises: the automatic generation unit of information model uniformity test use-case file, and the standard interface definition file that is used to resolve tested interface generates the information model uniformity test use-case file of user-defined format automatically; The manual generation unit of information model uniformity test use-case file utilizes the information model uniformity test use-case file template of user-defined format to generate information model uniformity test use-case file; Functional test use-case file generating unit generates the functional test use-case file of the custom feature test case file template that meets form according to the functional requirement of user's docking port.
12. the testing apparatus of interface as claimed in claim 8 is characterized in that, described interface adapter comprises test command memory block, linkage unit and performance element, wherein,
The test command that is used to drive tested interface is preserved in described test command memory block;
Described linkage unit is used to set up and being connected of tested interface;
Described performance element, choose the test command that the test case of unit selection is shone upon according to the mapping relations in the described map unit at described test case, described test command and test parameter are sent to tested interface, for tested interface is provided with configuration information or obtains the feedback information of tested interface, and described feedback information and expected result compared, determine test result.
13. the testing apparatus as claim 8 or 9 or 11 or 12 described interfaces is characterized in that, also comprises: the notice acquiring unit is used to obtain the announcement information that tested interface reports.
CN2006101354494A 2006-12-31 2006-12-31 Interface testing method and device Active CN101212357B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006101354494A CN101212357B (en) 2006-12-31 2006-12-31 Interface testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006101354494A CN101212357B (en) 2006-12-31 2006-12-31 Interface testing method and device

Publications (2)

Publication Number Publication Date
CN101212357A CN101212357A (en) 2008-07-02
CN101212357B true CN101212357B (en) 2010-09-15

Family

ID=39612054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006101354494A Active CN101212357B (en) 2006-12-31 2006-12-31 Interface testing method and device

Country Status (1)

Country Link
CN (1) CN101212357B (en)

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645811B (en) * 2009-09-02 2012-07-04 中兴通讯股份有限公司 Device and method for automatically testing embedded system
CN102244592B (en) * 2010-05-11 2014-10-08 中国移动通信集团公司 Network service quality testing system, method, testing center and testing terminal
CN102110049A (en) * 2010-12-14 2011-06-29 中山大学 Method and system for automatically testing digital television middleware interface
CN102148729B (en) * 2011-05-20 2014-12-24 烽火通信科技股份有限公司 Automatic test method for private SNMP (simple network management protocol) management instruction of passive optical network equipment
CN103051467A (en) * 2011-10-17 2013-04-17 中兴通讯股份有限公司 Automatic detecting method and device of northbound interface
CN104503900A (en) * 2014-11-21 2015-04-08 北京奇虎科技有限公司 Test case generation method and device
CN104601403A (en) * 2015-01-07 2015-05-06 上海瀚之友信息技术服务有限公司 Automatic test system
CN106407061B (en) * 2015-07-27 2020-06-16 中兴通讯股份有限公司 Northbound interface testing device and northbound interface testing method
CN105162646B (en) * 2015-07-29 2018-09-11 北京京东尚科信息技术有限公司 A kind of multi-protocol interface test system and method
CN106209503B (en) * 2016-06-28 2019-07-09 武汉斗鱼网络科技有限公司 RPC interface test method and system
CN106991040B (en) * 2016-07-20 2020-05-05 平安科技(深圳)有限公司 Data interface testing method and device
CN106484624A (en) * 2016-10-21 2017-03-08 天津海量信息技术股份有限公司 The method of testing of interface automatic test
CN106502916A (en) * 2016-12-05 2017-03-15 广州唯品会信息科技有限公司 Method for testing software and system
CN106951364B (en) * 2017-02-08 2020-05-12 深圳国泰安教育技术有限公司 Test method and device
CN109213671B (en) * 2017-06-30 2021-08-03 中国航发商用航空发动机有限责任公司 Software testing method and platform thereof
CN107592238B (en) * 2017-08-07 2021-05-28 千寻位置网络有限公司 Automatic test method and system of interface, service terminal and memory
CN107766190B (en) * 2017-10-31 2020-06-12 平安科技(深圳)有限公司 Interface testing method and device, computer equipment and storage medium
CN107678902A (en) * 2017-10-31 2018-02-09 郑州云海信息技术有限公司 A kind of method of testing and its device of unified storage array
CN109960624A (en) * 2017-12-26 2019-07-02 航天信息股份有限公司 A kind of test method and system of JsDriver
CN111258873B (en) * 2018-11-30 2023-06-27 阿里巴巴集团控股有限公司 Test method and device
CN109766231A (en) * 2019-01-11 2019-05-17 未来电视有限公司 Interface test method and device
US11304075B2 (en) * 2019-01-28 2022-04-12 Nokia Solutions And Networks Oy Network path reliability
CN110535945A (en) * 2019-08-30 2019-12-03 苏州浪潮智能科技有限公司 Test method, device, equipment and the storage medium of storage cluster alarm function
CN110703741A (en) * 2019-11-01 2020-01-17 珠海格力电器股份有限公司 Multifunctional communication debugging equipment
CN111090588A (en) * 2019-12-12 2020-05-01 京东数字科技控股有限公司 Test method, device, system, electronic equipment and storage medium
CN111221735B (en) * 2020-01-08 2022-08-09 福建博思软件股份有限公司 System for automatically generating service interaction test script
CN111581083B (en) * 2020-04-26 2024-02-09 抖音视界有限公司 Interface testing method and device, electronic equipment and storage medium
CN114578790B (en) * 2022-03-04 2024-05-14 四川傲势科技有限公司 Unmanned aerial vehicle flight control automatic test method, system, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1786925A (en) * 2005-03-08 2006-06-14 中国科学院软件研究所 TTCN-3 testing system basedon C++ mapping and its testing method
CN1787461A (en) * 2004-12-06 2006-06-14 华为技术有限公司 Method for testing network element interface by state apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787461A (en) * 2004-12-06 2006-06-14 华为技术有限公司 Method for testing network element interface by state apparatus
CN1786925A (en) * 2005-03-08 2006-06-14 中国科学院软件研究所 TTCN-3 testing system basedon C++ mapping and its testing method

Also Published As

Publication number Publication date
CN101212357A (en) 2008-07-02

Similar Documents

Publication Publication Date Title
CN101212357B (en) Interface testing method and device
CN108366067B (en) System and method for testing consistency of universal service protocol of power system
CN109361562B (en) Automatic testing method based on associated network equipment access
US6687748B1 (en) Network management system and method of operation
US20030177227A1 (en) Method and apparatus for modifying remote devices monitored by a monitoring system
CN101369933A (en) Automatic test method and system
CN113706110B (en) FPGA test tool integrated test management platform
CN103473643A (en) Product management data auditing method and system for BOSS system
CN109726830A (en) Equipment routing inspection method, apparatus, electronic equipment and storage medium
CN111556158A (en) Access method, access device, access equipment and storage medium of Internet of things platform
US20070124455A1 (en) Method and apparatus for providing multiple vendor support to remotely monitored devices
CN102143414B (en) Method for implementing network connection test between local-side device and terminal device in EPON (Ethernet passive optical network)
CN110764036B (en) Intelligent distribution transformer terminal test method and system
US7519729B2 (en) Method and apparatus for monitoring remote devices through a local monitoring station and communicating with a central station supporting multiple manufacturers
CN101227327B (en) Method for concentrating network managing system and uploading lower level alarm information
CN102291274A (en) System and method for realizing automatic adaptation of network testing instrument
CN111506641B (en) Data management method, data acquisition platform, data management system and storage medium
US6477539B1 (en) Method and apparatus for interfacing a manager and a plant
CN104253715A (en) Monitoring system and method of multi-level cascade business
CN116048991A (en) Construction method and device of multi-source data service REST API interface
US7956737B2 (en) Method and apparatus for network service assurance
CN103647760A (en) Manufacturing message specification (MMS) communication platform of intelligent substation digital protection device and access method of manufacturing message specification (MMS) communication platform
CN110955537B (en) Method and device for containing pipes by physical machine
CN113723911A (en) Nuclear power plant unit management method, device, equipment and storage medium
CN104956355B (en) Distributed test system framework

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