CN104618502A - Joint debugging testing platform used for satellite data ground receiving station net - Google Patents

Joint debugging testing platform used for satellite data ground receiving station net Download PDF

Info

Publication number
CN104618502A
CN104618502A CN201510081811.3A CN201510081811A CN104618502A CN 104618502 A CN104618502 A CN 104618502A CN 201510081811 A CN201510081811 A CN 201510081811A CN 104618502 A CN104618502 A CN 104618502A
Authority
CN
China
Prior art keywords
interface
flow
test
testing
case
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
CN201510081811.3A
Other languages
Chinese (zh)
Other versions
CN104618502B (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.)
CETC 54 Research Institute
Institute of Remote Sensing and Digital Earth of CAS
Original Assignee
CETC 54 Research Institute
Institute of Remote Sensing and Digital Earth of CAS
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 CETC 54 Research Institute, Institute of Remote Sensing and Digital Earth of CAS filed Critical CETC 54 Research Institute
Priority to CN201510081811.3A priority Critical patent/CN104618502B/en
Publication of CN104618502A publication Critical patent/CN104618502A/en
Application granted granted Critical
Publication of CN104618502B publication Critical patent/CN104618502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a joint debugging testing platform and a testing method both used for satellite data ground receiving station net. The testing method comprises the following steps: extracting an interface rule and a flow rule; designing the interface rule and the flow rule into a rule database table; storing an inter-system interface interaction flow into a database according to the flow rule; designing a use case algorithm; formulating a flow model according to a business flow and generating a use case of a flow test when the a flow is tested; generating an algorithm service by using the use case and traversing all types of use cases of all interfaces; designing a testing scheme and determining a tested system and tested content; carrying out an interface test; extracting a test use case from a use case library and sending the test use case to the tested system, and identifying whether the tested system is accurate or not; carrying out the flow test; and counting testing results to generate a test result report. According to the joint debugging testing platform and the testing method, the test use caused with various types can be automatically generated in batch so that the working efficiency is greatly improved, and the working amount and the working intensity of testing workers are effectively alleviated.

Description

