IP Library Granted Patent US 11,138,099
Granted Patent B2
US 11,138,099 · App. 16/728,325 · Granted Oct 5, 2021

Method for testing software, and computing device and computer-readable storage medium thereof

Inventor: Kongming Dong (Shenzhen, CN)
Assignee: CLOUDMINDS ROBOTICS CO., LTD.
G06F11/3688G06F11/3684
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,138,099
App. No.
16/728,325
Granted
Oct 5, 2021
Kind
B2
Abstract

A method for testing software includes: determining influencing factors which influence implementation of a target function of the software; constructing a test case set for each of the influencing factors; inputting the test case set corresponding to each of the influencing factors to the software; enabling the software to run the test case set; calculating an accuracy of each of the influencing factors against implementation of the target function of the software according to a running result of the test case set run by the software; determining, according to the accuracy achieved each of the influencing factors, whether a predetermined qualification condition is satisfied; determining that the software is tested to be qualified if the predetermined qualification condition is satisfied; and determining that the software is tested to be unqualified if the predetermined qualification condition is not satisfied.

Claims (112)

1. A method for testing software, comprising:

determining influencing factors which influence implementation of a target function of the software;

constructing a test case set for each of the influencing factors;

inputting the test case set corresponding to each of the influencing factors to the software;

enabling the software to run the test case set;

calculating an accuracy of each of the influencing factors against implementation of the target function of the software according to a running result of the test case set run by the software;

determining, according to the accuracy achieved each of the influencing factors, whether a predetermined qualification condition is satisfied;

determining that the software is tested to be qualified if the predetermined qualification condition is satisfied; and

determining that the software is tested to be unqualified if the predetermined qualification condition is not satisfied;

wherein the calculating the accuracy of each of the influencing factors against implementation of the target function of the software and determining, according to the accuracy of each of the influencing factors, whether the predetermined qualification condition is satisfied comprises:

calculating a total accuracy of the software according to the accuracy of each of the influencing factors;

judging whether the total accuracy is greater than a predetermined standard value;

determining that the predetermined qualification condition is satisfied if the total accuracy is greater than the predetermined standard value; and

determining that the predetermined qualification condition is not satisfied if the total accuracy is not greater than the predetermined standard value;

wherein the calculating a total accuracy of the software according to the accuracy of each of the influencing factors comprises:

calculating the total accuracy of the software according to the accuracy of each of the influencing factors and in combination with a predetermined weight defined for each of the influencing factors;

wherein calculating the total accuracy of the software according to the accuracy of each of the influencing factors and in combination with a predetermined weight defined for each of the influencing factors comprises using the formula:

Accuracy

=

i

=

1

n

accuracy

(

i

)

·

weight

(

i

)

wherein Accuracy denotes the total accuracy of the software, accuracy(i) denotes the accuracy of an i th influencing factor, and weight(i) denotes the weight defined for an i th influencing factor, and n denotes the total number of influencing factors, denotes the multiplication operator.

2. A computing device, comprising: a processor, a memory, a communication interface and a communication bus; wherein the processor, the memory and the communication bus communicate with each other via the communication bus; and

the memory is configured to store at least one executable instruction, wherein the executable instruction causes the processor to perform the steps of:

determining influencing factors which influence implementation of a target function of the software;

constructing a test case set for each of the influencing factors;

inputting the test case set corresponding to each of the influencing factors to the software;

enabling the software to run the test case set;

calculating an accuracy of each of the influencing factors against implementation of the target function of the software according to a running result of the test case set run by the software;

determining, according to the accuracy achieved each of the influencing factors, whether a predetermined qualification condition is satisfied;

determining that the software is tested to be qualified if the predetermined qualification condition is satisfied; and

determining that the software is tested to be unqualified if the predetermined qualification condition is not satisfied;

wherein the calculating the accuracy of each of the influencing factors against implementation of the target function of the software and determining, according to the accuracy of each of the influencing factors, whether the predetermined qualification condition is satisfied comprises:

calculating a total accuracy of the software according to the accuracy of each of the influencing factors;

