RU2783906C1 - Complex for testing embedded software of electronic devices - Google Patents

Complex for testing embedded software of electronic devices Download PDF

Info

Publication number
RU2783906C1
RU2783906C1 RU2022101435A RU2022101435A RU2783906C1 RU 2783906 C1 RU2783906 C1 RU 2783906C1 RU 2022101435 A RU2022101435 A RU 2022101435A RU 2022101435 A RU2022101435 A RU 2022101435A RU 2783906 C1 RU2783906 C1 RU 2783906C1
Authority
RU
Russia
Prior art keywords
software
models
complex
testing
test
Prior art date
Application number
RU2022101435A
Other languages
Russian (ru)
Inventor
Дмитрий Алексеевич Бабанов
Дмитрий Владиславович Власов
Борис Владимирович Дудкин
Галина Владимировна Кудряшова
Анна Сергеевна Шаламова
Original Assignee
Акционерное общество "Информационные спутниковые системы" имени академика М.Ф. Решетнёва"
Filing date
Publication date
Application filed by Акционерное общество "Информационные спутниковые системы" имени академика М.Ф. Решетнёва" filed Critical Акционерное общество "Информационные спутниковые системы" имени академика М.Ф. Решетнёва"
Application granted granted Critical
Publication of RU2783906C1 publication Critical patent/RU2783906C1/en

Links

Images

Abstract

FIELD: software testing.
SUBSTANCE: invention relates to software testing complexes for electronic devices. The effect is achieved by the fact that the complex includes a software part consisting of the main control program, which is the environment for writing and executing test scripts, a dispatch server that interacts with the software part of the complex with the hardware, dynamically connected models of input/output actions and functional models implemented in in the form of independent programs that can be run, including on different computers, with their own means of visualizing and representing the state of their internal data of entities and called by the main control program or as independent software models, as well as a hardware consisting of hardware modules that have a single interface for interaction with the dispatching server and implementing various instrument interfaces.
EFFECT: increasing the efficiency, completeness, quality of embedded software testing, reducing the development and preparation of the complex and software models.
1 cl, 1 dwg

Description

Изобретение относится к вычислительной технике, а именно к программным комплексам тестирования программного обеспечения (ПО) электронных устройств (ЭУ).The invention relates to computer technology, namely to software systems for testing software (software) of electronic devices (ED).

Известна полезная модель «Аппаратно-программный комплекс автоматизации, управления, визуализации и мониторинга технологических процессов» (патент на полезную модель RU №90588). Аппаратно-программный комплекс автоматизации, управления, визуализации и мониторинга технологических процессов содержит объединённые через локальную вычислительную сеть (ЛВС) рабочие станции, автоматизированные рабочие места (АРМы) и серверы на базе персональных электронных вычислительных машин (ПЭВМ), а также объединенные системой передачи данных управляющее устройство и функциональные модули, предназначенные для обеспечения управления технологическими процессами на основе программного комплекса и для физического воздействия на входы устройств управления технологическими процессами, снятия показаний с датчиков контроля технологических процессов и передачи информации о состоянии входов/выходов устройств управления. Он имеет централизованную архитектуру принятия решений, содержащую главное управляющее устройство и подчиненные ему функциональные модули на базе промышленных микроконтроллеров, объединенные через приборный интерфейс, и снабжен программным блоком для осуществления визуализации параметров технологических процессов.Known utility model "Hardware and software complex for automation, control, visualization and monitoring of technological processes" (utility model patent RU No. 90588). The hardware-software complex for automation, control, visualization and monitoring of technological processes contains workstations, automated workstations (AWPs) and servers based on personal electronic computers (PCs) connected via a local area network (LAN), as well as control systems connected by a data transmission system. device and functional modules designed to provide process control based on a software package and for physical impact on the inputs of process control devices, taking readings from process control sensors and transmitting information about the state of inputs / outputs of control devices. It has a centralized decision-making architecture that contains the main control device and its subordinate functional modules based on industrial microcontrollers, combined through an instrument interface, and is equipped with a software unit for visualizing the parameters of technological processes.

В данной полезной модели в основе комплекса лежат аппаратные компоненты, которые не всегда можно легко и оперативно модифицировать, а наличие физической связи функциональных модулей между собой ограничивают возможности по их взаимодействию, т.е. отсутствует возможность расширения функций их взаимодействия при возникновении новых требований к подобному комплексу.In this utility model, the complex is based on hardware components that cannot always be easily and quickly modified, and the presence of a physical connection between functional modules limits the possibilities for their interaction, i.e. there is no possibility of expanding the functions of their interaction in the event of new requirements for such a complex.

