RU2817185C1 - Method of confirming tests of embedded software of electronic devices - Google Patents

Method of confirming tests of embedded software of electronic devices Download PDF

Info

Publication number
RU2817185C1
RU2817185C1 RU2023125299A RU2023125299A RU2817185C1 RU 2817185 C1 RU2817185 C1 RU 2817185C1 RU 2023125299 A RU2023125299 A RU 2023125299A RU 2023125299 A RU2023125299 A RU 2023125299A RU 2817185 C1 RU2817185 C1 RU 2817185C1
Authority
RU
Russia
Prior art keywords
test
error
software
electronic device
data
Prior art date
Application number
RU2023125299A
Other languages
Russian (ru)
Inventor
Виктор Викторович Прудков
Original Assignee
Акционерное общество "Информационные спутниковые системы" имени академика М.Ф. Решетнёва"
Filing date
Publication date
Application filed by Акционерное общество "Информационные спутниковые системы" имени академика М.Ф. Решетнёва" filed Critical Акционерное общество "Информационные спутниковые системы" имени академика М.Ф. Решетнёва"
Application granted granted Critical
Publication of RU2817185C1 publication Critical patent/RU2817185C1/en

Links

Abstract

FIELD: computer engineering.
SUBSTANCE: invention relates to computer engineering. When writing each functional test, the number of controlled points is determined and the test is checked using the tested software of the electronic device, i.e. triggering each control point in the test by simulating an error in data from the software of the electronic device. Error is simulated by reading data from the tested software of the electronic device and substituting data therein. When performing data substitution, during the test, the control equipment performs rewriting of data from the tested software of the electronic device in its own random access memory in accordance with the specified error, thus, detection of error in test control point is worked out. If an error is detected by a control point, the next control point of this test is checked, by imitating a new error in the software data of the electronic device, and upon completion of the test, the next functional test is written.
EFFECT: high reliability of the electronic device due to high reliability and quality of testing its software.
1 cl, 2 dwg

Description

Изобретение относится к вычислительной технике, а именно к способу подтверждения тестов встроенного программного обеспечения электронных устройств.The invention relates to computer technology, namely to a method for confirming tests of embedded software of electronic devices.

Известно изобретение «Способ обработки объема данных, используемого во время фазы отладки функционального программного обеспечения системы, установленной на борту летательного аппарата, и устройство для его осуществления» (Патент RU 2451990 C2), в соответствии с которым способ включает следующие этапы: а) разбивка пути выполнения указанной рабочей программы на функциональные интервалы путем установки путевых точек в каждой функции программы; b) установка контрольных точек, связанных с каждой путевой точкой; с) нормальное выполнение программы, при котором осуществляют: запись в память состояния выполнения программы в месте каждой путевой точки; при этом запись в память состояния выполнения приводит к стиранию состояния выполнения, ранее записанного для указанной путевой точки; при обнаружении ошибки осуществляют: поиск путевой точки, соответствующей нарушенной функции; поиск исходного состояния выполнения программы; восстановление этого исходного состояния выполнения; исправление ошибки в нарушенной функции и повторное выполнение программы.The invention is known: “A method for processing the amount of data used during the debugging phase of the functional software of a system installed on board an aircraft, and a device for its implementation” (Patent RU 2451990 C2), according to which the method includes the following stages: a) path breakdown executing the specified work program at functional intervals by setting waypoints in each program function; b) establishing control points associated with each waypoint; c) normal program execution, which involves: recording the program execution state at the location of each waypoint; wherein writing the execution state to memory causes the execution state previously recorded for the specified waypoint to be erased; when an error is detected, the following is carried out: search for a waypoint corresponding to the disrupted function; search for the initial state of program execution; restoring this original execution state; correcting the error in the broken function and re-executing the program.

