Check patentability & draft patents in minutes with Patsnap Eureka AI!

Game software automatic testing method based on multi-objective optimization and deep reinforcement learning

A multi-objective optimization and game testing technology, applied in the field of software automatic testing combining multi-objective evolutionary algorithms and reinforcement learning, can solve the problems of large manpower time cost, inseparable labor cost, lack of prior knowledge guidance, etc. Efficiency and utility, the effect of large practical application significance

Pending Publication Date: 2021-12-31
TIANJIN UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing DRL algorithm mainly focuses on how to win the game, rather than game testing, so it may not be able to widely cover the branching scenarios that need to be tested
[0003] On the other hand, the existing game software testing mainly relies on manual writing of test scripts, which not only requires a large cost of manpower and time, but also has certain limitations in the understanding of the game software itself by the engineers who write the scripts, resulting in the It is not possible to comprehensively test the game software, so there are still certain hidden dangers when the software goes online
In addition, scripts written by humans contain a wealth of human prior knowledge, which leads to a large amount of labor costs in current game testing. Although a method similar to fuzzing (Fuzzing) has been proposed for testing game software, it lacks With effective prior knowledge guidance, there is still a big gap between its effect and that of manually written scripts.
[0004] To sum up, existing game testing technologies either rely heavily on manual writing, cannot be fully automated, and have low testing efficiency; or use heuristic testing algorithms, which have large randomness, and the algorithm effect cannot be guaranteed. For modern game software, It is difficult to guarantee the validity of the test

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
  • Game software automatic testing method based on multi-objective optimization and deep reinforcement learning
  • Game software automatic testing method based on multi-objective optimization and deep reinforcement learning
  • Game software automatic testing method based on multi-objective optimization and deep reinforcement learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The technical solution of the present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0021] Such as figure 1 As shown, it is a schematic diagram of the overall flow of the game software automatic testing method based on multi-objective optimization and deep reinforcement learning of the present invention.

[0022] Step 1: First, define an anomaly (Bug) detection mechanism for a given game G, which is used to detect whether the current state of the game is abnormal. The present invention proposes four types of detection mechanisms for four typical game software abnormalities, specifically as follows:

[0023] ①Software crash detection mechanism: By judging whether the program crashes and exits, to identify whether there are loopholes in the current game software, mainly by monitoring whether the program crashes and exits.

[0024] ② Software logic anomaly detection mechanism: By judging whether the logical ass...

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 discloses a game software automatic testing method based on multi-objective optimization and deep reinforcement learning. The method comprises the following steps: 1, constructing an anomaly detection mechanism oriented to a game scene and an evaluation index of a game test strategy; 2, carrying out game software automatic test design; and 3, based on a multi-objective optimization algorithm, according to the fitness value FitnesValue (pi) of the strategy pi, measuring the performance of the strategy, selecting high-quality offspring, and further improving the efficiency and effect of game testing. Each strategy in the strategy group has two performance indexes including the winning rate and the exploration capability; and based on a measurement result, a test strategy on a Pareto optimal plane is searched as an excellent test strategy to be reserved, and meanwhile, strategies which cannot be expressed on the two optimization targets are eliminated, so that more effective test strategy optimization is realized. Compared with the prior art, the method effectively improves the game test efficiency and effectiveness, and has great practical application significance.

Description

technical field [0001] The invention relates to the technical field of reinforcement learning and software testing, in particular to a software automatic testing method combining a multi-objective evolutionary algorithm and a reinforcement learning method. Background technique [0002] Game testing has long been considered a challenging task. In the industry, game testing generally uses a combination of script testing and manual testing. Today, the research on automated game testing is still in its infancy. One of the main reasons is that playing the game itself is a continuous decision-making process, and game defects (Bugs) are often hidden deep, only when some difficult intermediate tasks are completed. , it is possible to be triggered, which requires the game testing algorithm to have human-like intelligence. In recent years, the extraordinary success of Deep Reinforcement Learning (DRL), especially in the field of game control, has even shown intelligence beyond human...

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 Applications(China)
IPC IPC(8): G06F11/36G06N3/00
CPCG06F11/3672G06N3/006
Inventor 郑岩郝建业
Owner TIANJIN UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More