Известно изобретение «Способ и система автоматизации тестирования программного обеспечения» (заявка RU №2013126869 A), заключающееся в том, что система автоматизации тестирования программного обеспечения включает, по крайней мере, одно устройство пользователя и/или тестировщика, по крайней мере, одну базу данных, по крайней мере, одну базу тестов и программно-аппаратный комплекс, выполненный с возможностью: тестирования программного обеспечения по составленным планам тестирования посредством интерактивного взаимодействия тестировщика с пользовательским интерфейсом тестируемого программного обеспечения, записи указанных действий пользователя в автоматическом режиме в заранее заданных терминах уровня бизнес-логики тестируемого программного обеспечения, сохраняя результаты в базе тестов в качестве тестовых сценариев, записи изменений в базе данных, производимых при выполнении указанных тестовых сценариев, в автоматическом режиме в заранее заданных терминах, присваивая данным изменениям признак «Эталонные изменения» и сохраняя результаты в базе тестов, после изменения программного обеспечения осуществления его регрессионного тестирования, проигрывания тестовых сценариев из базы тестов в автоматическом режиме, записи изменений в базе данных, производимых при выполнении указанных тестовых сценариев, в автоматическом режиме в заранее заданных терминах, присваивая данным изменениям признак «Фактические изменения» и сохраняя результаты в базе тестов, осуществления верификации по каждому тестовому сценарию, сравнивая «Эталонные изменения» и «Фактические изменения» и сохраняя результаты сравнения в базе тестов, формирования списка тестовых сценариев, не прошедших верификацию, при этом под изменениями, не прошедшими верификацию подразумеваются расхождения «Эталонных изменений» и «Фактических изменений» и выполнен дополнительно с возможностью: выявления основных бизнес-процессов, выполняемых с использованием тестируемого программного обеспечения, составления детального плана тестирования выявленных бизнес-процессов, фиксируя варианты интерактивного взаимодействия тестировщика с пользовательским интерфейсом тестируемого ПО.The invention "Method and system for automating software testing" (application RU No. 2013126869 A) is known, which consists in the fact that the software test automation system includes at least one device of the user and / or tester, at least one database , at least one test database and a hardware-software complex, made with the ability to: test software according to the developed test plans through interactive interaction of the tester with the user interface of the software under test, record the specified user actions in automatic mode in predetermined terms of the business level logic of the software under test, storing the results in the test database as test scripts, records the changes in the database made when the specified test scripts are executed, automatically in predetermined terms, assigning these changes to the sign "Reference changes" and saving the results in the test database, after changing the software, carrying out its regression testing, playing test scenarios from the test database in automatic mode, recording changes in the database made when executing the specified test scenarios in automatic mode in predetermined terms, assigning the attribute "Actual changes" to these changes and saving the results in the test database, performing verification for each test scenario, comparing "Reference changes" and "Actual changes" and saving the results of the comparison in the test database, forming a list of test scenarios that have not passed verification , while changes that have not passed verification mean discrepancies between "Reference changes" and "Actual changes" and is additionally made with the ability to: identify the main business processes performed using the software under test, draw up a detailed test plan testing the identified business processes, fixing the options for interactive interaction of the tester with the user interface of the software under test.

В данном изобретении недостатком является отсутствие средства визуализации для оперативного и гибкого контроля состояния средств моделирования, данных и сущностей.In this invention, the disadvantage is the lack of a visualization tool for operational and flexible control of the state of modeling tools, data and entities.

