Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

White box measuring system and method using script patch

A white-box testing and scripting technology, applied in the field of white-box testing systems for script patches, can solve problems such as low testing efficiency, and achieve the effect of improving testing efficiency and reducing costs

Inactive Publication Date: 2006-07-19
BEIJING HUAWEI DIGITAL TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] What the present invention aims to solve is the technical problem that the test efficiency is relatively low due to the unavoidable repeated compiling and linking process in the existing test system and test method

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
  • White box measuring system and method using script patch
  • White box measuring system and method using script patch
  • White box measuring system and method using script patch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Such as image 3 Shown is a schematic block diagram of the structure of the white box testing system of the present invention, including a test control system 10 ; a communication module 20 ; a script module 30 ; a test module 40 and a system under test 50 . The system under test 50 is compiled and linked together with the communication module 20, the script module 30 and the test module 40 to become an executable system. The communication module 20 and the test control system 10 are connected through socket or serial communication, and receive test instructions and script stub functions. The communication module 20, the script module 30 and the test module 40 are fixed and will not change due to the difference of the tested system.

[0037] The present invention adopts patch technology and script language technology to construct various types of stub functions needed in the test process through script functions. The test control system 10 is simply a user interface, w...

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 uses script function and patch technique to build testing stub function dynamically and realize the scripted structure and scripted execution of the testing stub function in order to prevent repeated compiling and linking procedures so as to raise testing efficiency. The testing system comprises the testing control system, the system to be tested, as well as communication module, script module and testing modules including module of patch processing center, dummy patch functions and address information table. The testing method includes following procedures. Script stub function is added dynamically based on need. The coincidence relation between script stub function and the function to be tested is added. Patch technique is utilized to activate scripted stub function to modify instructions in code segment, as well as transfer, cover, inset and run the scripted stub function.

Description

technical field [0001] The invention relates to testing technology in the communication field, in particular to a white-box testing system using script patches in the communication field and a testing method thereof. Background technique [0002] In the field of communication, in order to ensure the reliability of the communication system, the software development process must include a testing phase to find as many errors in the software as possible. [0003] In the prior art, a white box testing system is a commonly used testing tool. In the white-box testing system, it is necessary to use a specific programming language to write many driving functions and stub functions required by the test, and these numerous driving functions and stub functions constitute the test code. These test codes are compiled and connected with the code under test to generate an executable file, and then the executable file is run for testing. Once the test code needs to be modified during the ...

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): H04B17/00G06F11/36
Inventor 董奎程强
Owner BEIJING HUAWEI DIGITAL TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products