CN113377388A - Software installation method, system and storage medium - Google Patents

Software installation method, system and storage medium Download PDF

Info

Publication number
CN113377388A
CN113377388A CN202110730197.4A CN202110730197A CN113377388A CN 113377388 A CN113377388 A CN 113377388A CN 202110730197 A CN202110730197 A CN 202110730197A CN 113377388 A CN113377388 A CN 113377388A
Authority
CN
China
Prior art keywords
identifier
software
software data
data packet
terminal
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.)
Pending
Application number
CN202110730197.4A
Other languages
Chinese (zh)
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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202110730197.4A priority Critical patent/CN113377388A/en
Publication of CN113377388A publication Critical patent/CN113377388A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • G06F11/3612Software analysis for verifying properties of programs by runtime analysis
    • 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/3692Test management for test results analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The application relates to software testing, and provides a software installation method, a system and a storage medium, wherein the method comprises the following steps: the method comprises the steps that a test terminal obtains and installs a software data packet of software to be tested, wherein the software data packet carries a first identifier; the server receives a target software data packet uploaded by the development terminal and issues a second identifier of the target software data packet to the test terminal, wherein the target software data packet is obtained by modifying the software data packet by the development terminal; the test terminal receives a second identifier issued by the server, and matches the first identifier with the second identifier to obtain a matching result; and if the matching result is that the first identifier is not matched with the second identifier, the test terminal downloads and installs the target software data package. The application also relates to artificial intelligence, and the testing efficiency of the software to be tested can be improved.

Description