Наиболее близким к предлагаемому по технической сущности является изобретение «Комплекс автоматизации и визуализации тестирования встроенного программного обеспечения электронных устройств» (патент RU 2678717 С9), заключающееся в том, что программный комплекс выполнен с возможностью тестирования программного обеспечения, составления тестовых сценариев и с сохранением их в базе данных в качестве эталонных, формирования базы тестов, получения фактических значений, сравнения эталонных и фактических значений и с возможностью выявления основных бизнес-процессов, выполняемых с использованием тестируемого программного обеспечения, составления детального плана тестирования выявленных бизнес-процессов, фиксируя варианты интерактивного взаимодействия пользователя с пользовательским интерфейсом тестируемого программного обеспечения, включающий единую программную среду написания и выполнения тестов, содержащую средства написания, редактирования и выполнения тестов, автоматизированного анализа и обработки информации, визуализации данных и сущностей в процессе тестирования и на этапе подготовки к нему, хранения тестовых наборов и подключения их в состав комплекса на любом этапе тестирования, динамической реконфигурации и управления в любой момент времени программным комплексом и любых компонент, входящих в его состав, выделения общего буфера для взаимодействия подключаемых моделей и произвольную их реконфигурацию, как в ручном режиме, так и во время выполнения тестов, защиты и восстановления комплекса при наличии непредвиденных сбоев в процессе его работы, динамически подключаемые модели функциональных устройств, реализуемые в виде независимых унифицированных программных модулей с заранее определенным единым набором методов и функций и средствами визуализации и представления состояния их внутренних данных сущностей, разработанных по единым правилам построения и реализации на базе унифицированного шаблона и вызываемых из единой программной среды написания и выполнения тестов, базу данных хранения представлений данных и сущностей, средства автоматизированного заполнения базы данных информацией на основе анализа документации, по которой разрабатывается тестируемое программное обеспечение.The closest to the proposed technical essence is the invention "Complex for automation and visualization of testing the embedded software of electronic devices" (patent RU 2678717 C9), which consists in the fact that the software package is made with the ability to test software, compose test scripts and save them in database as a reference, forming a test base, obtaining actual values, comparing reference and actual values and with the ability to identify the main business processes performed using the software under test, drawing up a detailed plan for testing the identified business processes, fixing options for interactive user interaction with user interface of the software under test, including a single software environment for writing and executing tests, containing tools for writing, editing and executing tests, automated analysis and processing information, visualizing data and entities during testing and at the stage of preparation for it, storing test sets and connecting them to the complex at any stage of testing, dynamic reconfiguration and management at any time by the software package and any components included in its composition, allocation of a common buffer for the interaction of connected models and their arbitrary reconfiguration, both in manual mode and during the execution of tests, protection and recovery of the complex in the presence of unforeseen failures during its operation, dynamically connected models of functional devices implemented as independent unified software modules with a predetermined unified set of methods and functions and means of visualizing and representing the state of their internal data of entities, developed according to the unified rules for constructing and implementing on the basis of a unified template and called from a unified software environment for writing and executing tests, a base data for storing data representations and entities, means for automatically filling the database with information based on the analysis of the documentation on which the software under test is developed.

Недостатками прототипа являются:The disadvantages of the prototype are:

- работа комплекса в режиме полу-синхронного выполнения процесса тестирования и вычислительного процесса тестируемого ПО, которая не позволяет осуществлять в полной мере предсказуемое взаимодействие и обеспечить точность воздействия на ход вычислительного процесса тестируемого ПО;- operation of the complex in the mode of semi-synchronous execution of the testing process and the computational process of the software under test, which does not allow for fully predictable interaction and ensure the accuracy of the impact on the computational process of the software under test;

- единая программная среда ядра и моделей функциональных устройств, которая не позволяет проводить независимую разработку моделей функциональных устройств;- a single software environment for the core and functional unit models, which does not allow independent development of functional unit models;

- наличие буфера в оперативном запоминающем устройстве (ОЗУ) накладывает дополнительные требования на ЭВМ тестировщика и программиста.- the presence of a buffer in random access memory (RAM) imposes additional requirements on the tester's and programmer's computers.

Для заявленного изобретения выявлены следующие общие с прототипом существенные признаки: комплекс тестирования встроенного ПО ЭУ, заключающийся в том, что комплекс выполнен с возможностью тестирования встроенного ПО, составления тестовых сценариев и с сохранением их в базе данных в качестве эталонных, формирования базы тестов, получения фактических значений, который включает программную среду, содержащую средства написания, редактирования и выполнения тестов, визуализации данных и сущностей в процессе тестирования, хранения тестовых наборов и подключения их в состав комплекса на любом этапе тестирования, динамической реконфигурации и управления в любой момент времени программным комплексом и его компонентами, динамически подключаемые модели функциональных устройств, базу данных хранения представлений данных и сущностей.For the claimed invention, the following essential features in common with the prototype have been identified: the complex for testing the embedded software of the ED, which consists in the fact that the complex is made with the ability to test the firmware, compose test scripts and save them in the database as reference ones, form a test database, obtain actual values, which includes a software environment containing tools for writing, editing and executing tests, visualizing data and entities in the process of testing, storing test sets and connecting them to the complex at any stage of testing, dynamic reconfiguration and management at any time by the software package and its components, dynamically connected models of functional devices, a database for storing data and entity representations.

Техническими проблемами настоящего изобретения являются:The technical problems of the present invention are:

- невозможность обеспечения полной синхронизации процесса тестирования с реакцией тестируемого встроенного ПО в реальном времени, что сводится к тестированию, которое учитывает не все особенности выполнения тестируемой программы и снижает качество и полноту тестирования;- the impossibility of ensuring full synchronization of the testing process with the reaction of the tested firmware in real time, which boils down to testing that does not take into account all the features of the execution of the program under test and reduces the quality and completeness of testing;

