CN107247661B - Method and system for supporting automatic verification of installation package of application - Google Patents

Method and system for supporting automatic verification of installation package of application Download PDF

Info

Publication number
CN107247661B
CN107247661B CN201710323761.4A CN201710323761A CN107247661B CN 107247661 B CN107247661 B CN 107247661B CN 201710323761 A CN201710323761 A CN 201710323761A CN 107247661 B CN107247661 B CN 107247661B
Authority
CN
China
Prior art keywords
package
verification
information
installation package
user scene
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
CN201710323761.4A
Other languages
Chinese (zh)
Other versions
CN107247661A (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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710323761.4A priority Critical patent/CN107247661B/en
Publication of CN107247661A publication Critical patent/CN107247661A/en
Application granted granted Critical
Publication of CN107247661B publication Critical patent/CN107247661B/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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The present disclosure provides a method and system for supporting automated verification of an installation package for an application. The method may include: configuring and packaging package information of the installation package at a packaging device; in response to triggering automated verification, sending the configured packet information and packet address to a verification device; and downloading the installation package and automatically performing package information verification at the verification device in response to receiving the package information and the package address.

Description

Method and system for supporting automatic verification of installation package of application
Technical Field
The present disclosure relates to the field of electronic technologies, and more particularly, to a system and method for supporting automated verification of an installation package of an application.
Background
With the rapid development of electronic devices, it is often necessary to pre-load a variety of applications for use by a user. However, for an application provider providing an application, in order to pre-install the application in an electronic device to better promote the application, a business specialist is often required to manually provide different versions of an application installation package for electronic devices of different brands, different models or different channels, and before pre-installation, a tester is also often required to manually verify and test a user scenario of the provided application installation package. This results in time and labor consuming and inefficient verification of the installation package.
Disclosure of Invention
In view of this, the present disclosure provides a method and a system for supporting automated verification of an installation package of an application, so that a pre-installation requirement can be responded in time, package information can be automatically and rapidly verified, and a user scenario test can be executed, thereby avoiding participation of testers and improving system efficiency.
One aspect of the present disclosure provides a method for supporting automated verification of an installation package of an application, comprising: configuring and packaging package information of the installation package at a packaging device; in response to triggering automated verification, sending the configured packet information and packet address to a verification device; and downloading the installation package and automatically performing package information verification at the verification device in response to receiving the package information and the package address.
According to an embodiment of the present disclosure, the automatically performing packet information verification includes: decompressing the downloaded installation package and extracting package information; and comparing the extracted packet information with the received packet information to verify whether the packet information is correct.
According to an embodiment of the present disclosure, the method further comprises: and responding to the triggering of the user scene automatic test, installing the installation package from the packaging device into the user equipment by using a debugging tool, and performing the user scene automatic test on the installation package by simulating the user scene.
According to an embodiment of the present disclosure, the method further includes sending the configured packet information and packet address to the authentication device through UR L.
Another aspect of the present disclosure provides a system for supporting automated verification of an installation package of an application, comprising: the packaging device is used for configuring and packaging the package information of the installation package, responding to the triggering of automatic verification and sending the configured package information and the package address to the verification device; and verification means for downloading the installation package and automatically performing package information verification in response to receiving the package information and the package address.
According to an embodiment of the present disclosure, the authentication device is further configured to: decompressing the downloaded installation package and extracting package information; and comparing the extracted packet information with the received packet information to verify whether the packet information is correct.
According to the embodiment of the disclosure, the system further comprises a user scenario automation test device, which is used for responding to the triggering of the user scenario automation test, installing the installation package from the packaging device into the user equipment by using a debugging tool, and performing the user scenario automation test on the installation package by simulating the user scenario.
According to an embodiment of the present disclosure, the packaging device is further configured to send the configured package information and package address to the verification device through UR L.
Another aspect of the present disclosure provides a system for supporting automated verification of an installation package of an application, comprising: a storage configured to store package information of an installation package of an application; the first processing device is configured to configure and package the packet information from the storage device, and send the configured packet information and the packet address to the second processing device in response to triggering the automatic verification; and a second processing device configured to download the installation package and automatically perform package information verification in response to receiving the package information and the package address from the first processing device.
Another aspect of the disclosure provides a computer-readable storage medium having executable instructions stored thereon, wherein the instructions, when executed by a first processor, cause the first processor to: configuring and packaging the package information of the application installation package, responding to the trigger automatic verification, and sending the configured package information and the package address; and the instructions, when executed by the second processor, cause the second processor to: in response to receiving the package information and the package address, the installation package is downloaded and package information verification is automatically performed.
Another aspect of the disclosure provides a computer program comprising computer executable instructions for implementing the method as described above when executed.
According to the embodiment of the disclosure, because the method and the system for supporting automatic verification of the application installation package according to the embodiment of the disclosure can respond to the triggering of automatic verification to send the configured package information and package address to the verification device, the problems of time and labor waste and low efficiency in the process of verifying the installation package and the user scene test in the prior art are at least partially solved, and therefore, the technical effect of automatically and quickly verifying the package information in response to the pre-installation requirement in time can be realized.
In addition, according to the method and the system for supporting automatic verification of the application installation package, the installation package from the packaging device can be installed into the user equipment by utilizing the debugging tool, and the user scene automatic test is carried out on the installation package by simulating the user scene, so that testers do not need to participate in the test, and the working efficiency is improved.
On the other hand, according to the method and the system for supporting automatic verification of the application installation package, channel numbers corresponding to different channels can be packaged in the installation package, that is, the installation packages issued for different channels have different channel numbers, so that popularization conditions and test conditions of software in different channels are conveniently tracked, and information support is provided for subsequent updating and perfecting of software products.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments of the present disclosure with reference to the accompanying drawings, in which:
FIG. 1 illustrates an exemplary system architecture to which a method of supporting automated verification of an installation package of an application according to an embodiment of the disclosure may be applied;
FIG. 2 schematically illustrates a block diagram of a system that supports automated verification of an installation package of an application, in accordance with an embodiment of the present disclosure;
FIG. 3 illustrates another particular embodiment of a system that supports automated verification of an installation package of an application in accordance with an embodiment of the present disclosure;
FIG. 4 schematically illustrates a flow chart of a method of supporting automated verification of an installation package of an application in accordance with an embodiment of the present disclosure;
FIG. 5 schematically illustrates one particular implementation of a method of supporting automated verification of an installation package of an application, in accordance with an embodiment of the present disclosure;
FIG. 6 is a process diagram that schematically illustrates operation of a user scenario automation test on an installation package of an application, in accordance with an embodiment of the present disclosure; and
FIG. 7 illustrates a schematic structural diagram of a computer system suitable for use in implementing a terminal device of an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The words "a", "an" and "the" and the like as used herein are also intended to include the meanings of "a plurality" and "the" unless the context clearly dictates otherwise. Furthermore, the terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable medium having instructions stored thereon for use by or in connection with an instruction execution system. In the context of this disclosure, a computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the instructions. For example, the computer readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. Specific examples of the computer readable medium include: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and/or wired/wireless communication links.
The embodiment of the disclosure provides a method and a system for supporting automatic verification of an application installation package, the method can respond to a preassembly requirement in time, automatically and quickly verify package information, and can automatically execute a user scene test without the participation of testers, so that the working efficiency can be improved.
Fig. 1 illustrates an exemplary system architecture 100 to which a method of supporting automated verification of an installation package of an application according to an embodiment of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a shopping application, a web browser application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for shopping-like websites browsed by users using the terminal devices 101, 102, 103. The backend management server may analyze and perform other processing on the received data such as the product information query request, and feed back a processing result (for example, target push information, product information — just an example) to the terminal device.
It should be noted that the method for supporting the automatic verification of the installation package of the application provided by the embodiment of the present disclosure is generally executed by the server 105, and accordingly, a system for supporting the automatic verification of the installation package of the application is generally disposed in the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
FIG. 2 schematically illustrates a block diagram of a system 200 that supports automated verification of an installation package of an application in accordance with an embodiment of the present disclosure.
As shown in fig. 2, the system 200 according to this embodiment may include a packaging apparatus 210 and a verification apparatus 220.
In particular, the packaging apparatus 210 may configure and package information for the installation package, and send the configured package information and package address to the validation apparatus 220 in response to triggering automated validation, for example, in alternative embodiments, the packaging apparatus 210 may be further configured to send the configured package information and package address to the validation apparatus 220 via UR L.
The verification means 220 may download the installation package and automatically perform package information verification in response to receiving the package information and the package address. In one embodiment, the verification device 220 may be configured to download the installation package according to the package address, decompress the downloaded installation package, and thereby extract the package information. Further, the verification means 220 may be configured to compare the extracted packet information with the received packet information, and verify whether the packet information is correct. That is, if the two packet information are the same, the authentication is considered to be successful, otherwise, the authentication is considered to be failed.
In addition, the system 200 may alternatively include a user scenario automation test apparatus configured to, in response to triggering the user scenario automation test, install the installation package into the user equipment using the debugging tool, and perform the user scenario automation test on the installation package by simulating the user scenario. The installation package may be an installation package received by the user scenario automation test device from the packaging device 210. Alternatively, when the user scenario automation test device and the verification device 220 are implemented as an all-in-one machine, the installation package may be an installation package downloaded by the verification device 220 according to a package address. In one embodiment, the event triggering the user scenario automation test may be set by a user, and may include, for example, the packaging device completing packaging of package information of the installation package or the verification device verifying the package information is passed. That is, once the packaging device completes packaging the package information of the installation package, the user scenario automation test device may be triggered to perform the user scenario automation test on the installation package. After the verification device verifies the package information, the user scene automatic testing device is triggered to execute the user scene automatic testing on the installation package. The former is independent of the operation of automatically verifying the package information, so that the operation of automatically verifying the package information and the operation of automatically testing the user scene of the installation package can be respectively and independently or simultaneously executed, thereby effectively utilizing system resources and more quickly executing the test. The method is attached to the verification passing, so that the user scene automatic test is only carried out on the installation package passing the verification, and the test resources are saved. It should be noted that the trigger condition is not limited to this, and other trigger conditions may also be set for different usage requirements.
A specific implementation of a system that supports automated verification of an installation package for an application in accordance with an embodiment of the present disclosure is described above. In addition to the above implementation manners, the system for supporting automated verification of the installation package of the application according to the embodiment of the present disclosure may also be implemented as other various devices.
As an example, FIG. 3 illustrates another particular embodiment of a system that supports automated verification of an installation package of an application in accordance with an embodiment of the present disclosure. The system may be implemented as a system 300 that includes the following components: a storage device 310 configured to store package information of an installation package of an application, for example, package information 1, package information 2, package information n, and the like; a first processing device 320 configured to configure and package the packet information from the storage device, and in response to triggering the automated verification, send the configured packet information and the packet address to the second processing device 230; and a second processing device 230 configured to download the installation package and automatically perform package information verification in response to receiving the package information and the package address from the first processing device.
The storage device may include various forms of memory such as non-volatile or volatile memory, for example, electrically erasable programmable read-only memory (EEPROM), flash memory, and/or a hard drive. The memory may comprise a computer program comprising code/computer readable instructions which, when executed by the first processing means and/or the second processing means, enable performance of a method such as described in the present disclosure and any variations thereof.
The first and/or second processing means may each be a single Central Processing Unit (CPU), but may also comprise two or more processing units. For example, the processing device may include a general purpose microprocessor, an instruction set processor and/or related chip set and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)). The processing device may also include onboard memory for caching purposes.
FIG. 4 schematically illustrates a flow chart of a method of supporting automated verification of an installation package of an application in accordance with an embodiment of the present disclosure.
As shown in fig. 4, the method includes configuring and packaging package information of the installation package at a packaging device in operation S410.
The configured package information and package address may then be sent to the verification device in response to triggering automated verification in operation S420, for example, the configured package information and package address may be sent to the verification device via UR L.
In operation S430, in response to receiving the package information and the package address, the installation package is downloaded and the package information verification is automatically performed at the verification device. In one embodiment, the automatically performing packet information verification may include: decompressing the downloaded installation package and extracting package information; and comparing the extracted packet information with the received packet information to verify whether the packet information is correct.
Furthermore, the method may alternatively further comprise: and responding to the triggering of the user scene automatic test, installing the installation package from the packaging device into the user equipment by using a debugging tool, and performing the user scene automatic test on the installation package by simulating the user scene. Therefore, the test process does not need testers to participate in the test, and the working efficiency can be improved.
Fig. 5 schematically illustrates a specific implementation of a method for supporting automated verification of an installation package of an application according to an embodiment of the present disclosure.
As shown in fig. 5, the packaging device may be implemented as a packaging System of a Content Management System (CMS), and the verification device may be implemented by an open source software platform such as Jenkins, specifically, installation package information of each vendor, for example, partner information, channel number, version number, and supported software development kit and target software development kit, are first configured in the CMS packaging System at operation P51, that is, installation packages issued for different channels have different channel numbers, which facilitates tracking promotion and test of software in different channels, thereby providing information support for subsequent updating and perfecting of software products, then, at operation P53, after successful packaging, an automation test may be triggered, configured package information and package addresses are provided to the verification device such as Jenkins by linking (e.g., UR L), the configured package information and package addresses may be extracted by a link verification device such as jkens, and if the verification package information and package addresses are extracted by a verification device, such as a verification program, a verification program may be executed by a matching a verification program, or a verification program may be executed by a verification device that extracts a verification package information and returns a verification package address corresponding to a verification result, such as a verification program, which may be executed by a verification program, such as a verification program, or a verification program, such as a verification program, which may be executed by a verification program, such as a verification program, which may read a verification program, and otherwise, read a verification program, and may be executed by a verification program, or a verification program, compare a verification program which may be executed by a verification program which performs a verification program which.
A specific implementation of the method for supporting automated verification of an installation package of an application according to an embodiment of the present disclosure is described above. It should be noted that the present disclosure is not limited thereto, and various variations, modifications, and omissions may be included within the scope of the present disclosure.
FIG. 6 schematically illustrates a process diagram of operations for user scenario automation testing of an installation package of an application, in accordance with an embodiment of the present disclosure.
As shown in fig. 6, first, in operation P61, an installation package is acquired. For example, it may include obtaining an installation package from, for example, a CMS packaging apparatus. Alternatively, in the case where the verification apparatus and the user scenario automated test apparatus are implemented as a unified machine, if the installation package is already obtained when automated verification is performed on the package information of the installation package, this step may be omitted. The installation package is then installed into the user device by the debugger in operation P63. For example, the installation package is installed into the user device by a debugging program such as an android debug bridge. Next, at operation P65, a user scenario automation test is performed and test results are generated. In particular, a page control may be utilized to click to see if the desired element is present. For example, the flow of core business such as selecting goods, clicking on a shopping cart, submitting an order may be simulated. The testing framework is utilized to ensure that the execution of each user scene is relatively independent, and the precondition is initialized each time, for example, the account is logged in. The testing process checks for core scenarios such as search, item detail, login, shopping cart, etc. After all the use cases are executed, the generated data are displayed in a table mode through tags such as < tr >, < table >, < td > and the like, so that whether the user scene is executed successfully or not can be checked. Alternatively, the throughput rate may be presented in html. At operation P67, a test report is generated according to the test result. Finally, at operation P69, the user scenario automation test report is sent to the management platform for presentation. By carrying out user scene automatic test on the installation package of the application, the process that the user terminal downloads the installation package and uses the application can be simulated, and the development function (especially the core function) of the installation package is tested, so that the software experience of the user in the actual application is improved.
The above describes operations of performing user scenario automation testing on an installation package of an application according to an embodiment of the present disclosure. It should be noted that the present disclosure is not limited thereto, and various variations, modifications, and omissions may be included within the scope of the present disclosure.
Referring now to FIG. 7, shown is a block diagram of a computer system 700 suitable for use in implementing a terminal device of an embodiment of the present disclosure. The terminal device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
To the I/O interface 705, AN input section 706 including a keyboard, a mouse, and the like, AN output section 707 including a keyboard such as a Cathode Ray Tube (CRT), a liquid crystal display (L CD), and the like, a speaker, and the like, a storage section 708 including a hard disk and the like, and a communication section 709 including a network interface card such as a L AN card, a modem, and the like, the communication section 709 performs communication processing via a network such as the internet, a drive 710 is also connected to the I/O interface 705 as necessary, a removable medium 711 such as a magnetic disk, AN optical disk, a magneto-optical disk, a semiconductor memory, and the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program executes the above-described functions defined in the system of the present application when executed by the Central Processing Unit (CPU) 701.
It should be noted that the computer readable medium shown in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a transmitting unit, an obtaining unit, a determining unit, and a first processing unit. The names of these units do not in some cases form a limitation on the unit itself, and for example, the sending unit may also be described as a "unit sending an object acquisition request to a connected server".
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.

