Summary of the invention
Object of the present invention is just: overcome the shortcoming of basic data without Version Control, a kind of satellite basic data edition control method is provided, change to basic data under slave mode is examined, and basic data is carried out to version management, realizes satellite basic data Version Control.
Technical solution of the present invention:
A kind of satellite basic data edition control method, described satellite basic data edition control method comprises the satellite basic data Version Control under satellite basic data Version Control and the slave mode under uncontrolled state,
Satellite basic data Version Control step under uncontrolled state is as follows:
(1) in the time that user need to change satellite basic data, from basic database table, take out satellite basic data to be changed, from basic data updating form, take out described version information corresponding to satellite basic data to be changed;
(2) user changes described satellite basic data to be changed as required;
(3) change of in step (2), satellite basic data being made is saved in interim basic database table, in interim basic database table, stores all change basic datas and complete but not yet dump to the basic data change intermediate information in basic data updating form;
(4) judge whether all basic datas that need change to complete change, if changed, enter step (5), otherwise return to step (1);
(5) from interim basic database table, take out all basic data changed information, and unloading is to basic data updating form,
(6) based on unloading in step (5) to the basic data changed information in basic data updating form, for the basic data of more correcting one's mistakes is distributed new version.
Satellite basic data Version Control step under slave mode is as follows:
(1) in the time that user need to change satellite basic data, from basic database table, take out satellite basic data to be changed, from basic data updating form, take out described version information corresponding to satellite basic data to be changed;
(2) user changes described satellite basic data to be changed as required;
(3) change of in step (2), satellite basic data being made is saved in interim basic database table, in interim basic database table, stores all change basic datas and complete but not yet dump to the basic data change intermediate information in basic data updating form;
(4) judge whether all basic datas that need change to complete change, if changed, enter step (5), otherwise return to step (1);
(5) examine completing change satellite basic data afterwards, pass through if examined, enter step (6); Otherwise show that data change is invalid;
(6) from interim basic database table, take out all basic data changed information, and unloading is to basic data updating form;
(7) based on unloading in step (6) to the basic data changed information in basic data updating form, for the basic data of more correcting one's mistakes is distributed new version
What in described basic database table, store is satellite basic data; What in basic data updating form, store is the corresponding version information of satellite basic data, and this version information comprises version and corresponding data change information.
The present invention's advantage compared with prior art:
1) adopt satellite basic data Version Control technology, realize basic data version management robotization, the deficiency that has made up manual management satellite basic data version, has improved satellite basic data version management level, for the development of automatization testing technique contributes.
2) adopt satellite basic data Version Control technology, solve the not enough problem of the manual version management of satellite basic data, for Satellite Ground Test Equipment configuration provide guaranteed conditions consistent with on-board equipment technology, improve the quality control level of satellite comprehensive testing work.
3) adopt satellite basic data Version Control technology, solve the problem of management of satellite basic data slave mode and uncontrolled state, make basic data management software possess the ability of the actual use problem of flexible reply, guaranteed that the quality of integration test work has been taken into account again integration test work efficiency.
Embodiment
Below in conjunction with accompanying drawing, the present invention will be further described.
The invention provides a kind of satellite basic data edition control method, its principle of work as shown in Figure 1.
The store and management of basic data carries out with behavior unit, and each design parameter is a handling object, has the version number of oneself.Can realize basic data Version Control ability for assurance basic data edition control method, possess again certain dirigibility, state area when basic data is changed is divided into slave mode and uncontrolled state simultaneously.Slave mode is that stage test starts, and must enter the state of change approval process after basic data change.Uncontrolled state refers to before stage test starts, and does not need to enter the state of change approval process after basic data change.
Under uncontrolled state before each stage test starts, the user who possesses basic data change authority can change basic data, and the basic data after change is saved in interim basic database table.After stage test starts, all basic datas of more correcting one's mistakes are taken out from interim basic database table, and store in basic data version updating table, and distribute new version number by the service of basic data version updating for these basic datas, finally make all design parameters enter slave mode.Under slave mode after stage test starts, the user who possesses change authority can need to change basic data according to test, and the basic data after change is saved in interim basic database table.After change completes, start basic data change approval process.Basic data change approval process the related person of examining confirm and examine the change situation of basic data, when examine by after change will come into force, and the basic data of change is stored in basic data version updating table, then version updating service is that the basic data of changing is distributed new version number.Do not obtain and examine by front in the change of basic data, all changes are invalid, and change situation all can only be seen by the change user of basic data.Only have after change comes into force, the change of basic data could be seen by all users, and such basic data could be used for test.If the change approval process of basic data is by examining, user is also invalid to the change of basic data.Before user needs, need to recall the version of basic data when the basic data of certain version, the basic data information of required version be taken out and reverted to from basic data version updating table, basic database table the basic data of respective version.
Satellite basic data edition control method comprises the satellite basic data Version Control under satellite basic data Version Control and the slave mode under uncontrolled state,
As shown in Figure 2, the satellite basic data Version Control step under uncontrolled state is as follows:
(1) before each stage test starts, when user need to change satellite basic data, from basic database table, take out satellite basic data to be changed, from basic data updating form, take out described version information corresponding to satellite basic data to be changed;
(2) user changes described satellite basic data to be changed as required.Change is the change that can comprise all information except satellite basic data unique identification;
(3) change of in step (2), satellite basic data being made is saved in interim basic database table, in interim basic database table, stores all change basic datas and complete but not yet dump to the basic data change intermediate information in basic data updating form;
What in described basic database table, store is satellite basic data; What in basic data updating form, store is the corresponding version information of satellite basic data, and this version information comprises version and corresponding data change information;
(4) user has judged whether the change to all basic datas that need change, if Change All completes, enters step (5), otherwise returns to step (1);
(5) from interim basic database table, take out all basic data changed information, and unloading is to basic data updating form,
(6) based on unloading in step (5) to the basic data changed information in basic data updating form, for the basic data of more correcting one's mistakes is distributed new version.
As shown in Figure 3, the satellite basic data Version Control step under slave mode is as follows:
(1) under the slave mode after each stage test starts, when user need to change satellite basic data, from basic database table, take out satellite basic data to be changed, from basic data updating form, take out described version information corresponding to satellite basic data to be changed;
(2) user changes described satellite basic data to be changed as required.Change is the change that can comprise all information except satellite basic data unique identification;
(3) change of in step (2), satellite basic data being made is saved in interim basic database table, in interim basic database table, stores all change basic datas and complete but not yet dump to the basic data change intermediate information in basic data updating form;
What in described basic database table, store is satellite basic data; What in basic data updating form, store is the corresponding version information of satellite basic data, and this version information comprises version and corresponding data change information;
(4) user has judged whether the change to all basic datas that need change, if Change All completes, enters step (5), otherwise returns to step (1);
(5) examine completing change satellite basic data startup approval process afterwards, pass through if examined, enter step (6); Otherwise show that data change is invalid, process ends processing;
(6) from interim basic database table, take out all basic data changed information, and unloading is to basic data updating form;
(7) based on unloading in step (6) to the basic data changed information in basic data updating form, for the basic data of more correcting one's mistakes is distributed new version.
As shown in Figure 4, under slave mode, need to examine completing change satellite basic data afterwards, specifically carry out in the following way:
(1) user changes satellite basic data;
(2) same model tester proofreads satellite basic data changed information;
(3) tester checks satellite basic data changed information, confirms whether check and correction is passed through.If check and correction by; enter step (4), otherwise return to step (1);
(4) test commander audit satellite basic data changed information;
(5) test command inspection satellite basic data changed information, confirms whether audit is passed through.If audit by; enter step (6), otherwise return to step (1);
(6) test chief engineer ratifies satellite basic data changed information;
(7) test chief engineer checks satellite basic data changed information, confirms whether approval is passed through.If approved, enter step (8), otherwise enter step (9);
(8) system is determined basic data lastest imformation automatically, by basic data lastest imformation from the unloading of interim basic database table to basic data updating form, and finish approval process;
(9) rollback basic data lastest imformation, user will be lost efficacy to the lastest imformation of basic data, and finish approval process.
Control for guaranteeing the user that user to operation satellite basic data and basic data change approval process relate to, need to carry out delineation of power to user.Divide mode be according to user the business in satellite comprehensive testing by user grouping.Every group of user has same role, and every kind of role's user has identical operating right.The relation that user role and operating right are corresponding is as shown in the table.Wherein, " Y " represents that certain role possesses corresponding operating authority.
For a kind of effect of satellite basic data edition control method that checking the present invention proposes, in the basic data management software of new edition, apply a kind of satellite basic data edition control method.The basic data management software application of new edition, in the management of culminant star-11 satellite first sample basic data, and is applied in the whole process of culminant star-11 first sample star integration test, has realized satellite basic data and changed 100% controlled.Satellite basic data Version Control technology has improved satellite comprehensive testing process Satellite basic data version management ability, has improved the quality control level of satellite comprehensive testing work.