A kind of uniting and adjustment test platform for satellite data grounded receiving station net
Technical field
The present invention relates to satellite ground application system, relate more specifically to a kind of uniting and adjustment test platform for satellite data grounded receiving station net, be specially adapted to multisystem concurrent flow joint-trial.
Background technology
For large software management system, be often divided into multiple subsystem according to function, between these subsystems, there is mutual interface, in the development stage, the interface that each subsystem realizes is tested, verifies that its correctness is necessary.
Satellite data grounded receiving station net system acceptance number of satellite is numerous, and different run time of satellite online, each subsystem Cheng Yan unit is different, causes its external interface complexity, content-form various, requires high to the detection completeness of test with simulation correctness; In order to complete reception, record, transformation task, the intrasystem management subsystem of net of standing need receive the data receiver plan that task management subsystem issues, data receiver, record, transformation task is assigned to the one or more receiving stations in DRS, carry out with the flow process of receiving station is concurrent often, high to the requirement of test real-time.
In order to ensure that the development of station net system can have been guaranteed the quality on time, before subsystem development stage, subsystem joint-trial stage, the formal on-line running of system, system simulation operation and inspection test and appraisal are carried out in the urgent need to a set of uniting and adjustment test platform, to provide the operation uniting and adjustment test environment of station net system, station net system is tested, support station net system integration and test.
Summary of the invention
For above-mentioned topic, one of main purpose of the present invention is to propose a kind ofly to adapt to the stand portal contents of net system and the uniting and adjustment test platform of Process flow, the external interface of station net system is tested, with the correctness of the function of authentication station net system, interface, flow process, reasonability, completeness and robustness.
To achieve these goals, as one aspect of the present invention, the present invention proposes a kind of uniting and adjustment test platform for satellite data grounded receiving station net, comprise data Layer, logical layer, service layer, application supporting layer and application presentation layer, wherein
Described data Layer comprises station net system interface control documents and database, and described data Layer, according to interface specification feature in interface testing file, extracts the interface logic in described logical layer and flow logic, and forms database table storage in the database;
Described logical layer comprises interface logic and flow logic;
Described service layer comprises the service of use-case generating algorithm and flow engine service, and described service layer provides service according to interface logic and flow logic, calls for described application supporting layer and described application presentation layer;
Described application supporting layer is according to described interface logic, flow logic and station net system interface control documents, interface rules configuration and flow rules configuration are carried out to the interface in the net system interface control documents of described station, by Rule content stored in the database in described data Layer, and carry out case management, generate and maintenance use case storehouse;
Described application presentation layer comprises test monitoring module, task management subsystem is simulated, net of standing manages subsystem analog module and receiving station's subsystem analog module, described test monitoring module sets up testing engineering according to testing scheme and content, and the test in testing engineering is monitored, test result report is generated after test terminates, according to testing engineering, test simulation is selected to carry out the simulation of task management subsystem, net management subsystem of standing is simulated and receiving station's subsystem simulation, interface testing and flow testing are carried out to tested system, the use-case in use-case storehouse in described application supporting layer is used in test process, call the service of use-case generating algorithm and flow engine service.
As another aspect of the present invention, the invention allows for a kind of method of testing of the uniting and adjustment test platform for satellite data receiving station net, comprise the following steps:
Steps A: refine interface rules and flow rules, be unique foundation with the interface control document of net system of standing, convert all the way of restraint of interface specification to interface rules and flow rules, and interface rules and flow rules are designed to rule database table;
Step B: use described interface rules and flow rules to describe total interface specification, to total interface normative content foundation interface rules in described interface control document stored in rule database table;
Step C: by intersystem interface interaction flow foundation flow rules stored in database, consider to there is receiving station's concurrent processing flow process, each receiving station flow process is configured separately;
Step D: according to interface rules and test request, design use-case generating algorithm, for generating all kinds test case of testing requirement, realizing this algorithm, providing the use-case generating algorithm based on this algorithm to serve;
Step e: first make procedural model according to operation flow, then transmit the interface data of generation successively according to procedural model when process flow operation, when flow testing, service provides downstream node action content, the use-case of product process test, carry out flow testing to the interface document in flow process, support process test is carried out;
Step F: use the service of use-case generating algorithm, traversal generates all types use-case of total interface, by the use-case of generation stored in database, forms a use-case storehouse, time for test, and carries out self-inspection to the use-case generated, guarantees the correctness of use-case;
Step G: design test scheme, determines system under test (SUT) and tested content, arranges testing engineering, starts to monitor test process;
Step H: carry out interface testing, extracts test case and sends to system under test (SUT) from use-case storehouse, and whether the process of checking system under test (SUT) is correct; Receive the interface document that system under test (SUT) sends, whether test file format and content meets interface specification;
Step I: carry out flow testing.According to interaction flow normal between system, design test flow process configuration mode, supports concurrent flow test.
Step J: statistical test result, generates test result report, becomes the foundation that this test result judges.
Wherein, the described analysis by docking port specification in step, abstract isolated information comprises:
Comprise multiple subsystem in system, subsystem uses special symbol or numerical tabular not in interface specification;
Comprise multiple interface in system, each interface comprises interface name, interface type, interface data item;
The interface of file type all has the file name meeting naming rule;
Tandem between the data item of interface and hierarchical relationship;
The context constraint that may exist between the data item of same interface;
Operation flow in system performs different flow nodes by appointment order and has come;
Flow nodes comprises the interface data of the transmit leg of interface and recipient, transmitting-receiving.
Wherein, the interface in stepb in described interface control document comprises: satellite data receives plan, satellite data receives plan receipt, instantaneous orbit radical, radical confirm, data receiver and logger task, task confirm, data transfer task, data transfer task confirm, job state inquiry request, job state are reported.
Wherein, described in step C, practical business flow process comprises: satellite data receives flow process, orbital tracking issues flow process, first receiving station's radical receives flow process, first receiving station's data receiver receives flow process with record flow process, first receiving station's data re-transmission flow process, second receiving station's radical, second receiving station's data receiver receives flow process, the 3rd receiving station's data receiver and record flow process, the 3rd receiving station's data re-transmission flow process, transfer of data flow process, data re-transmission flow process with record flow process, second receiving station's data re-transmission flow process, the 3rd receiving station's radical.
Wherein, described step D comprises:
Step D1: call the input of use-case generating algorithm, input formation condition, comprises transmit leg, recipient, interface type, use-case type;
Step D2: according to initial conditions, transmit leg, recipient and interface type, the interface rules in Query Database, obtains the filename rule generating interface about this, i.e. the composition structure of filename;
Step D3: according to filename rule and the filename of initial conditions generating case;
Step D4: according to initial conditions interface type, obtains the content item structure of the file of this type interface;
Step D5: according to the content item structural generation data structure of this interface;
Step D6: read initial conditions generating case type, compose particular value according to use-case type to special data item;
Step D7: for general term, according to interface rules data item rule, to each data item assignment, generating test use case;
Step D8: by the use-case of generation stored in database, for service call person.
Wherein, described in described step e, the type of test case comprises: default value proper testing use-case, random value proper testing use-case, boundary value proper testing use-case, enumerated value proper testing use-case, filename abnormality test use-case, item positional fault abnormality test use-case, item disappearance abnormality test use-case, context constraint abnormality test use-case.
Wherein, described step H comprises:
Step H1: according to testing engineering, enters interface testing interface, and the analogue system specified in simulation test engineering carries out interface testing to system under test (SUT);
Step H2: according to testing engineering, obtains the transmission interface and the receiving interface that carry out interface testing, and shows at software interface from database;
Step H3: receive the interface document that system under test (SUT) sends, docking port file carries out format checking;
Step H4: check result shown at software interface and preserve into database, for generating test result report;
Step H5: the test case extracting the receiving interface of system under test (SUT) from database, sends to system under test (SUT);
Step H6: whether the result of the docking message in-coming part of record system under test (SUT) is correct, and preserves into database by result, for generating test result report.
Wherein, described step I comprises:
Step I1: according to testing engineering, enter flow testing, the system that selection will be simulated, it should be noted that multiple sub-process is concurrent to carry out, multiple flow testing process should be opened, each flow testing process selection system is simulated, and in actual flow process running, multiple sub-process carries out flow testing simultaneously;
Step I2: according to testing engineering, call flow engine service, obtains the flow process needing to carry out testing;
Step I3: according to the actual process step of business, determine sub-process opening sequence, opens flow testing;
Step I4: for the sub-process of each test, call flow engine service, obtain downstream action, if receiving interface file enters step I5, if transmission interface file enters step I7, if end node, this flow testing terminates;
Step I5: file opening receiving thread, wait-receiving mode file;
Step I6: after receiving file, carry out interface format inspection to file, call flow engine service carries out flow process inspection, if check result is correct, enters step I4; If check result mistake, terminate this flow testing, and at interface display wrong content;
Step I7: call flow engine service, obtains transmission interface file, sends file, interface input test result, if result is correct, enters step I4; If mistake, input error content in interface preserves warehouse-in, and process ends is tested.
As an also aspect of the present invention, present invention also offers a kind of uniting and adjustment test macro for satellite data receiving station net, comprising:
Refine the device of interface rules and flow rules, described device is unique foundation with net system interface control documents of standing, convert all the way of restraint of interface specification to interface rules and flow rules, and interface rules and flow rules are designed to rule database table;
Described interface rules and flow rules is used to describe total interface specification, to total interface normative content in described interface control document according to the device of interface rules stored in rule database table;
By intersystem interface interaction flow according to the device of flow rules stored in database, described device considers to there is receiving station's concurrent processing flow process, configures separately each receiving station flow process;
According to interface rules and test request, design use-case generating algorithm, for generating all kinds test case of testing requirement, realizing this algorithm, providing the device that the use-case generating algorithm based on this algorithm is served;
First procedural model is made according to operation flow, then transmit the interface data of generation successively according to procedural model when process flow operation, when flow testing, service provides downstream node action content, the use-case of product process test, carry out flow testing to the interface document in flow process, support process tests the device carried out;
Use the service of use-case generating algorithm, traversal generates all types use-case of total interface, by the use-case of generation stored in database, forms a use-case storehouse, time for test, and carries out self-inspection to the use-case generated, guarantees the device of the correctness of use-case;
Design test scheme, determines system under test (SUT) and tested content, arranges testing engineering, start the device monitored test process;
Carry out interface testing, extract test case and send to system under test (SUT) from use-case storehouse, whether the process of checking system under test (SUT) is correct; Receive the interface document that system under test (SUT) sends, whether test file format and content meets the device of interface specification;
Carry out flow testing.According to interaction flow normal between system, design test flow process configuration mode, supports the device of concurrent flow test.
Statistical test result, generates the device of test result report.
Known by technique scheme, the rule that uniting and adjustment test platform uses completes once configuration, and platform can generate various types of test case by mass automatically, and can according to the correctness of rule base automatic Verification transceiver interface.The interface data that manual type generates and checking is received and dispatched than ever mutually, uniting and adjustment test platform substantially increases operating efficiency, tester generated from heavy interface data and frees comparison work, effectively alleviating workload and the working strength of tester.The advantage of uniting and adjustment test platform and beneficial effect equal to completely type printing in the art of printing in the advantage of block printing.
Accompanying drawing explanation
Fig. 1 is the frame structure schematic diagram of the uniting and adjustment test platform for satellite data receiving station net of the present invention;
Fig. 2 is interface rules and flow rules storehouse table form of expression schematic diagram in a database;
Fig. 3 is the schematic diagram that test of the present invention prepares flow process, and described preparation flow process comprises interface rules configuration, flow rules configuration, use-case storehouse maintenance process;
Fig. 4 is the use-case generating algorithm schematic flow sheet of the method for testing of the uniting and adjustment test platform for satellite data receiving station net of the present invention;
Fig. 5 is the interface testing implementing procedure schematic diagram of the method for testing of the uniting and adjustment test platform for satellite data receiving station net of the present invention;
Fig. 6 is the flow testing implementing procedure schematic diagram of the method for testing of the uniting and adjustment test platform for satellite data receiving station net of the present invention;
Fig. 7 is the test service content schematic diagram of the method for testing of the uniting and adjustment test platform for satellite data receiving station net of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with specific embodiment, and with reference to accompanying drawing 1-3, the present invention is described in further detail.
The present invention proposes a kind of uniting and adjustment test platform for satellite data receiving station net, be applicable to multisystem concurrent flow joint-trial.With reference to Fig. 1, this uniting and adjustment test platform framework is divided into from the bottom to top: data Layer, logical layer, service layer, application supporting layer and application presentation layer.
Data Layer comprises the unique according to document of interface testing, net system interface control documents of namely standing.According to interface specification feature in interface testing file, extract the interface logic in logical layer and flow logic, and formed database table and be stored in database in data Layer.
Use-case generating algorithm service in service layer and flow engine service provide service according to interface logic and flow logic, call for application supporting layer and application presentation layer.
Application supporting layer is according to interface logic and flow logic and station net system interface control documents, interface rules configuration and flow rules configuration are carried out to the interface in file, by Rule content stored in the database in data Layer, carry out case management, generate and maintenance use case storehouse.
Test monitoring module in application presentation layer sets up testing engineering according to testing scheme and content, and the test in testing engineering is monitored, test result report is generated after test terminates, according to testing engineering, test simulation selects to carry out the simulation of task management subsystem, stand net management subsystem analog module and receiving station's subsystem simulation, interface testing and flow testing are carried out to tested system, the use-case in use-case storehouse can be used in test process, call the service of use-case generating algorithm and flow engine service.
The method of testing of this uniting and adjustment test platform comprises the following steps:
Steps A: refine interface rules and flow rules.Be unique foundation with the interface control document of net system of standing, convert all the way of restraint of interface specification to interface rules and flow rules, and interface rules and flow rules are designed to rule database table.By the analysis of docking port specification, such as, abstractly can isolate following information:
Comprise multiple subsystem in system, subsystem uses special symbol or numerical tabular not in interface specification;
Comprise multiple interface in system, each interface comprises interface name, interface type, interface data item;
The interface of file type all has the file name meeting naming rule;
Tandem and hierarchical relationship is had between the data item of interface;
Contextual constraint may be there is between the data item of same interface;
Operation flow in system performs different flow nodes by appointment order and has come;
Flow nodes comprises the interface data of the transmit leg of interface and recipient, transmitting-receiving.
According to above information, in conjunction with database design principle, design the rule database of uniting and adjustment test platform.
Fig. 2 schematically illustrates the structure of rule database table in steps A.The interface format of net system of standing is tree structure, docking port curriculum offering interface data item, represents the call format of each node of tree structure, and is provided with interface hierarchical relationship, to represent the composition structure of data item in each portal contents.
Wherein, decimal (p, s) is a kind of data structure conventional in the databases such as SQL, and p represents number of significant digit, and s represents decimal digits, and such as decimal (4,0) represents that length is the integer of 4, not containing decimal point.Varchar (n) represents the character types of variable-length, wherein n represent this data type allow preserve maxstrlen.
Fig. 3 illustrates step B ~ step F.
Step B: use interface rules and flow rules to describe total interface specification.In docking port control documents, total interface normative content foundation interface rules is stored in rule database table.
Interface in interface control document mainly comprises: satellite data receives plan, satellite data receives plan receipt, instantaneous orbit radical, radical confirm, data receiver and logger task, task confirm, data transfer task, data transfer task confirm, job state inquiry request, job state report etc.
Step C: by intersystem interface interaction flow foundation flow rules stored in database.Consider to there is receiving station's concurrent processing flow process, each receiving station flow process is configured separately.
According to practical business flow content, such as, devise that satellite data receives that flow process, orbital tracking issue flow process, first receiving station's radical receives flow process, first receiving station's data receiver and record flow process, first receiving station's data re-transmission flow process, second receiving station's radical receive flow process, second receiving station's data receiver and receive flow process, the 3rd receiving station's data receiver with record flow process, second receiving station's data re-transmission flow process, the 3rd receiving station's radical and record flow process, the 3rd receiving station's data re-transmission flow process, transfer of data flow process, data re-transmission flow process etc.
Step D: design use-case generating algorithm, realizes use-case and generate service.According to interface rules and test request, design use-case generating algorithm, for generating all kinds test case of testing requirement, realizing this algorithm, providing the use-case generating algorithm based on this algorithm to serve.Fig. 4 describes the calculation process of use-case generating algorithm.
Fig. 4 illustrates the detailed content of step D:
Step D1: call the input of use-case generating algorithm, input formation condition, comprises transmit leg, recipient, interface type, use-case type.
Step D2: according to initial conditions, transmit leg, recipient and interface type, the interface rules in Query Database, obtains the filename rule generating interface about this, i.e. the composition structure of filename.
Step D3: according to filename rule and the filename of initial conditions generating case.
Step D4: according to initial conditions interface type, obtains the content item structure of the file of this type interface.
Step D5: according to the content item structural generation data structure of this interface.
Step D6: read initial conditions generating case type, compose particular value according to use-case type to special data item.Such as specify use-case file Satellite to be denoted as SPOT satellite when generating case, the value that any satellite using which kind of generating mode to generate indicates item is all SPOT.
Step D7: for other general terms, according to interface rules data item rule, to each data item assignment, generating test use case.
Step D8: by the use-case of generation stored in database, for service call person.
Step e: realization flow engine service.The service of use flow engine can obtain all process steps and first content flow engine makes procedural model according to operation flow, then transmit the interface data of generation successively according to procedural model when process flow operation, when flow testing, service provides downstream node action content, the use-case of product process test, carry out flow testing to the interface document in flow process, support process test is carried out.
Step F: generate and maintenance test use-case storehouse.Use the service of use-case generating algorithm, traversal generates all types use-case of total interface, by the use-case of generation stored in database, forms a use-case storehouse, time for test.Self-inspection is carried out to the use-case generated, guarantees the correctness of use-case.
In order to ensure the abundant covering of test case, use-case type such as comprises: default value proper testing use-case, random value proper testing use-case, boundary value proper testing use-case, enumerated value proper testing use-case, filename abnormality test use-case, item positional fault abnormality test use-case, item disappearance abnormality test use-case, context constraint abnormality test use-case etc.
Fig. 5 is the interface testing implementing procedure schematic diagram of the method for testing of the uniting and adjustment test platform for satellite data receiving station net of the present invention, illustrate step G, step H and step J, Fig. 6 is the flow testing implementing procedure schematic diagram of the method for testing of the uniting and adjustment test platform for satellite data receiving station net of the present invention, illustrates step G, step I, step J.
Step G: design test scheme, determines system under test (SUT) and tested content, arranges testing engineering, starts to monitor test process.
Step H: carry out interface testing, extracts test case and sends to system under test (SUT) from use-case storehouse, and whether the process of checking system under test (SUT) is correct; Receive the interface document that system under test (SUT) sends, whether test file format and content meets interface specification.
The detailed step in step H is contained in Fig. 5:
Step H1: according to testing engineering, enters interface testing interface, and the analogue system specified in simulation test engineering carries out interface testing to system under test (SUT);
Step H2: according to testing engineering, obtains the transmission interface and the receiving interface that carry out interface testing, and shows at software interface from database.
Step H3: receive the interface document that system under test (SUT) sends, docking port file carries out format checking.
Step H4: check result shown at software interface and preserve into database, for generating test result report.
Step H5: the test case extracting the receiving interface of system under test (SUT) from database, sends to system under test (SUT).
Step H6: whether the result of the docking message in-coming part of record system under test (SUT) is correct, and preserves into database by result, for generating test result report.
Step I: carry out flow testing.According to interaction flow normal between system, design test flow process configuration mode, supports concurrent flow test.
The detailed step of step I is contained in Fig. 6:
Step I1: according to testing engineering, enter flow testing, the system that selection will be simulated, it should be noted that multiple sub-process is concurrent to carry out, multiple flow testing process should be opened, each flow testing process selection system is simulated, and in actual flow process running, multiple sub-process carries out flow testing simultaneously.
Step I2: according to testing engineering, call flow engine service, obtains the flow process needing to carry out testing.
Step I3: according to the actual process step of business (see Fig. 7), determine sub-process opening sequence, opens flow testing.
Step I4: for the sub-process of each test, call flow engine service, obtain downstream action, if receiving interface file enters step I5, if transmission interface file enters step I7, if end node, this flow testing terminates.
Step I5: file opening receiving thread, wait-receiving mode file.
Step I6: after receiving file, carry out interface format inspection to file, call flow engine service carries out flow process inspection, if check result is correct, enters step I4; If check result mistake, terminate this flow testing, and at interface display wrong content.
Step I7: call flow engine service, obtains transmission interface file, sends file, interface input test result, if result is correct, enters step I4; If mistake, input error content in interface preserves warehouse-in, and process ends is tested.
Step J: statistical test result, generates test result report, becomes the foundation that this test result judges.
Above-described specific embodiment; object of the present invention, technical scheme and beneficial effect are further described; be understood that; the foregoing is only specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1., for a uniting and adjustment test platform for satellite data receiving station net, comprise data Layer, logical layer, service layer, application supporting layer and application presentation layer, wherein
Described data Layer comprises station net system interface control documents and database, and described data Layer, according to interface specification feature in interface testing file, extracts the interface logic in described logical layer and flow logic, and forms database table storage in the database;
Described logical layer comprises interface logic and flow logic;
Described service layer comprises the service of use-case generating algorithm and flow engine service, and described service layer provides service according to interface logic and flow logic, calls for described application supporting layer and described application presentation layer;
Described application supporting layer is according to described interface logic, flow logic and station net system interface control documents, interface rules configuration and flow rules configuration are carried out to the interface in the net system interface control documents of described station, by Rule content stored in the database in described data Layer, and carry out case management, generate and maintenance use case storehouse;
Described application presentation layer comprises test monitoring module, task management subsystem is simulated, net of standing manages subsystem analog module and receiving station's subsystem analog module, described test monitoring module sets up testing engineering according to testing scheme and content, and the test in testing engineering is monitored, test result report is generated after test terminates, according to testing engineering, test simulation is selected to carry out the simulation of task management subsystem, net management subsystem of standing is simulated and receiving station's subsystem simulation, interface testing and flow testing are carried out to tested system, the use-case in use-case storehouse in described application supporting layer is used in test process, call the service of use-case generating algorithm and flow engine service.
2., for a method of testing for the uniting and adjustment test platform of satellite data receiving station net, comprise the following steps:
Steps A: refine interface rules and flow rules, be unique foundation with the interface control document of net system of standing, convert all the way of restraint of interface specification to interface rules and flow rules, and interface rules and flow rules are designed to rule database table;
Step B: use described interface rules and flow rules to describe total interface specification, to total interface normative content foundation interface rules in described interface control document stored in rule database table;
Step C: by intersystem interface interaction flow foundation flow rules stored in database, consider to there is receiving station's concurrent processing flow process, each receiving station flow process is configured separately;
Step D: according to interface rules and test request, design use-case generating algorithm, for generating all kinds test case of testing requirement, realizing this algorithm, providing the use-case generating algorithm based on this algorithm to serve;
Step e: first make procedural model according to operation flow, then transmit the interface data of generation successively according to procedural model when process flow operation, when flow testing, service provides downstream node action content, the use-case of product process test, carry out flow testing to the interface document in flow process, support process test is carried out;
Step F: use the service of use-case generating algorithm, traversal generates all types use-case of total interface, by the use-case of generation stored in database, forms a use-case storehouse, time for test, and carries out self-inspection to the use-case generated, guarantees the correctness of use-case;
Step G: design test scheme, determines system under test (SUT) and tested content, arranges testing engineering, starts to monitor test process;
Step H: carry out interface testing, extracts test case and sends to system under test (SUT) from use-case storehouse, and whether the process of checking system under test (SUT) is correct; Receive the interface document that system under test (SUT) sends, whether test file format and content meets interface specification;
Step I: carry out flow testing.According to interaction flow normal between system, design test flow process configuration mode, supports concurrent flow test.
Step J: statistical test result, generates test result report, becomes the foundation that this test result judges.
3. the method for testing of uniting and adjustment test platform according to claim 2, the wherein described analysis by docking port specification in step, abstract isolated information comprises:
Comprise multiple subsystem in system, subsystem uses special symbol or numeric representation in interface specification;
Comprise multiple interface in system, each interface comprises interface name, interface type, interface data item;
The interface of file type all has the file name meeting naming rule;
Tandem between the data item of interface and hierarchical relationship;
The context constraint that may exist between the data item of same interface;
Operation flow in system performs different flow nodes by appointment order and has come;
Flow nodes comprises the interface data of the transmit leg of interface and recipient, transmitting-receiving.
4. the method for testing of uniting and adjustment test platform according to claim 2, the interface wherein in stepb in described interface control document comprises: satellite data receives plan, satellite data receives plan receipt, instantaneous orbit radical, radical confirm, data receiver and logger task, task confirm, data transfer task, data transfer task confirm, job state inquiry request, job state are reported.
5. the method for testing of uniting and adjustment test platform according to claim 2, wherein described in step C, practical business flow process comprises: satellite data receives flow process, orbital tracking issues flow process, first receiving station's radical receives flow process, first receiving station's data receiver and record flow process, first receiving station's data re-transmission flow process, second receiving station's radical receives flow process, second receiving station's data receiver and record flow process, second receiving station's data re-transmission flow process, 3rd receiving station's radical receives flow process, 3rd receiving station's data receiver and record flow process, 3rd receiving station's data re-transmission flow process, transfer of data flow process, data re-transmission flow process.
6. the method for testing of uniting and adjustment test platform according to claim 2, wherein said step D comprises:
Step D1: call the input of use-case generating algorithm, input formation condition, comprises transmit leg, recipient, interface type, use-case type;
Step D2: according to initial conditions, transmit leg, recipient and interface type, the interface rules in Query Database, obtains the filename rule generating interface about this, i.e. the composition structure of filename;
Step D3: according to filename rule and the filename of initial conditions generating case;
Step D4: according to initial conditions interface type, obtains the content item structure of the file of this type interface;
Step D5: according to the content item structural generation data structure of this interface;
Step D6: read initial conditions generating case type, compose particular value according to use-case type to special data item;
Step D7: for general term, according to interface rules data item rule, to each data item assignment, generating test use case;
Step D8: by the use-case of generation stored in database, for service call person.
7. the method for testing of uniting and adjustment test platform according to claim 2, described in wherein said step e, the type of test case comprises: default value proper testing use-case, random value proper testing use-case, boundary value proper testing use-case, enumerated value proper testing use-case, filename abnormality test use-case, item positional fault abnormality test use-case, item disappearance abnormality test use-case, context constraint abnormality test use-case.
8. the method for testing of uniting and adjustment test platform according to claim 2, wherein said step H comprises:
Step H1: according to testing engineering, enters interface testing interface, and the analogue system specified in simulation test engineering carries out interface testing to system under test (SUT);
Step H2: according to testing engineering, obtains the transmission interface and the receiving interface that carry out interface testing, and shows at software interface from database;
Step H3: receive the interface document that system under test (SUT) sends, docking port file carries out format checking;
Step H4: check result shown at software interface and preserve into database, for generating test result report;
Step H5: the test case extracting the receiving interface of system under test (SUT) from database, sends to system under test (SUT);
Step H6: whether the result of the docking message in-coming part of record system under test (SUT) is correct, and preserves into database by result, for generating test result report.
9. the method for testing of uniting and adjustment test platform according to claim 2, wherein said step I comprises:
Step I1: according to testing engineering, enter flow testing, the system that selection will be simulated, it should be noted that multiple sub-process is concurrent to carry out, multiple flow testing process should be opened, each flow testing process selection system is simulated, and in actual flow process running, multiple sub-process carries out flow testing simultaneously;
Step I2: according to testing engineering, call flow engine service, obtains the flow process needing to carry out testing;
Step I3: according to the actual process step of business, determine sub-process opening sequence, opens flow testing;
Step I4: for the sub-process of each test, call flow engine service, obtain downstream action, if receiving interface file enters step I5, if transmission interface file enters step I7, if end node, this flow testing terminates;
Step I5: file opening receiving thread, wait-receiving mode file;
Step I6: after receiving file, carry out interface format inspection to file, call flow engine service carries out flow process inspection, if check result is correct, enters step I4; If check result mistake, terminate this flow testing, and at interface display wrong content;
Step I7: call flow engine service, obtains transmission interface file, sends file, interface input test result, if result is correct, enters step I4; If mistake, input error content in interface preserves warehouse-in, and process ends is tested.
10., for a uniting and adjustment test macro for satellite data receiving station net, comprising:
Refine the device of interface rules and flow rules, described device is unique foundation with net system interface control documents of standing, convert all the way of restraint of interface specification to interface rules and flow rules, and interface rules and flow rules are designed to rule database table;
Described interface rules and flow rules is used to describe total interface specification, to total interface normative content in described interface control document according to the device of interface rules stored in rule database table;
By intersystem interface interaction flow according to the device of flow rules stored in database, described device considers to there is receiving station's concurrent processing flow process, configures separately each receiving station flow process;
According to interface rules and test request, design use-case generating algorithm, for generating all kinds test case of testing requirement, realizing this algorithm, providing the device that the use-case generating algorithm based on this algorithm is served;
First procedural model is made according to operation flow, then transmit the interface data of generation successively according to procedural model when process flow operation, when flow testing, service provides downstream node action content, the use-case of product process test, carry out flow testing to the interface document in flow process, support process tests the device carried out;
Use the service of use-case generating algorithm, traversal generates all types use-case of total interface, by the use-case of generation stored in database, forms a use-case storehouse, time for test, and carries out self-inspection to the use-case generated, guarantees the device of the correctness of use-case;
Design test scheme, determines system under test (SUT) and tested content, arranges testing engineering, start the device monitored test process;
Carry out interface testing, extract test case and send to system under test (SUT) from use-case storehouse, whether the process of checking system under test (SUT) is correct; Receive the interface document that system under test (SUT) sends, whether test file format and content meets the device of interface specification;
Carry out flow testing.According to interaction flow normal between system, design test flow process configuration mode, supports the device of concurrent flow test.
Statistical test result, generates the device of test result report.
CN201510081811.3A 2015-02-15 2015-02-15 A kind of joint debugging test platform for satellite data grounded receiving station net Active CN104618502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510081811.3A CN104618502B (en) 2015-02-15 2015-02-15 A kind of joint debugging test platform for satellite data grounded receiving station net

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510081811.3A CN104618502B (en) 2015-02-15 2015-02-15 A kind of joint debugging test platform for satellite data grounded receiving station net