Claims (8)

1. A method of supporting automated verification of an installation package of an application, comprising:
configuring and packaging package information of the installation package at a packaging device;
in response to triggering automated verification, sending the configured packet information and packet address to a verification device;
in response to receiving the package information and the package address, downloading an installation package based on the package address and automatically performing package information verification at a verification device; and
in response to triggering of the user scene automatic test, installing the installation package from the packaging device into user equipment by using a debugging tool, and performing the user scene automatic test on the installation package by simulating a user scene;
the event triggering the user scene automatic test is set by a user, and the event comprises the completion of packaging the package information of the installation package by a packaging device or the verification of the package information passing by a verification device; under the condition that the event triggering the user scene automatic test is that the packaging device completes packaging of the package information of the installation package, the operation of carrying out automatic verification on the package information and the operation of carrying out the user scene automatic test on the installation package are respectively and independently or simultaneously executed; and under the condition that the event triggering the user scene automatic test is the verification pass package information of the verification device, only carrying out the user scene automatic test on the installation package passing the verification.
2. The method of claim 1, the automatically performing package information verification comprising:
decompressing the downloaded installation package and extracting package information; and
and comparing the extracted packet information with the received packet information to verify whether the packet information is correct or not.
3. The method of claim 1, further comprising sending the configured packet information and packet address to the authentication device via UR L.
4. A system that supports automated verification of an installation package for an application, comprising:
the packaging device is used for configuring and packaging the package information of the installation package, responding to the triggering of automatic verification and sending the configured package information and the package address to the verification device; and
verification means for downloading an installation package based on the package address and automatically performing package information verification in response to receiving the package information and the package address; and
the user scene automatic testing device is used for responding to triggering user scene automatic testing, installing an installation package from the packaging device into user equipment by using a debugging tool, and performing user scene automatic testing on the installation package by simulating a user scene;
the event triggering the user scene automatic test is set by a user, and the event comprises the completion of packaging the package information of the installation package by a packaging device or the verification of the package information passing by a verification device; under the condition that the event triggering the user scene automatic test is that the packaging device completes packaging of the package information of the installation package, the operation of carrying out automatic verification on the package information and the operation of carrying out the user scene automatic test on the installation package are respectively and independently or simultaneously executed; and under the condition that the event triggering the user scene automatic test is the verification pass package information of the verification device, only carrying out the user scene automatic test on the installation package passing the verification.
5. The system of claim 4, the authentication device further configured to:
decompressing the downloaded installation package and extracting package information; and
and comparing the extracted packet information with the received packet information to verify whether the packet information is correct or not.
6. The system of claim 4, wherein the packetizing means is further configured to send the configured packet information and packet address to the verifying means via the UR L.
7. A system that supports automated verification of an installation package for an application, comprising:
a storage configured to store package information of an installation package of an application;
the first processing device is configured to configure and package the packet information from the storage device, and send the configured packet information and the packet address to the second processing device in response to triggering the automatic verification; and
a second processing device configured to, in response to receiving the package information and the package address from the first processing device, download the installation package based on the package address, and automatically perform package information verification;
the second processing device is further configured to: in response to triggering of the user scene automatic test, installing the installation package from the packaging device into user equipment by using a debugging tool, and performing the user scene automatic test on the installation package by simulating a user scene;
the event triggering the user scene automatic test is set by a user, and the event comprises the completion of packaging the package information of the installation package by a packaging device or the verification of the package information passing by a verification device; under the condition that the event triggering the user scene automatic test is that the packaging device completes packaging of the package information of the installation package, the operation of carrying out automatic verification on the package information and the operation of carrying out the user scene automatic test on the installation package are respectively and independently or simultaneously executed; and under the condition that the event triggering the user scene automatic test is the verification pass package information of the verification device, only carrying out the user scene automatic test on the installation package passing the verification.
8. A computer-readable storage medium having executable instructions stored thereon, wherein the instructions, when executed by a first processor, cause the first processor to: configuring and packaging the package information of the application installation package, responding to the trigger automatic verification, and sending the configured package information and the package address; and
the instructions, when executed by the second processor, cause the second processor to:
in response to receiving the package information and the package address, downloading an installation package based on the package address and automatically performing package information verification;
in response to triggering of the user scene automatic test, installing the installation package from the packaging device into user equipment by using a debugging tool, and performing the user scene automatic test on the installation package by simulating a user scene;
the event triggering the user scene automatic test is set by a user, and the event comprises the completion of packaging the package information of the installation package by a packaging device or the verification of the package information passing by a verification device; under the condition that the event triggering the user scene automatic test is that the packaging device completes packaging of the package information of the installation package, the operation of carrying out automatic verification on the package information and the operation of carrying out the user scene automatic test on the installation package are respectively and independently or simultaneously executed; and under the condition that the event triggering the user scene automatic test is the verification pass package information of the verification device, only carrying out the user scene automatic test on the installation package passing the verification.
CN201710323761.4A 2017-05-09 2017-05-09 Method and system for supporting automatic verification of installation package of application Active CN107247661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710323761.4A CN107247661B (en) 2017-05-09 2017-05-09 Method and system for supporting automatic verification of installation package of application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710323761.4A CN107247661B (en) 2017-05-09 2017-05-09 Method and system for supporting automatic verification of installation package of application

