CN101272211A - Service cross software test method and system - Google Patents

Service cross software test method and system Download PDF

Info

Publication number
CN101272211A
CN101272211A CNA2008100979897A CN200810097989A CN101272211A CN 101272211 A CN101272211 A CN 101272211A CN A2008100979897 A CNA2008100979897 A CN A2008100979897A CN 200810097989 A CN200810097989 A CN 200810097989A CN 101272211 A CN101272211 A CN 101272211A
Authority
CN
China
Prior art keywords
test
cross software
test case
software
detecting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2008100979897A
Other languages
Chinese (zh)
Other versions
CN101272211B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200810097989A priority Critical patent/CN101272211B/en
Publication of CN101272211A publication Critical patent/CN101272211A/en
Application granted granted Critical
Publication of CN101272211B publication Critical patent/CN101272211B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an effective business cross software detecting method and system with low cost. The basic technical scheme of the invention comprises: the first step is that a detecting environment is built, which comprises: a virtual drive document is collocated and operated, the virtual drive document is used for simulating a possible actual physical network organizing environments of the cross business software, namely the hardware environment of a cross board; a detecting example is compiled, the detecting example is used as the detecting data of the business cross software; a detecting tool is prepared, the detecting tool supports the transmitting and receiving of the data and is used for carrying out the detecting example, namely to transmit the detecting example to the business cross software; a detecting post is added in the business cross software, the detecting post is used for carrying out treatment on the detecting example which is transmitted to the cross software by the detecting tool and in accord with the regulated form of the detecting post; the second step is that the business cross software is run and the detecting example is implemented by the detecting tool; the third step is that the detecting result is analyzed. The invention can be broadly applied to the detection of an SDH business cross software.

Description