В качестве тестового интервала используется путь от метки до метки, который и определяет функциональный интервал программного обеспечения. Такую разметку может осуществить только программист, знающий реализацию программного обеспечения на уровне белого ящика. Знание реализации может снизить достоверность тестирования, не позволяя объективно протестировать функциональное требование в независимости от того как оно реализовано.The path from label to label is used as a test interval, which determines the functional interval of the software. Such markup can only be done by a programmer who knows the white-box implementation of the software. Knowledge of the implementation can reduce the validity of testing by preventing objective testing of a functional requirement, regardless of how it is implemented.

Для повышения достоверности тестирования лучше привлечь специалиста, знающего требования на программное обеспечение, и не имеющего полного представления о его реализации. В качестве такого специалиста можно выбрать разработчика требований к программному обеспечению, который воспринимает программное обеспечение на уровне требований к нему, без учета реализации. В таком случае в качестве функциональных интервалов будут использоваться именно требования, для проверки которых необходимо написать отдельные тесты с установкой в них контрольных точек обнаружения ошибок. Таким образом, данное тестирование будет проводиться по методу серого ящика.To increase the reliability of testing, it is better to involve a specialist who knows the requirements for the software and does not have a complete understanding of its implementation. As such a specialist, you can choose a software requirements developer who perceives software at the level of requirements for it, without taking into account the implementation. In this case, the requirements will be used as functional intervals, for testing of which it is necessary to write separate tests with error detection checkpoints installed in them. Thus, this testing will be carried out using a gray box method.

Существенное значение имеет качество написанных тестов, которые до тестирования с нормальным выполнением программного обеспечения необходимо проверить и подтвердить. В противном случае возможны ситуации, когда тест не обнаруживает ошибку, и она в последствие приводит к нештатным ситуациям в работе электронного устройства и системы, в которой оно установлено. Выявление и устранение подобной ошибки увеличит время испытаний, за счет повторения пройденных этапов. Таким образом, чтобы можно было говорить о достоверности тестирования необходимо, не просто произвести расстановку контрольных точек, но и проверить их работоспособность, т.е. отработать тесты.The quality of the written tests is essential and must be verified and validated before testing with normal software execution. Otherwise, situations are possible when the test does not detect an error, and it subsequently leads to abnormal situations in the operation of the electronic device and the system in which it is installed. Identifying and eliminating such an error will increase the test time by repeating the completed stages. Thus, in order to be able to talk about the reliability of testing, it is necessary not only to arrange control points, but also to check their performance, i.e. run tests.

Отработка тестов на обнаружение ошибок обеспечивает унитарное тестирование программного обеспечения электронного устройства, а, значит, исключает подобные возможные ошибки еще до тестирования с нормальным выполнением программного обеспечения, а, следовательно, обеспечивает сокращение времени испытаний.Testing for error detection ensures unitary testing of the software of an electronic device, and therefore eliminates such possible errors even before testing with normal software execution, and, therefore, reduces test time.

Известно изобретение «Способ функционального тестирования программного обеспечения электронных устройств» (Патент RU 2780458 C1), в котором для использования полностью достоверных тестов при их разработке проводится подтверждение на обнаружение ошибок с использованием программного обеспечения электронного устройства. Она проводиться путем имитации ошибки через технологический канал обмена электронного устройства и подтверждения выявления введенной ошибки контрольными точками тестов. Введение ошибки в программное обеспечение может нарушить ход его выполнения и повлиять на результаты следующих тестов, поэтому для исключения подобных ситуаций необходимы дополнительные алгоритмы парирования введенных ошибок, после проверки теста, для которого они вводились. Это накладывает дополнительную трудоемкость.The invention “Method for functional testing of software of electronic devices” (Patent RU 2780458 C1) is known, in which, in order to use completely reliable tests during their development, confirmation of error detection is carried out using the software of an electronic device. It is carried out by simulating an error through the technological exchange channel of an electronic device and confirming the detection of the introduced error by test control points. Introducing an error into the software can disrupt its execution and affect the results of subsequent tests, therefore, to eliminate such situations, additional algorithms for parrying introduced errors are required after checking the test for which they were introduced. This imposes additional labor intensity.

