CN116756043A - Software testing method, device and equipment of target equipment and storage medium - Google Patents

Software testing method, device and equipment of target equipment and storage medium Download PDF

Info

Publication number
CN116756043A
CN116756043A CN202311000508.7A CN202311000508A CN116756043A CN 116756043 A CN116756043 A CN 116756043A CN 202311000508 A CN202311000508 A CN 202311000508A CN 116756043 A CN116756043 A CN 116756043A
Authority
CN
China
Prior art keywords
test
software
target
equipment
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311000508.7A
Other languages
Chinese (zh)
Other versions
CN116756043B (en
Inventor
王伟龙
彭昊旻
布向伟
姚颂
赵也倪
卜碧辉
李华磊
贺浩
李宇
周良
高岗
尹朝亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongfang Space Technology Shandong Co Ltd
Original Assignee
Dongfang Space Technology Shandong Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongfang Space Technology Shandong Co Ltd filed Critical Dongfang Space Technology Shandong Co Ltd
Priority to CN202311000508.7A priority Critical patent/CN116756043B/en
Publication of CN116756043A publication Critical patent/CN116756043A/en
Application granted granted Critical
Publication of CN116756043B publication Critical patent/CN116756043B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a method, a device, equipment and a storage medium for testing software of target equipment. Relates to the technical field of carrier rockets. The software testing method of the target equipment is applied to a software testing platform of a carrier rocket and comprises the following steps: acquiring relevant information of software of the carrier rocket; determining a fixed configuration item according to the related information, and sending the fixed configuration item to real-time equivalent equipment; the real-time equivalent equipment is used for simulating various buses or serial ports to receive and transmit various types of data; the fixed configuration item comprises a test strategy and a test instruction; the real-time equivalent equipment is controlled to send the test instruction to target equipment according to the test strategy, so that software of the target equipment executes a target task according to the test instruction; testing a target task executed by the software of the target equipment through a test case to obtain a test result; the test cases include a single test case and a suite of test cases. The scheme of the application can simplify the testing process and reduce the labor cost.

Description

Software testing method, device and equipment of target equipment and storage medium
Technical Field
The application relates to the technical field of carrier rockets, in particular to a method, a device, equipment and a storage medium for testing software of target equipment.
Background
In the field of carrier rockets, the technical stack of the instruction receiving and transmitting equipment is called based on a bottom layer operating system and a bottom layer protocol, so that the use process is complex and the test configuration items cannot be solidified;
the solution of the prior art can solve the testability problem of each tested system, but at least has the following problems:
(1) The use process is complex and the test configuration item cannot be cured, and because the existing instruction receiving and transmitting equipment is developed based on a real-time operating system, the available technical stacks of the upper layer are few, the use process is complex, and the requirements on personnel capable of directly using the equipment and used for testing are high; also, because of fewer interfaces available, limited memory and hard disk, a large number of test configurations cannot be saved, and the requirement of verification by a large number of test cases in the software test process in the aerospace field cannot be met;
(2) The labor cost is high, the existing instruction transceiver can only solve the problem of simulating real-time signals at present, but in the testing process in the aerospace field, a large number of long-time tests are needed, manual intervention is needed in the whole process, and the cost is high.
Disclosure of Invention
The application aims to provide a software testing method, device, equipment and storage medium for target equipment, which can simplify the testing process and reduce the labor cost.
In order to solve the technical problems, the technical scheme of the application is as follows:
a software testing method of a target device, applied to a software testing platform of a carrier rocket, the method comprising:
acquiring relevant information of software of the carrier rocket;
determining a fixed configuration item according to the related information, and sending the fixed configuration item to real-time equivalent equipment; the real-time equivalent equipment is used for simulating various buses or serial ports to receive and transmit various types of data; the fixed configuration item comprises a test strategy and a test instruction;
the real-time equivalent equipment is controlled to send the test instruction to target equipment according to the test strategy, so that software of the target equipment executes a target task according to the test instruction;
testing a target task executed by the software of the target equipment through a test case to obtain a test result; the test cases include a single test case and a suite of test cases.
Optionally, the related information includes: at least one of configuration name, operation mode, request mode, transmission address and configuration data.
Optionally, determining the fixed configuration item according to the related information includes:
according to the related information, the fixed configuration item is created through a test configuration interface of a software test platform of the carrier rocket; or alternatively
And creating the fixed configuration item through an equivalent test interface of a software test platform of the carrier rocket according to the related information.
Optionally, before sending the fixed configuration item to the real-time equivalent device, the method further includes: and storing the fixed configuration items into a file manager or a database.
Optionally, controlling the real-time equivalent device to send the test instruction to the target device according to the test policy includes:
the real-time equivalent equipment is controlled to send the test instruction to target equipment according to a target working mode; the test instruction is obtained by packing according to the formats of a frame header, a length, a frame identifier, an information source, an information destination, an instruction word/instruction count, an instruction parameter and a check code.
Optionally, testing the target task executed by the software of the target device through the test case to obtain a test result, including:
and testing a target task executed by the software of the target equipment through the test case, if the target task is executed according to the test instruction, obtaining a first test result, otherwise, obtaining a second test result.
Optionally, the generating process of the suite test case includes:
acquiring a plurality of single test cases;
binding the plurality of single test cases to obtain a plurality of test cases.
The application also provides a software testing device of the target equipment, which comprises:
the acquisition module is used for acquiring the related information of the software of the carrier rocket;
the processing module is used for determining a fixed configuration item according to the related information and sending the fixed configuration item to the real-time equivalent equipment; the real-time equivalent equipment is used for simulating various buses or serial ports to receive and transmit various types of data; the fixed configuration item comprises a test strategy and a test instruction;
the real-time equivalent equipment is controlled to send the test instruction to target equipment according to the test strategy, so that software of the target equipment executes a target task according to the test instruction;
testing a target task executed by the software of the target equipment through a test case to obtain a test result; the test cases include a single test case and a suite of test cases.
The present application also provides a processing apparatus comprising: a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the method as described above.
The present application also provides a storage medium having stored thereon a program or instructions which when executed by a processor performs the steps of the method as described above.
The scheme of the application at least comprises the following beneficial effects:
according to the scheme, the related information of the carrier rocket software is obtained; determining a fixed configuration item according to the related information, and sending the fixed configuration item to real-time equivalent equipment; the real-time equivalent equipment is used for simulating various buses or serial ports to receive and transmit various types of data; the fixed configuration item comprises a test strategy and a test instruction; the real-time equivalent equipment is controlled to send the test instruction to target equipment according to the test strategy, so that software of the target equipment executes a target task according to the test instruction; testing a target task executed by the software of the target equipment through a test case to obtain a test result; the test cases include a single test case and a suite of test cases. The testing process can be simplified, and meanwhile, the labor cost is reduced.
Drawings
FIG. 1 is a flow chart of a method for testing software of a target device according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a configuration data flow of a test case according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an automated test flow for test cases according to an embodiment of the present application;
FIG. 4 is a schematic diagram of the architecture of a software testing platform of a launch vehicle according to an embodiment of the present application;
fig. 5 is a block diagram of a software testing apparatus of a target device according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the application to those skilled in the art.
As shown in fig. 1, an embodiment of the present application provides a software testing method of a target device, applied to a software testing platform of a carrier rocket, the method including:
step 11, acquiring relevant information of software of the carrier rocket; here, the related information includes: at least one of configuration name, working mode, request mode, transmission address, configuration data, transmission frequency, transmission time and transmission duration; the sending frequency, the sending time and the sending duration are parameters in a sending mode, and can be specifically selected according to a request mode;
step 12, determining a fixed configuration item according to the related information, and sending the fixed configuration item to real-time equivalent equipment; the real-time equivalent equipment is used for simulating various buses or serial ports to receive and transmit various types of data; the fixed configuration item comprises a test strategy and a test instruction;
step 13, the real-time equivalent equipment is controlled to send the test instruction to target equipment according to the test strategy, so that software of the target equipment executes a target task according to the test instruction;
step 14, testing the target task executed by the software of the target equipment through the test case to obtain a test result; the test cases include a single test case and a suite of test cases.
In this embodiment, by using the software testing method of the target device, the testing process can be simplified, the configuration process of the test case can be fixed, and meanwhile, the labor cost can be reduced.
It should be noted that the real-time equivalent apparatus (RTBOX) can be used to simulate various buses or serial ports, and specifically may include, but is not limited to: 1553B (information transfer bus standard), CAN (Controller Area Network, controller area network bus), RS422 (data transfer protocol), IO (IN/OUT, input/output interface) and Ethernet interface. This enables various types of data to be received, processed, and transmitted, thereby simplifying the processing procedure.
It should be noted that the test strategy includes: in what mode of operation, to which target device, what type of data is sent; the test instruction includes: many different types of data.
The target equipment is installed on the carrier rocket and is used for receiving and executing the test instruction sent by the real-time equivalent equipment.
It should be noted that the sending time of the test instruction may include: instant transmission and timing transmission; the instant sending is a test instruction which needs to be sent immediately, and the timing sending is a test instruction which needs to be sent according to preset time; specifically, for example: and transmitting the test instruction to the real-time equivalent equipment at nine am points after two days, so that the real-time equivalent equipment transmits the test instruction to the target equipment.
In an alternative embodiment of the present application, step 12 may include:
step 121, according to the related information, creating the fixed configuration item through a test configuration interface of a software test platform of the carrier rocket; or alternatively
And step 122, creating the fixed configuration item through an equivalent test interface of a software test platform of the carrier rocket according to the related information.
Further, before sending the fixed configuration item to the real-time equivalent device in step 12, the method may further include:
step 123, storing the fixed configuration item in a file manager or database.
In this embodiment, the creation of the fixed configuration item may include: creating through a test configuration interface, calling an interface of the carrier rocket software test platform, generating the fixed configuration item, storing the fixed configuration item in a file manager, or creating through an equivalent test interface, calling the interface of the carrier rocket software test platform, generating the fixed configuration item, and storing the fixed configuration item in a database; when the fixed configuration items need to be sent to the real-time equivalent equipment, the corresponding fixed configuration items are extracted from a file manager or a database, and the fixed configuration items can be set through interfaces provided by the real-time equivalent equipment. This enables curing of the fixed configuration item, not only to create convenience.
In yet another alternative embodiment of the present application, step 13 may include:
step 131, controlling the real-time equivalent device to send the test instruction to the target device according to the target working mode;
the test instruction is obtained by packing according to the formats of a frame header, a length, a frame identifier, an information source, an information destination, an instruction word/instruction count, an instruction parameter and a check code.
In this embodiment, by packing and sending the test instruction to the real-time equivalent device according to the format of the target protocol according to the test policy, the sending speed, the sending accuracy and the data security of the test instruction can be improved.
Wherein the test instruction may represent a parameter via data; specifically, the following table 1 shows:
table 1: test instruction data and parameter lookup table
It should be noted that, in the test instruction, the most important parameters are instruction words and instruction parameters, and other parameters can be configured and automatically converted according to actual requirements.
In yet another alternative embodiment of the present application, the specific format of the target protocol may be as shown in the following table 2:
table 2: format table of target protocol
In yet another alternative embodiment of the present application, step 14 may include:
and step 141, testing a target task executed by the software of the target device through a test case, if the target task is executed according to the test instruction, obtaining a first test result, otherwise, obtaining a second test result.
In this embodiment, the target device may execute the target task according to the content indicated by the test instruction, or may not execute the target task according to the content indicated by the test instruction, where the actual execution result of the target task may call the test instruction in the file manager or the database through the test case, test the target task through the test instruction, and if the target task is executed according to the test instruction, obtain a first test result that the software of the target device is normal, or obtain a second test result that the software of the target device is abnormal. Therefore, the automatic and rapid detection of the software of the target equipment can be realized, the detection process is simple and convenient, and the implementation is easy.
In another optional embodiment of the present application, in step 14, the generating process of the set of test cases may include:
step 142, obtaining a plurality of single test cases;
and step 143, binding the plurality of single test cases to obtain a plurality of test cases.
In this embodiment, the set of test cases is composed of a plurality of individual test cases, and when the set of test cases is executed, all of the individual test cases in the set of test cases may be executed, or some of the individual test cases in the set of test cases may be executed. Therefore, the single test cases can be simultaneously executed in batches, so that the test efficiency is improved, and the occupation of execution channel resources is reduced.
In an alternative embodiment of the present application, as shown in fig. 2, the creating process of the test instruction may specifically include:
according to the related information, the fixed configuration items are created through equivalent configuration through a test configuration interface of a software test platform of the carrier rocket, and the fixed configuration items are stored in a file manager;
according to the related information, the fixed configuration items are created through an equivalent test interface of a software test platform of the carrier rocket and stored in a database;
the fixed configuration items in the file manager or the database can be called out at preset time and sent to the real-time equivalent equipment, so that the real-time equivalent equipment sends the test instruction to the target equipment according to the test strategy;
when the target task of the software of the target equipment needs to be detected, the fixed configuration item can be called in the file manager through the test case, so that the target task is detected, and a detection result is obtained.
In yet another alternative embodiment of the present application, as shown in fig. 3, an automated test procedure based on the test case may include: creating a single test case and creating a suite of test cases;
the creation process of the single test case comprises the following steps: writing test case codes in a test case configuration interface, and after the test case codes are created, writing the test case codes into a file manager in a serialization manner through equivalent test configuration, wherein the equivalent test configuration is stored in a database and is bound with the test case, and the test case codes are called when waiting for execution;
the creation process of the suite test case comprises the following steps: when the set of test cases is created, the existing test cases need to be configured, an execution plan is configured, the set of test cases cannot be executed independently, and the test cases can be executed after the execution plan is configured through the set of test cases.
When the system runs, the configured information is written into the real-time equivalent equipment, the real-time equivalent equipment does not need to manage the running strategy in the running process of the back end decision of the software test platform, and the functions of the real-time equivalent equipment and the running strategy are decoupled, so that the expandability of each system is improved;
when the method is executed, the executed process and the executed result are recorded, the result is stored, and finally displayed through an interface for viewing.
As shown in fig. 4, an embodiment of the present application further provides a software detection platform of a target device, where the platform includes:
ethernet interfaces and other buses, which may include, but are not limited to: 1553B, 422, CAN, IO, etc.;
test case configuration software, test case writing software, test data transmission software and file manager;
equivalent test platform, equivalent test software, protocol conversion software and database;
real-time equivalent equipment.
The real-time equivalent equipment is used for producing and butting various bus data; the equivalent test platform is deployed on a software test platform of the carrier rocket, and the real-time equivalent equipment is managed and operated in a test configuration mode; the test case configuration software is also deployed on the software test platform of the carrier rocket, manages the upper test cases, provides a determined execution scheme, and guides the equivalent test platform to run the configuration of the real-time equivalent equipment; the carrier rocket software testing platform is in communication connection with the server, and is used for configuring, managing and running the whole testing process of the software of the target equipment.
In the above embodiment of the present application, by the software testing method of the target device, the testing process can be simplified, the configuration items can be managed and cured to the external software by the data curing process, the labor cost can be reduced, and the testing efficiency can be improved by introducing an automated testing tool. The method can manage and execute the execution process and result of various buses and serial ports, and solves the problems that the real-time equivalent equipment can only independently operate and configure and cannot solidify operation and configuration.
As shown in fig. 5, an embodiment of the present application further provides a software testing apparatus 50 of a target device, where the apparatus 50 includes:
an acquiring module 51, configured to acquire information related to software of the launch vehicle;
the processing module 52 is configured to determine a fixed configuration item according to the related information, and send the fixed configuration item to the real-time equivalent device; the real-time equivalent equipment is used for simulating various buses or serial ports to receive and transmit various types of data; the fixed configuration item comprises a test strategy and a test instruction;
the real-time equivalent equipment is controlled to send the test instruction to target equipment according to the test strategy, so that software of the target equipment executes a target task according to the test instruction;
testing a target task executed by the software of the target equipment through a test case to obtain a test result; the test cases include a single test case and a suite of test cases.
Optionally, the related information includes: at least one of configuration name, working mode, request mode, transmission address, configuration data, transmission frequency, transmission time and transmission duration.
Optionally, determining the fixed configuration item according to the related information includes:
according to the related information, the fixed configuration item is created through a test configuration interface of a software test platform of the carrier rocket; or alternatively
And creating the fixed configuration item through an equivalent test interface of a software test platform of the carrier rocket according to the related information.
Optionally, before sending the fixed configuration item to the real-time equivalent device, the processing module 52 may be further configured to: and storing the fixed configuration items into a file manager or a database.
Optionally, controlling the real-time equivalent device to send the test instruction to the target device according to the test policy includes:
the real-time equivalent equipment is controlled to send the test instruction to target equipment according to a target working mode; the test instruction is obtained by packing according to the formats of a frame header, a length, a frame identifier, an information source, an information destination, an instruction word/instruction count, an instruction parameter and a check code.
Optionally, testing the target task executed by the software of the target device through the test case to obtain a test result, including:
and testing a target task executed by the software of the target equipment through the test case, if the target task is executed according to the test instruction, obtaining a first test result, otherwise, obtaining a second test result.
Optionally, the generating process of the suite test case includes:
acquiring a plurality of single test cases;
binding the plurality of single test cases to obtain a plurality of test cases.
It should be noted that, the device is a device corresponding to the above method, and all implementation manners in the above method embodiments are applicable to the embodiment of the device, so that the same technical effects can be achieved.
The embodiment of the application also provides a processing device, which comprises: a processor, a memory storing a computer program which, when executed by the processor, performs the method as described above. All the implementation manners in the method embodiment are applicable to the embodiment, and the same technical effect can be achieved.
Embodiments of the present application also provide a storage medium comprising instructions which, when executed on a computer, cause the computer to perform a method as described above. All the implementation manners in the method embodiment are applicable to the embodiment, and the same technical effect can be achieved.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
Furthermore, it should be noted that in the apparatus and method of the present application, it is apparent that the components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered as equivalent aspects of the present application. Also, the steps of performing the series of processes described above may naturally be performed in chronological order in the order of description, but are not necessarily performed in chronological order, and some steps may be performed in parallel or independently of each other. It will be appreciated by those of ordinary skill in the art that all or any of the steps or components of the methods and apparatus of the present application may be implemented in hardware, firmware, software, or a combination thereof in any computing device (including processors, storage media, etc.) or network of computing devices, as would be apparent to one of ordinary skill in the art after reading this description of the application.
The object of the application can thus also be achieved by running a program or a set of programs on any computing device. The computing device may be a well-known general purpose device. The object of the application can thus also be achieved by merely providing a program product containing program code for implementing said method or apparatus. That is, such a program product also constitutes the present application, and a storage medium storing such a program product also constitutes the present application. It is apparent that the storage medium may be any known storage medium or any storage medium developed in the future. It should also be noted that in the apparatus and method of the present application, it is apparent that the components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered as equivalent aspects of the present application. The steps of executing the series of processes may naturally be executed in chronological order in the order described, but are not necessarily executed in chronological order. Some steps may be performed in parallel or independently of each other.
While the foregoing is directed to the preferred embodiments of the present application, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present application, and such modifications and adaptations are intended to be comprehended within the scope of the present application.

Claims (10)

1. A method for testing software of a target device, the method being applied to a software testing platform of a launch vehicle, the method comprising:
acquiring relevant information of software of the carrier rocket;
determining a fixed configuration item according to the related information, and sending the fixed configuration item to real-time equivalent equipment; the real-time equivalent equipment is used for simulating various buses or serial ports to receive and transmit various types of data; the fixed configuration item comprises a test strategy and a test instruction; the real-time equivalent equipment is controlled to send the test instruction to target equipment according to the test strategy, so that software of the target equipment executes a target task according to the test instruction;
testing a target task executed by the software of the target equipment through a test case to obtain a test result; the test cases include a single test case and a suite of test cases.
2. The software testing method of a target device according to claim 1, wherein the related information includes: configuration name, operation mode, request mode, transmission address, configuration data, or the like.
3. The software testing method of a target device according to claim 2, wherein determining a fixed configuration item according to the related information comprises:
according to the related information, the fixed configuration item is created through a test configuration interface of a software test platform of the carrier rocket; or alternatively
And creating the fixed configuration item through an equivalent test interface of a software test platform of the carrier rocket according to the related information.
4. A method of testing software of a target device according to claim 3, further comprising, prior to sending the fixed configuration item to the real-time equivalent device: and storing the fixed configuration items into a file manager or a database.
5. A method for testing software of a target device according to claim 3, wherein controlling the real-time equivalent device to send the test instruction to the target device according to the test policy comprises:
the real-time equivalent equipment is controlled to send the test instruction to target equipment according to a target working mode; the test instruction is obtained by packing according to the formats of a frame header, a length, a frame identifier, an information source, an information destination, an instruction word/instruction count, an instruction parameter and a check code.
6. The method for testing software of a target device according to claim 1, wherein the testing of the target task executed by the software of the target device by the test case to obtain the test result comprises:
and testing a target task executed by the software of the target equipment through the test case, if the target task is executed according to the test instruction, obtaining a first test result, otherwise, obtaining a second test result.
7. The method for testing software of a target device according to claim 1, wherein the generating process of the suite test cases includes:
acquiring a plurality of single test cases;
binding the plurality of single test cases to obtain a plurality of test cases.
8. A software testing apparatus for a target device, the apparatus comprising:
the acquisition module is used for acquiring the related information of the software of the carrier rocket;
the processing module is used for determining a fixed configuration item according to the related information and sending the fixed configuration item to the real-time equivalent equipment; the real-time equivalent equipment is used for simulating various buses or serial ports to receive and transmit various types of data; the fixed configuration item comprises a test strategy and a test instruction;
the real-time equivalent equipment is controlled to send the test instruction to target equipment according to the test strategy, so that software of the target equipment executes a target task according to the test instruction;
testing a target task executed by the software of the target equipment through a test case to obtain a test result; the test cases include a single test case and a suite of test cases.
9. A processing apparatus, comprising: a processor, a memory and a program or instruction stored on the memory and executable on the processor, which program or instruction when executed by the processor implements the steps of the method of any of claims 1-7.
10. A storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to any of claims 1-7.
CN202311000508.7A 2023-08-10 2023-08-10 Software testing method, device and equipment of target equipment and storage medium Active CN116756043B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311000508.7A CN116756043B (en) 2023-08-10 2023-08-10 Software testing method, device and equipment of target equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311000508.7A CN116756043B (en) 2023-08-10 2023-08-10 Software testing method, device and equipment of target equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116756043A true CN116756043A (en) 2023-09-15
CN116756043B CN116756043B (en) 2023-11-03

Family

ID=87948110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311000508.7A Active CN116756043B (en) 2023-08-10 2023-08-10 Software testing method, device and equipment of target equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116756043B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101802792A (en) * 2007-09-14 2010-08-11 空中客车运营简易股份公司 Method for automatic script generation for testing the validity of operational software of a system onboard and aircraft and device for implementing the same
CN105320598A (en) * 2015-11-24 2016-02-10 广州华多网络科技有限公司 Software testing method and device
CN107272663A (en) * 2017-07-28 2017-10-20 北京精密机电控制设备研究所 A kind of quick checking device of 1553B bus types servo-drive system test equipment
US10318412B1 (en) * 2018-06-29 2019-06-11 The Travelers Indemnity Company Systems, methods, and apparatus for dynamic software generation and testing
CN110109817A (en) * 2019-03-13 2019-08-09 深圳壹账通智能科技有限公司 Automatic interface testing method, device, equipment and storage medium
US10904281B2 (en) * 2018-04-18 2021-01-26 Oracle International Corporation Cloud-based security testing interface with security scanners
CN112925705A (en) * 2021-02-09 2021-06-08 上海航天控制技术研究所 Unmanned-duty-based carrier rocket flight software acceptance method and system
CN115686634A (en) * 2023-01-03 2023-02-03 东方空间技术(山东)有限公司 Processing method, device, terminal and storage medium for testing, issuing and controlling flow instructions
CN115729216A (en) * 2022-11-23 2023-03-03 中国电子科技集团公司第五十八研究所 Platform detection system
CN116150033A (en) * 2023-03-27 2023-05-23 深圳市和讯华谷信息技术有限公司 Software testing method, system, computer equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101802792A (en) * 2007-09-14 2010-08-11 空中客车运营简易股份公司 Method for automatic script generation for testing the validity of operational software of a system onboard and aircraft and device for implementing the same
CN105320598A (en) * 2015-11-24 2016-02-10 广州华多网络科技有限公司 Software testing method and device
CN107272663A (en) * 2017-07-28 2017-10-20 北京精密机电控制设备研究所 A kind of quick checking device of 1553B bus types servo-drive system test equipment
US10904281B2 (en) * 2018-04-18 2021-01-26 Oracle International Corporation Cloud-based security testing interface with security scanners
US10318412B1 (en) * 2018-06-29 2019-06-11 The Travelers Indemnity Company Systems, methods, and apparatus for dynamic software generation and testing
CN110109817A (en) * 2019-03-13 2019-08-09 深圳壹账通智能科技有限公司 Automatic interface testing method, device, equipment and storage medium
CN112925705A (en) * 2021-02-09 2021-06-08 上海航天控制技术研究所 Unmanned-duty-based carrier rocket flight software acceptance method and system
CN115729216A (en) * 2022-11-23 2023-03-03 中国电子科技集团公司第五十八研究所 Platform detection system
CN115686634A (en) * 2023-01-03 2023-02-03 东方空间技术(山东)有限公司 Processing method, device, terminal and storage medium for testing, issuing and controlling flow instructions
CN116150033A (en) * 2023-03-27 2023-05-23 深圳市和讯华谷信息技术有限公司 Software testing method, system, computer equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
MOGHADAM, MH 等: "An autonomous performance testing framework using self-adaptive fuzzy reinforcement learning", 《SOFTWARE QUALITY JOURNAL》, pages 127 - 159 *
徐铁军;黄超凡;徐天蒙;王改堂;叶锦函;: "从模型到自动代码生成的弹载飞行控制器设计", 弹箭与制导学报, no. 06, pages 50 - 53 *
成婧;楼俊荣;曹阳晨;许萌;: "一种驻留于航电产品的通用测试软件架构设计", 测控技术, no. 04, pages 38 - 42 *

Also Published As

Publication number Publication date
CN116756043B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
CN111159049B (en) Automatic interface testing method and system
CN110532182B (en) Automatic testing method and device for virtualization platform
CN112947961A (en) Vehicle flashing method and device based on visual graph configuration
CN112463588A (en) Automatic test system and method, storage medium and computing equipment
CN111506311A (en) Internet rapid iterative development, integration and release method and middlebox enabling engine
CN114707236A (en) Model-based virtual-real combined simulation test method
CN114489766A (en) Method, device, medium and equipment for checking version information of vehicle-mounted controller
CN113553260B (en) Test method, test apparatus, device, and medium
CN112306857A (en) Method and apparatus for testing applications
CN116756043B (en) Software testing method, device and equipment of target equipment and storage medium
CN112637331A (en) Spacecraft state data processing method and device
CN112214228A (en) Vehicle-mounted instrument upgrading method, device and system
CN106844211A (en) A kind of method for testing software, apparatus and system
CN116647490A (en) Aviation AFDX network data detection system
CN113094266B (en) Fault testing method, platform and equipment for container database
CN102546300A (en) Test system and operating region equipment
CN113709270A (en) Bluetooth module production system
CN112199229A (en) Data processing method, device, equipment and storage medium
CN111258648B (en) Interactive control method, device, computer system and medium for host system
CN112732320B (en) Continuous integration method and device for software development process, electronic equipment and medium
CN117492869B (en) Visual automatic deployment service system and method
CN112948266B (en) Database grammar testing system, method, device, equipment and storage medium
CN117827680A (en) Interface testing method, device and server
CN114297065A (en) Automatic test method, automatic test system, electronic device, and readable storage medium
CN117389866A (en) Full-flow test method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant