350 rub
Journal Achievements of Modern Radioelectronics №2 for 2016 г.
Article in number:
Method of changes recognition in protocol specifications and automatic correction of the the intrastation data processing program of the SAM system command post
Authors:
I.S. Kovalis - Leading Engineer, PJSC «NPO Almaz» (Moscow). E-mail: k_b_inga@mail.ru
Abstract:
Command posts (CP) of the surface-to-air missile (SAM) systems family the S 300P, the S 400 ensure communication of a number of different subscribers within the bounds of the whole system [1]. Except external subscribers there are operator workplaces (OW) in the CP, which communicate also in accordance with specified communication protocols. In the issue of addition of new external subscribers a number of different protocols are arrived, which could be changed at the stage of system interfacing.
For every SAM version, including prototype and serial models, there is the unique program of intrastation data processing «Processing ID», which implements parsing of all messages, recorded on the computer complex (CC), entered into the composition of the CP.
During the system retrofit process the need of changing of respective version of the program «Processing ID». This task requires careful check of protocols for changes and introducing changes into the source code for possibly short time.
A number of methods to track changes in a program code have been proposed, including management and data dependence, and also program dividing. But the problem of tracking changes in software specifications and requirements for software development remains topical.
To provide exact correspondence between a format of messages from the protocol and form of tables with its data, represented to user by the program «Processing ID», the special program should be developed, implementing next steps:
1. Check preservation integrity of protocols after making changes
2. The program should analyze the source code of the program «Processing ID» in a part of message parsing in the direction of the OW. And among these messages it should find certain lines, implementing parsing of every parameter from the table in accordance with the specified format in the protocol. Lines search by the specified format could be simply realized using regular expressions.
3. The program should propose for every parameter from all message formats in the protocol a line of source code, which implements parsing of a parameter from a specified place in a byte array of a whole message.
4. The program should compare existing lines of code in the program of intrastation data processing with proposed ones on basis of changed protocol and determine need of replacement.
All these steps have been implemented in special software, created with a purpose of changing analysis in communication protocols and following automatic correction of source code of the program «Processing ID».
Results analysis of program application show, that the new method introducing changes is effective for monotonous routine work with introducing regular changes into source code. The method considerably reduces time and helps carefully analyze comparable files, and also not found earlier mistakes.
Although developer hand work hasn-t been fully replaced, the method won approval in team of experimental design office and proposals for method application for another software correction in the CP of the SAM system have also been put.
Pages: 171-176
References
- Rjazanov A.V., Semjonov V.V., Sumin A.S. Sistema PVO «Favorit»: novye vozmozhnosti // Vozdushno-kosmicheskaja oborona. 2009. № 2(45).
- Boehm B.W.SoftwareEngineeringEconomics. Prentice-Hall, Inc. EnglewoodCliffs. NewJersey. 1981.
- Bohner S.A.Softwarechangeimpacts? anevolvingperspective // ProceedingsoftheInternationalConferenceonSoftwareMaintenance. October 2002. P. 263−272.
- SHtovba S.D. Vvedenie v teoriju nechetkikh mnozhestv i nechetkuju logiku. Vinnica: Kontinent-Prim. 2003. 198 s.