- сокращение сроков разработки и подготовки программного комплекса и моделей функциональных устройств за счёт разъединения моделей функциональных устройств и ядра программной среды;- reduction of terms of development and preparation of the software complex and models of functional devices due to the separation of models of functional devices and the core of the software environment;

- повышение качества тестирования встроенного программного обеспечения посредством уменьшения времени отклика и фиксации реакции электронного устройства аппаратурой контроля.- improving the quality of embedded software testing by reducing the response time and fixing the response of the electronic device by control equipment.

Поставленные проблемы решаются тем, что комплекс включает программную часть, состоящую из главной управляющей программы, которая является средой написания и выполнения тестовых сценариев, сервера диспетчеризации, осуществляющего взаимодействие программной части комплекса с аппаратной, динамически подключаемых моделей входных/выходных воздействий и функциональных моделей, реализованных в виде независимых программ, которые могут быть запущены, в том числе на разных ЭВМ, со своими средствами визуализации и представления состояния их внутренних данных сущностей и вызываемых главной управляющей программой или как самостоятельные программные модели, а также аппаратную часть, состоящую из аппаратных модулей, имеющих единый интерфейс взаимодействия с сервером диспетчеризации и реализующих различные приборные интерфейсы.The problems posed are solved by the fact that the complex includes a software part consisting of the main control program, which is the environment for writing and executing test scenarios, the dispatch server that interacts with the software part of the complex with the hardware, dynamically connected models of input / output actions and functional models implemented in in the form of independent programs that can be run, including on different computers, with their own means of visualizing and representing the state of their internal data of entities and called by the main control program or as independent software models, as well as a hardware consisting of hardware modules that have a single interface for interaction with the dispatching server and implementing various instrument interfaces.

На чертеже ФИГ.1 представлена структурная схема комплекса.The drawing FIG.1 shows a block diagram of the complex.

Комплекс реализуется следующим образом:The complex is implemented as follows:

Комплекс тестирования встроенного ПО состоит из аппаратной и программной части. Программная часть состоит из базы данных 2 хранения представлений данных и сущностей, главной управляющей программы 1, сервера хранения тестов и отчётов 3, динамически подключаемых моделей входных/выходных воздействий 4, функциональных моделей 5 и сервера диспетчеризации 6. Аппаратная часть состоит из аппаратных модулей 7, панели вывода состояния моделей/интерфейсов 8, отладочного места 10 и непосредственно тестируемого устройства 9.The embedded software testing complex consists of hardware and software. The software part consists of a database 2 for storing data representations and entities, a main control program 1, a server for storing tests and reports 3, dynamically connected models of input / output actions 4, functional models 5 and a dispatch server 6. The hardware part consists of hardware modules 7, panels for displaying the status of models / interfaces 8, debugging area 10 and directly the device under test 9.

Аппаратные модули 7 осуществляют обмен между сервером диспетчеризации 6, который принимает данные от главной управляющей программы 1, моделей входных/выходных воздействий 4 и функциональных моделей 5 и тестируемым устройством 9. Также аппаратные модули 7 выводят информацию на панель вывода состояния моделей/интерфейсов 8, в качестве которой может выступать дисплей с VGA входом. Аппаратные модули 7 совместно с функциональными моделями 5 осуществляют имитацию работы различных модулей сопряжения в режиме, максимально приближенном к режиму реального времени. Каждый аппаратный модуль обеспечивает взаимодействие программных моделей с тестируемым устройством 9 как минимум по одному приборному интерфейсу. Каждый приборный интерфейс содержит аппаратный контроллер, который позволяет реализовывать передачу данных в соответствии со стандартами приборного интерфейса.Hardware modules 7 exchange between the dispatch server 6, which receives data from the main control program 1, models of input / output actions 4 and functional models 5 and the device under test 9. Also, hardware modules 7 display information on the status display panel of models / interfaces 8, in which can be a display with a VGA input. Hardware modules 7, together with functional models 5, simulate the operation of various interface modules in a mode as close as possible to real time. Each hardware module ensures the interaction of software models with the device under test 9 through at least one instrument interface. Each device interface contains a hardware controller that allows the implementation of data communication in accordance with the standards of the device interface.

Сервер диспетчеризации 6:Dispatch Server 6:

- осуществляет передачу пакетов от главной управляющей программы 1, моделей входных/выходных воздействий 4, функциональных моделей 5 в аппаратные модули 7; - transfers packets from the main control program 1, input/output models 4, functional models 5 to hardware modules 7;

- осуществляет рассылку ответных пакетов от аппаратных модулей 7 в модели входных/выходных воздействий 4, функциональные модели 5 и главную управляющую программу 1;- sends response packets from hardware modules 7 to input/output models 4, functional models 5 and main control program 1;