К недостаткам данного изобретения можно отнести:The disadvantages of this invention include:

- возможное нарушение вычислительного процесса электронного устройства или его непредсказуемое поведение, за счет внесения ошибки в программное обеспечение при отработке тестов.- possible disruption of the computing process of an electronic device or its unpredictable behavior due to the introduction of an error into the software during testing.

- внесенную ошибку для проверки одной контрольной точки, необходимо исключать для проведения контроля других контрольных точек, что накладывает дополнительные затраты, которые могут быть связаны с устранением внесенной ошибки путем перезапуска вычислительного процесса или выполнения дополнительного алгоритма парирования данной ошибки;- an error introduced to check one control point must be excluded to control other control points, which imposes additional costs that may be associated with eliminating the introduced error by restarting the computing process or performing an additional algorithm for parrying this error;

- при неполном устранении внесенной ошибки для одной контрольной точки, возможно ее влияние при проверке других контрольных точек.- if the introduced error for one control point is not completely eliminated, it may influence it when checking other control points.

Недостатки данного изобретения могут быть устранены путем исключения ввода ошибки в программное обеспечение электронного устройства, а имитации ее на аппаратуре контроля, путем подмены данных, считываемых от программного обеспечения электронного устройства, что позволит не нарушать вычислительный процесс программного обеспечения электронного устройства и обеспечить полноценную отработку тестов.The disadvantages of this invention can be eliminated by eliminating the introduction of an error into the software of the electronic device, and simulating it on the control equipment, by replacing the data read from the software of the electronic device, which will not disrupt the computing process of the software of the electronic device and ensure full testing.

Изобретение «Способ функционального тестирования программного обеспечения электронных устройств» (патент RU 2780458 C1) выбрано в качестве прототипа.The invention “Method for functional testing of software of electronic devices” (patent RU 2780458 C1) was selected as a prototype.

Для заявленного изобретения выявлены следующие общие с прототипом существенные признаки: способ подтверждения тестов встроенного программного обеспечения электронных устройств, заключающийся в том, что один тест проверяет один функциональный блок и для каждого теста устанавливают не менее одной контрольной точки; вводят ошибку и выполняют тест; проверяют срабатывание контрольной точки теста путем его выполнения с использованием тестируемого программного обеспечения; при обнаружении ошибки контрольной точкой переходят к проверке следующей контрольной точки данного теста, путем ввода новой ошибки; в случае не выявления контрольной точкой введенной ошибки, в тесте проводят корректировку логики выявления ошибки в контрольной точке и повторяют проверку до тех пор, пока контрольная точка не будет выявлять ошибку; после проверки всех контрольных точек очередного теста выполняется проверка контрольных точек следующего теста и так далее для всех тестов.For the claimed invention, the following essential features in common with the prototype have been identified: a method for confirming tests of embedded software of electronic devices, which consists in the fact that one test checks one functional block and for each test at least one check point is established; introduce an error and run the test; checking the test checkpoint by executing it using the software under test; when an error is detected by a checkpoint, they proceed to checking the next checkpoint of this test by entering a new error; if the checkpoint does not detect the introduced error, the test adjusts the error detection logic at the checkpoint and repeats the test until the checkpoint detects the error; after checking all the control points of the next test, the control points of the next test are checked, and so on for all tests.

Технической проблемой является повышение надежности работы электронного устройства за счет повышения надежности и качества тестирования его программного обеспечения.The technical problem is to increase the reliability of an electronic device by increasing the reliability and quality of testing of its software.