Service cross software test method and system
Technical field
The present invention relates to the software testing technology in the optical communication field, relate in particular to the method for testing and the system of the professional cross software of SDH (optical synchronization digital transmission system).
Technical background
Professional cross software is the core cell of optical synchronization digital transmission system; be to the group road of various grades and the time slot allotment of branch road payload; and the response processing unit of the protection turning protocol of various ITU-T standard codes decision-making, the test of professional cross software is one of SDH system testing emphasis.
At present, to the test of professional cross software, be that this software is embedded on the SDH transmission equipment intersection veneer, build the networking test environment of forming by several physical equipments and valuable instrument then and carry out Business Processing and protect the test of switching the decision-making response.There is following defective in such test: 1) need expend a large amount of hardware device resources, the testing cost height; 2) protect the decision-making response of switching to need each equipment collaboration transmission to handle, incorrect if other equipment transmission outside the equipment under test are handled, then will influence testing progress; 3) need differentiate the problem of hardware device or the problem of board software for the fault that tests out, therefore increase the positioning difficulty of test failure; 4) need the resource input of the valuable instrument of SDH; 5) test of software need rely on hardware device, and the test of hardware device and the test of software can not walk abreast and carry out, so test period is long, and testing efficiency is low.
Summary of the invention
The technical problem to be solved in the present invention provide a kind of efficiently, service cross software test method cheaply, the present invention also to provide a kind of efficiently, service cross software test system cheaply.
For solving the problems of the technologies described above, service cross software test method of the present invention comprises:
The first step, build test environment, comprising:
Configuration virtual drives file, and this virtual driving file is used for the possible actual physics network environment of analog service cross software, the i.e. hardware environment of cross board;
Write test case, this test case is as the test data of professional cross software, and it is used for the configuration protection relation, and simulation protects agreement to issue warning information and protection protocol byte, switch to produce protection, and the business intersection of inquiring about after switching changes;
The setup test instrument, this testing tool is supported the transmission and the reception of data, is used to carry out described test case, is about to described test case and sends to professional cross software;
Increase test pile in professional cross software, this test pile is used for sending to professional cross software and test case that meet this test pile prescribed form is handled to testing tool;
Second the step, move professional cross software, by the testing tool implementation of test cases;
The 3rd step, analytical test result.
Described virtual driving file comprises business board type, business board speed, plate warning information, service configuration information.
Described test case is made up of binary data, comprise first test case and second test case, wherein first test case is used for the configuration protection relation, simulation protection agreement issues warning information and protection protocol byte, whether produce protection and switch, it is correct to switch decision-making with the protection of test service cross software; The business intersection that second test case is used to inquire about after switching changes, and whether respond decision-making with switching of test service cross software correct.
Described test pile comprises time slot driving source test pile and business configuration inquiry test pile, and wherein time slot driving source test pile is used to handle described first test case, promptly is used for treatment of simulated warning information and protection protocol byte; Business configuration inquiry test pile is used to handle described second test case, promptly is used to return the service configuration information behind the responsing excitation source.
The content of described time slot driving source test pile comprises alarm detection point, alarm status, protocol byte; The content of described business configuration inquiry test pile includes time slot position, output time slot position, intersection particle, service path, and wherein service path comprises operating path and protection path.
The 3rd step, described analyzing and testing result comprised:
1, checks whether issue alarm produces protection behind the excitation information and switch;
2, whether the business of checking changes owing to producing or cancelled to protect to switch, and whether the configuration of analyzing after changing is correct.
For solving the problems of the technologies described above, service cross software test of the present invention system comprises: virtual driving file unit, testing tool, test pile and processor; Wherein virtual driving file unit is used for the possible actual physics network environment of analog crossover business software, the i.e. hardware environment of cross board; Testing tool is supported the transmission and the reception of data, is used to carry out the test case that presets, and the test case that promptly is used for presetting sends to professional cross software; Test pile is built among the professional cross software, is used to handle described test case.Promptly can draw test result by the result of analyzing professional cross software.
Service cross software test of the present invention system can also comprise processor, and described processor is used to move the software section of this system.
System of the present invention can also comprise a memory cell, is used for the described test case that presets is stored.
Described virtual driving file comprises business board type, business board speed, ALM information, service configuration information.
The described test case that presets is made up of binary data, comprise first test case and second test case, wherein first test case is used for the configuration protection relation, simulation protection agreement issues warning information and the protection protocol byte that meets time slot driving source test pile regulation, switches to produce protection; Second test case is used to dispose the information that meets inquiry business configuration testing stake regulation, and the business intersection after inquiry is switched changes.
Described test pile comprises time slot driving source test pile and business configuration inquiry test pile, and wherein time slot driving source test pile is used to handle described first test case, promptly is used for treatment of simulated warning information and protection protocol byte; Business configuration inquiry test pile is used to handle described second test case, promptly is used to return the service configuration information behind the responsing excitation source.
The content of described time slot driving source test pile comprises alarm detection point, alarm status, protocol byte; The content of described business configuration inquiry test pile includes time slot position, output time slot position, intersection particle, service path, and wherein service path comprises operating path and protection path.
The present invention is by increasing the method simulation protocol processes of test pile; test service cross software under instrument, hardware device resources and the network environment can broken away from; do not rely on the protection agreement; and the test of hardware device and the test of software can walk abreast and carry out; thereby when reducing test resource, shortened test period, improved testing efficiency.
Description of drawings
Fig. 1 is a service cross software test principle schematic of the present invention.
Embodiment
The present invention is described in further detail below in conjunction with the drawings and specific embodiments.
Fig. 1 is the principle schematic of service cross software test scheme of the present invention, and as shown in the figure, service cross software test of the present invention system comprises testing tool, virtual driving file unit, test case memory and test pile and PC.
Wherein, virtual driving file unit is used for the hardware environment of analog crossover plate, and virtual driving file comprises business board type, business board speed, ALM information, service configuration information; Testing tool supports the emission of data to receive, and is used to carry out the test case that presets, and is about to test case and sends to professional cross software; Test case is deposited in the test case memory as the test data of tested professional cross software, and this test case memory can place on the testing tool; Test pile comprises time slot driving source test pile and business configuration inquiry test pile, and wherein time slot driving source test pile is used for treatment of simulated warning information and protection protocol byte, and the content of this test pile comprises alarm detection point, alarm status, protocol byte; Business configuration inquiry test pile is used to handle the service configuration information that returns behind the responsing excitation source, and the content of this test pile includes time slot position, output time slot position, intersect particle, service path, and wherein service path comprises operating path and protection path; PC is used to move the software section of system of the present invention; Test case is made up of binary data, comprising:
1, configuration is by east orientation Guang Kou and the western protection relation of forming to the light mouth;
2, some business of configuration through overprotection;
3, configuration meets east orientation light mouth or western the alarm excitation information and the protection protocol byte to the light mouth of time slot driving source test pile regulation;
4, configuration meets the information of inquiry business configuration testing stake regulation.
Workflow to service cross software test of the present invention system specifies below:
The first step, test preparation comprise:
1, on PC, moves the professional cross software that has comprised test pile;
2, on PC, move testing tool,, set up and being connected of professional cross software in the configuration of the enterprising row communication of testing tool;
3, in virtual driving file unit the concrete virtual driving file of configuration and on PC this virtual driving file of operation;
Second step, by the testing tool implementation of test cases, its flow process comprises:
1, first test case will be alarmed excitation information and protect agreement to be handed down to professional cross software by testing tool;
2, time slot driving source test pile is handled the alarm back and is given virtual driving file unit by professional cross software;
3, professional cross software reads alarm and the protection agreement K byte that writes down in the virtual driving file;
4, professional cross software produces according to the protection agreement and switches;
5, because changing, the business that switching action produces is placed on a buffering area;
6, second test case is handed down to professional cross software by testing tool and reads business;
7, professional cross software is got the business of variation from buffering area;
8, professional cross software is fetched the business of variation;
9, professional cross software returns to testing tool with the business information that changes.Finish whole test process.
The 3rd step, analytical test result comprise:
1, checks whether excitation information after produce protection switch, whether analyze the configuration of switching response correct if issuing alarm;
2, whether the business of checking changes owing to producing or cancelled to protect to switch, and whether the configuration of analyzing after changing is correct.
More than adopt the mode of specific embodiment that the present invention has been done to specify; should be understood that simultaneously; the present invention's scope of asking for protection is illustrated in the appended claims; and can not be with the foregoing description of specification as restriction, every conspicuous modification within aim of the present invention is also due within protection scope of the present invention.

