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

Software module testing method

A technology of software modules and test methods, applied in electrical components, digital transmission systems, transmission systems, etc., can solve problems such as spending a lot of time, difficulty in maintaining test cases and simulation systems, and inability to achieve automatic testing, reducing complexity, The effect of accelerating system development and testing progress

Inactive Publication Date: 2008-01-16
SHENZHEN HUAWEI AGISSON ELECTRIC CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] 1. Since large-scale software systems such as telecommunications network management all adopt relatively complicated compiled languages ​​(such as C / C++, Java, etc.), the method is more complicated to realize the simulation of software modules and the establishment of the entire test system;
[0012] 2. It takes a long time to compile the programming language of large-scale software systems such as telecommunications network management, and in the process of testing software modules, the addition and maintenance of test cases are relatively frequent, and every time a test case is modified or added, it is necessary to It needs to be processed by compiling and linking programs. Therefore, it is difficult to maintain test cases and simulation systems in this method, and it takes a lot of time
[0015] 1. Lack of ability to dynamically construct ASN.1 interface commands;
[0016] 2. Only real-time debugging and testing functions are provided, and the test case data that took a lot of time to construct cannot be saved and reused, and automatic testing cannot be realized

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 module testing method
  • Software module testing method
  • Software module testing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The invention provides a testing method for software modules. The core of the present invention is: using a relatively simple script mode to process ASN.1 interface commands, which effectively reduces the complexity of the simulation system and test cases required for testing software modules.

[0052] The method of the present invention will be described in detail below with reference to the accompanying drawings. The principle of the method of the present invention is shown in Figure 3, and its basic principle is:

[0053] Module A is simulated by some tools to form simulation module A. Simulation module A constructs an ASN.1 interface command through a script language, and sends the ASN.1 interface command to module B. After module B receives the command, it processes it accordingly, and returns the processing result to simulation module A. After simulation module A receives the processing result returned by module B, it compares the processing result with the expected r...

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 related testing method for software module comprises: creating interface command for ASN.1 by script language; sending the command to the module to be tested; according to resent process result from module, obtaining the testing result. This invention decreases complexity, and speedups process rate.

Description

Technical field [0001] The invention relates to the field of computer applications, and in particular to a testing method of software modules. Background technique [0002] ASN.1 (Abstract Syntax Rule 1) is a language used to describe the structure and content of structured objects. It is a description language used to define grammar and is used to describe messages transmitted on the network. ITUT (International Telecommunication Union Standardization Department) recommends that ASN.1 be described in detail. ASN.1 allows designers to define various parameters in the data structure without having to care about how these parameters are encoded and decoded when they are transmitted over the network. ASN.1 is particularly suitable for representing complex, changing and extensible data structures in modern communication applications. [0003] ASN.1 can be divided into two parts: grammar rules and coding rules. among them: [0004] Grammar rules: explain how to describe the content of...

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): H04L12/26H04L29/06
Inventor 桂俊超
Owner SHENZHEN HUAWEI AGISSON ELECTRIC CO LTD
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