Техническая проблема решается за счет того, что подтверждение тестов осуществляется путем имитации ошибки в данных от программного обеспечения электронного устройства для проверки каждой контрольной точки. Имитация ошибки осуществляется путем чтения данных от тестируемого программного обеспечения электронного устройства и подмены данных в них. При выполнении подмены данных, в ходе выполнения теста, аппаратура контроля выполняет перезапись данных от тестируемого программного обеспечения электронного устройства в собственной оперативной памяти в соответствии с заданной ошибкой, тем самым отрабатывается выявление ошибки в контрольной точке теста.The technical problem is solved by validating the tests by simulating an error in the data from the electronic device software to verify each test point. An error is simulated by reading data from the electronic device software under test and replacing the data in it. When performing data substitution, during the test, the monitoring equipment rewrites the data from the electronic device software under test in its own RAM in accordance with the specified error, thereby identifying the error at the test checkpoint.

Подмена данных от программного обеспечения электронного устройства для подтверждения тестов позволяет повысить надежность тестирования за счет того, что отработка тестов происходит без нарушения вычислительного процесса программного обеспечения электронного устройства (отсутствует реальное внесение ошибки) и повысить качество тестирования за счет гарантированной отработки контрольных точек тестов с исключением влияния отработки каждой на остальные, что в итоге повысит общую надежность работы электронного устройства.Substitution of data from the software of an electronic device to confirm tests allows you to increase the reliability of testing due to the fact that testing occurs without disrupting the computing process of the software of the electronic device (there is no real introduction of errors) and improves the quality of testing due to guaranteed testing of test checkpoints with the exception of influence working out each on the others, which will ultimately increase the overall reliability of the electronic device.

Для реализации предлагаемого способа используется комплекс тестирования, содержащий аппаратуру контроля 1 и электронное устройство 2, представленный на фиг. 1.To implement the proposed method, a testing complex is used, containing control equipment 1 and electronic device 2, shown in Fig. 1.

Аппаратура контроля 1 содержит среду разработки и выполнения тестов 1.1, средства прямого доступа в память 1.2, имитаторы внешних устройств 1.3, аппаратные модули обмена 1.4.Control equipment 1 contains an environment for developing and executing tests 1.1, means of direct memory access 1.2, simulators of external devices 1.3, hardware exchange modules 1.4.

Среда разработки и выполнения тестов 1.1 реализуется в виде единого пользовательского интерфейса и позволяет разрабатывать тесты. Тесты содержат последовательность операций управления вычислительным устройством и установку контрольных точек. В качестве контрольных точек могут выступать операции контроля определенных данных (появление телеметрического признака в словах данных, формирования флага срабатывания по условию или определенного значения математического преобразования и др.), регистрации срабатывания какого либо события в программном обеспечении электронного устройства (выдача определенной команды управления на имитатор, изменение состояния параметра телеметрической информации и др.), подсчета времени выполнения функциональных блоков или времени между событиями и т.д.The test development and execution environment 1.1 is implemented as a single user interface and allows you to develop tests. The tests contain a sequence of operations to control a computing device and set control points. Control points can be operations of monitoring certain data (the appearance of a telemetric sign in data words, the formation of a trigger flag according to a condition or a certain value of a mathematical transformation, etc.), registration of the triggering of an event in the software of an electronic device (issuing a certain control command to the simulator , changing the state of a telemetry information parameter, etc.), calculating the execution time of functional blocks or the time between events, etc.

Средства прямого доступа в память 1.2 представляют собой средства, реализующие протокол обмена по диагностическому (технологическому) каналу обмена 3 и осуществляющие прямой доступ в память в электронное устройство 2. Прямой доступ в память электронного устройства 2 позволяет модифицировать данные в нем и выполнять его перепрограммирование программным обеспечением электронного устройства.Direct memory access tools 1.2 are tools that implement an exchange protocol over the diagnostic (technological) exchange channel 3 and provide direct memory access to an electronic device 2. Direct access to the memory of an electronic device 2 allows you to modify the data in it and perform its reprogramming by software electronic device.