Publications (2)

Publication Number Publication Date
CN104618502A true CN104618502A (en) 2015-05-13
CN104618502B CN104618502B (en) 2018-03-23

Family

ID=53152777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510081811.3A Active CN104618502B (en) 2015-02-15 2015-02-15 A kind of joint debugging test platform for satellite data grounded receiving station net

Country Status (1)

Country Link
CN (1) CN104618502B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108418728A (en) * 2018-02-12 2018-08-17 北京空间技术研制试验中心 A kind of system detection method for spacecraft launching site aerial mission
CN108563569A (en) * 2018-04-11 2018-09-21 中国电子科技集团公司第十四研究所 A kind of warnlng surveillance system automation interface test method
CN108573365A (en) * 2017-03-07 2018-09-25 北京空间技术研制试验中心 The service-oriented and flow state digitized management method of integration test
CN108984400A (en) * 2018-07-03 2018-12-11 中国电子科技集团公司第十四研究所 Automation interface test method based on warnlng surveillance system
CN109002391A (en) * 2018-06-28 2018-12-14 西南电子技术研究所(中国电子科技集团公司第十研究所) The method of automatic detection embedded software interface testing data
CN109408366A (en) * 2018-09-03 2019-03-01 平安科技(深圳)有限公司 Data source configures test method, system, computer equipment and storage medium
CN110119819A (en) * 2019-05-06 2019-08-13 北京长城华冠汽车科技股份有限公司 A kind of data predetermined process method, apparatus and its storage medium
CN110221814A (en) * 2019-05-28 2019-09-10 深圳市六度人和科技有限公司 A kind of project management method, device and storage device
CN110764479A (en) * 2019-10-31 2020-02-07 上海埃威航空电子有限公司 DDS-based multi-agent intermediate platform system and control method thereof
CN112532299A (en) * 2020-11-17 2021-03-19 上海利正卫星应用技术有限公司 Satellite test automatic execution system based on module splicing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1982863A (en) * 2005-12-14 2007-06-20 上海微小卫星工程中心 Universal micro-satellite comprehensive testing platform based on PXI system
CN101344788A (en) * 2008-09-02 2009-01-14 南京航空航天大学 Simulation test equipment and method for moonlet attitude control reliability validation
CN102833015A (en) * 2012-07-27 2012-12-19 北京空间飞行器总体设计部 Method for determining public software interface of satellite automatic testing system
CN104102216A (en) * 2014-05-26 2014-10-15 航天东方红卫星有限公司 Small satellite control system simulation and test integration system based on process and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1982863A (en) * 2005-12-14 2007-06-20 上海微小卫星工程中心 Universal micro-satellite comprehensive testing platform based on PXI system
CN101344788A (en) * 2008-09-02 2009-01-14 南京航空航天大学 Simulation test equipment and method for moonlet attitude control reliability validation
CN102833015A (en) * 2012-07-27 2012-12-19 北京空间飞行器总体设计部 Method for determining public software interface of satellite automatic testing system
CN104102216A (en) * 2014-05-26 2014-10-15 航天东方红卫星有限公司 Small satellite control system simulation and test integration system based on process and method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曾屹: "遥感卫星地面接收站的自动化测试系统", 《信息化研究》 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108573365A (en) * 2017-03-07 2018-09-25 北京空间技术研制试验中心 The service-oriented and flow state digitized management method of integration test
CN108573365B (en) * 2017-03-07 2022-02-11 北京空间技术研制试验中心 Service and process oriented comprehensive test state digital management method
CN108418728A (en) * 2018-02-12 2018-08-17 北京空间技术研制试验中心 A kind of system detection method for spacecraft launching site aerial mission
CN108563569A (en) * 2018-04-11 2018-09-21 中国电子科技集团公司第十四研究所 A kind of warnlng surveillance system automation interface test method
CN109002391A (en) * 2018-06-28 2018-12-14 西南电子技术研究所(中国电子科技集团公司第十研究所) The method of automatic detection embedded software interface testing data
CN109002391B (en) * 2018-06-28 2021-07-30 西南电子技术研究所(中国电子科技集团公司第十研究所) Method for automatically detecting embedded software interface test data
CN108984400B (en) * 2018-07-03 2021-05-14 中国电子科技集团公司第十四研究所 Automatic interface testing method based on early warning detection system
CN108984400A (en) * 2018-07-03 2018-12-11 中国电子科技集团公司第十四研究所 Automation interface test method based on warnlng surveillance system
CN109408366A (en) * 2018-09-03 2019-03-01 平安科技(深圳)有限公司 Data source configures test method, system, computer equipment and storage medium
CN109408366B (en) * 2018-09-03 2023-05-30 平安科技(深圳)有限公司 Data source configuration test method, system, computer equipment and storage medium
CN110119819A (en) * 2019-05-06 2019-08-13 北京长城华冠汽车科技股份有限公司 A kind of data predetermined process method, apparatus and its storage medium
CN110221814A (en) * 2019-05-28 2019-09-10 深圳市六度人和科技有限公司 A kind of project management method, device and storage device
CN110764479B (en) * 2019-10-31 2021-02-12 上海埃威航空电子有限公司 DDS-based multi-agent intermediate platform system and control method thereof
CN110764479A (en) * 2019-10-31 2020-02-07 上海埃威航空电子有限公司 DDS-based multi-agent intermediate platform system and control method thereof
CN112532299A (en) * 2020-11-17 2021-03-19 上海利正卫星应用技术有限公司 Satellite test automatic execution system based on module splicing