Claims (10)

1, a kind of service cross software test method is characterized in that comprising:
The first step, build test environment, comprising:
Configuration virtual drives file, and this virtual driving file is used for the possible actual physics network environment of analog service cross software;
Write test case, this test case is the test data of tested professional cross software;
Setup test instrument, this testing tool are used for described test case is sent to professional cross software;
Increase test pile in professional cross software, this test pile is used for sending to professional cross software and test case that meet this test pile prescribed form is handled to testing tool;
Second the step, move professional cross software, by the testing tool implementation of test cases;
The 3rd step, analytical test result.
2, service cross software test method according to claim 1 is characterized in that:
Described virtual driving file comprises business board type, business board speed, ALM information, service configuration information.
3, service cross software test method according to claim 1 and 2 is characterized in that:
Described test case is made up of binary data, comprises first test case and second test case;
Described first test case is used for the configuration protection relation, and simulation protection agreement issues warning information and protection protocol byte, switches to produce protection;
The business intersection that described second test case is used to inquire about after switching changes.
4, service cross software test method according to claim 3 is characterized in that:
Described test pile comprises time slot driving source test pile and business configuration inquiry test pile;
Described time slot driving source test pile is used to handle described first test case;
Described business configuration inquiry test pile is used to handle described second test case.
5, service cross software test method according to claim 4 is characterized in that:
The content of described time slot driving source test pile comprises alarm detection point, alarm status, protocol byte; The content of described business configuration inquiry test pile includes time slot position, output time slot position, intersection particle, service path, and wherein service path comprises operating path and protection path.
6, a kind of service cross software test system, its feature is characterised in that:
This system comprises virtual driving file unit, testing tool and test pile;
Described virtual driving file unit is used for the hardware environment of analog crossover plate;
The test case that described testing tool is used for presetting sends to professional cross software;
Described test pile is built among the tested professional cross software, is used to handle described test case;
Described test case is the test data of tested professional cross software.
7, service cross software test according to claim 6 system is characterized in that:
This system also comprises processor; Described processor is used to move the software section of this system.
8, according to claim 6 or 7 described professional cross software detection systems, it is characterized in that:
This system also comprises a memory cell; Described memory cell is used for the described test case that presets is stored.
9, according to claim 6 or 7 described service cross software test systems, it is characterized in that:
The described test case that presets is made up of binary data, comprises first test case and second test case;
Described first test case is used for the configuration protection relation, and simulation protection agreement issues warning information and protection protocol byte, switches to produce protection; The business intersection that described second test case is used to inquire about after switching changes.
10, service cross software test according to claim 9 system is characterized in that:
Described test pile comprises time slot driving source test pile and business configuration inquiry test pile;
Described time slot driving source test pile is used to handle described first test case; Described business configuration inquiry test pile is used to handle described second test case.
CN200810097989A 2008-05-21 2008-05-21 Service cross software test method and system Expired - Fee Related CN101272211B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810097989A CN101272211B (en) 2008-05-21 2008-05-21 Service cross software test method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810097989A CN101272211B (en) 2008-05-21 2008-05-21 Service cross software test method and system