Publications (2)

Publication Number Publication Date
CN107247661A CN107247661A (en) 2017-10-13
CN107247661B true CN107247661B (en) 2020-07-31

Family

ID=60017321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710323761.4A Active CN107247661B (en) 2017-05-09 2017-05-09 Method and system for supporting automatic verification of installation package of application

Country Status (1)

Country Link
CN (1) CN107247661B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377333A (en) * 2019-07-24 2019-10-25 上海游民网络科技有限公司 A kind of application installation package document handling method and system
CN112817850A (en) * 2021-01-28 2021-05-18 北京达佳互联信息技术有限公司 Information processing method, device, system, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019708A (en) * 2012-11-30 2013-04-03 北京奇虎科技有限公司 Method and system for releasing software
CN105607992A (en) * 2015-09-29 2016-05-25 网易(杭州)网络有限公司 Application program test method, device and system
CN106354626A (en) * 2015-07-21 2017-01-25 腾讯科技(深圳)有限公司 Application test and method, system and device realizing application test in multiple terminals

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160274999A1 (en) * 2014-05-20 2016-09-22 Samsung Electronics Co., Ltd. Distributed test and profiler framework

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019708A (en) * 2012-11-30 2013-04-03 北京奇虎科技有限公司 Method and system for releasing software
CN106354626A (en) * 2015-07-21 2017-01-25 腾讯科技(深圳)有限公司 Application test and method, system and device realizing application test in multiple terminals
CN105607992A (en) * 2015-09-29 2016-05-25 网易(杭州)网络有限公司 Application program test method, device and system