- следит за атомарностью подключения к аппаратному модулю во время выполнения тестирования электронного устройства.- monitors the atomicity of the connection to the hardware module during the testing of the electronic device.

Панель вывода состояния моделей/интерфейсов 8 отображает состояние моделей и интерфейсов в режиме реального времени. Model/Interface Status Display Panel 8 displays the status of models and interfaces in real time.

Модели входных/выходных воздействий 4 и функциональные модели 5 реализуются в виде независимых программ со средствами визуализации и представления состояния их внутренних данных и сущностей и могут быть написаны на любом языке программирования, например, Java, Python, MATLAB или С/С++. Могут быть как управляемыми главной управляющей программой в реальном времени на любом этапе тестирования, так и иметь функцию автономного управления и изменения своих состояний, генерировать события и устанавливать их в главной управляющей программе. Кроме этого главная управляющая программа не только перед тестированием, но и динамически, т.е. непосредственно в процессе тестирования, может запускать и подключать новые программные модели, реконфигурировать или завершать работу уже подключенных программных моделей и информационно взаимодействовать со всеми аппаратными модулями через доступные программные модели.Input/output models 4 and functional models 5 are implemented as independent programs with visualization and representation of the state of their internal data and entities and can be written in any programming language, such as Java, Python, MATLAB or C/C++. They can be either controlled by the main control program in real time at any stage of testing, or have the function of autonomous control and change their states, generate events and set them in the main control program. In addition, the main control program not only before testing, but also dynamically, i.e. directly in the process of testing, it can launch and connect new software models, reconfigure or shut down already connected software models and interact with all hardware modules through available software models.

Главная управляющая программа 1, которая: Main control program 1, which:

- реализована в виде единого пользовательского интерфейса;- implemented as a single user interface;

- содержит средства управления хранением тестовых наборов и их подключений в состав комплекса на любом этапе испытаний и обеспечивающие взаимодействие с сервером хранения тестов и отчётов 3; - contains means for managing the storage of test sets and their connections to the complex at any stage of testing and providing interaction with the server for storing tests and reports 3;

- является программной средой, содержащей средства написания, редактирования и выполнения тестов, обеспечивающие задание параметров конфигурации и тестирования встроенного ПО ЭУ; - is a software environment containing tools for writing, editing and executing tests that provide configuration and testing parameters for the ED firmware;

- обеспечивает обмен информацией с моделями входных/выходных воздействий 4, функциональными моделями 5 и сервером диспетчеризации 6, установку и обработку событий и обеспечение синхронизации. - provides information exchange with models of input/output actions 4, functional models 5 and dispatch server 6, installation and processing of events and provision of synchronization.

Передача данных между главной управляющей программой 1, моделями входных/выходных воздействий 4, функциональными моделями 5 и сервером диспетчеризации 6 осуществляется при помощи пакетной передачи данных и не требует выделения отдельного общего буфера в ОЗУ.Data transfer between the main control program 1, input/output models 4, functional models 5 and dispatch server 6 is carried out using packet data transfer and does not require the allocation of a separate common buffer in RAM.

База данных 2 содержит информацию, включающую в себя параметры комплекса, информацию, необходимую для главной управляющей программы 1. БД реализуется в виде набора связанных таблиц в соответствии с определенным типом назначения и использования, с привязкой к определенным видам тестируемого встроенного ПО.Database 2 contains information, including the parameters of the complex, information necessary for the main control program 1. The database is implemented as a set of linked tables in accordance with a certain type of purpose and use, with reference to certain types of tested firmware.

Отладочное место 10 служит для возможности отладки встроенного ПО тестируемого устройства с использованием точек останова, в случае обнаружения незапланированного или некорректного выполнения программы. Также оно может служить для перепрограммирования тестируемого устройства и является опциональным компонентом схемы.Debug location 10 is used to debug the firmware of the device under test using breakpoints in case of detection of unplanned or incorrect program execution. It can also be used to reprogram the device under test and is an optional component of the circuit.

Комплекс работает следующим образом:The complex works as follows:

В БД 2 заносится основная информация по тестируемому встроенному ПО электронного устройства.DB 2 contains the basic information on the tested firmware of the electronic device.

Пользователь запускает главную управляющую программу 1. У главной управляющей программы есть два режима работы «Редактор» и «Выполнение». Режим работы выбирается оператором.The user starts the main control program 1. The main control program has two modes of operation "Editor" and "Execution". The operating mode is selected by the operator.

