CN104426709A - TR 069 testing method and system - Google Patents

TR 069 testing method and system Download PDF

Info

Publication number
CN104426709A
CN104426709A CN201310374413.1A CN201310374413A CN104426709A CN 104426709 A CN104426709 A CN 104426709A CN 201310374413 A CN201310374413 A CN 201310374413A CN 104426709 A CN104426709 A CN 104426709A
Authority
CN
China
Prior art keywords
test
keyword
test case
power function
testing
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.)
Pending
Application number
CN201310374413.1A
Other languages
Chinese (zh)
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.)
Shenzhen Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN201310374413.1A priority Critical patent/CN104426709A/en
Publication of CN104426709A publication Critical patent/CN104426709A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The invention provides a TR 069 testing method and system. The method comprises: downloading a test case, the test case consisting of a function corresponding to a number of key words, the key words corresponding to a testing operation of a tested device; and running the downloaded test case, testing a connected tested device and outputting a testing result. The system comprises: a test case downloading module for downloading a test case, the test case consisting of a function corresponding to a number of key words, the key words corresponding to a testing operation of a tested device; and a testing running module for running the downloaded test case, testing a connected tested device and outputting a testing result. The TR 069 testing method and system can improve the test efficiency.

Description

TR069 method of testing and system
Technical field
The present invention relates to the communication technology, particularly relate to a kind of TR069 method of testing and system.
Background technology
Along with the development of various gateway series products, the TR069 test carried out for gateway series products also becomes more and more important.The TR069 test that traditional gateway series products carries out is mostly realize with the form issuing parameter in the interface that management server (ACS) provides.
But, the parameter configuration of testing involved by the test case adopted at the TR069 of gateway series products is very numerous and diverse, for tester, need in the interface that management server provides, repeat the test that much identical operation can complete a test case, there is the defect that testing efficiency is low.
Summary of the invention
Based on this, be necessary that the TR069 test for gateway series products needs to repeat much identical operation in the interface that management server provides, cause the technical problem that testing efficiency is low, a kind of TR069 method of testing that can improve testing efficiency is provided.
In addition, there is a need to provide a kind of TR069 test macro that can improve testing efficiency.
A kind of TR069 method of testing, comprises the steps:
Download test case, described test case is formed by the power function that several keywords are corresponding, and described keyword is corresponding with the test operation of equipment under test;
Run the test case of described download, the equipment under test that test connects also outputs test result.
Wherein in an embodiment, before the step of described download test case, described method also comprises:
Load the power function corresponding with test operation;
Described power function is converted to keyword.
Wherein in an embodiment, described described power function is converted to the step of keyword after, described method also comprises:
Set up keyword, the power function corresponding to the keyword of described establishment is formed test case;
Preserve described test case.
A kind of TR069 test macro, comprising:
Use-case download module, for downloading test case, described test case is formed by the power function that several keywords are corresponding, and described keyword is corresponding with the test operation of equipment under test;
Test run module, for running the test case of described download, the equipment under test that test connects also outputs test result.
Wherein in an embodiment, described system also comprises:
Load-on module, for loading the power function corresponding with test operation;
Modular converter, for being converted to keyword by described power function.
Wherein in an embodiment, described system also comprises:
Setting up module, for setting up keyword, the power function corresponding to the keyword of described establishment being formed test case;
Preserve module, for preserving described test case.
Above-mentioned TR069 method of testing and system, when needing to test the equipment under test connected, only need to download test case, and run, because test case is formed by the power function that several keywords are corresponding, and keyword is corresponding with the test operation of equipment under test, therefore, the test case of the power function formation corresponding to corresponding keyword can be downloaded according to the testing requirement of tested equipment, and then realize the automatic test of equipment under test, no longer need tester to repeat much identical operation, drastically increase testing efficiency.
Accompanying drawing explanation
Fig. 1 is the flow chart of TR069 method of testing in an embodiment;
Fig. 2 is the flow chart of TR069 method of testing in another embodiment;
Fig. 3 is the flow chart of TR069 method of testing in another embodiment;
Fig. 4 is the running environment figure of TR069 method of testing in an embodiment;
Fig. 5 is the structural representation of TR069 test macro in an embodiment;
Fig. 6 is the structural representation of TR069 test macro in another embodiment;
Fig. 7 is the structural representation of TR069 test macro in another embodiment.
Embodiment
As shown in Figure 1, in one embodiment, a kind of TR069 method of testing, comprises the steps:
Step S110, download test case, this test case is formed by the power function that several keywords are corresponding, and keyword is corresponding with the test operation of equipment under test.
In the present embodiment, test case is stored in server, when needs carry out TR069 test to a certain equipment under test, can need from server, download corresponding test case according to test.Concrete, test platform interface will be provided to tester, and can be downloaded from server by test platform interface to make tester and obtain required test case.
Test case will be the set of several power functions, each power function all will be used for realizing corresponding test operation, wherein, each keyword is all corresponding with certain power function and test operation, the test operation corresponding to corresponding function function can be known by keyword, therefore, test case can be formed according to several power functions of keyword selection.
Step S130, runs the test case downloaded, and the equipment under test that test connects also outputs test result.
In the present embodiment, equipment under test is connected with test platform, and after completing the setting of initial condition in equipment under test, run the test case downloaded by server, to realize testing some relevant actions to TR069 in equipment under test, such as, RPC(remote procedure call, Remote Procedure Call) the issuing of method, and then export corresponding test result along with the end of run of test case, check for tester.
As shown in Figure 2, in another embodiment, before above-mentioned steps S110, the method also comprises the steps:
Step S210, loads the power function corresponding with test operation.
In the present embodiment, can be converted to corresponding power function by testing relevant test operation to TR069, the test operation during each is tested with TR069 all has power function corresponding with it.
Step S230, is converted to keyword by power function.
In the present embodiment, according to the regular recognition function function preset to obtain the keyword corresponding to power function, wherein, different test platforms will carry out different process to obtain available keyword according to different rules to the power function loaded on wherein.
As shown in Figure 3, in another embodiment, after above-mentioned steps S230, the method also comprises the steps:
Step S310, sets up keyword, and the power function corresponding to the keyword set up is formed test case.
In the present embodiment, because keyword is corresponding with power function, and keyword is also corresponding with a certain independently test operation, therefore the test operation carried out required for basis sets up keyword, so that several set of keywords are combined, several power functions corresponding to several keywords gathered together just define a test case, based on this, can form various different test case according to various different TR069 testing requirement.
Step S330, preserves test case.
In the present embodiment, the test case of formation is saved in server, to realize the backup of test case, and then tester is downloaded needing to carry out in the process of TR069 test only needs according to the keyword selection test case of the test operation that will carry out from server corresponding to this test operation to arbitrary equipment, do not need tester to input various configuration parameter and various test operation and realize relevant TR069 test, achieve the automatic test of TR069, and make mistakes when avoiding input configuration parameter and test operation, significantly reduce error rate, improve the accuracy of TR069 test.
Further, the power function corresponding to keyword is made to form the test case meeting certain testing requirement by setting up keyword, for tester, if produce new TR069 testing requirement, the test operation then performed required for this TR069 testing requirement by corresponding key combination together, make the power function corresponding to keyword combined form new test case, and preserve.Tester can realize new TR069 testing requirement by downloading and running newly-increased test case, greatly facilitates the realization of TR069 test.
Above-mentioned TR069 method of testing is elaborated below in conjunction with a specific embodiment.In this embodiment, as shown in Figure 4, system architecture for realizing above-mentioned TR069 method of testing includes test platform 410 and carries out the server 430 of data interaction with test platform 410, equipment under test 450 is connected with test platform 410, with to realize equipment under test 450 carry out TR069 test.
Tester will download test case by test platform 410 in server 430, and run the test case of download in test platform 410, to trigger corresponding test operation to equipment under test 450.
Further, if tester has new testing requirement to need newly-increased test case, only need new establishment key to obtain new set of keywords and namely may correspond to the test case being formed and be made up of corresponding function function, and be saved in server 430, convenient and simple, be easy to realize.
As shown in Figure 5, in one embodiment, a kind of TR069 test macro, comprises use-case download module 110 and test run module 130.
Use-case download module 110, for downloading test case, this test case is formed by the power function that several keywords are corresponding, and keyword is corresponding with the test operation of equipment under test.
In the present embodiment, test case is stored in server, and when needs carry out TR069 test to a certain equipment under test, use-case download module 110 can need from server, download corresponding test case according to test.Concrete, test platform interface will be provided to tester, and can be downloaded from server by the use-case download module 110 in test platform to make tester and obtain required test case.
Test case will be the set of several power functions, each power function all will be used for realizing corresponding test operation, wherein, each keyword is all corresponding with certain power function and test operation, the test operation corresponding to corresponding function function can be known by keyword, therefore, test case can be formed according to several power functions of keyword selection.
Test run module 130, for running the test case of download, the equipment under test that test connects also outputs test result.
In the present embodiment, equipment under test is connected with test platform, and after completing the setting of initial condition in equipment under test, test run module 130 runs the test case downloaded by server, to realize testing some relevant actions to TR069 in equipment under test, such as, RPC(remote procedure call, RemoteProcedure Call) the issuing of method, and then export corresponding test result along with the end of run of test case, check for tester
As shown in Figure 6, in one embodiment, said system also comprises load-on module 210 and modular converter 230.
Load-on module 210, for loading the power function corresponding with test operation.
In the present embodiment, load-on module 210 can be converted to corresponding power function by testing relevant test operation to TR069, and the test operation during each is tested with TR069 all has power function corresponding with it.
Modular converter 230, for being converted to keyword by power function.
In the present embodiment, modular converter 230 according to preset regular recognition function function to obtain the keyword corresponding to power function, wherein, different test platforms will carry out different process to obtain available keyword according to different rules to the power function loaded on wherein.
As shown in Figure 7, in another embodiment, said system also comprises group MBM 310 and preserves module 330.
Setting up module 310, for setting up keyword, the power function corresponding to the keyword set up being formed test case.
In the present embodiment, because keyword is corresponding with power function, and keyword is also corresponding with a certain independently test operation, therefore set up module 310 and set up keyword according to the required test operation carried out, so that several set of keywords are combined, several power functions corresponding to several keywords gathered together just define a test case, based on this, can form various different test case according to various different TR069 testing requirement.
Preserve module 330, for preserving test case.
In the present embodiment, preserving module 330 is saved in server by the test case of formation, to realize the backup of test case, and then tester is downloaded needing to carry out in the process of TR069 test only needs according to the keyword selection test case of the test operation that will carry out from server corresponding to this test operation to arbitrary equipment, do not need tester to input various configuration parameter and various test operation and realize relevant TR069 test, achieve the automatic test of TR069, and make mistakes when avoiding input configuration parameter and test operation, significantly reduce error rate, improve the accuracy of TR069 test.
Further, the power function corresponding to keyword is made to form the test case meeting certain testing requirement by setting up keyword, for tester, if produce new TR069 testing requirement, the test operation then performed required for this TR069 testing requirement by corresponding key combination together, make the power function corresponding to keyword combined form new test case, and preserve.Tester can realize new TR069 testing requirement by downloading and running newly-increased test case, greatly facilitates the realization of TR069 test.
Above-mentioned TR069 method of testing and system, when needing to test the equipment under test connected, only need to download test case, and run, because test case is formed by the power function that several keywords are corresponding, and keyword is corresponding with the test operation of equipment under test, therefore, the test case of the power function formation corresponding to corresponding keyword can be downloaded according to the testing requirement of tested equipment, and then realize the automatic test of equipment under test, no longer need tester to repeat much identical operation, drastically increase testing efficiency.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (6)