Software installation method, system and storage medium
Technical Field
The present application relates to the field of software testing technologies, and in particular, to a software installation method, a software installation system, and a storage medium.
Background
At present, due to the fact that updating needs to be fast and BUG BUG repairing tasks are tight, the iteration speed of application software is accelerated by a lot compared with the past, and therefore testing time of the application software is shortened, and the testing range is enlarged. Before the application program is released, a developer designs and realizes the application program in a development stage, a packaging tool is used for making document data of the developed application program into a software data packet, then the software data packet is installed by a test terminal device and is handed to a tester to test the application program.
In the testing stage of the software, if a tester finds a problem in the testing process, the tester informs a developer to modify document data, and regenerates a software data packet after the developer successfully modifies the document data, and then the tester installs a new software data packet for testing. However, under the condition that the number of testers is large, after the software data package is updated, the problem of asynchronous update information is easily caused, and the testers need to manually install a new software data package, or the testers need to inquire whether the developers finish modification at intervals, so that the software testing efficiency is low.
Disclosure of Invention
The application mainly aims to provide a software installation method, a system and a storage medium, aiming at realizing automatic installation of an updated software data packet and improving software testing efficiency.
In a first aspect, the present application provides a software installation method, including:
the method comprises the steps that a test terminal obtains and installs a software data packet of software to be tested, wherein the software data packet carries a first identifier which is used for identifying the software data packet;
the method comprises the steps that a server receives a target software data packet uploaded by a development terminal and issues a second identifier of the target software data packet to a test terminal, wherein the target software data packet is obtained after the development terminal modifies the software data packet;
the test terminal receives the second identifier issued by the server, and matches the first identifier with the second identifier to obtain a matching result;
and if the matching result is that the first identifier is not matched with the second identifier, the test terminal downloads and installs the target software data package.
In a second aspect, the present application further provides a software installation system, where the software installation system includes a test terminal and a server, where:
the testing terminal is used for acquiring and installing a software data packet of software to be tested, wherein the software data packet carries a first identifier, and the first identifier is used for identifying the software data packet;
the server is used for receiving a target software data packet uploaded by a development terminal and issuing a second identifier of the target software data packet to the test terminal, wherein the target software data packet is obtained by modifying the software data packet by the development terminal;
the test terminal is further configured to receive the second identifier issued by the server, and match the first identifier with the second identifier to obtain a matching result;
and the test terminal is further used for downloading and installing the target software data package by the test terminal if the matching result is that the first identifier is not matched with the second identifier.
In a third aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of the software installation method as described above.
The application provides a software installation method, a system and a storage medium, a test terminal of the application acquires and installs a software data packet of software to be tested, wherein the software data packet carries a first identifier; the server receives a target software data packet uploaded by the development terminal and issues a second identifier of the target software data packet to the test terminal, wherein the target software data packet is obtained by modifying the software data packet by the development terminal; the test terminal receives a second identifier issued by the server, and matches the first identifier with the second identifier to obtain a matching result; and if the matching result is that the first identifier is not matched with the second identifier, the test terminal downloads and installs the target software data package. The software data package automatic installation method and the software data package automatic installation device can achieve automatic installation of the updated software data package, solve the problem that the software data packages installed at a plurality of test terminals are not synchronous, are beneficial to testing based on the updated software data package by testing personnel, and improve software testing efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart illustrating steps of a software installation method according to an embodiment of the present application;
fig. 2 is a schematic view of a scene for implementing the software installation method provided in this embodiment;
fig. 3 is a schematic view of another scenario for implementing the software installation method provided in this embodiment;
fig. 4 is a schematic block diagram of a structure of a test terminal according to an embodiment of the present disclosure;
fig. 5 is a schematic block diagram of a server according to an embodiment of the present disclosure;
FIG. 6 is a schematic block diagram of a software installation system provided by an embodiment of the present application;
fig. 7 is a schematic block diagram of another software installation system provided in an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The embodiment of the application provides a software installation method, a system and a storage medium. Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating steps of a software installation method according to an embodiment of the present application. The software installation method can be applied to a test terminal and a server, and the test terminal can be an electronic device such as a mobile phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant and a wearable device; the server may be a single server or a server cluster including a plurality of servers. Illustratively, the test terminal is a terminal device configured for a tester of the software, and the tester can complete a test task of the software to be tested based on the test terminal.
As shown in fig. 1, the software installation method includes steps S101 to S104.
Step S101, a test terminal obtains and installs a software data packet of software to be tested, wherein the software data packet carries a first identifier.
Wherein the first identifier is used to identify the software data package. Optionally, the first identifier is a unique identifier of the software data packet, and is used for uniquely identifying the software data packet. For example, the first Identifier includes an MD5 value, a channel number, a Globally Unique Identifier (GUID), a Universally Unique Identifier (UUID), and the like. The software to be tested is the application software that the software tester is currently testing or preparing to test.
It should be noted that the application software may have multiple versions, the application software of each version needs to be tested before being released and modified according to the test result, so the application software of each version may have multiple software data packages of modified versions, the software to be tested referred to in this scheme is the application software of one version before the software is released, and the software to be tested may include multiple software data packages of modified versions. The software data package is identified by the first identifier, and common identifiers such as randomly generated identifiers are not used for identification, so that the uniqueness of the identification of the software data package is ensured, and a tester cannot easily download wrong software data packages.
In one embodiment, the development terminal constructs a software data package according to a configuration file of software to be tested and generates a first identifier of the software data package; the development terminal uploads the software data package and the first identifier of the software data package to the server; the server sends a software data packet of the software to be tested to the testing terminal, the software data packet carries the first identifier, and the testing terminal can be one or more. And the test terminal downloads the software data packet carrying the first identifier through the server and installs the software data packet of the software to be tested. The development terminal is configured to terminal equipment used by a developer of the software to be tested, the developer can complete a development task of the software to be tested based on the development terminal, and the development terminal comprises a smart phone, a PC (personal computer), a tablet computer and a learning machine.
Illustratively, the development terminal constructs the software data package through a gradle tool, and a plurality of task tasks can be set in the gradle tool, such as tasks of checking code normality, packaging resource files and the like. For example, a software data package of the application software may be generated by a construction task (e.g., an assembly task) in the gradle tool, and the software data package may be stored, and the storage information of the software data package may be recorded in the project directory in which the software data package is stored. After the construction task is completed, the software data packet of the application software is obtained through the storage information in the project directory storing the software data packet, the first identifier of the software data packet is generated, the first identifier is attached to the software data packet, then the software data packet carrying the first identifier is uploaded to the server, the software data packet carrying the first identifier is downloaded through the server by the testing terminal, and the software data packet of the software to be tested is installed.
In one embodiment, after installing the software data package of the software to be tested, the method further includes: the testing terminal tests the software to be tested to generate a testing result of the software to be tested and sends the testing result to the development terminal; and the development terminal modifies the software data packet of the software to be tested based on the test result to obtain a target software data packet, generates a second identifier of the target software data packet, and uploads the target software data packet and the second identifier to the server.
The test content of the test terminal for testing the software to be tested comprises a plurality of functional modules, a plurality of interface settings, a plurality of controls and the like for testing the software to be tested. The test result of the software to be tested is, for example, a test feedback table, and the test feedback table is generated based on the test content of the software to be tested.
Illustratively, the testing terminal opens the software to be tested after installing the software data package, so that a plurality of display interfaces of the software to be tested can be displayed, a plurality of function modules can be displayed, a plurality of function buttons and controls can be used, a tester tests the buttons and the controls and observes the interfaces based on the plurality of interfaces of the application software, determines test items such as running efficiency, effect, smoothness, interface display effect and whether colors of the corresponding function modules are correct, finally generates a test feedback table, and sends the test feedback table to the development terminal.
In one embodiment, the test terminal sends a test result to the development terminal, wherein the test result comprises error information or bad experience information waiting for modification information of the software data packet in the test process. And the development terminal displays and acquires the test result so that a developer can modify the software data packet according to the information to be modified in the test result to obtain a target software data packet and generate a second identifier of the target software data packet. And then, the second identifier is placed in the target software data packet and is sent to the server, so that the server acquires the modified target software data packet.
In an embodiment, there are a plurality of test terminals according to the software data packet, the plurality of test terminals are divided in the form of test groups, different test groups are responsible for different test tasks, and the test terminal that sends the test result of the software to be tested to the development terminal may be one or more test terminals in one test group or a plurality of test terminals in different test groups, which is not limited in this embodiment.
It should be noted that the development terminal performs targeted modification on the software data packet of the software to be tested based on the test result, and uploads the modified software data packet to the server as a target software data packet, where the target software data packet carries a second identifier, and the second identifier is used to identify the target software data packet, so that the plurality of test terminals determine whether the software data packet of the software to be tested is modified by the developer and is uploaded to the server again based on the first identifier and the second identifier, and it is not necessary to notify the developer of the success of the software data packet modification one by one, thereby greatly improving the test efficiency.
And S102, the server receives the target software data packet uploaded by the development terminal and issues a second identifier of the target software data packet to the test terminal.
The target software data package is obtained by modifying the software data package by the development terminal. The server issues the second identifier of the target software data packet to the test terminal, so that the test terminal can determine whether the target software data packet is modified by the development terminal according to the first identifier and the second identifier, and the target software data packet needs to be reinstalled for testing, thereby effectively solving the problem that the software data packets installed by a plurality of test terminals are asynchronous.
In one embodiment, the server receives the target software data package sent by the development terminal and the second identifier of the target software data package, and determines at least one test terminal as a target release object. The at least one test terminal may be at least one test terminal in a test group that feeds back a test result, that is, the identification information of the at least one test terminal is determined according to the list information of the test group, and the at least one test terminal that is a target release object is determined according to the identification information.
It should be noted that, if the server only issues the second identifier to at least one test terminal in the test group that feeds back the test result, where the second identifier is different from the first identifier, so that the modified target software data packet is downloaded and installed by the at least one test terminal in the test group that feeds back the test result, and the target software data packet does not need to be downloaded and installed by other test groups except the test group, the efficiency of the division testing is greatly improved, and the problem that software data packets installed by a plurality of test terminals that belong to the same test group are not synchronous is solved.
In an embodiment, the target software data packet uploaded to the server carries a software update notification, and the software update notification is used for recording update information of the software data packet of the software to be tested. The server may push the software update notification to the plurality of test terminals, and the test terminals may be capable of generating an identifier obtaining request based on the software update notification to request the server to send the second identifier of the updated target software data packet to the test terminals.
In one embodiment, the server issues the second identifier to the test terminal, including: receiving an identification acquisition request of software to be tested sent by a test terminal, and sending a second identifier to the test terminal according to the identification acquisition request; or acquiring the verification information of the test terminal, and sending the second identifier to the test terminal according to the verification information of the test terminal.
For example, the test terminal sends an identification acquisition request of a first identifier of the software to be tested to the server at intervals of preset time, and the server issues a second identifier of a target software data packet of the software to be tested to the test terminal after receiving the identification acquisition request. For another example, after receiving the target software data package and the second identifier uploaded by the development terminal, the server issues the second identifier of the target software data package to the test terminal when determining that the verification information of the test terminal passes the verification.
In one embodiment, sending the second identifier to the test terminal according to the verification information of the test terminal includes: determining whether the test terminal belongs to a target release object of the target software data packet or not according to the verification information of the test terminal; and if the test terminal is determined to belong to the target release object of the target software data packet, sending a second identifier to the test terminal. The problem that software data packages installed by a plurality of test terminals serving as target release objects are not synchronous is solved.
Illustratively, the target software data packet carries release information including a target release object, and the verification information is used for indicating the release object of the second identifier of the server, and determining the verification information of the test terminal according to the release information. Specifically, whether the test terminal belongs to a target release object of the target software data packet is determined according to the release information; if the test terminal is determined to belong to the target release object, determining that the verification information of the test terminal is verified to pass, and releasing a second identifier of the target software data packet to the test terminal according to the verification information; if the test terminal is determined not to belong to the target release object of the target software data packet, the verification information of the test terminal is that the verification fails, and the second identifier of the target software data packet does not need to be released to the test terminal.
Illustratively, the release information includes identification information of a plurality of test terminals of a test group which feeds back the test result, and then the plurality of test terminals of the test group belong to a target release object, the verification information of the plurality of test terminals of the test group is that verification passes, the server only sends a second identifier to the plurality of test terminals of the test group which feeds back the test result, the second identifier is different from the first identifier, so that the plurality of test terminals of the test group download and install the target software data package when determining that the second identifier is not matched with the first identifier of the software data package, the efficiency of the division testing is greatly improved, and the problem that the software data packages installed by the plurality of test terminals which belong to the same test group are not synchronous is solved.
Step S103, the test terminal receives the second identifier issued by the server, and matches the first identifier with the second identifier to obtain a matching result.
It should be noted that after the test terminal installs the software data package, the test terminal may open the software to be tested and display an application interface of the software to be tested, so that the software to be tested operates, and may obtain the second identifier of the target software data package issued by the server, and match the first identifier with the second identifier to obtain a matching result.
Illustratively, the software data packet carries a preset monitoring task, the preset monitoring task is a custom task preset in the software data packet, and the preset monitoring task is used for monitoring a second identifier of a target software data packet issued by the server, and determining whether the first identifier is matched with the second identifier, so as to obtain a matching result.
In an embodiment, the test terminal sends an identification obtaining request of the software to be tested to the server, so that the server sends the second identifier of the target software data packet to the test terminal according to the identification obtaining request. For example, the test terminal sends an identification acquisition request of a first identifier of the software to be tested to the server at intervals of preset time, and the server issues a second identifier of a target software data packet of the software to be tested to the test terminal after receiving the identification acquisition request.
In one embodiment, the test terminal receives a second identifier of the target software data packet sent by the server, and the second identifier is sent to the test terminal by the server according to the verification information of the test terminal. For example, after receiving the target software data packet and the second identifier uploaded by the development terminal, the server issues the second identifier of the target software data packet to the test terminal when determining that the verification information of the test terminal passes the verification.
Illustratively, the test terminals include a plurality of test terminals, the plurality of test terminals are divided in the form of test groups, different test groups are responsible for different test tasks, and the test tasks of the plurality of test terminals of the same test group are the same. If the test group comprises a test group A and a test group B, when one of the test terminals of the test group A reports a test result and the development terminal modifies the software data packet to obtain a target software data packet and a second identifier, the development terminal generates release information of the second identifier according to the list information of the test group A reporting the test result, the release information comprises identification information (such as equipment identification codes) of a plurality of test terminals of the test group A, and uploads the target software data packet, the release information and the second identifier to the server, the server determines a plurality of test terminals which are target release objects of the second identifier according to the release information, and sends the second identifier to the plurality of test terminals of the test group A, so that the plurality of test terminals of the test group A obtain the second identifier of the target software data packet, without sending the second identifier to the plurality of test terminals of the test team B.
In an embodiment, since the first identifier is a unique identifier of the software data packet, the determining whether the first identifier matches the second identifier includes determining whether the first identifier is the same as the second identifier, and if the first identifier is the same as the second identifier, the first identifier matches the second identifier, and if the first identifier is not the same as the second identifier, the first identifier does not match the second identifier. And if the first identifier is not matched with the second identifier, the software data package of the application software stored in the server is indicated to be updated, the target software data package corresponding to the second identifier needs to be downloaded by the test terminal, and the target software data package is installed in a covering manner.
In one embodiment, a degree of match between the first identifier and the second identifier is calculated; if the matching degree is smaller than or equal to the preset matching degree, determining that the matching result is that the first identifier is not matched with the second identifier; and if the matching degree is greater than the preset matching degree, determining that the matching result is that the first identifier is matched with the second identifier. The preset matching degree can be set according to actual conditions, and the optional preset matching degree is 99%.
In an embodiment, the determining whether the first identifier and the second identifier match includes determining whether the first identifier and the second identifier are the same, and if the first identifier and the second identifier are the same, the first identifier and the second identifier match, and if the first identifier and the second identifier are not the same, the first identifier and the second identifier do not match. If the first identifier is not matched with the second identifier, the software data package of the application software stored in the server is updated, namely the software data package of the application software is modified by a developer and uploaded to the server for storage, the modified target software data package is different from the software data package before modification, a test terminal is required to download the target software data package corresponding to the second identifier, and the target software data package is installed in a covering manner, so that a tester can conveniently develop new tests based on the target software data package, and the test efficiency is improved.
And step S104, if the matching result is that the first identifier is not matched with the second identifier, downloading and installing the target software data package by the test terminal.
Whether the software data package is updated or not can be determined according to the matching result, if the first identifier is not matched with the second identifier, the target software data package corresponding to the second identifier is downloaded, the target software data package is installed in a covering mode, automatic installation of the updated software data package is achieved through artificial intelligence related technical means, the problem that the software data packages installed on a plurality of test terminals are not synchronous is solved, a tester can conveniently conduct new tests based on the target software data package, the tester does not need to inquire developers whether the software data package is modified or not, and testing efficiency can be effectively improved.
It should be noted that, if the first identifier matches the second identifier, it indicates that the software data package of the application software is not updated temporarily, or the software data package of the application software is not modified and uploaded by the developer temporarily, and the test terminal does not need to download and install the software data package again. If the first identifier is not matched with the second identifier, the software data package of the application software stored in the server is indicated to be updated, namely the software data package of the application software is modified by a developer and uploaded to the server for storage, and the second identifier of the modified target software data package is different from the first identifier of the software data package before modification. The target software data package corresponding to the second identifier is downloaded by the test terminal, and the target software data package is installed in a covering manner on the basis of the software data package, so that a tester can conveniently develop a new test based on the target software data package, and the test efficiency is improved.
Referring to fig. 2, fig. 2 is a schematic view of a scenario for implementing the software installation method provided in this embodiment.
As shown in fig. 2, the test terminal 10 downloads a software data packet of the software to be tested through the server 20, and installs the software data packet of the software to be tested, where the software data packet carries a first identifier; the development terminal is used for updating the software data packet, and after the development terminal finishes updating the software data packet, the development terminal uploads an updated target software data packet to the server 20, wherein the target software data packet carries a second identifier; the server 20 issues a second identifier of the target software data packet to the test terminal 10 according to the verification information of the test terminal 10; the test terminal 10 acquires the second identifier of the target software package issued by the server and determines whether the first identifier and the second identifier match, and if it is determined that the first identifier and the second identifier do not match, downloads the target software package from the server 20 and installs the target software package. The software data package automatic installation method can realize automatic installation of the updated software data package, and solves the problem that the software data packages installed on a plurality of test terminals are not synchronous.
Referring to fig. 3, fig. 3 is another schematic view of a scenario for implementing the software installation method provided in this embodiment.
As shown in fig. 3, after the development of the software data package of the software to be tested is completed, the development terminal 30 uploads the software data package and the first identifier of the software data package to the server 20, and then the server 20 sends the software data package of the software to be tested to the test terminal 10; after installing the software data packet, the test terminal 10 tests the software to be tested to obtain a test result, and sends the test result to the development terminal 30; the development terminal 30 modifies the software data packet based on the test result to obtain a target software data packet and generates a second identifier of the target software data packet; the server 20 receives the target software package transmitted by the development terminal 30 and the second identifier of the target software package, and issues the second identifier to the test terminal 10, so that the test terminal 10 determines whether the first identifier and the second identifier match, and downloads and installs the target software package when it is determined that the second identifier and the first identifier of the software package do not match. The software data package automatic installation method can realize automatic installation of the updated software data package, and solves the problem that the software data packages installed on a plurality of test terminals are not synchronous.
In the software installation method provided by the above embodiment, the test terminal obtains and installs a software data packet of the software to be tested, where the software data packet carries a first identifier; the server receives a target software data packet uploaded by the development terminal and issues a second identifier of the target software data packet to the test terminal, wherein the target software data packet is obtained by modifying the software data packet by the development terminal; the test terminal receives a second identifier issued by the server, and matches the first identifier with the second identifier to obtain a matching result; and if the matching result is that the first identifier is not matched with the second identifier, the test terminal downloads and installs the target software data package. The software data package automatic installation method and the software data package automatic installation device can achieve automatic installation of the updated software data package, solve the problem that the software data packages installed at a plurality of test terminals are not synchronous, are beneficial to testing based on the updated software data package by testing personnel, and improve software testing efficiency.
Referring to fig. 4, fig. 4 is a schematic block diagram of a structure of a test terminal according to an embodiment of the present disclosure.
As shown in fig. 4, the test terminal 300 includes a processor 302 and a memory 303 connected by a system bus 301, where the memory 303 may include a storage medium and an internal memory, and the storage medium may be nonvolatile or volatile.
The storage medium may store an operating system and a computer program. The computer program comprises program instructions that, when executed, cause the processor to perform any of the software installation methods applied to the test terminal 300.
The processor 302 is used to provide computational and control capabilities to support the operation of the entire test terminal 300.
The internal memory provides an environment for the execution of a computer program on a storage medium, which, when executed by the processor, causes the processor to perform any of the software installation methods applied to the test terminal 300.
The test terminal 300 may also include a network interface for network communications, such as sending assigned tasks, etc. It will be appreciated by those skilled in the art that the configuration shown in fig. 4 is a block diagram of only a portion of the configuration relevant to the present application, and does not constitute a limitation on the test terminal to which the present application is applied, and a particular test terminal may include more or less components than those shown in the drawings, or some components may be combined, or have a different arrangement of components.
It should be understood that the processor may be a Central Processing Unit (CPU), and the processor may be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in one embodiment, the processor 302 is configured to run a computer program stored in a memory to implement the steps of:
installing a software data packet of software to be tested, wherein the software data packet carries a first identifier which is used for identifying the software data packet;
acquiring a second identifier of a target software data packet issued by a server, wherein the target software data packet is a software data packet of the software to be tested which is uploaded to the server latest;
and if the first identifier is determined not to be matched with the second identifier, downloading the target software data package, and installing the target software data package.
It should be noted that, as will be clearly understood by those skilled in the art, for convenience and brevity of description, the specific working process of the test terminal described above may refer to the corresponding process in the foregoing software installation method embodiment, and details are not described herein again.
Referring to fig. 5, fig. 5 is a schematic block diagram of a server according to an embodiment of the present disclosure.
As shown in fig. 5, the server 400 includes a processor 402 and a memory 403 connected by a system bus 401, where the memory 403 may include a storage medium and an internal memory, and the storage medium may be nonvolatile or volatile.
The storage medium may store an operating system and a computer program. The computer program includes program instructions that, when executed, cause the processor to perform any of the software installation methods applied to the server 400.
The processor 402 is used to provide computing and control capabilities to support the operation of the overall server 400.
The internal memory provides an environment for the execution of a computer program on a storage medium, which when executed by a processor causes the processor to perform any of the software installation methods applied to server 400.
The server 400 may also include a network interface for network communications, such as sending assigned tasks, etc. Those skilled in the art will appreciate that the architecture shown in fig. 5 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the servers to which the subject application applies, as a particular server may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It should be understood that the Processor may be a Central Processing Unit (CPU), and the Processor may be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in one embodiment, the processor 402 is configured to run a computer program stored in a memory to implement the steps of:
sending a software data packet of software to be tested to a testing terminal so that the testing terminal tests the software to be tested after the software data packet is installed, modifying the software data packet based on a testing result by a development terminal to obtain a target software data packet, and generating a second identifier of the target software data packet;
receiving the target software data packet sent by the development terminal and a second identifier of the target software data packet;
and issuing the second identifier to the test terminal so that the test terminal downloads and installs the target software data package when determining that the second identifier does not match the first identifier of the software data package.
It should be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the server described above may refer to the corresponding process in the foregoing software installation method embodiment, and is not described herein again.
Referring to fig. 6, fig. 6 is a schematic block diagram of a software installation system according to an embodiment of the present application.
As shown in fig. 6, the software installation system 500 includes: a test terminal 501 and a server 502, wherein:
the testing terminal 501 is configured to obtain and install a software data packet of software to be tested, where the software data packet carries a first identifier, and the first identifier is used to identify the software data packet;
the server 502 is configured to receive a target software data packet uploaded by a development terminal, and issue a second identifier of the target software data packet to the test terminal 501, where the target software data packet is obtained by modifying the software data packet by the development terminal;
the test terminal 501 is further configured to receive the second identifier issued by the server 502, and match the first identifier with the second identifier to obtain a matching result;
the test terminal 501 is further configured to download and install the target software data package by the test terminal 501 if the matching result indicates that the first identifier is not matched with the second identifier.
In an embodiment, the server 502 is further configured to:
receiving an identification acquisition request of the software to be tested sent by the test terminal, and sending a second identifier of the target software data packet to the test terminal according to the identification acquisition request; or
And acquiring verification information of the test terminal, and sending a second identifier of the target software data packet to the test terminal according to the verification information of the test terminal.
In an embodiment, the server 502 is further configured to:
determining whether the test terminal belongs to a target release object of the target software data packet or not according to the verification information of the test terminal;
and if the test terminal is determined to belong to the target release object of the target software data packet, sending the second identifier to the test terminal.
In an embodiment, the test terminal 501 is further configured to
Calculating a matching degree between the first identifier and the second identifier;
if the matching degree is smaller than or equal to a preset matching degree, determining that the matching result is that the first identifier is not matched with the second identifier;
and if the matching degree is greater than the preset matching degree, determining that the matching result is that the first identifier is matched with the second identifier.
In one embodiment, as shown in fig. 7, the software installation system 500 further includes a development terminal 503, wherein:
the test terminal 501 is further configured to test the software to be tested to generate a test result of the software to be tested, and send the test result to the development terminal 503;
the development terminal 503 is configured to modify the software data package of the software to be tested based on the test result to obtain a target software data package, generate a second identifier of the target software data package, and upload the target software data package and the second identifier to the server 502.
In one embodiment, as shown in fig. 7, the software installation system 500 further includes a development terminal 503, wherein:
the development terminal 503 is configured to construct a software data package according to a configuration file of software to be tested, generate a first identifier of the software data package, and upload the software data package and the first identifier to the server 502;
the server 502 is configured to send the software data packet carrying the first identifier to the test terminal 501.
In an embodiment, the test terminal 501 is, for example, the test terminal 300 shown in fig. 4 in the foregoing embodiment, and the server 502 is, for example, the server 400 shown in fig. 5 in the foregoing embodiment.
According to the software installation system provided by the embodiment of the application, the automatic installation of the updated software data package can be realized through the test terminal 501, the server 502 and the development terminal 503, the problem that the software data packages installed by a plurality of test terminals are not synchronous is solved, the software installation system is beneficial for testing based on the updated software data package by testers, and the software testing efficiency is improved.
It should be noted that, as will be clear to those skilled in the art, for convenience and brevity of description, the specific working processes of the software installation system and each unit described above may refer to the corresponding processes in the foregoing software installation method embodiment, and are not described herein again.
Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, where the computer program includes program instructions, and a method implemented when the program instructions are executed may refer to various embodiments of the software installation method of the present application.
The computer-readable storage medium may be an internal storage unit of the server according to the foregoing embodiment, for example, a hard disk or a memory of the server. The computer readable storage medium may also be an external storage device of the server, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the server.
It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. 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 system 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 system. 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 system 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. While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A software installation method, comprising:
the method comprises the steps that a test terminal obtains and installs a software data packet of software to be tested, wherein the software data packet carries a first identifier which is used for identifying the software data packet;
the method comprises the steps that a server receives a target software data packet uploaded by a development terminal and issues a second identifier of the target software data packet to a test terminal, wherein the target software data packet is obtained after the development terminal modifies the software data packet;
the test terminal receives the second identifier issued by the server, and matches the first identifier with the second identifier to obtain a matching result;
and if the matching result is that the first identifier is not matched with the second identifier, the test terminal downloads and installs the target software data package.
2. The software installation method of claim 1, wherein said issuing a second identifier of the target software package to the test terminal comprises:
receiving an identification acquisition request of the software to be tested sent by the test terminal, and sending a second identifier of the target software data packet to the test terminal according to the identification acquisition request; or
And acquiring verification information of the test terminal, and sending a second identifier of the target software data packet to the test terminal according to the verification information of the test terminal.
3. The software installation method of claim 2, wherein the sending the second identifier to the test terminal according to the verification information of the test terminal comprises:
determining whether the test terminal belongs to a target release object of the target software data packet or not according to the verification information of the test terminal;
and if the test terminal is determined to belong to the target release object of the target software data packet, sending the second identifier to the test terminal.
4. The software installation method of claim 1, wherein said matching the first identifier with the second identifier to obtain a matching result comprises:
calculating a matching degree between the first identifier and the second identifier;
if the matching degree is smaller than or equal to a preset matching degree, determining that the matching result is that the first identifier is not matched with the second identifier;
and if the matching degree is greater than the preset matching degree, determining that the matching result is that the first identifier is matched with the second identifier.
5. The software installation method of any one of claims 1-4, wherein after the test terminal obtains and installs the software data package of the software to be tested, the method further comprises:
the testing terminal tests the software to be tested to generate a testing result of the software to be tested and sends the testing result to the development terminal;
and the development terminal modifies the software data packet of the software to be tested based on the test result to obtain a target software data packet, generates a second identifier of the target software data packet, and uploads the target software data packet and the second identifier to the server.
6. The software installation method of any one of claims 1-4, wherein before the test terminal obtains and installs the software data package of the software to be tested, the method further comprises:
the method comprises the steps that a development terminal constructs a software data package according to a configuration file of software to be tested, generates a first identifier of the software data package, and uploads the software data package and the first identifier to a server;
and the server sends the software data packet carrying the first identifier to a test terminal.
7. A software installation system, comprising a test terminal and a server, wherein:
the testing terminal is used for acquiring and installing a software data packet of software to be tested, wherein the software data packet carries a first identifier, and the first identifier is used for identifying the software data packet;
the server is used for receiving a target software data packet uploaded by a development terminal and issuing a second identifier of the target software data packet to the test terminal, wherein the target software data packet is obtained by modifying the software data packet by the development terminal;
the test terminal is further configured to receive the second identifier issued by the server, and match the first identifier with the second identifier to obtain a matching result;
and the test terminal is further used for downloading and installing the target software data package by the test terminal if the matching result is that the first identifier is not matched with the second identifier.
8. The software installation system of claim 7, further comprising a development terminal, wherein:
the testing terminal is also used for testing the software to be tested so as to generate a testing result of the software to be tested and sending the testing result to the development terminal;
the development terminal is used for modifying the software data package of the software to be tested based on the test result to obtain a target software data package, generating a second identifier of the target software data package, and uploading the target software data package and the second identifier to the server.
9. The software installation system of claim 7, further comprising a development terminal, wherein:
the development terminal is used for constructing a software data package according to a configuration file of software to be tested, generating a first identifier of the software data package, and uploading the software data package and the first identifier to the server;
and the server is used for sending the software data packet carrying the first identifier to a test terminal.
10. A computer-readable storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the software installation method of any one of claims 1 to 6.
CN202110730197.4A 2021-06-29 2021-06-29 Software installation method, system and storage medium Pending CN113377388A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110730197.4A CN113377388A (en) 2021-06-29 2021-06-29 Software installation method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110730197.4A CN113377388A (en) 2021-06-29 2021-06-29 Software installation method, system and storage medium