В режиме «Редактор» пользователь составляет тестовые последовательности, редактирует их и сохраняет на сервер хранения тестов 3 в каталог, сформированный для тестируемого встроенного ПО.In the "Editor" mode, the user composes test sequences, edits them and saves them to the test storage server 3 in the directory formed for the tested firmware.

В режиме «Выполнение» представлен инструмент для выполнения тестовых наборов. Перед началом выполнения тестовой последовательности главная управляющая программа 1 подключает необходимые модели входных/выходных воздействий 4 и функциональные модели 5 и отправляет им требуемые начальные конфигурационные настройки. В ходе тестирования в режиме реального времени возможно управление внутренним состоянием данных и сущностей моделей как из главной управляющей программы 1, так и непосредственно в моделях.The Execute mode provides a tool for executing test cases. Before starting the execution of the test sequence, the main control program 1 connects the necessary models of input / output actions 4 and functional models 5 and sends them the required initial configuration settings. During real-time testing, it is possible to manage the internal state of data and model entities both from the main control program 1 and directly in the models.

Обмен информацией между главной управляющей программой 1, программными моделями 4 и 5 с сервером диспетчеризации 6 и сервером диспетчеризации 6 с аппаратными модулями 7 осуществляется по единому протоколу обмена по распределённой сети на базе протоколов TCP/IP и UDP. Наличие сетевого взаимодействия между программными компонентами комплекса допускает запускать программные модели на одном или сразу нескольких ЭВМ.The exchange of information between the main control program 1, software models 4 and 5 with the dispatch server 6 and the dispatch server 6 with hardware modules 7 is carried out using a single exchange protocol over a distributed network based on TCP / IP and UDP protocols. The presence of network interaction between the software components of the complex allows you to run software models on one or several computers at once.

Аппаратные модули 7 принимают от сервера диспетчеризации 6 пакеты с данными, анализируют их и либо сохраняют данные в своей памяти или регистрах интерфейсов, либо отправляют данные, считанные с внутренней памяти аппаратного модуля или регистров интерфейсов. Далее в зависимости от принимаемых данных происходит либо транзакции по приборным интерфейсам между аппаратными модулями 7 и тестируемым устройством 9, либо модификация данных, отправляемых по приборным интерфейсам.Hardware modules 7 receive data packets from the dispatch server 6, analyze them and either store the data in their memory or interface registers, or send data read from the internal memory of the hardware module or interface registers. Further, depending on the received data, either transactions take place over the instrument interfaces between the hardware modules 7 and the device under test 9, or the data sent via the instrument interfaces is modified.

Главная управляющая программа 1 и каждая программная модель 4 и 5 протоколирует информацию за весь период своей работы (приём команд, сигналов, отправленные и ответные пакеты, с указанием получателя и отправителя), что позволяет на любом этапе проконтролировать, что происходило в каждой из программной модели 4 и 5 и в главной управляющей программе 1. При помощи протоколирования облегчается анализ состояния тестируемого встроенного ПО в процессе выполнения теста и оценка функционального покрытия пройденным тестом. Также по всем протоколам можно оценить эффективность выполнения тестов и при необходимости изменить конфигурацию сети или тестовый сценарий.The main control program 1 and each program model 4 and 5 log information for the entire period of its operation (reception of commands, signals, sent and response packets, indicating the recipient and sender), which allows you to control at any stage what happened in each of the program models 4 and 5 and in the main control program 1. With the help of logging, the analysis of the state of the tested firmware during the test execution and the assessment of the functional coverage of the passed test are facilitated. Also, for all protocols, you can evaluate the effectiveness of test execution and, if necessary, change the network configuration or test scenario.

Модели входных/выходных воздействий 4 и функциональные модели 5 могут работать под управлением главной управляющей программы 1 или независимо, как самостоятельные программные модели для дополнительной отработки.Models of input / output actions 4 and functional models 5 can work under the control of the main control program 1 or independently, as independent software models for additional development.

Доступные в процессе тестирования для пользователя средства визуализации тестирования представляются в виде набора графического сопровождения, которые включают: выделение цветом различных типов операций, подсветка хода выполнения тестирования, выделение операций не прохождения, выделение определенной информации, не прошедшей контроль и т.д.The testing visualization tools available to the user during the testing process are presented as a set of graphical support, which include: highlighting various types of operations, highlighting the progress of testing, highlighting operations that fail, highlighting certain information that has not passed control, etc.

С использованием данного комплекса проведено тестирование программного обеспечения вычислительного модуля блоков управления бортового комплекса управления, блоков интерфейсных бортового комплекса управления и блоков управления бортового ретрансляционного комплекса перспективных космических аппаратов АО «ИСС».Using this complex, testing of the software of the computing module of the control units of the onboard control complex, interface units of the onboard control complex and control units of the onboard relay complex of advanced spacecraft of ISS JSC was carried out.