1. a TR069 method of testing, comprises the steps:
Download test case, described test case is formed by the power function that several keywords are corresponding, and described keyword is corresponding with the test operation of equipment under test;
Run the test case of described download, the equipment under test that test connects also outputs test result.
2. TR069 method of testing according to claim 1, is characterized in that, before the step of described download test case, described method also comprises:
Load the power function corresponding with test operation;
Described power function is converted to keyword.
3. TR069 method of testing according to claim 2, is characterized in that, described described power function is converted to the step of keyword after, described method also comprises:
Set up keyword, the power function corresponding to the keyword of described establishment is formed test case;
Preserve described test case.
4. a TR069 test macro, is characterized in that, comprising:
Use-case download module, for downloading test case, described test case is formed by the power function that several keywords are corresponding, and described keyword is corresponding with the test operation of equipment under test;
Test run module, for running the test case of described download, the equipment under test that test connects also outputs test result.
5. TR069 test macro according to claim 4, is characterized in that, described system also comprises:
Load-on module, for loading the power function corresponding with test operation;
Modular converter, for being converted to keyword by described power function.
6. TR069 test macro according to claim 5, is characterized in that, described system also comprises:
Setting up module, for setting up keyword, the power function corresponding to the keyword of described establishment being formed test case;
Preserve module, for preserving described test case.
CN201310374413.1A 2013-08-23 2013-08-23 TR 069 testing method and system Pending CN104426709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310374413.1A CN104426709A (en) 2013-08-23 2013-08-23 TR 069 testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310374413.1A CN104426709A (en) 2013-08-23 2013-08-23 TR 069 testing method and system