Publications (1)

Publication Number Publication Date
CN113377388A true CN113377388A (en) 2021-09-10

Family

ID=77579968

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110730197.4A Pending CN113377388A (en) 2021-06-29 2021-06-29 Software installation method, system and storage medium

Country Status (1)

Country Link
CN (1) CN113377388A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110214114A1 (en) * 2010-02-26 2011-09-01 Seth Kelby Vidal Systems and methods for determining compatibility of a software package update using a version identifier
CN103336696A (en) * 2013-05-27 2013-10-02 摩比天线技术(深圳)有限公司 Software updating method and system for testing instrument
CN108804321A (en) * 2018-05-25 2018-11-13 武汉华工正源光子技术有限公司 A kind of automatic test software update system and method
CN110008123A (en) * 2019-03-28 2019-07-12 武汉达梦数据库有限公司 A kind of method of automatic deployment test software and corresponding device
CN110069405A (en) * 2019-03-28 2019-07-30 深圳同兴达科技股份有限公司 A kind of LCD test method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110214114A1 (en) * 2010-02-26 2011-09-01 Seth Kelby Vidal Systems and methods for determining compatibility of a software package update using a version identifier
CN103336696A (en) * 2013-05-27 2013-10-02 摩比天线技术(深圳)有限公司 Software updating method and system for testing instrument
CN108804321A (en) * 2018-05-25 2018-11-13 武汉华工正源光子技术有限公司 A kind of automatic test software update system and method
CN110008123A (en) * 2019-03-28 2019-07-12 武汉达梦数据库有限公司 A kind of method of automatic deployment test software and corresponding device
CN110069405A (en) * 2019-03-28 2019-07-30 深圳同兴达科技股份有限公司 A kind of LCD test method

Similar Documents

Publication Publication Date Title
CN108551487B (en) Application deployment method, device, server and storage medium of PaaS platform
CN108287694B (en) Application program construction method, system, computer device and storage medium
US10127057B2 (en) Method and apparatus for dynamically implementing application function
US9372784B2 (en) Test system configuration method and system
CN108196878B (en) Method and device for generating application program installation package, electronic equipment and storage medium
KR102341154B1 (en) High-speed application for installation on mobile devices for permitting remote configuration of such mobile devices
CN107896244B (en) Version file distribution method, client and server
CN110096424B (en) Test processing method and device, electronic equipment and storage medium
CN107193607B (en) Method and apparatus for updating code file, storage medium, processor, and terminal
CN106980565B (en) Upgrading process monitoring method and device
CN102541596A (en) Operating system upgrading method and device
US20200379742A1 (en) Validation of configurations of factory installations
CN106569863B (en) Resource and code modularization-based android app resource updating and repairing method
CN113434158A (en) User-defined management method, device, equipment and medium for big data component
CN104504587A (en) Advertisement monitoring method and device, electronic apparatus
CN104133699A (en) Equipment system software updating method and equipment system software updating system
CN110851151B (en) Method, device, terminal, server and storage medium for pre-installing application
CN111506358A (en) Method and device for updating container configuration
CN110727575B (en) Information processing method, system, device and storage medium
CN114647572A (en) Method and system for software application component testing
CN110007946B (en) Method, device, equipment and medium for updating algorithm model
US20190012161A1 (en) Distributed and self-deleting apparatus for fast software deployment and upgrade in a network
CN113377388A (en) Software installation method, system and storage medium
CN115495110A (en) Method and device for installing and deploying product components, electronic equipment and storage medium
CN110347609B (en) Method and device for testing blockchain software

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