Unlock instant, AI-driven research and patent intelligence for your innovation.

Embedded Software Test Data Acquisition Method in Target Machine

A technology for embedded software and test data, applied in software testing/debugging, electrical digital data processing, error detection/correction, etc. The authoritative and accurate test results can reduce the probability of human error, meet airworthiness requirements, and improve confidence.

Active Publication Date: 2021-07-16
XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Currently in the field of embedded testing, except for a very small number of embedded software containing operating systems that have file systems, the rest of the software under test has no file system support. Therefore, when performing test scripts or test program execution results and source code It is difficult to obtain coverage data. At present, the commonly used method of obtaining execution results is manual recording. After observing the test results and source code coverage data through the printout information of the tested part, the test engineer manually records the test results and data. Due to possible errors in manual records, the test results and source code coverage confidence are not high, which affects the authority and accuracy of test results

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Embedded Software Test Data Acquisition Method in Target Machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention will be described in detail below in conjunction with the accompanying drawings.

[0020] A method for acquiring embedded software test data in a target machine. A communication protocol is defined between the host machine and the target machine, and the protocol is implemented in the form of an interface function at the target machine, including data sending, command sending, data receiving, Command receiving and other interfaces, when these interfaces are implemented, there are predefined fields in the sent data, and the data types can be distinguished. By calling these interface functions in the test program, the communication between the target machine and the host machine is realized; The supporting interface function of the host is responsible for communicating with the target, and the host is responsible for analyzing, filtering and sorting information according to the predefined fields in the data, and finally forming a test log result file ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A method for acquiring embedded software test data in a target machine. A communication protocol is defined between the host machine and the target machine, and the protocol is implemented in the form of an interface function at the target machine, including data sending, command sending, data receiving, Command receiving and other interfaces, when these interfaces are implemented, there are predefined fields in the sent data, and the data types can be distinguished. By calling these interface functions in the test program, the communication between the target machine and the host machine is realized; The supporting interface function of the host is responsible for communicating with the target, and the host is responsible for analyzing, filtering and sorting information according to the predefined fields in the data, and finally forming a test log result file or coverage information file. A set of data communication protocols between the host machine and the target machine without a file system has been realized, and the problem that the software running test results and source code coverage data of the target machine without a file system cannot be output can be solved.

Description

Technical field: [0001] The method belongs to the field of embedded software testing, and in particular relates to a method for acquiring embedded software testing data in a target machine. Background technique: [0002] Currently in the field of embedded testing, except for a very small number of embedded software containing operating systems that have file systems, the rest of the software under test has no file system support. Therefore, when performing test scripts or test program execution results and source code It is difficult to obtain coverage data. At present, the commonly used method of obtaining execution results is manual recording. After observing the test results and source code coverage data through the printout information of the tested part, the test engineer manually records the test results and data. Due to possible errors in manual recording, the test results and source code coverage confidence are not high, which affects the authority and accuracy of th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3688
Inventor 周敏刚陈鑫付浩
Owner XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA