Wireless application stability testing method and system

A stability test, wireless technology, applied in the field of testing, can solve problems such as unusable, mobile phone crashes, no testing methods and systems, etc., to ensure the operation and eliminate potential risks.

Active Publication Date: 2014-05-07
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Existing wireless applications, such as phone information contacts, application center, library camera file management and other applications, memory problems will appear when the data of these applications are frequently added and deleted, and the abnormal use of memory will mostly Cause more serious problems with the phone, such as causing the phone to crash and become unusable
[0003] The existing technology does not have a testing method and system for detecting and effectively solving the potential risks of the application in the early stage of the project

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
  • Wireless application stability testing method and system
  • Wireless application stability testing method and system
  • Wireless application stability testing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] The first embodiment of the present invention proposes a wireless application stability testing method, the flow of which is as follows figure 1 shown, including:

[0026] Step 101: use the test script to run the test case developed according to the memory action of the application in a loop, and monitor the memory;

[0027] Step 102: Collect memory usage status, and determine whether there is a memory leak; and

[0028] Step 103: If a memory leak occurs, analyze the object or code segment of the memory leak.

[0029] The wireless application stability test method provided by the embodiment of the present invention can extract common operations of mobile devices, such as frequent memory read and write operations, perform targeted stress tests, and analyze memory usage at the same time to determine which specific operations exist It will lead to memory leaks, and analyze the most suspicious code segments through specific analysis methods, thereby helping to eliminate p...

Embodiment 2

[0031] The second embodiment of the present invention proposes a wireless application stability testing method, which is improved on the basis of the first embodiment.

[0032] In this embodiment, the environment of the mobile phone is prepared as a common scenario for ordinary users. For example, the mobile phone contains 500 contacts, 500 pieces of information, and stores other files such as pictures and music in varying quantities.

[0033] First, develop test cases. Specifically, the high-frequency memory usage actions of an application are extracted and developed into test cases. The test cases include: creation and deletion of contacts, sending and receiving of information, taking pictures of cameras, adding or deleting files in file management and so on.

[0034] Next, develop the test script. In this embodiment, python or java can be used to develop test scripts.

[0035] Next, the test script is used to run the test case in a loop to monitor the memory. In this st...

Embodiment 3

[0044] The third embodiment of the present invention proposes a wireless application stability testing system 200, the structure of which is as follows Figure 5 shown, including:

[0045] The test case running and memory monitoring unit 201 is used to use the test script to run the test case developed according to the memory action of the application in a loop, and monitor the memory. The test cases may include: creation and deletion of contacts, sending and receiving of information, taking pictures of cameras, adding or deleting files in file management.

[0046] A collection judging unit 202, configured to collect memory usage status and judge whether there is a memory leak; and

[0047] The analysis unit 203 is configured to analyze memory leaked objects or code segments when memory leaks occur.

[0048] In this embodiment, the test case running and memory monitoring unit 201 uses DDMS debugging monitoring service to monitor memory.

[0049] The collection and judgment un...

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 relates to a wireless application stability testing method and relates to the testing technology. The method comprises the steps of adopting test script to operate, in a circulating mode, a test case developed according to the internal storage motion of application to monitor internal storage, collecting internal storage utilization states, judging whether memory leak exists, and analyzing the object or the code section of the memory leak if the memory leak occurs. The invention further relates to a wireless application stability testing system. The wireless application stability testing method and the wireless application stability testing system can extract commonly-used operation, such as frequent operation of internal storage read-write, of mobile equipment, conduct targeted pressure tests, analyze the utilization conditions of the internal storage, judge which specific operation can cause memory leak and analyze most suspicious code sections through a specific analyzing method, so that potential risks of application is excluded, and more stable operation of the mobile equipment is ensured.

Description

technical field [0001] The invention relates to testing technology, in particular to a wireless application stability testing method and system. Background technique [0002] Existing wireless applications, such as phone information contacts, application center, library camera file management and other applications, memory problems will appear when the data of these applications are frequently added and deleted, and the abnormal use of memory will mostly Cause more serious problems on the phone, such as causing the phone to crash and become unusable. [0003] In the prior art, there is no testing method and system for detecting and effectively solving the potential risks of the application in the early stage of the project. Contents of the invention [0004] In view of this, the embodiment of the present invention proposes a wireless application stability testing method and system. Described technical scheme is as follows: [0005] A wireless application stability testi...

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/36
Inventor 王希静
Owner TENCENT TECH (SHENZHEN) 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