Method and device for searching target vocabulary in software

A vocabulary and target technology, which is applied in the field of target vocabulary search method and device, can solve the problems that it is difficult to ensure the accuracy of test stop words and the quality of software products, the test range is large, and the test time is consumed, and the test range coverage is high. , the effect of reducing test time

Active Publication Date: 2022-03-22
GUANGDONG VTRON TECH CO LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantages of the existing method are not obvious when the scale of the software product is relatively small and there are only a few stop words, but once the scale of the software product is large, the number of stop words is large, and the design scope is wide, the test range is too large and it is extremely costly. Test time and it is difficult to guarantee test stop word test accuracy and software product quality

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
  • Method and device for searching target vocabulary in software
  • Method and device for searching target vocabulary in software
  • Method and device for searching target vocabulary in software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The embodiment of the present invention provides a method and device for searching target vocabulary in software, which can realize fast and accurate retrieval of target vocabulary and paths in software, and greatly improve the efficiency of software testing.

[0029] In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0030] see figure 1 , an embodiment of the target vocabulary search me...

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 present invention provides a method and device for searching target vocabulary in software, the method comprising: acquiring the target vocabulary and the file information of each file of the software to be searched; converting the character string of the target vocabulary into a first code of preset base , and convert all file information strings into the second encoding of the preset base; traverse the second encoding, and after judging that there is a sub-encoding that overlaps with the first encoding in the second encoding, output the file corresponding to the overlapping sub-encoding information. The present invention converts the target vocabulary and the file information of all files of the software to be searched into codes of a unified preset base system, and then judges whether there is a code of the target vocabulary in the codes corresponding to the files, so as to realize automatic traversal of all files of the software to be searched Whether there is a target vocabulary, accurately and quickly determine the position of the target vocabulary in the software to be searched, in the process of software testing, it can greatly reduce the testing time, the test coverage rate is as high as 100%, accurate and efficient.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a method and device for searching target vocabulary in software. Background technique [0002] During the software development process, programs, configuration files, and file names may contain words and characters that are not suitable or cannot exist (hereinafter collectively referred to as forbidden words or sensitive words). For example, the use of open source code contains stop words; software copyright ownership changes, and incomplete updates lead to stop words; during the development process, due to mistakes by R&D personnel, software contains stop words, etc. [0003] The prior art generally checks folders and file names containing stopwords through the file search of the operating system, and manually tests and checks by opening software installation related files one by one. The disadvantages of the existing method are not obvious when the scale of the software product...

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/3668
Inventor 李隆金
Owner GUANGDONG VTRON TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products