CN101272211B - Service cross software test method and system - Google Patents
Service cross software test method and system Download PDFInfo
- Publication number
- CN101272211B CN101272211B CN200810097989A CN200810097989A CN101272211B CN 101272211 B CN101272211 B CN 101272211B CN 200810097989 A CN200810097989 A CN 200810097989A CN 200810097989 A CN200810097989 A CN 200810097989A CN 101272211 B CN101272211 B CN 101272211B
- Authority
- CN
- China
- Prior art keywords
- test
- test case
- cross software
- pile
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
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
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 crowd road of various grades and the time slot allotment of branch road payload; And the response process 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 to embed this software 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 the hardware device resources of labor, testing cost is high; 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 that the present invention will solve 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 hardware environment of analog crossover plate;
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 said test case, is about to said test case and sends to professional cross software;
In professional cross software, increase test pile, 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, through the testing tool implementation of test cases;
The 3rd step, analytical test result;
Said 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, produces protection and switches, and whether switch decision-making with the protection of test service cross software correct; 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;
Said 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 said 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 said second test case, promptly is used to return the service configuration information behind the responsing excitation source;
The content of said time slot driving source test pile comprises alarm detection point, alarm status, protocol byte; The content of said 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.
Said virtual driving file comprises business board type, business board speed, plate warning information, service configuration information.
The 3rd step, said 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; Wherein virtual driving file unit is used for the hardware environment of analog crossover plate; Testing tool is supported the transmission and the reception of data, is used to carry out the test case that presets, and promptly is used for the test case that presets is sent to professional cross software; Test pile is built among the professional cross software, is used to handle said test case; The said 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 the warning information and 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.Result through analyzing professional cross software promptly can draw test result.
Service cross software test of the present invention system can also comprise PC, and said PC is used to move the software section of this system.
System of the present invention can also comprise a test case memory, is used for the said test case that presets is stored.
Said virtual driving file comprises business board type, business board speed, ALM information, service configuration information.
Said 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 said 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 said second test case, promptly is used to return the service configuration information behind the responsing excitation source.
The content of said time slot driving source test pile comprises alarm detection point, alarm status, protocol byte; The content of said 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 through 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, have shortened test period, have improved testing efficiency.
Description of drawings
Fig. 1 is a service cross software test principle schematic of the present invention.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment the present invention is done further detailed description.
Fig. 1 is the principle schematic of service cross software test scheme of the present invention, and is as shown in the figure, and 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 in the face of service cross software test of the present invention system specifies down:
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, through 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 through testing tool;
2, time slot driving source test pile is handled the alarm back and is given virtual driving file unit through 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 through 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.Accomplish 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 in the conspicuous modification within the aim of the present invention also due within protection scope of the present invention.
Claims (6)
1. 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 hardware environment of analog crossover plate;
Write test case, this test case is the test data of tested professional cross software;
Setup test instrument, this testing tool are used for said test case is sent to professional cross software;
In professional cross software, increase test pile, 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, through the testing tool implementation of test cases;
The 3rd step, analytical test result;
Said test case is made up of binary data, comprises first test case and second test case;
Said 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 said second test case is used to inquire about after switching changes;
Said test pile comprises time slot driving source test pile and business configuration inquiry test pile;
Said time slot driving source test pile is used to handle said first test case;
Said business configuration inquiry test pile is used to handle said second test case;
The content of said time slot driving source test pile comprises alarm detection point, alarm status, protocol byte; The content of said 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.
2. service cross software test method according to claim 1 is characterized in that:
Said virtual driving file comprises business board type, business board speed, ALM information, service configuration information.
3. service cross software test system is characterized in that:
This system comprises virtual driving file unit, testing tool and test pile;
Said virtual driving file unit is used for the hardware environment of analog crossover plate;
Said testing tool is used for the test case that presets is sent to professional cross software;
Said test pile is built among the tested professional cross software, is used to handle said test case;
Said test case is the test data of tested professional cross software;
The said test case that presets is made up of binary data, comprises first test case and second test case;
Said 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 said second test case is used to inquire about after switching changes.
4. service cross software test according to claim 3 system is characterized in that:
This system also comprises PC; Said PC is used to move the software section of this system.
5. according to claim 3 or 4 described professional cross software detection systems, it is characterized in that:
This system also comprises a test case memory; Said test case memory is used for the said test case that presets is stored.
6. service cross software test according to claim 3 system is characterized in that:
Said test pile comprises time slot driving source test pile and business configuration inquiry test pile;
Said time slot driving source test pile is used to handle said first test case; Said business configuration inquiry test pile is used to handle said second test case.
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 CN101272211A (en) | 2008-09-24 |
CN101272211B true 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) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102761453B (en) * | 2011-04-26 | 2015-04-15 | 腾讯科技(深圳)有限公司 | Method for testing availability of client and client |
CN104753717B (en) * | 2013-12-30 | 2018-12-21 | 深圳键桥通讯技术股份有限公司 | The method for improving pretection switch testing efficiency |
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 |
-
2008
- 2008-05-21 CN CN200810097989A patent/CN101272211B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN101272211A (en) | 2008-09-24 |
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 | |
CN107959715B (en) | Remote terminal information identification software method based on wireless telecommunications | |
US9444766B2 (en) | Identifying a port associated with a network node to which a selected network link is connected | |
CN101286883A (en) | Centralized debug system and method of equipment plate card in distributed equipment | |
CN101272211B (en) | Service cross software test method and system | |
SE0103535D0 (en) | A system of intelligent devices, a method for providing such a system and a computer data signal | |
CN103455413A (en) | Method, device and system for interaction scenario test data processing of communication terminals | |
CN102123058A (en) | Test equipment and method for testing network protocol decoder | |
CN113453229B (en) | Remote wireless safety automatic test method, device and equipment | |
US20070047448A1 (en) | Network equipment testing method and 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 | |
CN108011766A (en) | A kind of system architecture and distribution relation automatic switching control equipment | |
CN108880948B (en) | Equipment test verification system and method based on FC network | |
CN104142882A (en) | Test method, test device and test system based on data processing | |
CN1287427A (en) | Analogue web element testing method based on message recording and playback | |
CN100488117C (en) | Method for automatically obtaining topological relation of telecommunication device | |
CN102523221A (en) | Detection method of data message and network safety detection device | |
CN105763380A (en) | Network management data obtaining method and device | |
CN112463083A (en) | Remote collection method and system for information of substrate control manager | |
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 | |
CN103995475A (en) | Flexible embedded type tested device simulator |
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 |