judging whether the total accuracy is greater than a predetermined standard value;

determining that the predetermined qualification condition is satisfied if the total accuracy is greater than the predetermined standard value; and

determining that the predetermined qualification condition is not satisfied if the total accuracy is not greater than the predetermined standard value;

wherein the calculating a total accuracy of the software according to the accuracy of each of the influencing factors comprises:

calculating the total accuracy of the software according to the accuracy of each of the influencing factors and in combination with a predetermined weight defined for each of the influencing factors;

wherein calculating the total accuracy of the software according to the accuracy of each of the influencing factors and in combination with a predetermined weight defined for each of the influencing factors comprises using the formula:

Accuracy

=

i

=

1

n

accuracy

(

i

)

·

weight

(

i

)

wherein Accuracy denotes the total accuracy of the software, accuracy(i) denotes the accuracy of an i th influencing factor, and weight(i) denotes the weight defined for an i th influencing factor, and n denotes the total number of influencing factors, denotes the multiplication operator.

3. A computer-readable storage medium, the storage medium storing at least one executable instruction; wherein the executable instruction, when being executed, causes the processor to perform the steps of:

determining influencing factors which influence implementation of a target function of the software;

constructing a test case set for each of the influencing factors;

inputting the test case set corresponding to each of the influencing factors to the software;

enabling the software to run the test case set;

calculating an accuracy of each of the influencing factors against implementation of the target function of the software according to a running result of the test case set run by the software;

determining, according to the accuracy achieved each of the influencing factors, whether a predetermined qualification condition is satisfied;

determining that the software is tested to be qualified if the predetermined qualification condition is satisfied; and

determining that the software is tested to be unqualified if the predetermined qualification condition is not satisfied;

wherein the calculating the accuracy of each of the influencing factors against implementation of the target function of the software and determining, according to the accuracy of each of the influencing factors, whether the predetermined qualification condition is satisfied comprises:

calculating a total accuracy of the software according to the accuracy of each of the influencing factors;

judging whether the total accuracy is greater than a predetermined standard value;

determining that the predetermined qualification condition is satisfied if the total accuracy is greater than the predetermined standard value; and

determining that the predetermined qualification condition is not satisfied if the total accuracy is not greater than the predetermined standard value;

wherein the calculating a total accuracy of the software according to the accuracy of each of the influencing factors comprises:

calculating the total accuracy of the software according to the accuracy of each of the influencing factors and in combination with a predetermined weight defined for each of the influencing factors;

wherein calculating the total accuracy of the software according to the accuracy of each of the influencing factors and in combination with a predetermined weight defined for each of the influencing factors comprises using the formula:

Accuracy

=

i

=

1

n

accuracy

(

i

)

·

weight

(

i

)

wherein Accuracy denotes the total accuracy of the software, accuracy(i) denotes the accuracy of an i th influencing factor, and weight(i) denotes the weight defined for an i th influencing factor, and n denotes the total number of influencing factors, denotes the multiplication operator.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 23, 2026
From: DATAA NEW TECHNOLOGY CO., LTD.
To: CHONGQING XINGJIE SHUXING TECHNOLOGY PARTNERSHIP ENTERPRISE (LIMITED PARTNERSHIP)
Reel/Frame 074153/0658 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 18, 2025
From: CLOUDMINDS ROBOTICS CO., LTD.
To: DATAA NEW TECHNOLOGY CO., LTD.
Reel/Frame 072052/0055 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 17, 2021
From: CLOUDMINDS (SHENZHEN) ROBOTICS SYSTEMS CO., LTD.
To: CLOUDMINDS ROBOTICS CO., LTD.
Reel/Frame 055625/0689 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 2, 2020
From: DONG, KONGMING
To: CLOUDMINDS (SHENZHEN) ROBOTICS SYSTEMS CO., LTD.
Reel/Frame 053121/0873 →
Priority Claims (1)
CN 201811627706.5 · Dec 28, 2018 · national
Continuity (1)
Related Publication 20200379890A1 · Dec 3, 2020