За счёт реализации данного технического решения достигается необходимый технический результат:Due to the implementation of this technical solution, the necessary technical result is achieved:

- сокращение сроков разработки и подготовки комплекса и программных моделей осуществляется путём построения архитектуры комплекса в виде распределенной сети с использованием для взаимодействия между программными компонентами единого протокола, что позволяет разрабатывать отдельные программные компоненты на различных языках программирования (при необходимости), проводить параллельную разработку нескольких моделей и главной управляющей программы. Также при использовании разных языков программирования увеличивается скорость прототипирования отдельных моделей, либо увеличить эффективность использования модели за счёт особенностей языка программирования;- reducing the time for development and preparation of the complex and software models is carried out by building the architecture of the complex in the form of a distributed network using a single protocol for interaction between software components, which allows you to develop individual software components in different programming languages (if necessary), carry out parallel development of several models and main control program. Also, when using different programming languages, the speed of prototyping individual models increases, or to increase the efficiency of using the model due to the features of the programming language;

- повышение эффективности и облегчение тестирования встроенного программного обеспечения обеспечивается путём визуализации представления состояния данных каждой модели в виде диалоговых окон, отображения общего хода тестирования и состояния данных и сущностей в реальном времени на любом этапе выполнения тестов. Использование подходящего языка программирования под определённую задачу позволяет увеличить скорость прототипирования отдельных моделей, либо увеличить эффективность использования модели за счёт особенностей языка программирования;- Increasing the efficiency and facilitating testing of embedded software is provided by visualizing the presentation of the data state of each model in the form of dialog boxes, displaying the general progress of testing and the state of data and entities in real time at any stage of test execution. The use of a suitable programming language for a specific task allows you to increase the speed of prototyping individual models, or increase the efficiency of using the model due to the features of the programming language;

- повышение полноты тестирования достигается за счет использования средств синхронизации процесса испытаний;- increasing the completeness of testing is achieved through the use of means for synchronizing the testing process;

- повышение качества тестирования и надежности тестируемого программного обеспечения обеспечивается за счет своевременной реакции и контроля со стороны комплекса на события от тестируемого программного обеспечения и динамического воздействия на вычислительный процесс тестируемого программного обеспечения с имитацией нештатных ситуаций для подтверждения его сбое устойчивости путём переноса функции приёма и передачи пакетов для электронного устройства непосредственно в аппаратные модули.- improving the quality of testing and reliability of the software under test is ensured by timely reaction and control by the complex to events from the software under test and dynamic impact on the computational process of the software under test with imitation of emergency situations to confirm its stability failure by transferring the function of receiving and transmitting packets for an electronic device directly into the hardware modules.

Claims (1)

Комплекс тестирования встроенного программного обеспечения электронных устройств, выполненный с возможностью тестирования программного обеспечения, составления тестовых сценариев, с сохранением их в базе данных в качестве эталонных, формирования базы тестов, получения фактических значений, который включает программную среду, содержащую средства написания, редактирования и выполнения тестов, визуализации данных и сущностей в процессе тестирования, хранения тестовых наборов и подключения их в состав комплекса на любом этапе тестирования, динамической реконфигурации и управления в любой момент времени программным комплексом и его компонентами, динамически подключаемые модели функциональных устройств, базу данных хранения представлений данных и сущностей, отличающийся тем, что комплекс включает программную часть, состоящую из главной управляющей программы, которая является средой написания и выполнения тестовых сценариев, сервера диспетчеризации, осуществляющего взаимодействие программной части комплекса с аппаратной, динамически подключаемых моделей входных/выходных воздействий и функциональных моделей, реализованных в виде независимых программ, которые могут быть запущены, в том числе на разных ЭВМ, со своими средствами визуализации и представления состояния их внутренних данных сущностей и вызываемых главной управляющей программой или как самостоятельные программные модели, а также аппаратную часть, состоящую из аппаратных модулей, имеющих единый интерфейс взаимодействия с сервером диспетчеризации и реализующих различные приборные интерфейсы.Complex for testing the embedded software of electronic devices, made with the possibility of testing software, compiling test scenarios, saving them in the database as reference ones, forming a test database, obtaining actual values, which includes a software environment containing tools for writing, editing and executing tests , visualization of data and entities in the process of testing, storage of test sets and their connection to the complex at any stage of testing, dynamic reconfiguration and management at any time by the software package and its components, dynamically connected models of functional devices, a database for storing data representations and entities , which is characterized by the complex includes a software part consisting of the main control program, which is an environment for writing and executing test scripts, a dispatch server that interacts with the software part of the complex with the hardware, dynamically connected models of input / output actions and functional models implemented as independent programs that can be launched, including on different computers, with their own means of visualizing and presenting the state of their internal data of entities and called by the main control program or as independent software models, as well as a hardware part consisting of hardware modules that have a single interface for interacting with the dispatch server and implementing various instrument interfaces.
RU2022101435A 2022-01-24 Complex for testing embedded software of electronic devices RU2783906C1 (en)

Publications (1)

Publication Number Publication Date
RU2783906C1 true RU2783906C1 (en) 2022-11-21

Family

ID=

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2013126869A (en) * 2013-06-13 2014-12-20 Закрытое акционерное общество "Центр финансовых технологий" METHOD AND SYSTEM OF AUTOMATION OF TESTING SOFTWARE
CN105183630A (en) * 2014-06-05 2015-12-23 腾讯科技(深圳)有限公司 Method and device for testing application program
DE102017215946A1 (en) * 2016-11-10 2018-05-17 Omron Corporation TEST SYSTEM, PROGRAM AND CONTROL PROCEDURE FOR TEST DEVICE
RU2678717C9 (en) * 2017-11-09 2019-04-12 Российская Федерация, от имени которой выступает Государственная корпорация по космической деятельности "РОСКОСМОС" Method for building a software system for automating and visualizing testing of embedded software for electronic devices
RU2715025C2 (en) * 2018-04-19 2020-02-21 Акционерное общество "Лаборатория Касперского" Method for automated testing of software and hardware systems and complexes
RU2729210C1 (en) * 2020-01-28 2020-08-05 Акционерное общество «Информационные спутниковые системы» имени академика М.Ф. Решетнёва» Electronic devices software testing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2013126869A (en) * 2013-06-13 2014-12-20 Закрытое акционерное общество "Центр финансовых технологий" METHOD AND SYSTEM OF AUTOMATION OF TESTING SOFTWARE
CN105183630A (en) * 2014-06-05 2015-12-23 腾讯科技(深圳)有限公司 Method and device for testing application program
DE102017215946A1 (en) * 2016-11-10 2018-05-17 Omron Corporation TEST SYSTEM, PROGRAM AND CONTROL PROCEDURE FOR TEST DEVICE
RU2678717C9 (en) * 2017-11-09 2019-04-12 Российская Федерация, от имени которой выступает Государственная корпорация по космической деятельности "РОСКОСМОС" Method for building a software system for automating and visualizing testing of embedded software for electronic devices
RU2715025C2 (en) * 2018-04-19 2020-02-21 Акционерное общество "Лаборатория Касперского" Method for automated testing of software and hardware systems and complexes
RU2729210C1 (en) * 2020-01-28 2020-08-05 Акционерное общество «Информационные спутниковые системы» имени академика М.Ф. Решетнёва» Electronic devices software testing system

Similar Documents

Publication Publication Date Title
US10949242B2 (en) Development of embedded type devices and running method for embedded type virtual device and system
CN101833498B (en) Automatic detection system of embedded type system based on testing script technique
CN103235756B (en) A kind of emulation test method of embedded system subregion application software
CN105137807B (en) General digital Star Service emulation platform
Krichen A formal framework for black-box conformance testing of distributed real-time systems
CN108460199B (en) CNI modeling system
CN110262279A (en) Control system and control method
RU2678717C1 (en) Method for building a software system for automating and visualizing testing of embedded software for electronic devices
CN107678958A (en) A kind of method of testing for comprehensive parameters display system software
WO2011149555A1 (en) Message-based model verification
US7873498B2 (en) Remote hardware inspection system and method
CN103425055A (en) Semi-virtual functional test device and method for control system
RU2783906C1 (en) Complex for testing embedded software of electronic devices
RU2729210C1 (en) Electronic devices software testing system
Altmeyer et al. Using CPAL to model and validate the timing behaviour of embedded systems
CN112506772B (en) Web automatic test method, device, electronic equipment and storage medium
Rover et al. Software tools for complex distributed systems: Toward integrated tool environments
RU2817186C1 (en) System for confirming tests and testing embedded software of electronic devices
Sastry et al. TESTING DISTRIBUTED EMBEDDED SYSTEMS THROUGH INSTRUCTION SET SIMULATORS
US11611500B2 (en) Automated network analysis using a sensor
Roundy et al. The Power of an Automated Test Framework
CN114189534A (en) Design method of device interaction software simulation program in Internet of things system
Ding et al. SysML Flow Model
Naveri et al. Instructor station for apros based Loviisa NPP training simulator
Golemi et al. Role of SysML in Integrating an Interdisciplinary Team