Also Published As

Publication number Publication date
CN104618502B (en) 2018-03-23

Similar Documents

Publication Publication Date Title
CN104618502A (en) Joint debugging testing platform used for satellite data ground receiving station net
CN100495678C (en) Semiconductor test management system and method
CN102546730B (en) Data processing method, Apparatus and system
CN105956987A (en) Road traffic engineering test detection data acquisition and evaluation system
CN106708719A (en) Business function testing method and apparatus
US7797179B2 (en) Method and apparatus for planning major outages for gas turbines
CN107783902A (en) A kind of Selenium automated testing methods and system from coding
CN108282377B (en) Processing method and device for testing logistics service data and server
CN106411650A (en) Distributed security and confidentiality checking method
CN103905275A (en) Electric power telecontrol equipment testing method based on IEC61850 replacement services
CN104252664A (en) Ocean environment monitoring data reporting verification realization method and device
CN107948942A (en) A kind of short message service automated testing method and device
CN106155894A (en) A kind of generation method and device of test case
CN101242616A (en) Intelligent making method and system for office data
CN103426041A (en) Radiation source real-time monitoring and managing system and method based on Internet of things
CN104239216A (en) Software data testing method and system
CN105703964A (en) Online application system test method and equipment
CN214201239U (en) Remote optical maintenance system for printed circuit board
WO2022104585A1 (en) Remote optical inspection and maintenance method and system for printed circuit board
CN109426576A (en) Fault-tolerance processing method and fault-tolerant component
CN103617141A (en) Method for electrical equipment field test and characteristic evaluation management
CN114239518A (en) System and method for online generation of electronic contract template
CN103701871B (en) A kind of virtual terminal obtains the implementation method of APP STORE deployable state
CN111724131A (en) Two-dimensional code-based power system substation equipment checking method and system and electronic equipment
CN113256420B (en) Enterprise user identification method, device, equipment and medium in transaction

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant