Mobile application program testing method, server, terminal, and storage medium

US10698797B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10698797-B2
Application numberUS-201816196778-A
CountryUS
Kind codeB2
Filing dateNov 20, 2018
Priority dateSep 30, 2016
Publication dateJun 30, 2020
Grant dateJun 30, 2020

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

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.

First claim

Opening claim text (preview).

What is claimed is: 1. A mobile application program testing method for a server, comprising: receiving a code-to-be-tested sent by a first terminal; receiving a program developer identifier and a path of a specified page sent by the first terminal; compiling the code-to-be-tested to a mobile application program; recording a downloading address used for downloading the mobile application program; generating a barcode used for obtaining the downloading address according to the program developer identifier, the path of the specified page, a barcode valid period, and a hash value of the mobile application program; and returning the barcode to the first terminal to be displayed, so that a second terminal acquires the barcode and parses the barcode to obtain the program developer identifier, the path of the specified page, the barcode valid period, and the hash value of the mobile application program; receiving, from the second terminal, a user identifier used by the second terminal to log in, and the program developer identifier, the path of the specified page, the barcode valid period, and the hash value of the mobile application program that are obtained by parsing; sending the downloading address of the mobile application program corresponding to the program developer identifier to the second terminal when the program developer identifier matches the user identifier, a barcode alive period is not longer than the barcode valid period, and the received hash value of the mobile application program is consistent with a current hash value obtained through calculation on the mobile application program; receiving a downloading request initiated by the second terminal according to the downloading address; and returning the mobile application program to the second terminal according to the downloading request, so that the second terminal enters the specified page to test the mobile application program according to the path of the specified page. 2. The method according to claim 1 , wherein: the receiving a code-to-be-tested sent by a first terminal comprises: receiving the code-to-be-tested sent by the first terminal after the first terminal edits the code-to-be-tested by using a development program running on the first terminal; and the returning the barcode to the first terminal to be displayed comprises: returning the barcode to the first terminal to be displayed by the development program running on the first terminal. 3. The method according to claim 1 , further comprising: sending the received hash value of the mobile application program to the second terminal when sending the downloading address of the mobile application program corresponding to the program developer identifier to the second terminal; and returning the mobile application program to the second terminal according to the downloading request, so that when the received hash value of the mobile application program is consistent with the hash value of the downloaded mobile application program calculated by the second terminal, the second terminal enters the specified page to perform testing according to the path of the specified page. 4. The method according to claim 1 , further comprising: sending a testing valid period to the second terminal when sending the downloading address of the mobile application program corresponding to the program developer identifier to the second terminal; and returning the mobile application program to the second terminal according to the downloading request, so that the second terminal enters the specified page to perform testing according to the path of the specified page; and deleting the downloaded mobile application program when an alive period of the mobile application program reaches the testing valid period. 5. A mobile application program testing method for a terminal, comprising: acquiring a barcode; parsing the barcode to obtain a program developer identifier, a path of a specified page, a barcode valid period, and a hash value of the mobile application program; sending a user identifier used for local login, the program developer identifier, the barcode valid period, and the hash value of the mobile application program to a server; receiving the downloading address of the mobile application program corresponding to the program developer identifier sent by the server when the user identifier matches the program developer identifier, a barcode alive period is not longer than the barcode valid period, and the hash value of the mobile application program is consistent with a hash value of the mobile application program calculated by the server; sending a downloading request initiated according to the downloading address to the server; receiving the mobile application program returned by the server according to the downloading request; executing the mobile application program; and obtaining a testing instruction for the mobile application program, so that the mobile application program responds to the testing instruction. 6. The method according to claim 5 , wherein the mobile application program is obtained and stored by compiling a code-to-be-tested by a server after another terminal uploads the code-to-be-tested to the server by using a development program running on the another terminal; the server records the downloading address used for downloading the mobile application program; and the barcode is generated and sent to the another terminal by the server, and is displayed by the another terminal by using the development program. 7. The method according to claim 5 , further comprising: obtaining a testing valid period of the mobile application program according to the barcode; obtaining an alive period of the mobile application program from time of generation to a current time; and deleting the downloaded mobile application program when the alive period reaches the testing valid period. 8. The method according to claim 5 , wherein the obtaining a testing instruction for the mobile application program, so that the mobile application program responds to the testing instruction comprises: transmitting the path of the specified page to the mobile application program, so that the mobile application program enters the specified page according to the path of the specified page; and obtaining the testing instruction for the mobile application program, so that the mobile application program responds to the testing instruction. 9. The method according to claim 8 , wherein: the method further comprises: receiving the hash value of the mobile application program sent by the server when receiving the downloading address of the mobile application program corresponding to the program developer identifier sent by the server; and receiving the mobile application program returned by the server according to the downloading request; and the transmitting the path of the specified page to the mobile application program comprises: transmitting the path of the specified page to the mobile application program when the hash value of the mobile application program is consistent with a current hash value obtained through calculation on the downloaded mobile application program. 10. The method according to claim 5 , further comprising: receiving a testing valid period sent by the server when receiving the downloading address of the mobile application program; and deleting the downloaded mobile application program when an alive period of the mobile application program reaches the testing valid period after transmitting the path of the specified page to the mobile application program. 11. A terminal for mobile application program testing, comprising: a memory; and a processor co

Assignees

Inventors

Classifications

  • Environments for analysis, debugging or testing of software · CPC title

  • by using bar codes · CPC title

  • Graphical identity · CPC title

  • Protecting application or service provisioning, e.g. securing SIM application provisioning · CPC title

  • for test execution, e.g. scheduling of test suites · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10698797B2 cover?
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 ret…
Who is the assignee on this patent?
Tencent Tech Shenzhen Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F16/9554. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jun 30 2020 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 7 related publications on this page (citations in our corpus or others sharing the same primary CPC).