Publications (1)

Publication Number Publication Date
CN104426709A true CN104426709A (en) 2015-03-18

Family

ID=52974723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310374413.1A Pending CN104426709A (en) 2013-08-23 2013-08-23 TR 069 testing method and system

Country Status (1)

Country Link
CN (1) CN104426709A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204991A (en) * 2015-08-28 2015-12-30 青岛海尔智能家电科技有限公司 Internet of things test method and device
CN106851708A (en) * 2015-12-04 2017-06-13 大唐移动通信设备有限公司 The multi-user test method and test system of a kind of LTE base station
CN110505117A (en) * 2019-08-07 2019-11-26 深圳市吉祥腾达科技有限公司 TR069 test method, system and storage medium
CN110830330A (en) * 2019-12-06 2020-02-21 浙江中控技术股份有限公司 Firewall testing method, device and system
CN111600776A (en) * 2020-05-15 2020-08-28 网经科技(苏州)有限公司 TR069 batch interactive test system and method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1877544A (en) * 2005-06-06 2006-12-13 华为技术有限公司 Keyword-driven automatic testing system and method
CN102495789A (en) * 2011-10-18 2012-06-13 瑞斯康达科技发展股份有限公司 Automatic test method and device for the same
CN103019928A (en) * 2011-09-27 2013-04-03 北京新媒传信科技有限公司 Automatic testing method and system
CN103051492A (en) * 2012-12-10 2013-04-17 上海斐讯数据通信技术有限公司 Method and system for testing performances of DSL (digital subscriber line) access equipment and DSL access equipment
CN103186460A (en) * 2011-12-30 2013-07-03 金蝶软件(中国)有限公司 Method, device and system for generating script of test case

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1877544A (en) * 2005-06-06 2006-12-13 华为技术有限公司 Keyword-driven automatic testing system and method
CN103019928A (en) * 2011-09-27 2013-04-03 北京新媒传信科技有限公司 Automatic testing method and system
CN102495789A (en) * 2011-10-18 2012-06-13 瑞斯康达科技发展股份有限公司 Automatic test method and device for the same
CN103186460A (en) * 2011-12-30 2013-07-03 金蝶软件(中国)有限公司 Method, device and system for generating script of test case
CN103051492A (en) * 2012-12-10 2013-04-17 上海斐讯数据通信技术有限公司 Method and system for testing performances of DSL (digital subscriber line) access equipment and DSL access equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204991A (en) * 2015-08-28 2015-12-30 青岛海尔智能家电科技有限公司 Internet of things test method and device
CN106851708A (en) * 2015-12-04 2017-06-13 大唐移动通信设备有限公司 The multi-user test method and test system of a kind of LTE base station
CN110505117A (en) * 2019-08-07 2019-11-26 深圳市吉祥腾达科技有限公司 TR069 test method, system and storage medium
CN110830330A (en) * 2019-12-06 2020-02-21 浙江中控技术股份有限公司 Firewall testing method, device and system
CN111600776A (en) * 2020-05-15 2020-08-28 网经科技(苏州)有限公司 TR069 batch interactive test system and method thereof
CN111600776B (en) * 2020-05-15 2022-04-22 网经科技(苏州)有限公司 TR069 batch interactive test system and method thereof

Similar Documents

Publication Publication Date Title
CN106383786B (en) Interface pressure performance testing method and device and electronic equipment
CN104426709A (en) TR 069 testing method and system
CN103560829B (en) Method and system for automatic testing of UNI ports
CN104793076A (en) Intelligent automatic test system and method
CN102595184B (en) Intelligent television automation test method and system
CN107239392A (en) A kind of method of testing, device and terminal
CN101694677A (en) Logic verification method, device and system
CN111881022A (en) Method, device and equipment for generating test case based on test scene
CN108446195A (en) A kind of server memory performance test methods and device
CN108197026A (en) Method, device and equipment for testing simulation software of wind generating set and storage medium
CN110046091B (en) Automatic test method and device
CN103761189A (en) Test case management method and system
US20140100837A1 (en) Integration verification system
CN105515883A (en) Test method and system
CN103049374B (en) Automatic testing method and device
CN106648761B (en) The method and device automatically updated in QT program
CN102185664A (en) Automatic testing system of radio frequency passive device
EP2511841A2 (en) System and method for generation of cim-based power system circuit models
CN103902275B (en) A kind of method and system for the language version switching for realizing application
CN107562499A (en) Using the method, apparatus and computer-readable recording medium of loading
CN107229815A (en) Data analysing method and device
JP2007206069A (en) Method and device for formatting data automatically based on best matched test result type
CN104090845B (en) Automatic game testing method and system and related device
CN110659183A (en) System power consumption testing method and device
CN106776322B (en) method for dynamically configuring, loading and operating test cases

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150318

RJ01 Rejection of invention patent application after publication