Publications (2)

Publication Number Publication Date
CN101272211A true CN101272211A (en) 2008-09-24
CN101272211B CN101272211B (en) 2012-09-26

Family

ID=40005933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810097989A Expired - Fee Related CN101272211B (en) 2008-05-21 2008-05-21 Service cross software test method and system

Country Status (1)

Country Link
CN (1) CN101272211B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761453A (en) * 2011-04-26 2012-10-31 腾讯科技(深圳)有限公司 Method for testing availability of client and client
CN104753717A (en) * 2013-12-30 2015-07-01 深圳键桥通讯技术股份有限公司 Method for improving protection switching testing efficiency
CN105591782A (en) * 2014-10-24 2016-05-18 中兴通讯股份有限公司 Management method and apparatus for testing device
CN105634838A (en) * 2014-10-28 2016-06-01 中兴通讯股份有限公司 Method, device and system of test for protocol stack table management

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102761453A (en) * 2011-04-26 2012-10-31 腾讯科技(深圳)有限公司 Method for testing availability of client and client
CN104753717A (en) * 2013-12-30 2015-07-01 深圳键桥通讯技术股份有限公司 Method for improving protection switching testing efficiency
CN104753717B (en) * 2013-12-30 2018-12-21 深圳键桥通讯技术股份有限公司 The method for improving pretection switch testing efficiency
CN105591782A (en) * 2014-10-24 2016-05-18 中兴通讯股份有限公司 Management method and apparatus for testing device
CN105591782B (en) * 2014-10-24 2019-07-09 中兴通讯股份有限公司 The management method and device of test equipment
CN105634838A (en) * 2014-10-28 2016-06-01 中兴通讯股份有限公司 Method, device and system of test for protocol stack table management

Also Published As

Publication number Publication date
CN101272211B (en) 2012-09-26

Similar Documents

Publication Publication Date Title
CN102421112B (en) Testing method of mobile terminal, mobile terminal simulator, testing equipment and testing system
US9170856B2 (en) Message traffic interception system
CN105205003A (en) Automated testing method and device based on clustering system
CN107959715B (en) Remote terminal information identification software method based on wireless telecommunications
US20040006611A1 (en) Remote management system and method
CN102480420A (en) Message sending method as well as message receiving method, device and system
CN101272211B (en) Service cross software test method and system
CN105162646A (en) Multi-protocol interface test system and method
KR101081023B1 (en) Apparatus and method for testing of interoperability communication performance of smartgrid intelligent electronic device
CN111413888B (en) Semi-physical simulation method and system
CN102426548B (en) Debugging method, debugger and debugging system for embedded system
CN105391601A (en) Network management equipment performance testing method and system
CN101964923A (en) Configuration system and method for interactive commands
CN110191028B (en) Testing device, system and method of interconnection equipment capable of being defined by software
CN104142882A (en) Test method, test device and test system based on data processing
CN100488117C (en) Method for automatically obtaining topological relation of telecommunication device
CN108011766A (en) A kind of system architecture and distribution relation automatic switching control equipment
CN105530140A (en) Cloud scheduling system, method and device for removing tight coupling of use case and environment
CN101217332A (en) Alarming test method and test control platform of synchronous digital system device
CN105302645A (en) Task distribution method and apparatus
MY152586A (en) Method and device for transmitting information over a complex network
KR20200075407A (en) System for testing cyber security of nuclear power plant and method thereof
CN104836598A (en) Method, device and system of business processing based on near field communication
CN104331281B (en) A kind of proxy server and method that remote control function is provided for LXI modules
CN113988051B (en) Vehicle data processing system

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120926

Termination date: 20190521