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

Software test system, method and apparatus

A software testing and functional testing technology, applied in the direction of software testing/debugging, can solve the problems of low testing efficiency, inability to combine system software and system software, etc., to achieve the effect of improving the efficiency of debugging

Inactive Publication Date: 2016-05-25
BEIJING BORGWARD AUTOMOBILE CO LTD
View PDF9 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Therefore, the technical problem to be solved by the present invention is to overcome the defects that the system software and the system software cannot be combined in separate tests in the prior art, and the test efficiency is low.

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
  • Software test system, method and apparatus
  • Software test system, method and apparatus
  • Software test system, method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] A software testing system is provided in this embodiment, such as figure 1 As shown, it includes a switch 1 and a controller 2, one end of the switch 1 is connected to the power supply 4 through a pull-up resistor 3, and the other end of the switch 1 is connected to an input end of the controller 2, so The controller 2 is used to monitor and obtain the switching value of the switch 1, the controller 2 judges whether the switching value meets the bottom layer software test threshold or the system software test threshold, and executes the corresponding bottom layer software test or System software testing.

[0037] In this embodiment, the bottom layer software test threshold is a switch value of low level, and the system software test threshold is a switch value of high level. Its corresponding software test method, combined with the toggle switch 1 on the hardware, can switch between the bottom software test and the system software test at will through the combination o...

Embodiment 2

[0040] The present invention provides a kind of software testing method, can be used in the controller (CPU) of the software testing system in embodiment 1, comprise two sets of codes in this controller (CPU), one set is the underlying code, when the switch is opened The one that runs is the underlying code; the other is the system code, which runs when the switch is closed. It is defined when the software in the controller is initialized. When the switch value is set low (0), select the underlying software test and the corresponding test CANID for testing; when the switch value is set high (1), select the system software test and Official CANID is tested. Through the flexible switching software, it is convenient to find errors and problems, such as errors in some registers of the hardware and so on.

[0041] The software testing method in the present embodiment, flow chart such as figure 2 shown, including the following steps:

[0042] S1. Monitor and obtain the switching...

Embodiment 3

[0083] This embodiment provides a software testing device, the structural block diagram is as follows Figure 5 shown, including:

[0084] The monitoring acquisition unit 01 monitors and acquires the switching value of the switch;

[0085] The first judging unit 02 judges whether the switch quantity satisfies the bottom layer software test threshold, and if so, executes the bottom layer software test unit, and the bottom layer software test unit includes at least an IO function test subunit and a first CAN communication function test subunit ;

[0086] The second judging unit 03 judges whether the switching quantity satisfies the system software test threshold, and if so, executes the system software test unit, and the system software test unit includes at least a vehicle test subunit and a second CAN communication function test subunit .

[0087] Wherein, the underlying software test unit also includes a clock function test subunit, a watchdog function test subunit, a diag...

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

The invention provides a software test system, method and apparatus. The system comprises a changeover switch and a controller, wherein one end of the changeover switch is connected with a power supply through a pull-up resistor while the other end of the changeover switch is connected with one input end of the controller; and the controller monitors and obtains a switching value of the changeover switch, judges whether the switching value is equal to an underlying software test threshold or a system software test threshold, and executes a corresponding underlying software test or system software test. According to the software test system, method and apparatus, the switching between the underlying software test and the system software test can be realized in a software and hardware combination manner, so that the problem of inconvenience caused by no joint debugging in separate testing of system software and underlying software during software testing in the prior art is solved, the debugging efficiency is improved, and the time for seeking and solving the problem is shortened.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a software testing method and device. Background technique [0002] Software testing refers to the process of operating the program under specified conditions to find program errors, measure software quality, and evaluate whether it can meet the design requirements. In order to ensure the performance of the software, the electronic control unit of the electric vehicle needs to carry out software testing. The software test of the electronic control unit is realized through the CAN bus, and the software is divided into two parts: one is the underlying software, and the other is the system software. The underlying software is the underlying code of the electronic control unit, which has the necessary IO functions for collecting sensor signals, driving actuators, and CAN communication functions necessary for communication between controllers. In addition, the underlying software als...

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
IPC IPC(8): G06F11/36
Inventor 申佳佳
Owner BEIJING BORGWARD AUTOMOBILE CO LTD