Модели функциональных устройств включают модули обмена 1.4, моделирующие логику работы штатных каналов обмена 4 и имитаторы внешних устройств 1.3, моделирующие работу внешних устройств электронного устройства.Models of functional devices include exchange modules 1.4, which simulate the logic of operation of standard exchange channels 4, and simulators of external devices 1.3, which simulate the operation of external devices of an electronic device.

Электронное устройство 2 подключается к модулям обмена 1.4 аппаратуры контроля 1 по штатным каналам обмена 4 и к средствам прямого доступа в память 1.2 аппаратуры контроля 1 по диагностическому (технологическому) каналу обмена 3. В электронное устройство 2 по диагностическому (технологическому) каналу обмена 3 запрограммировано программное обеспечение, для которого будет осуществляться тестирование.Electronic device 2 is connected to exchange modules 1.4 of control equipment 1 via standard exchange channels 4 and to means of direct access to memory 1.2 of control equipment 1 via diagnostic (technological) exchange channel 3. Software is programmed into electronic device 2 via diagnostic (technological) exchange channel 3 software for which testing will be carried out.

Программное обеспечение электронного устройства разрабатывается на основе документа требований. В нем описываются все требования заказчика к разрабатываемому программному обеспечению электронного устройства. В качестве такого документа может выступать спецификация, техническое задание и др.The electronic device software is developed based on the requirements document. It describes all the customer’s requirements for the software being developed for the electronic device. Such a document can be a specification, technical assignment, etc.

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

Реализация способа представлена на фиг. 2.The implementation of the method is shown in Fig. 2.

Тестировщик на основе документа требований на программное обеспечение электронного устройства, проводит разбивку программного обеспечения электронного устройства на функциональные блоки. В качестве таких функциональных блоков могут выступать как отдельные требования к программному обеспечению электронного устройства, так и их совокупность, связанных между собой общей частью, если они предъявляются для выполнения одной и той же функции.The tester, based on the requirements document for the software of the electronic device, breaks down the software of the electronic device into functional blocks. Such functional blocks can be either individual requirements for the software of an electronic device or a combination of them, interconnected by a common part, if they are presented to perform the same function.

Пример функции как единичного требования: обеспечение определенного времени между управляющими командами во внешние устройства, включение телеметрического параметра по конкретной команде в программном обеспечении электронного устройства и т.д.An example of a function as a single requirement: providing a certain time between control commands to external devices, enabling a telemetry parameter for a specific command in the software of an electronic device, etc.

Пример функции как множественности требований - выдача управляющей команды во внешнее устройство (включает в себя: выдача команды от аппаратуры контроля, формирование квитанции для аппаратуры контроля через определенное время, выдача управляющей команды в имитатор внешнего устройства и контроль телеметрической информации аппаратурой контроля о статусе выдачи команды во внешнее устройство) и др.An example of a function as a multiplicity of requirements is issuing a control command to an external device (includes: issuing a command from control equipment, generating a receipt for control equipment after a certain time, issuing a control command to an external device simulator and monitoring telemetric information by control equipment about the status of issuing a command during external device), etc.

После разбивки программного обеспечения электронного устройства на функциональные блоки тестировщик в среде разработки и выполнения тестов формирует функциональные тесты с установкой, как минимум, одной контрольной точки для каждого теста. Контрольной точкой может являться единичная операция или набор операций, предназначенных для контроля состояния данных или массивов, характеризующих работу проверяемой функции тестируемого программного обеспечения.After dividing the electronic device software into functional blocks, the tester, in the test development and execution environment, creates functional tests with the installation of at least one checkpoint for each test. A checkpoint can be a single operation or a set of operations designed to monitor the state of data or arrays that characterize the operation of the tested function of the software under test.

Подтверждение тестов заключается в отработке гарантированного срабатывания контрольных точек всех тестов.Confirmation of tests consists of working out the guaranteed operation of checkpoints of all tests.

