CN112115050B - Application program reinstallation test method, system and computer readable storage medium - Google Patents

Application program reinstallation test method, system and computer readable storage medium Download PDF

Info

Publication number
CN112115050B
CN112115050B CN202010920315.3A CN202010920315A CN112115050B CN 112115050 B CN112115050 B CN 112115050B CN 202010920315 A CN202010920315 A CN 202010920315A CN 112115050 B CN112115050 B CN 112115050B
Authority
CN
China
Prior art keywords
application program
installation package
application
operating system
plist
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010920315.3A
Other languages
Chinese (zh)
Other versions
CN112115050A (en
Inventor
杨凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Keynote Network Inc
Original Assignee
Beijing Keynote Network Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Keynote Network Inc filed Critical Beijing Keynote Network Inc
Priority to CN202010920315.3A priority Critical patent/CN112115050B/en
Publication of CN112115050A publication Critical patent/CN112115050A/en
Application granted granted Critical
Publication of CN112115050B publication Critical patent/CN112115050B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Abstract

The application relates to an application program reinstallation test method, a system and a computer readable storage medium, wherein the application program reinstallation test method comprises the following steps: running a local server in a computer device; caching an installation package of one or more application programs in the computer equipment; sending an installation request to an operating system of a computer device, wherein the installation request carries plist urls for acquiring plist files, and the information carried by the plist files comprises: the method comprises the steps of requesting to install description information and a download address of an application program, wherein the download address is set as a local address of the computer equipment; and responding to an application downloading request of the operating system, providing an installation package of a corresponding application program to the operating system through the local server so as to install the corresponding application program on the computer equipment, wherein the application downloading request uses a downloading address carried by the plist file. Through the application, the quick reinstallation test is realized.

Description

Application program reinstallation test method, system and computer readable storage medium
Technical Field
The present application relates to the field of computer program testing, and in particular, to a method and a system for testing reinstallation of an application program, and a computer-readable storage medium.
Background
The Application (APP) testing process includes a reinstallation test to test at least a first installation start. Reinstallation testing of an application requires repeated installation and testing. However, in the related art, the installation package of the application program needs to be repeatedly downloaded from the server, and the reinstallation test efficiency of the application program is very low, especially for operating the iOS device (including but not limited to ipad, iPhone, etc.) of apple inc.
Disclosure of Invention
In order to solve the technical problems described above or at least partially solve the technical problems, the present application provides an application reinstallation test method, system and computer-readable storage medium.
In a first aspect, the present application provides an application reinstallation test method, including: running a local server in a computer device; caching an installation package of one or more application programs in the computer equipment; sending an installation request to an operating system of a computer device, wherein the installation request carries plist urls for acquiring plist files, and the information carried by the plist files comprises: the method comprises the steps of requesting to install description information and a download address of an application program, wherein the download address is set as a local address of the computer equipment; and responding to an application downloading request of the operating system, providing an installation package of a corresponding application program to the operating system through the local server so as to install the corresponding application program on the computer equipment, wherein the application downloading request uses a downloading address carried by the plist file.
In some embodiments, in response to an application download request of the operating system, providing, by the local server, an installation package of a corresponding application program to the operating system to install the corresponding application program on the computer device, includes: responding to an application downloading request of an operating system, and judging whether a corresponding installation package of an application program is cached in computer equipment or not; if the installation package of the corresponding application program is cached, providing the cached installation package for the operating system through the local server; and if the corresponding installation package of the application program is not cached, downloading and caching the corresponding installation package of the application program, and continuously providing the data stream corresponding to the installation package of the corresponding application program to the operating system through the local server in the downloading process.
In some embodiments, caching an installation package of one or more applications in a computer device, includes: an installation package of one or more applications is downloaded from a remote server and stored in a computer device in advance.
In some embodiments, the method for testing reinstallation of an application program further includes: judging whether the cached installation package of the application program is consistent with the version of the corresponding installation package on the remote server; and if the cached installation package of the application program is inconsistent with the version of the corresponding installation package on the remote server, updating the installation package of the application program from the remote server.
In some embodiments, running a local server in a computer device comprises: and running the local server in the background of the computer equipment, and enabling the local server to be in an active state in the background.
In some embodiments, before the installation process sends the installation request to the operating system of the computer device, the method further comprises: and setting a plist file in a remote HTTPS server, and setting a download address of the application program in the plist file as a local address of the computer equipment.
In some embodiments, the method for testing reinstallation of an application program further includes: and responding to a request of an operating system of the computer device, and providing a corresponding plist file to the computer device through a remote HTTPS server.
In a second aspect, the present application provides a computer-readable storage medium, on which an application reloading test program is stored, and when executed by a processor, the application reloading test program implements the steps of the application reloading test method as described above.
In a third aspect, the present application provides an application reinstallation test system, including: a cache module configured to cache an installation package of one or more application programs in a computer device; the installation module is configured to send an installation request to an operating system of the computer device, where the installation request carries a plist url used to obtain a plist file, and information carried by the plist file includes: requesting description information and a download address of the installed application program, wherein the download address is set as a local address of the computer device; and the local server is used for responding to an application downloading request of the operating system of the computer equipment, providing an installation package of a corresponding application program for the operating system, and installing the corresponding application program on the computer equipment, wherein the application downloading request uses a downloading address carried by the plist file.
In some embodiments, the reinstalling a test system for an application program further includes: the system comprises a configuration module, a data processing module and a data processing module, wherein the configuration module is used for setting a plist file in a remote HTTPS server and setting a download address of an application program in the plist file as a local address of computer equipment; and the remote HTTPS server is used for responding to the request of the operating system of the computer device and providing the corresponding plist file to the computer device.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the technical scheme provided by the embodiment of the application, the installation package of the application program is cached in the computer equipment, and the download address of the installation package of the application program is set as the local address of the computer equipment, so that the download process is simulated, the download time is avoided, and the efficiency of the reinstallation test of the application program is improved; and the bottleneck brought by repeated downloading from the centralized server is avoided, and the method is suitable for large-scale automatic testing.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a flowchart of an embodiment of an application reinstallation test method provided in an embodiment of the present application;
fig. 2 is a flowchart of another implementation of an application reinstallation test method according to an embodiment of the present disclosure;
fig. 3 is a flowchart of yet another implementation manner of an application reinstallation test method according to an embodiment of the present application;
fig. 4 is a flowchart of yet another implementation manner of an application reinstallation test method according to an embodiment of the present disclosure;
fig. 5 is a block diagram illustrating a structure of an embodiment of an application reinstallation test system according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of an interaction process of an embodiment of an application reinstallation test system according to an embodiment of the present application; and
fig. 7 is a hardware schematic diagram of an implementation manner of a computer device according to an embodiment of the present application.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of description of the present application, and have no specific meaning by themselves. Thus, "module", "component" or "unit" may be used mixedly.
Fig. 1 is a flowchart of an implementation manner of an application reinstallation test method according to an embodiment of the present disclosure, and as shown in fig. 1, the application reinstallation test method includes steps S102 to S108.
Step S102, a local server is run in the computer device.
In embodiments of the present application, the local server may comprise an HTTP server or an HTTPs server, which runs locally on the computer device.
And step S104, caching the installation packages of one or more application programs in the computer equipment.
In some embodiments, the first time the application is installed, the installation package of the application is cached in the computer device for reinstallation test-time installation. In other embodiments, the installation package of the application is cached in the computer device in advance.
Step S106, sending an installation request to an operating system of a computer device, where the installation request carries a plist url for obtaining a plist file, and information carried by the plist file includes: description information of an application program requested to be installed and a download address (downloadURL), wherein the download address is set as a local address of the computer apparatus.
In the embodiment of the present application, the local address of the computer device is 127.0.0.1 or localhost.
In the embodiment of the present application, an operating system of a computer device requests a plist file from an address indicated by a plist url in response to an installation request. After the operating system of the computer device acquires the plist file, the description information and the download address of the application program are read from the plist file. The computer device displays the description information of the application program and prompts whether the application program is installed or not. In response to an instruction to approve installation of the application, the operating system of the computer device initiates an application download request using the download address in the plist file to download the installation package of the application from the download address and install in the computer device.
Step S108, in response to the application download request of the operating system, providing an installation package of a corresponding application program to the operating system through the local server, so as to install the corresponding application program on the computer device, where the application download request uses a download address carried in the plist file.
In step S108, the local server simulates a file downloading process, establishes a data stream using the cached installation package, and provides the data stream of the installation package to the computer operating system, so that the operating system performs the downloading process of the installation package.
Fig. 2 is a flowchart of another implementation of an application reinstallation test method according to an embodiment of the present disclosure, where as shown in fig. 2, the application reinstallation test method includes steps S202 to S212.
Step S202, a local server is run in the computer device.
In embodiments of the present application, the local server may comprise an HTTP server or an HTTPs server, which runs locally on the computer device.
In step S202, the local server is run in the background of the computer device, and is made to be active in the background. As an exemplary illustration, the local server is made active in the background by means of VoIP, location service (locationService), Bluetooth (Bluetooth), etc.
Step S204, caching the installation package of one or more application programs in the computer device.
Step S206, sending an installation request to an operating system of the computer device, where the installation request carries a plist url for obtaining a plist file, and information carried by the plist file includes: description information of an application program requested to be installed and a download address (downloadURL), which is set as a local address of the computer apparatus.
In step S206, the installation request may be sent to the operating system of the computer device through the installation process, but is not limited thereto.
In the embodiment of the present application, an operating system of a computer device requests a plist file from an address indicated by a plist url in response to an installation request. After the operating system of the computer device acquires the plist file, the description information and the download address of the application program are read from the plist file. The computer device displays the description information of the application program and prompts whether the application program is installed or not. In response to the instruction to approve installation of the application, the operating system of the computer device initiates an application download request, which uses the download address in the plist file, to download the application from the download address and install it in the computer device.
Step S208, responding to the application downloading request of the operating system, and judging whether the computer equipment caches the installation package of the corresponding application program; if the installation package of the corresponding application program is cached, the step S210 is entered; if the installation package of the corresponding application program is not cached, the process proceeds to step S212.
Step S210, providing the cached installation package to the operating system through the local server.
In step S210, the local server simulates a file downloading process, establishes a data stream using the cached installation package, and provides the data stream of the installation package to the computer operating system, so that the operating system performs the downloading process of the installation package.
Step S212, downloading and caching the installation package of the corresponding application program, and continuously providing the data stream corresponding to the installation package of the corresponding application program to the operating system through the local server during the downloading process.
In step S212, the installation package of the corresponding application program is downloaded from the remote server and cached by the local server.
Fig. 3 is a flowchart of another implementation manner of the application reinstallation test method according to the embodiment of the present application, and as shown in fig. 3, the application reinstallation test method includes steps S302 to S312.
Step S302, a local server is run in the computer device.
In embodiments of the present application, the local server may comprise an HTTP server or an HTTPs server, which runs locally on the computer device.
Step S304, caching the installation package of one or more application programs in the computer device.
Step S306, sending an installation request to an operating system of the computer device, where the installation request carries a plist url for obtaining a plist file, and information carried by the plist file includes: description information of an application program requested to be installed and a download address (downloadURL), wherein the download address is set as a local address of the computer apparatus.
In step S306, the installation request may be sent to the operating system of the computer device through the installation process, but is not limited thereto.
As an exemplary illustration, the download address downloadURL may be set to: http (s)// 127.0.0.0: [ port ]/downloadid ═ xxx, but is not limited thereto.
In the embodiment of the present application, an operating system of a computer device requests a plist file from an address indicated by a plist url in response to an installation request. After the operating system of the computer device acquires the plist file, the description information and the download address of the application program are read from the plist file. The computer device displays the description information of the application program and prompts whether the application program is installed or not. In response to the instruction to approve installation of the application, the operating system of the computer device initiates an application download request, which uses the download address in the plist file, to download the application from the download address and install it in the computer device.
Step S308, responding to an application downloading request of the operating system, and judging whether the cached installation package of the application program is consistent with the version of the corresponding installation package on the remote server or not; if not, go to step S310; if so, the process proceeds to step S312.
Step S310, updating the installation package of the application program from the remote server.
In step S310, the installation package of the corresponding application program is downloaded from the remote server and cached by the local server.
Step S312, the cached installation package is provided to the operating system through the local server.
In step S312, the local server simulates a file downloading process, establishes a data stream using the cached installation package, and provides the data stream of the installation package to the computer operating system, so that the operating system performs the downloading process of the installation package.
In some embodiments, the local server periodically communicates with the remote server to determine if a cached installation package for the application has a version update, and if so, downloads and caches the new installation package from the remote server.
Fig. 4 is a flowchart of another implementation manner of the application reinstallation test method according to the embodiment of the present application, and as shown in fig. 4, the application reinstallation test method includes steps S402 to S412.
Step S402, setting a plist file in the remote HTTPS server, and setting a download address of the application program in the plist file as a local address of the computer device.
In this embodiment of the present application, the information carried by the plist file includes: description information of the application program and a download address (downloadURL), which is set as a local address of the computer apparatus. As an exemplary illustration, the download address downloadURL may be set to: http (s)// 127.0.0.0: [ port ]/downloadid ═ xxx, but is not limited thereto.
Step S404 runs a local server in the computer device.
In embodiments of the present application, the local server may comprise an HTTP server or an HTTPs server, which runs locally on the computer device.
Step S406, caching the installation package of one or more application programs in the computer device.
Step S408, sending an installation request to an operating system of the computer device, where the installation request carries a plistURL for obtaining a plist file.
In the embodiment of the present application, an operating system of a computer device requests a plist file from an address indicated by a plist url in response to an installation request.
Step S410, in response to a request of an operating system of the computer device, providing a corresponding plist file to the computer device through the remote HTTPS server.
After the operating system of the computer device acquires the plist file, the description information and the download address of the application program are read from the plist file. The computer device displays the description information of the application program and prompts whether the application program is installed or not. In response to an instruction to approve installation of the application program, the operating system of the computer device initiates an application download request, which uses the download address in the plist file, to download the installation package of the application program from the download address, and install the application program in the computer device.
Step S412, in response to the application download request of the operating system, providing an installation package of a corresponding application program to the operating system through the local server, so as to install the corresponding application program on the computer device, where the application download request uses a download address carried in the plist file.
In step S412, the local server simulates a file downloading process, establishes a data stream using the cached installation package, and provides the data stream of the installation package to the computer operating system, so that the operating system performs the downloading process of the installation package.
Fig. 5 is a block diagram of an implementation manner of an application reinstallation test system according to an embodiment of the present application, and as shown in fig. 5, the application reinstallation test system includes: a caching module 510, an installation module 520, and a local server 530.
Referring to fig. 5, a caching module 510 is configured to cache installation packages for one or more applications in a computer device.
An installation module 520, configured to send an installation request to an operating system of a computer device, where the installation request carries a plist url used to obtain a plist file, and information carried by the plist file includes: the method includes requesting for description information of an installed application program and a download address, wherein the download address is set to a local address of the computer device.
And the local server 530 is used for responding to an application downloading request of the operating system, and providing an installation package of the corresponding application program to the operating system so as to install the corresponding application program on the computer device, wherein the application downloading request of the operating system uses a downloading address carried by the plist file, and the downloading address is set as a local address of the computer device.
In some embodiments, referring to fig. 5, the application reinstallation test system further includes: a configuration module 540, configured to set a plist file in a remote HTTPS server, and set a download address of an application program in the plist file as a local address of a computer device; and a remote HTTPS server 550 for providing a corresponding plist file to the computer device in response to a request of an operating system of the computer device.
In some embodiments, the installation module 520 is configured to determine, in response to an application download request of the operating system, whether an installation package of a corresponding application program is cached in the computer device; if the installation package of the corresponding application program is cached, the cached installation package is provided for the operating system through the local server 530; if the installation package of the corresponding application program is not cached, the installation package of the corresponding application program is downloaded and cached through the caching module 510, and in the downloading process, the data stream corresponding to the installation package of the corresponding application program is continuously provided to the operating system through the local server 530.
In some embodiments, the installation module 520 is configured to run the local server 530 in the background of the computer device and to make the local server 530 active in the background.
In some embodiments, the installation module 520 is configured to determine whether the cached installation package of the application program is consistent with a version of a corresponding installation package on the remote server; and if the cached installation package of the application program is inconsistent with the version of the corresponding installation package on the remote server, updating the installation package of the application program from the remote server.
Fig. 6 is a schematic diagram of an interaction process of an implementation manner of an application reinstallation test system according to an embodiment of the present application, and an interaction process of the application reinstallation test system shown in fig. 5 is described below with reference to fig. 6.
Referring to fig. 5 and 6, a remote HTTPS server 550(secure website) is built on the internet. The configuration module 540 configures the plist file, the download address (downloadURL) in the plist file points to the computer device itself, and the host in the downloadURL should be 127.0.0.1 or localhost.
The local server 530 (local website) is pre-installed on the computer device. The local server 530 is "keep-alive" using techniques such as voip, locationService, bluetooth, etc., so that the local server 530 is also active in the background.
The local server 530 is responsible for caching the installation packages for those applications to be installed. In some embodiments, the installation package of the caching application is downloaded in advance. In other embodiments, the download and caching may also be performed when no cache is found. Of course, the installation packages of some applications may be cached in advance, while the installation packages of other applications are downloaded and cached at the first installation. The local server 530 is responsible for managing the cache and determining whether the content in the cache is consistent with the remote version.
The local server 530 responds directly with the local cache when the locally cached application is satisfactory.
The computer equipment provided in the embodiment of the application comprises mobile terminals such as an intelligent bracelet, an intelligent watch, a tablet computer and an intelligent mobile phone. The computer device provided in the embodiment of the present application may include: a Radio Frequency (RF) unit, a WiFi module, an audio output unit, an a/V (audio/video) input unit, a sensor, a display unit, a user input unit, an interface unit, a memory, a processor, and a power supply.
In the following description, a computer device will be taken as an example, please refer to fig. 7, which is a schematic diagram of a hardware structure of a computer device for implementing various embodiments of the present application, where the computer device 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111.
Those skilled in the art will appreciate that the computer device architecture illustrated in FIG. 7 is not intended to be limiting of computer devices, which may include more or fewer components than those illustrated, or some of the components may be combined, or a different arrangement of components.
In this embodiment, the memory 109 (i.e., a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), and the like. In some embodiments, memory 109 may be an internal storage unit of computer device 100. In other embodiments, memory 109 may also be an external storage device to computer device 100. Of course, the memory 109 may also include both internal and external storage devices for the computer device 100. In this embodiment, the memory 109 is generally used for storing an operating system installed in the computer device 100 and various types of application software, such as program codes of the application reinstallation test system in the first embodiment. Further, the memory 109 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 110 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 110 is generally used to control the overall operation of the computer device 100. In this embodiment, the processor 110 is configured to run the program codes stored in the memory 109 or process data, for example, run an application reinstallation test system, so as to implement the application reinstallation test method described above.
The present embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc., on which a computer program is stored, which when executed by a processor implements corresponding functions. The computer readable storage medium of this embodiment is used for storing an application reloading test system, and when being executed by a processor, the computer readable storage medium implements an application reloading test method.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (7)

1. An application program reinstallation test method, comprising:
running a local HTTP or HTTPS server in computer equipment, wherein the computer equipment is iOS equipment;
caching an installation package of one or more applications in the computer device;
setting a plist file in a remote HTTPS server, and setting a download address of an application program in the plist file as a local address of computer equipment;
sending an installation request to an operating system of the computer device, wherein the installation request carries plist URLs used for acquiring plist files, and information carried by the plist files comprises: the description information and the download address of the application program requested to be installed;
responding to a request of an operating system of the computer device, and providing a corresponding plist file to the computer device through the remote HTTPS server;
responding to an application downloading request of the operating system, simulating a file downloading process through the local HTTP or HTTPS server to provide an installation package of a corresponding application program for the operating system so as to install the corresponding application program on the computer equipment, wherein the application downloading request uses a downloading address carried by the plist file;
wherein, simulating a file download process through the local HTTP or HTTPs server to provide an installation package of a corresponding application program to the operating system includes: judging whether the computer equipment caches an installation package of a corresponding application program or not; and if the installation package of the corresponding application program is cached, simulating a file downloading process through the local HTTP or HTTPS server to provide the cached installation package for the operating system.
2. The method for testing the reinstallation of an application program according to claim 1, wherein the installation package of the corresponding application program is provided to the operating system by the local HTTP or HTTPs server simulating a file download process, further comprising:
and if the installation package of the corresponding application program is not cached, downloading and caching the installation package of the corresponding application program, and continuously providing the data stream corresponding to the installation package of the corresponding application program to the operating system through the local HTTP or HTTPS server in the downloading process.
3. The application reinstallation test method according to claim 1 or 2, wherein caching the installation package of one or more applications in the computer device comprises:
an installation package of one or more applications is downloaded from a remote server and stored in the computer device in advance.
4. The method for testing reinstallation of an application according to claim 1 or 2, further comprising:
judging whether the cached installation package of the application program is consistent with the version of the corresponding installation package on the remote server;
and if the cached installation package of the application program is inconsistent with the version of the corresponding installation package on the remote server, updating the installation package of the application program from the remote server.
5. The application reinstallation test method according to claim 1, characterised in that running a local HTTP or HTTPs server in the computer device, comprises: running a local HTTP or HTTPS server in the background of the computer equipment, and enabling the local HTTP or HTTPS server to be in an active state in the background.
6. A computer-readable storage medium, having an application reinstallation test program stored thereon, wherein the application reinstallation test program, when executed by a processor, performs the steps of the application reinstallation test method according to any one of claims 1 to 5.
7. An application reinstallation test system, comprising:
the system comprises a cache module, a storage module and a control module, wherein the cache module is used for caching an installation package of one or more application programs in computer equipment, and the computer equipment is iOS equipment;
the system comprises a configuration module, a data processing module and a data processing module, wherein the configuration module is used for setting a plist file in a remote HTTPS server and setting a download address of an application program in the plist file as a local address of the computer equipment;
the remote HTTPS server is used for responding to a request of an operating system of the computer equipment and providing a corresponding plist file to the computer equipment;
the installation module is used for sending an installation request to an operating system of the computer device, wherein the installation request carries plist URLs used for acquiring plist files, and information carried by the plist files comprises: the description information and the download address of the application program requested to be installed;
the local HTTP or HTTPS server is used for responding to an application downloading request of the operating system, simulating a file downloading process to provide an installation package of a corresponding application program for the operating system so as to install the corresponding application program on the computer equipment, wherein the application downloading request uses a downloading address carried by the plist file;
the local HTTP or HTTPs server is specifically configured to determine whether an installation package of a corresponding application program is cached in the computer device; if the installation package of the corresponding application program is cached, simulating a file downloading process to provide the cached installation package for the operating system.
CN202010920315.3A 2020-09-04 2020-09-04 Application program reinstallation test method, system and computer readable storage medium Active CN112115050B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010920315.3A CN112115050B (en) 2020-09-04 2020-09-04 Application program reinstallation test method, system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010920315.3A CN112115050B (en) 2020-09-04 2020-09-04 Application program reinstallation test method, system and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112115050A CN112115050A (en) 2020-12-22
CN112115050B true CN112115050B (en) 2021-07-02

Family

ID=73802201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010920315.3A Active CN112115050B (en) 2020-09-04 2020-09-04 Application program reinstallation test method, system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112115050B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103347258A (en) * 2013-06-07 2013-10-09 北京车音网科技有限公司 Downloading method, system and server of application program and terminal equipment
CN103414766A (en) * 2013-07-29 2013-11-27 北京小米科技有限责任公司 Method, device and terminal equipment for installing application
US10346829B2 (en) * 2015-12-30 2019-07-09 Paypal, Inc. Display of locally broadcasted uniform resource locators for checkout and payment

Also Published As

Publication number Publication date
CN112115050A (en) 2020-12-22

Similar Documents

Publication Publication Date Title
CN108768875B (en) Application gray level publishing method and device and computer readable storage medium
CN106897086B (en) Method, device and system for upgrading robot operating system
US10713034B2 (en) Updating web resources
CN107515764B (en) Application page opening method, terminal and computer readable storage medium
CN107741844B (en) Method and device for generating application installation package
EP2907099B1 (en) Testing framework for applications
CN107015870B (en) Method and device for realizing communication between web page and local application and electronic equipment
CN107526605B (en) Method and device for realizing application program loading service assembly
JP5004857B2 (en) Application update information providing system and application update information providing method
JP2008508623A (en) Portable wireless communication device and method for updating software
CN113064685A (en) H5 page loading method and device
CN101952846A (en) Advertisement system based on smart card, a method thereof, and smart card applied to the same
CN101980503B (en) Method, device and system for managing widget application
CN104219323A (en) Application downloading method and mobile terminal
CN112115050B (en) Application program reinstallation test method, system and computer readable storage medium
CN103365672A (en) Method and system for processing description information of application program
KR20010090304A (en) Download service system for mobilephone
CN110493644B (en) Television application upgrading method, television terminal and server
WO2023020071A1 (en) Upgrade package acquisition method and smart device
CN107390966B (en) Method and device for updating application upgrading prompt information
CN109032651B (en) Application updating method, intelligent terminal and computer readable storage medium
CN112394952B (en) Method and system for dynamically generating Launcher based on Hybrid App and storage medium
KR100774475B1 (en) Method for downloading software of mobile terminal
KR20060110965A (en) Mobile communication system enable to auto-update of program and its operating method
CN114564223A (en) Application program hot updating method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant