Disclosure of Invention
The invention aims to solve the technical problem of providing an inspection method and device for rocket systems, which are used for solving the defects of high cost and low flexibility in the existing inspection process of the state of each rocket system.
In order to solve the technical problems, the technical scheme of the invention is as follows:
an inspection method for a rocket system, comprising:
acquiring position parameters of a part to be inspected, data to be inspected and rocket model data in each rocket system;
binding the data to be inspected with the rocket model data according to the position parameters to obtain a rocket model to be inspected;
inputting the received inspection data into the rocket model to be inspected to obtain a state inspection result;
and outputting inspection feedback information according to the state inspection result.
Further, obtaining data to be inspected of the component to be inspected in each rocket system includes:
communication instruction information and state check code information of a part to be checked in each rocket system are acquired;
and obtaining data to be inspected according to the communication instruction information and the state inspection code information.
Further, acquiring rocket model data includes:
acquiring a three-dimensional rocket internal perspective view, and acquiring coordinate parameters of each part in the three-dimensional rocket internal perspective view;
and obtaining rocket model data according to the three-dimensional rocket internal perspective view and the coordinate parameters.
Further, binding the data to be inspected with the rocket model data according to the position parameters to obtain a rocket model to be inspected, including:
and binding the communication instruction information, the state inspection code information and the rocket model data according to the position parameters and the coordinate parameters to obtain the rocket model to be inspected.
Further, inputting the received inspection data into the rocket model to be inspected to obtain a state inspection result, including:
inputting the received inspection data into the rocket model to be inspected;
when the state check code information corresponding to the check data exists, executing the state check code information, and obtaining an executing result of normal state or abnormal state; editing alarm information when the state check code information corresponding to the check data does not exist;
and obtaining a state checking result according to the executing result or the alarm information.
Further, according to the status check result, outputting check feedback information, including:
if the state check result comprises an execution result with a normal state, outputting check feedback information with a green mark;
if the state check result comprises the execution result of the state abnormality, outputting check feedback information with a red mark;
and if the state check result contains alarm information, outputting check feedback information with a yellow mark.
Further, the received inspection data is pre-stored inspection data or real-time collected inspection data.
In another aspect of the present invention, there is provided an inspection apparatus for a rocket system, comprising:
the acquisition module is used for acquiring position parameters of the parts to be inspected in each rocket system, data to be inspected and rocket model data;
the binding module is used for binding the data to be inspected with the rocket model data according to the position parameters to obtain a rocket model to be inspected;
the inspection module is used for inputting the received inspection data into the rocket model to be inspected to obtain a state inspection result;
and the feedback module is used for outputting inspection feedback information according to the state inspection result.
The scheme of the invention at least comprises the following beneficial effects:
according to the scheme, the rocket model to be inspected is obtained by binding the data to be inspected with the rocket model data, the actual inspection data is input into the rocket model to be inspected to inspect the states of all rocket systems, the purposes of simply, conveniently and intuitively testing and controlling the rocket systems are achieved, and the rocket model testing device has the advantages of saving cost and being wide in applicability.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
As shown in fig. 1, an embodiment of the present invention proposes an inspection method for a rocket system, including the steps of:
s1, acquiring position parameters, data to be inspected and rocket model data of a part to be inspected in each rocket system;
step S2, binding the data to be inspected with the rocket model data according to the position parameters to obtain a rocket model to be inspected;
s3, inputting the received inspection data into the rocket model to be inspected to obtain a state inspection result;
and S4, outputting inspection feedback information according to the state inspection result.
According to the inspection method for the rocket system, the rocket model to be inspected is obtained by binding the data to be inspected with the rocket model data, the actual inspection data are input into the rocket model to be inspected, the states of all rocket systems are inspected, the purposes of simply, conveniently and intuitively testing and controlling the rocket system are achieved, and the method has the advantages of saving cost and being wide in applicability.
In an alternative embodiment of the present invention, step S1 includes:
s11, acquiring communication instruction information and state check code information of a part to be checked in each rocket system;
and step S12, obtaining data to be inspected according to the communication instruction information and the state inspection code information.
The communication instruction information is the communication instruction of the part to be inspected and the external controller, so that the external controller can conveniently control the part to be inspected. The status check code information is a program for status check or control of the component to be checked, and the program can be executed for status check or control of the component to be checked. The state inspection code information is respectively set and written according to the different parts to be inspected, so that the management and modification are convenient. Of course, the same component may also have a plurality of status check code information, i.e. a plurality of check items, in which case different check names are set to distinguish the status check code information. Different parts to be inspected are distinguished and displayed after corresponding to different interpretation codes according to a manual selection mode, for example, the function of the part to be inspected is to receive data, namely, the part to be inspected can be transmitted in a wired mode or in a wireless mode, the criterion which is currently transmitted in a wired mode is judged to be criterion 1, the criterion which is currently transmitted in a wireless mode is judged to be criterion 2, the external name of the state inspection code information of the part to be inspected is the transmission mode, the manual selection of wired/wireless is supported, the judgment is carried out according to the selection, whether the corresponding criterion is met or not, and a red mark is displayed in the subsequent inspection feedback information if the corresponding criterion is not met.
In an alternative embodiment of the present invention, step S1 includes:
s13, acquiring a three-dimensional rocket internal perspective view, and acquiring coordinate parameters of each part in the three-dimensional rocket internal perspective view;
and S14, obtaining rocket model data according to the three-dimensional rocket internal perspective view and the coordinate parameters.
According to the coordinate parameters, the positions of all the components of the rocket system can be positioned in the three-dimensional rocket internal perspective view, so that the data to be inspected and the components to be inspected are bound correspondingly, and simulation test of inspecting all the components of the real rocket system is realized.
In an alternative embodiment of the present invention, step S2 includes:
and binding the communication instruction information, the state inspection code information and the rocket model data according to the position parameters and the coordinate parameters to obtain the rocket model to be inspected.
According to the position parameters of the parts to be inspected in each rocket system and the coordinate parameters of each part in the three-dimensional rocket internal perspective view, the real parts to be inspected and each part in the virtual rocket internal perspective view can be in one-to-one correspondence, and further real data to be inspected and each part in the rocket internal perspective view are correspondingly bound, so that realizable conditions are provided for carrying out state inspection and control on the follow-up parts to be inspected.
In an alternative embodiment of the present invention, step S3 includes:
s31, inputting the received inspection data into the rocket model to be inspected;
step S32, executing the state check code information when the state check code information corresponding to the check data exists, and obtaining an executing result of normal state or abnormal state; editing alarm information when the state check code information corresponding to the check data does not exist;
and step S33, obtaining a state check result according to the execution result or the alarm information.
The received inspection data may be pre-stored inspection data or inspection data acquired in real time. If the inspection data are pre-stored, the inspection period can be set, the inspection data are periodically input into the rocket model to be inspected, and the periodic inspection mode is realized. If the inspection data are collected in real time, the inspection data with different parameters can be input at different time nodes according to specific conditions and needs to inspect the part to be inspected, so that the method is more applicable.
The received inspection data can contain the names of the components to be inspected so as to find the status inspection code information with the same names, and then execute the status inspection code information to complete the status inspection of the components to be inspected. If the state checking code information corresponding to the checking data does not exist, outputting alarm information to prompt a worker to input again or update the data to be checked. The flexibility of the method is improved.
In an alternative embodiment of the present invention, step S4 includes:
step S41, if the state check result comprises an execution result with a normal state, outputting check feedback information with a green mark;
step S42, if the state check result includes an execution result of state abnormality, outputting check feedback information with a red mark;
and step S43, outputting inspection feedback information with a yellow mark if the state inspection result contains alarm information.
The feedback information is checked by adopting different color outputs, and the method has the advantages of intuitiveness and simplicity.
As shown in fig. 2, the present embodiment provides an inspection apparatus for a rocket system, including:
the acquisition module is used for acquiring position parameters of the parts to be inspected in each rocket system, data to be inspected and rocket model data;
the binding module is used for binding the data to be inspected with the rocket model data according to the position parameters to obtain a rocket model to be inspected;
the inspection module is used for inputting the received inspection data into the rocket model to be inspected to obtain a state inspection result;
and the feedback module is used for outputting inspection feedback information according to the state inspection result.
According to the inspection device for the rocket system, the rocket model to be inspected is obtained by binding the data to be inspected with the rocket model data, the actual inspection data are input into the rocket model to be inspected, the states of all the rocket systems are inspected, the purposes of simply, conveniently and intuitively testing and controlling the rocket system are achieved, and the inspection device has the advantages of saving cost and being wide in applicability.
In an alternative embodiment of the present invention, the obtaining module is specifically configured to:
communication instruction information and state check code information of a part to be checked in each rocket system are acquired;
and obtaining data to be inspected according to the communication instruction information and the state inspection code information.
The communication instruction information is the communication instruction of the part to be inspected and the external controller, so that the external controller can conveniently control the part to be inspected. The status check code information is a program for status check or control of the component to be checked, and the program can be executed for status check or control of the component to be checked. The state inspection code information is respectively set and written according to the different parts to be inspected, so that the management and modification are convenient. Of course, the same component may also have a plurality of status check code information, i.e. a plurality of check items, in which case different check names are set to distinguish the status check code information. Different parts to be inspected are distinguished and displayed after corresponding to different interpretation codes according to a manual selection mode, for example, the function of the part to be inspected is to receive data, namely, the part to be inspected can be transmitted in a wired mode or in a wireless mode, the criterion which is currently transmitted in a wired mode is judged to be criterion 1, the criterion which is currently transmitted in a wireless mode is judged to be criterion 2, the external name of the state inspection code information of the part to be inspected is the transmission mode, the manual selection of wired/wireless is supported, the judgment is carried out according to the selection, whether the corresponding criterion is met or not, and a red mark is displayed in the subsequent inspection feedback information if the corresponding criterion is not met.
In an alternative embodiment of the present invention, the obtaining module is specifically configured to:
acquiring a three-dimensional rocket internal perspective view, and acquiring coordinate parameters of each part in the three-dimensional rocket internal perspective view;
and obtaining rocket model data according to the three-dimensional rocket internal perspective view and the coordinate parameters.
According to the coordinate parameters, the positions of all the components of the rocket system can be positioned in the three-dimensional rocket internal perspective view, so that the data to be inspected and the components to be inspected are bound correspondingly, and simulation test of inspecting all the components of the real rocket system is realized.
In an alternative embodiment of the present invention, the binding module is specifically configured to:
and binding the communication instruction information, the state inspection code information and the rocket model data according to the position parameters and the coordinate parameters to obtain the rocket model to be inspected.
According to the position parameters of the parts to be inspected in each rocket system and the coordinate parameters of each part in the three-dimensional rocket internal perspective view, the real parts to be inspected and each part in the virtual rocket internal perspective view can be in one-to-one correspondence, and further real data to be inspected and each part in the rocket internal perspective view are correspondingly bound, so that realizable conditions are provided for carrying out state inspection and control on the follow-up parts to be inspected.
In an alternative embodiment of the present invention, the inspection module is specifically configured to:
inputting the received inspection data into the rocket model to be inspected;
when the state check code information corresponding to the check data exists, executing the state check code information, and obtaining an executing result of normal state or abnormal state; editing alarm information when the state check code information corresponding to the check data does not exist;
and obtaining a state checking result according to the executing result or the alarm information.
The received inspection data may be pre-stored inspection data or inspection data acquired in real time. If the inspection data are pre-stored, the inspection period can be set, the inspection data are periodically input into the rocket model to be inspected, and the periodic inspection mode is realized. If the inspection data are collected in real time, the inspection data with different parameters can be input at different time nodes according to specific conditions and needs to inspect the part to be inspected, so that the method is more applicable.
The received inspection data can contain the names of the components to be inspected so as to find the status inspection code information with the same names, and then execute the status inspection code information to complete the status inspection of the components to be inspected. If the state checking code information corresponding to the checking data does not exist, outputting alarm information to prompt a worker to input again or update the data to be checked. The flexibility of the device is improved.
In an alternative embodiment of the present invention, the feedback module is specifically configured to:
if the state check result comprises an execution result with a normal state, outputting check feedback information with a green mark;
if the state check result comprises the execution result of the state abnormality, outputting check feedback information with a red mark;
and if the state check result contains alarm information, outputting check feedback information with a yellow mark.
The feedback information is checked by adopting different color outputs, and the method has the advantages of intuitiveness and simplicity.
The inspection method and the inspection device for the rocket system are suitable for carrying out carrier rocket testing, 3D visualization in a launching scene, and current state inspection and control of the to-be-inspected component at the corresponding position in a mode of flexibly clicking the to-be-inspected rocket model through an interface and inputting inspection data. And taking each part to be inspected as an independent module, packaging communication instruction information and state inspection code information in the module, and obtaining the rocket model to be inspected in a binding mode. The rocket position in the rocket model to be checked is clicked to enlarge the clicking position of the model, the position to be controlled or checked is clicked, and color feedback on the model is carried out according to the checking result. The testers flexibly check and control according to the test requirements and the launching requirements, and optimize the visual display of the carrier rocket test and check; and if the independent module design needs to be modified, only the corresponding module code needs to be modified, all codes do not need to be constructed, and the code maintenance cost is reduced.
The embodiment of the invention also provides a processing device, which comprises: a processor, a memory storing a computer program which, when executed by the processor, performs the method as described above. All the implementation manners in the method embodiment are applicable to the embodiment, and the same technical effect can be achieved.
Embodiments of the present invention also provide a computer-readable storage medium comprising instructions which, when run on a computer, cause the computer to perform a method as described above. All the implementation manners in the method embodiment are applicable to the embodiment, and the same technical effect can be achieved.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.