Для подтверждения тестов тестировщик на аппаратуре контроля в тесте до контрольной точки запрашивает данные от программного обеспечения электронного устройства, задает данные подмены в считанных данных от программного обеспечения электронного устройства для проверки срабатывания контрольной точки. Тестировщик выполняет тест с проходом контрольной точки. При выполнении подмены данных, в ходе выполнения теста, аппаратура контроля выполняет перезапись данных от тестируемого программного обеспечения электронного устройства в собственной оперативной памяти в соответствии с заданной ошибкой. В случае не обнаружения ошибки контрольной точкой она корректируется (для нее вводятся уточненные данные или параметры контроля) и опять проверяется ее срабатывание и так до тех пор, пока она не будет выявлять введенную ошибку. В случае обнаружения ошибки контрольной точкой проверяется следующая контрольная точка в тесте аналогичным образом. После проверки всех контрольных точек в тесте тестировщик переходит к следующему тесту и проверяет аналогично его контрольные точки и так до тех пор, пока для всех тестов контрольные точки не будут проверены.To confirm the tests, the tester on the control equipment in the test before the control point requests data from the electronic device software, sets substitution data in the read data from the electronic device software to check the operation of the control point. The tester performs a checkpoint test. When performing data substitution, during the test, the monitoring equipment rewrites data from the software of the electronic device under test in its own RAM in accordance with the specified error. If an error is not detected by the control point, it is corrected (updated data or control parameters are entered for it) and its operation is checked again, and so on until it detects the entered error. If an error is detected by a test point, the next test point in the test is checked in the same way. After checking all the control points in the test, the tester moves on to the next test and checks its control points in the same way, and so on until the control points for all tests are checked.

Таким образом, в ходе подтверждения тестов условия проверки контрольных точек являются инверсными, то есть прохождение контрольной точки является успешным, когда недостоверные данные обнаружены, и выполнение тестов продолжается. После подтверждения тестов выполняется тестирование с нормальным выполнением программного обеспечения электронного устройства.Thus, during test validation, the checkpointing conditions are inverse, that is, the checkpoint is successful when invalid data is detected and test execution continues. Once the tests are confirmed, testing is performed with the electronic device software running normally.

При тестировании с нормальным выполнением программного обеспечения электронного устройства, операции подмены данных в тестах не выполняются и условия проверки контрольных точек являются нормальными, т.е. тесты выполняются штатно. В этом режиме прохождение контрольной точки говорит о том, что данные проверяемой функции программного обеспечения в норме. Остановка хода выполнения тестов в контрольной точке говорит о наличии ошибки в контролируемых данных, полученных от тестируемого программного обеспечения электронного устройства.When testing with normal execution of electronic device software, data substitution operations in tests are not performed and the conditions for checking control points are normal, i.e. tests are performed normally. In this mode, passing the test point indicates that the data of the software function being tested is normal. Stopping the progress of tests at a checkpoint indicates the presence of an error in the controlled data received from the electronic device software under test.

Выполнение подтверждения тестов позволяет гарантировать выявление ошибок в программном обеспечении электронного устройства при его тестировании с нормальным выполнением, за счет отработанного срабатывания контрольных точек в тестах.Performing test confirmation allows you to guarantee the detection of errors in the software of an electronic device when testing it with normal execution, due to the practiced operation of control points in the tests.

Способ был опробован на многофункциональном рабочем месте наземного отладочного комплекса программного обеспечения приборов управления, который выполнен в стандарте PXI, состоящим из:The method was tested on a multifunctional workstation of a ground-based debugging complex for control instrument software, which is made in the PXI standard, consisting of:

- вычислительного модуля с программным обеспечением выступающего в качестве электронного устройства;- a computing module with software acting as an electronic device;

- аппаратуры контроля на базе крейта NI PXI-1045 с контроллером шины PXI-8110:- monitoring equipment based on the NI PXI-1045 crate with a PXI-8110 bus controller:

