Mobile App Testing via Server-Generated Barcode

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current mobile application program testing methods have low efficiency due to the complexity of exporting the program from a computer to a mobile terminal for testing.

Innovation Solution

A method involving a server that compiles and records a downloading address for a mobile application program, generates a barcode for obtaining this address, and returns it to a first terminal, allowing a second terminal to download and test the program using the barcode.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the code-to-be-tested is compiled directly on the first terminal, then the testing process can be completed, but there is a risk of malicious code addition and reduced security

Engineering Contradiction:
ImprovesecurityVSAvoidtesting process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The compilation function is extracted from the first terminal and transferred to a server. The first terminal only needs to upload the code-to-be-tested and receive the barcode, while the server performs the compilation and provides the download link, thus removing the security risk of local compilation while simplifying the terminal's functionality.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

A server acts as an intermediary between the first terminal (developer) and the second terminal (tester). The server compiles the code, generates the barcode with download information, and facilitates the transfer of the compiled program without direct interaction between terminals, enhancing security and streamlining the process.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If the compiled program is transferred from computer to mobile terminal for testing, then testing can be performed, but the process is complex and efficiency is low

Engineering Contradiction:
Improvetesting efficiencyVSAvoidoperational convenience
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The traditional mechanical process of transferring compiled programs via cables or manual file management is replaced with a digital barcode-based system. The barcode encapsulates all necessary download information, and scanning it automatically initiates the download and installation process, dramatically simplifying operations and improving efficiency.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

Instead of transferring the actual compiled program files through complex processes, the system creates a barcode copy that contains encoded download information. This barcode can be quickly scanned and copied between terminals, replacing the need for direct file transfer and simplifying the entire testing setup process.

Inventive Principle:
Principle #26Copying

3Ease of operation

If a barcode system is implemented for program distribution, then operational convenience is improved, but additional steps of barcode generation and scanning are introduced

Engineering Contradiction:
Improveoperational convenienceVSAvoidsystem process steps
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

Multiple pieces of information (download link, version info, device identification) are merged into a single barcode. This consolidation reduces the number of separate data transfer steps and allows all necessary information to be communicated through one scan, offsetting the added step with information consolidation.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The server performs preliminary actions by compiling the code and pre-generating the barcode with all necessary download information embedded before the testing terminal even receives it. This preliminary preparation eliminates the need for complex real-time processing during the testing setup phase.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10698797B2Mobile application program testing method, server, terminal, and storage medium
Publication Date: 2020.06.30 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US10698797B2 patent drawing
  • US10698797B2 patent drawing
  • US10698797B2 patent drawing

AI summary

A mobile application program testing method is provided for a server. The method includes receiving a code-to-be-tested sent by a first terminal, compiling the code-to-be-tested to a mobile application program, and recording a downloading address used for downloading the mobile application program. The method also includes generating a barcode used for obtaining the downloading address; and returning the barcode to the first terminal to be displayed. A second terminal acquires the barcode, obtains the downloading address, downloads the mobile application program according to the downloading address, and tests the mobile application program on the second terminal.