Also Published As

Publication number Publication date
CN107247661A (en) 2017-10-13

Similar Documents

Publication Publication Date Title
US11144439B2 (en) Emulation-based testing of a microservices architecture
CN108768730B (en) Method and device for operating intelligent network card
US20110154305A1 (en) System and method for remotely compiling multi-platform native applications for mobile devices
CN109684188B (en) Test method and device
CN108111364B (en) Service system testing method and device
CN107305528B (en) Application testing method and device
CN112463729B (en) Data file warehousing method and device, electronic equipment and medium
CN109002389B (en) Method and device for automatically testing page
WO2019029451A1 (en) Method for publishing mobile applications and electronic apparatus
CN109241722A (en) For obtaining method, electronic equipment and the computer-readable medium of information
CN110059011A (en) Interface test method, device, medium and electronic equipment
CN107229565B (en) Test method and device
CN107247661B (en) Method and system for supporting automatic verification of installation package of application
CN113420010B (en) Database management method, device, electronic equipment and storage medium
CN112988588B (en) Client software debugging method and device, storage medium and electronic equipment
CN113238944A (en) Test method, device and system
CN110443034B (en) Risk program file identification method and device, computing equipment and medium
CN116662302A (en) Data processing method, device, electronic equipment and storage medium
CN109145591B (en) Plug-in loading method of application program
CN112579428B (en) Interface testing method, device, electronic equipment and storage medium
CN112783903B (en) Method and device for generating update log
CN110287087B (en) Method and device for detecting application
CN113760727A (en) Interface regression testing method and device
CN113760315A (en) Method and device for testing system
CN113821430A (en) Multi-service testing 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