- среды разработки и выполнения тестов, выполняющей управление аппаратными компонентами аппаратуры контроля;- test development and execution environment that manages the hardware components of the control equipment;

- модели функциональных устройств разработанные на базе модулей обмена (фирмы National Instruments), таких как PXI-C1553M-EF-4 (модуль МКО), PXI-8431/4(модуль RS-485/422), PXI-7813R (модуль цифрового ввода-вывода с ПЛИС) и др., моделирующих логику работы штатных каналов обмена и моделирующих логику работы функциональных устройств;- models of functional devices developed on the basis of exchange modules (from National Instruments), such as PXI-C1553M-EF-4 (MKO module), PXI-8431/4 (RS-485/422 module), PXI-7813R (digital input module - output from FPGA) etc., modeling the logic of operation of standard exchange channels and modeling the logic of operation of functional devices;

- средства доступа по диагностическому (технологическому) каналу обмена.- means of access via the diagnostic (technological) exchange channel.

С использованием данного способа проведено тестирование встроенного программного обеспечения вычислительного устройства блоков управления и блоков интерфейсных бортового комплекса управления современных и перспективных космических аппаратов производства АО «ИСС».Using this method, testing of the built-in software of the computing device of control units and interface blocks of the on-board control complex of modern and promising spacecraft produced by ISS JSC was carried out.

Реализация данного технического решения позволяет получить необходимый технический результат:The implementation of this technical solution allows you to obtain the necessary technical result:

- повышение надежности тестирования за счет того, что отработка тестов происходит без нарушения вычислительного процесса программного обеспечения электронного устройства;- increasing the reliability of testing due to the fact that testing occurs without disrupting the computing process of the electronic device software;

- повышение качества тестирования за счет гарантированной отработки контрольных точек тестов, и исключения влияния отработки каждой на остальные.- improving the quality of testing due to guaranteed testing of test checkpoints, and eliminating the influence of testing each on the others.

Из известных заявителю патентно-информационных материалов не обнаружены признаки, сходные с совокупностью признаков заявляемого способа.From the patent information materials known to the applicant, no features similar to the set of features of the proposed method were found.

Claims (1)

Способ подтверждения тестов встроенного программного обеспечения электронных устройств, заключающийся в том, что один тест проверяет один функциональный блок и для каждого теста устанавливают не менее одной контрольной точки; вводят ошибку и выполняют тест; проверяют срабатывание контрольной точки теста путем его выполнения с использованием тестируемого программного обеспечения; при обнаружении ошибки контрольной точкой переходят к проверке следующей контрольной точки данного теста, путем ввода новой ошибки; в случае невыявления контрольной точкой введенной ошибки, в тесте проводят корректировку логики выявления ошибки в контрольной точке и повторяют проверку до тех пор, пока контрольная точка не будет выявлять ошибку; после проверки всех контрольных точек очередного теста выполняется проверка контрольных точек следующего теста и так далее для всех тестов, отличающийся тем, что до ввода ошибки в тест выполняют чтение данных от тестируемого программного обеспечения электронного устройства; на этапе ввода ошибки осуществляется подмена данных в считанных данных от тестируемого программного обеспечения электронного устройства; в ходе выполнения теста, при выполнении подмены данных, аппаратура контроля выполняет перезапись данных от тестируемого программного обеспечения электронного устройства в собственной оперативной памяти в соответствии с заданной ошибкой.A method for confirming tests of embedded software of electronic devices, which consists in the fact that one test checks one functional block and for each test at least one test point is set; introduce an error and run the test; checking the test checkpoint by executing it using the software under test; when an error is detected by a checkpoint, they proceed to checking the next checkpoint of this test by entering a new error; if the checkpoint does not detect the introduced error, the test adjusts the error detection logic at the checkpoint and repeats the test until the checkpoint detects the error; after checking all the checkpoints of the next test, the checkpoints of the next test are checked, and so on for all tests, characterized in that before an error is introduced into the test, data is read from the software of the electronic device under test; at the error entry stage, data is replaced in the read data from the electronic device software under test; During the test, when performing data substitution, the monitoring equipment rewrites data from the electronic device software under test in its own RAM in accordance with the specified error.
RU2023125299A 2023-10-03 Method of confirming tests of embedded software of electronic devices RU2817185C1 (en)

Publications (1)

Publication Number Publication Date
RU2817185C1 true RU2817185C1 (en) 2024-04-11

Family

ID=

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050028146A1 (en) * 2003-08-01 2005-02-03 Quick Shawn G. Systems and methods for software and firmware testing using checkpoint signatures
US20110307860A1 (en) * 2010-06-09 2011-12-15 Hong Seong Park Simulation-based interface testing automation system and method for robot software components
US10528689B1 (en) * 2016-11-29 2020-01-07 Cadence Design Systems, Inc. Verification process for IJTAG based test pattern migration
RU2780458C1 (en) * 2021-06-30 2022-09-23 Акционерное общество «Информационные спутниковые системы» имени академика М.Ф. Решетнёва» Method for functional testing of software of electronic apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050028146A1 (en) * 2003-08-01 2005-02-03 Quick Shawn G. Systems and methods for software and firmware testing using checkpoint signatures
US20110307860A1 (en) * 2010-06-09 2011-12-15 Hong Seong Park Simulation-based interface testing automation system and method for robot software components
US10528689B1 (en) * 2016-11-29 2020-01-07 Cadence Design Systems, Inc. Verification process for IJTAG based test pattern migration
RU2780458C1 (en) * 2021-06-30 2022-09-23 Акционерное общество «Информационные спутниковые системы» имени академика М.Ф. Решетнёва» Method for functional testing of software of electronic apparatus
RU2802712C1 (en) * 2023-01-11 2023-08-31 Акционерное общество "Информационные спутниковые системы" имени академика М.Ф. Решетнёва" Method for diagnostics of complex of testing built-in software of electronic devices

Similar Documents

Publication Publication Date Title
US6332201B1 (en) Test results checking via predictive-reactive emulation
US7434184B2 (en) Method for detecting flaws in a functional verification plan
US7373550B2 (en) Generation of a computer program to test for correct operation of a data processing apparatus
RU2451990C2 (en) Method for processing volume of information used during debugging phase of operational system software onboard aircraft and device for realising said method
CN105512372B (en) The data processing onboard emulation test method of modelling
RU2817185C1 (en) Method of confirming tests of embedded software of electronic devices
CN113127331B (en) Test method and device based on fault injection and computer equipment
US10546080B1 (en) Method and system for identifying potential causes of failure in simulation runs using machine learning
Thomas The industrial use of formal methods
CN116069635A (en) SOC system testing method and device, computer equipment and storage medium
US8560987B2 (en) Test functionality integrity verification for integrated circuit design
RU2780458C1 (en) Method for functional testing of software of electronic apparatus
RU2817184C1 (en) Method of testing software of embedded control systems
Guerrero-Balaguera et al. Evaluating the impact of Permanent Faults in a GPU running a Deep Neural Network
Coulter Graybox software testing methodology: embedded software testing technique
US20050188275A1 (en) Systems and methods for error tracking and recovery in an expectation-based memory agent checker
Zhu Integrating software behavior into dynamic probabilistic risk assessment
Ferrante et al. A methodology for formal requirements validation and automatic test generation and application to aerospace systems
CN117313650B (en) Chip test verification method and application device thereof
Rexhepi et al. Software testing techniques and principles
RU2793750C1 (en) Method to confirm reused software requirements during change management
RU2744438C1 (en) System and method for forming optimal set of tests for identifying software bugs
CN108733502A (en) Method for the wrong identification in operating system
Ozmen et al. Simulation-based testing for instrumentation and control systems
CN112115010B (en) Simulation test method of self-service equipment, intelligent terminal and storage medium