CN106936633B - Application installation package manufacturing method and server - Google Patents

Application installation package manufacturing method and server Download PDF

Info

Publication number
CN106936633B
CN106936633B CN201710137726.3A CN201710137726A CN106936633B CN 106936633 B CN106936633 B CN 106936633B CN 201710137726 A CN201710137726 A CN 201710137726A CN 106936633 B CN106936633 B CN 106936633B
Authority
CN
China
Prior art keywords
installation package
template
server
application
application installation
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
CN201710137726.3A
Other languages
Chinese (zh)
Other versions
CN106936633A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710137726.3A priority Critical patent/CN106936633B/en
Publication of CN106936633A publication Critical patent/CN106936633A/en
Application granted granted Critical
Publication of CN106936633B publication Critical patent/CN106936633B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • 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 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Abstract

A method for making an application installation package and a server are provided, the method is applied to the server in an application management system, and the method comprises the following steps: acquiring a source file of an application installation package to be manufactured and an installation package manufacturing template corresponding to the source file, wherein the installation package manufacturing template comprises preset fixed parameters; calling an installation package manufacturing tool corresponding to the installation package manufacturing template, setting custom parameters in the application installation template to obtain a set template, and manufacturing an application installation package corresponding to the application installation package to be manufactured according to the source file and the set template; synchronizing the application installation package to a test Content Delivery Network (CDN); after the testing of the CDN is passed, the application installation package is synchronized to a formal CDN so as to provide an entrance for downloading the application installation package for terminal equipment. By adopting the scheme, the parameter filling process can be simplified, and the phenomenon of parameter filling errors can be reduced.

Description

Application installation package manufacturing method and server
Technical Field
The application relates to the technical field of internet, in particular to a method for manufacturing an application installation package and a server.
Background
At present, when an application installation package is updated and a new application installation package is created in the background, an installation package source file needs to be preprocessed, then an installation package making tool is called to edit custom parameters in the source file, and then the installation package making tool is executed to generate the installation package. And then. The installation package can also be signed and authenticated, the installation package is tested, and after the test is successful, the installation package is uploaded to a formal Content Distribution Network (CDN). All the processes of pulling the source file, calling an installation package tool, manufacturing the installation package and uploading the installation package need to be carried out manually, an automatic process cannot be realized, and the efficiency of the whole manufacturing process is low.
Disclosure of Invention
The application provides a method and a server for manufacturing an application installation package, and the problem that the efficiency of manufacturing the application installation package is low in the prior art can be solved.
In a first aspect, a method for making an application installation package is provided, where the method is applied to a server in an application management system, and the method includes:
acquiring a source file of an application installation package to be manufactured and an installation package manufacturing template corresponding to the source file, wherein the installation package manufacturing template comprises preset fixed parameters;
calling an installation package manufacturing tool corresponding to the installation package manufacturing template, setting custom parameters in the application installation template to obtain a set template, and manufacturing an application installation package corresponding to the application installation package to be manufactured according to the source file and the set template;
synchronizing the application installation package to a test Content Delivery Network (CDN);
after the testing of the CDN is passed, the application installation package is synchronized to a formal CDN so as to provide an entrance for downloading the application installation package for terminal equipment.
A second aspect of the present application provides a server having a function of implementing the method for creating an application installation package corresponding to the first aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above functions, which may be software and/or hardware. In one possible design, the server is applied to an application management system, and the server includes:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a source file of an application installation package to be manufactured and an installation package manufacturing template corresponding to the source file, and the installation package manufacturing template comprises preset fixed parameters;
the processing module is used for calling an installation package manufacturing tool corresponding to the installation package manufacturing template, setting custom parameters in the application installation template to obtain a set template, and manufacturing an application installation package corresponding to the application installation package to be manufactured according to the source file and the set template;
the sending module is used for synchronizing the application installation package to a test Content Delivery Network (CDN); after the testing of the CDN is passed, the application installation package is synchronized to a formal CDN so as to provide an entrance for downloading the application installation package for terminal equipment.
Compared with the prior art, in the scheme provided by the application installation template, the application installation template comprises the preset fixed parameters, so that the server only needs to set the self-defined parameters in the application installation template when manufacturing the application installation package according to the source file and the application installation template.
Drawings
Fig. 1 is a schematic diagram of a network topology of an application management system according to the present application;
FIG. 2 is a schematic flow chart of a method for application package creation in the present application;
FIG. 3-a is a schematic view of an interface for installing a package build template according to the present application;
FIG. 3-b is a schematic view of another interface for installing a package build template according to the present application;
FIG. 3-c is a schematic view of another interface for installing a package build template according to the present application;
FIG. 4-a is a schematic diagram of a directory of a server of the present application;
FIG. 4-b is a schematic view of an operating environment configuration interface of the application installation package of the present application;
FIG. 5 is a schematic diagram of an interface for populating custom parameters in an installation package build template according to the present application;
FIG. 6 is a schematic diagram of an interface for application of installation package signatures in the present application;
FIG. 7 is a schematic flow chart illustrating a method for application package creation in the present application;
FIG. 8 is a schematic diagram of a server according to the present application;
fig. 9 is a schematic diagram of another structure of the server in the present application.
Detailed Description
The terms "first," "second," and the like in the description and in the claims, and in the drawings described above, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprise," "include," and "have," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or modules is not necessarily limited to those steps or modules expressly listed, but may include other steps or modules not expressly listed or inherent to such process, method, article, or apparatus, the division of modules herein shown is merely a logical division and may be implemented in a practical application in a different manner, such that multiple modules may be combined or integrated into another system or certain features may be omitted or not implemented, and such that mutual or direct coupling or communicative coupling between the modules shown or discussed may be through interfaces, and indirect coupling or communicative coupling between the modules may be electrical or other similar, are not intended to be limiting herein. Furthermore, the modules or sub-modules described as separate components may or may not be physically separated, may or may not be physical modules, or may be distributed in a plurality of circuit modules, and some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.
The application management system comprises an application management platform, a server, a Content Delivery Network (CDN), and a topological schematic diagram of the application management system shown in FIG. 1.
The application management platform can poll each application through a bidirectional transfer protocol (File transfer protocol, FTP for short), and when a new source File is trained in turn, some applications need to be updated or new applications need to be manufactured. Then, the application management platform can synchronize the obtained source file to the main server and the standby server, and the main server makes a corresponding application installation package.
The server is mainly used for making an application installation package and can interact with the application management platform and the CDN. The application management system can comprise a main server and at least one standby server, wherein the main server and the standby server can receive source files, installation package manufacturing tools and other application related configurations synchronized by an application management platform, and the configurations and the operating environments of the main server and the standby server can be completely consistent. Under the condition that the main server works normally, the main server makes a corresponding application installation package according to the obtained source file; under the condition of failure of the main server, the standby server can be switched to, and the standby server can make a corresponding application installation package according to the obtained source file to provide a disaster recovery backup mechanism.
Various node components can be arranged in the server, and when each node flow is reached, the node components can be called correspondingly to execute corresponding operation, and finally the manufacturing of the whole application installation package is completed.
The CDN may include a test CDN for testing the application installation package and a formal CDN for providing an entry for a user to download the application installation package. The CDN can avoid bottlenecks and links on the Internet which possibly affect the data transmission speed and stability as far as possible, so that the content transmission is faster and more stable. By placing node servers at various places of the network to form a layer of intelligent virtual network on the basis of the existing internet, the CDN can redirect a user's request to a service node closest to the user in real time according to network traffic, connection of each node, load conditions, distance to the user, response time, and other comprehensive information. The method aims to enable the user to obtain the required content nearby, solve the network congestion condition and improve the response speed of the user for accessing the website.
After the application installation package is manufactured by the server, the application installation package is uploaded to the testing CDN, the testing CDN tests the application installation package, and after the testing is passed, the application installation package can be synchronized to the formal CDN from the testing CDN.
In order to solve the above technical problems, embodiments of the present invention mainly provide the following technical solutions:
before an application installation package is manufactured by using a source file, a corresponding installation package manufacturing template is manufactured, and fixed parameters are set in the installation package manufacturing template. Then, when the application installation package is manufactured according to the source file and the installation package manufacturing template, the server only needs to set custom parameters in the installation package manufacturing template, so that the number of parameters which are manually filled in is reduced, the flow of parameter filling in can be simplified by adopting the scheme, and the phenomenon of parameter filling errors can also be reduced.
Referring to fig. 2, a method for making an application installation package provided by the present application is illustrated as follows, where the method includes:
201. the server obtains a source file of an application installation package to be manufactured and an installation package manufacturing template corresponding to the source file.
The installation package manufacturing template comprises preset fixed parameters, and the installation package manufacturing template refers to the fact that a source file input into the installation package manufacturing template is edited and processed according to a manufacturing flow configured in advance by the installation package manufacturing template to form an application installation package with operation logic. Optionally, the preset fixed parameter items in the installation package manufacturing templates may vary according to business requirements, the respective configured fixed parameter items may be the same or different for different installation package manufacturing templates, and the respective configured fixed parameter items may be the same or different for the same type of installation package manufacturing templates under different business requirements, which is not limited in the specific application.
In some embodiments, the installation package making templates can respectively self-define corresponding installation package making templates according to the service types, the server calls the corresponding installation package making templates according to different service types, and then edits and processes the source file according to the node flow in the called installation package making templates to finally form the corresponding application installation packages. For example, for a newly added application, an installation package making template needs to be edited first, then the installation package making template is called to edit and process an input source file, and finally a finished application installation package is obtained. For the updated application, the installation package making template needs to be called to edit and process the input source file, and finally an incremental application installation package is obtained. Or, for the updated application, an installation package making template can be edited first, then the installation package making template is called to edit and process the input source file, and finally an incremental application installation package is obtained.
Fig. 3-a to 3-c are schematic diagrams of a functional module interface of an installation package manufacturing template, respectively.
In fig. 3-a, for the step of packing the complete packet, the following node components need to be called in turn: the method comprises the following steps of Client-detection executable file, Client-complete package/manual package execution package, Client-package result signature, Client-synchronous CDN test environment and Client-sending email. The functions of the node components are explained in detail below:
the method comprises the steps of calling a Client-detection assembly executable file to detect whether the executable file is encrypted or not, calling a Client-complete package/manual package packaging assembly to package an obtained complete package, calling a Client-packaging result signature assembly to sign the complete package, calling a Client-synchronous CDN test environment assembly to synchronize the signed complete package into a test CDN to test and verify, and calling a Client-mail sending assembly to inform a user that the installation package passes the test and the verification.
In FIG. 3-b, for the step of automatic packet packing, the following node components need to be invoked in sequence: client-automatic package execution packaging, Uobs task execution (string referral), Client-synchronous CDN test environment, and Client-send mail. The functions of the node components are explained in detail below:
the automatic package can be packaged by calling the Client-automatic package executing and packaging component, various self-defined parameters can be filled in the automatic package by calling the Uobs task executing component, the automatic package filled with the self-defined parameters can be synchronized into the testing CDN to be tested and verified by calling the Client-synchronous CDN testing environment component, and the installation package can be informed to the user to pass the testing and verification by calling the Client-sending mail component.
In fig. 3-c, for the installation package (including the auto package and the complete package) that the testing CDN tests and verifies, the server may call the Client-synchronization CDN component to formally CDN the synchronization value of the installation package that passes the testing and verifying.
Optionally, after step 201, the server further needs to perform access configuration, specifically, the server may execute a preprocessing script to preprocess the source file, so as to associate the preprocessed source file with the installation package manufacturing template. And then configuring a running environment for running the application installation package corresponding to the preprocessed source file.
Wherein, the access configuration mainly comprises: the method comprises the steps of allocating FTP accounts, allocating servers and accounts for manufacturing application installation packages, deploying installation package manufacturing tools to the servers, setting directories of the servers for manufacturing the application installation packages, and configuring the operating environment of the application installation packages. Fig. 4-a is a schematic diagram of a directory of a server, and fig. 4-b is a configuration of an execution environment of an application installation package, and the configuration of the execution environment is consistent with the directory configuration of the server.
202. And calling an installation package manufacturing tool corresponding to the installation package manufacturing template by the server, and setting custom parameters in the application installation template to obtain the set template.
Fig. 5 is a schematic diagram of an interface for setting custom parameters in an application installation template, for example, setting a new version number (4.0.0.3), an old version number (3.0.0.41), and a new version directory name (4.0.0.3) in the application installation template, respectively, and filling out a start time and an end time for which the operation is expected to be performed. The self-defined parameters are all changed parameters, are related to business requirements, can flexibly change values, and the self-defined parameter items to be filled in are changed or fixed, and the application is not limited in detail.
203. And the server makes an application installation package corresponding to the application installation package to be made according to the source file and the set template.
204. And the server synchronizes the application installation package to the CDN.
205. After the testing of the CDN is passed, the server synchronizes the application installation package to a formal CDN so as to provide an entrance for downloading the application installation package for terminal equipment.
Compared with the existing mechanism, in the embodiment of the invention, the application installation template comprises the preset fixed parameters, so that when the server manufactures the application installation package according to the source file and the application installation template, the server only needs to set the self-defined parameters in the application installation template. Furthermore, due to the fact that the application installation template is configured, when the application installation template is used for manufacturing the application installation package, automatic assembly line processing can be achieved, and the application installation package does not need to be manufactured manually step by step, so that compared with the existing mechanism, the manufacturing efficiency of the application installation package can be greatly improved.
It should be noted that, for the same application, there may be different types of application installation packages, for example: an incremental installation package (i.e., the original installation is provided, but the version is changed, incremental updating can be performed on the original basis), a full installation package (the original installation is not performed, new installation is required), a manual update package (an installation package which can be updated by user customization), and the like.
However, the application installation package of the same version has a characteristic that the client side is the version manufactured after installation.
The manufacturing process of each type of installation package is different, and different installation package manufacturing tools are available. Which type is required, which type is made. Not all installation packages need to be manufactured.
Optionally, in some embodiments of the present invention, after the application installation package is manufactured, the Tencent authentication signature modular call may be further implemented on the application installation package, and only the user account and the password for calling the application installation package, which are used for manufacturing the application installation package, need to be configured in the installation package manufacturing template. By means of signing the application installation package, the safety of the application installation package can be improved.
For example, desktop security products (such as computer management guards, Jinshan Postopperes and the like) prompt a user whether the security product is safe or not when the user executes exe files, and then after signature authentication is performed on the application installation packages, the desktop security products can detect that the application installation package exe files are safe and reliable, so that the terminal equipment provided with the security product cannot refuse to execute or prompt the user that the application installation package exe files are unsafe, and therefore interference to the user is reduced. In addition, the application can support signature of installation package making results and signature uploading of local files, and multiple requirements are met, fig. 6 is a schematic diagram of signature of an application installation package, in fig. 6, a server calls a Client-packaging result signature component to sign a packaged application installation package, a source of a signature file and a packaging step name can be selected, in fig. 6, the source of the signature file is a packaging result, the packaging step name is complete package packaging, and in the page, the type of the application installation package can be selected, for example, a full package (full), an incremental package (batch), an automatic package (auto) or the like can be selected.
The packaging refers to a manufacturing process of generating the source file into the application installation package.
Optionally, in some embodiments of the present invention, in order to implement dynamic editing of the application installation package and improve the efficiency of manufacturing, before the user-defined parameters are set in the application installation template, the server may further perform a paging process on a parameter filling window of an installation package manufacturing tool corresponding to the installation package manufacturing template, so as to obtain a web page, where the web page may include information such as graphics, characters, sounds, and videos, and the web page is dynamic and can interact with a database of the server, so as to improve the interaction efficiency, and accordingly, the efficiency of manufacturing the application installation package can be improved. The web page is a control interface of a management application of the server, and can be opened by a browser, correspondingly, the server in the application can also be called as a web server, and a user can open the web server through various browsers and perform management configuration of the application.
Then, the server can call an installation package making tool corresponding to the installation package making template, and the self-defined parameters in the application installation template are set on the web page. By filling in parameters on the web page, the editing operation of the application installation package can be realized, so that the manufactured application installation package is more matched with the actual business requirement.
On the web page, the server can carry out self-defined configuration and can carry out editing or modifying operation intuitively at any time. Thus, the error of the application installation package manufactured in the way is lower.
Optionally, in some embodiments of the present invention, in a process of manufacturing an application installation package, a parameter filling error or other editing errors may occur, and an embodiment of the present application provides a technical solution to solve the problem, and a server may directly perform a re-operation on an application installation package that has been manufactured at present or an application installation package that is being manufactured. The method comprises the following specific steps:
when operation failure occurs in the process of making the application installation package, the server can display operation failure information for indicating the operation failure on the web page, wherein the operation failure information is used for positioning failure operation.
The server can locate the failed operation according to the operation failure information and then re-execute the located failed operation so as to eliminate the vulnerability of the application installation package.
Through the prompt mechanism, the intuition can be improved, the user can conveniently and directly check the failed operation in real time, and the manufacturing mechanism of the application installation package is further optimized.
In another embodiment of the present application, the operation result of each node process may be displayed on a web page. Even if failed operation does not exist, the user can enter the completed node flow at any time by clicking the displayed operation result, so that the user can check whether the node flow has a bug or not by himself, and if the bug exists, the bug can be modified correspondingly; or if the service requirement changes and other factors need to update the completed node flow, in the application, the user can enter the completed node flow at any time by clicking the displayed operation result and then correspondingly modify the node flow.
Optionally, in some embodiments of the present invention, the server in the embodiment corresponding to fig. 2 may be a primary server or a standby server, and the primary server and the standby server are configured consistently, both of the primary server and the standby server receive a source file synchronized by an application management platform, and also deploy an installation package making tool. The source file can be synchronized to the main server and the standby server through FTP, both the main server and the standby server can be used for making the application installation package, and when the main server fails, the standby server can be switched to make the application installation package. Optionally, the FTP synchronization in the present application is only one embodiment, and the present application is not limited to the listed FTP synchronization, and other synchronization manners may also be adopted, and the present application is not limited in particular.
By synchronizing FTP to the main server and the standby server, disaster recovery backup of the installation package manufacturing server can be realized, the standby server can be directly switched to complete manufacturing of the application installation package when the main server is abnormal, and the main server does not need to wait for the restoration of the main server and then manufacture the application installation package.
Optionally, in some embodiments of the present invention, in the present application, the application management system automatically determines a user operation home (for example, shanghai or shenzhen), and automatically uses a server for making the application installation package and a server for signature authentication locally.
Optionally, in some inventive embodiments, an important source file may also be encrypted, and the present application does not limit the encryption manner as long as the security of the source file can be improved.
For ease of understanding, in fig. 7, a cloud model of an application management system of a company is taken as an example, the cloud model first creates an installation package production template, then pulling the polled source file, entering a client preparation stage, judging whether the source file is shelled or not, if so, judging whether a login platform is updated or not, if so, further judging whether an old directory needs to be deleted or not, if so, deleting the old directory, judging whether the disk space is sufficient, if so, starting to make the installation package, after the installation package is manufactured, signature of the installation package is carried out, the installation package after signature is synchronized to the testing CDN, if the installation package passes the test and verification of the testing CDN, an email is automatically sent to inform a user, and then synchronizing the installation package passing the test and the verification to a formal CDN, and finally deleting the installation package generated in the disk. Each node flow in the whole flow is completed by calling a corresponding node component, and the description of the specific calling node component can refer to the description of fig. 3-a to 3-c, which is not described herein again.
Wherein, shell adding means encrypting the file to protect the file.
The login platform is mainly responsible for the process of the user logging in the application by using the account.
On the basis of fig. 7, if an operation failure occurs in one of the node processes, a prompt message is displayed on the web page for the user to locate the failed operation. The user can locate the failed operation by clicking the prompt message, and then enter the failed node process to automatically perform the corresponding operation again. Thereby realizing real-time modification and maintenance. Certainly, in some embodiments, the operation result of each node flow can be displayed on a web page, and even if there is no failed operation, a user can enter the completed node flow at any time by clicking the displayed operation result, so that the user can check whether the node flow has a bug or not by himself, and if so, the user can modify the node flow correspondingly; or if the service requirement changes and other factors need to update the completed node flow, in the application, the user can enter the completed node flow at any time by clicking the displayed operation result and then correspondingly modify the node flow.
The method for creating an application installation package in the present application is explained above, and a server for executing the above creation of an application installation package is described below.
Referring to fig. 8, a server 80 is described, where the server 80 is applied to an application management system, and the server 80 includes:
an obtaining module 801, configured to obtain a source file of an application installation package to be manufactured and an installation package manufacturing template corresponding to the source file, where the installation package manufacturing template includes preset fixed parameters;
a processing module 802, configured to invoke an installation package making tool corresponding to the installation package making template, set a custom parameter in the application installation template to obtain a set template, and make an application installation package corresponding to the application installation package to be made according to the source file and the set template;
a sending module 803, configured to synchronize the application installation package to the test content delivery network CDN; after the testing of the CDN is passed, the application installation package is synchronized to a formal CDN so as to provide an entrance for downloading the application installation package for terminal equipment.
Compared with the existing mechanism, in the embodiment of the invention, because the application installation template comprises the preset fixed parameters, when the processing module 802 manufactures the application installation package according to the source file and the application installation template, only the self-defined parameters need to be set in the application installation template, and compared with the existing mechanism that the parameters need to be manually filled when the application installation package is manufactured by using an installation package manufacturing tool, the parameter filling process can be simplified and the phenomenon of parameter filling errors can be reduced by manufacturing the application installation package by using the installation package manufacturing template.
Optionally, in some embodiments of the present invention, before the processing module 802 sets the custom parameter in the application installation template, the processing module is further configured to:
performing page processing on a parameter filling window of an installation package manufacturing tool corresponding to the installation package manufacturing template to obtain a web page;
the processing module 802 is specifically configured to:
and calling an installation package manufacturing tool corresponding to the installation package manufacturing template, and setting the self-defined parameters in the application installation template on the web page.
Optionally, in some embodiments of the present invention, the server 80 further includes:
a display module 804, configured to display, when an operation failure occurs in the process of making the application installation package, operation failure information for indicating the operation failure on the web page, where the operation failure information is used to locate a failed operation.
Optionally, in some embodiments of the present invention, the processing module 802 is further configured to:
and positioning the failed operation according to the operation failure information, and re-executing the positioned failed operation.
Optionally, in some embodiments of the present invention, after the obtaining module obtains the source file of the application installation package to be manufactured and the installation package manufacturing template corresponding to the source file, and before the invoking of the installation package manufacturing tool corresponding to the installation package manufacturing template, the processing module 802 is further configured to:
executing a preprocessing script, preprocessing the source file, and associating the preprocessed source file with the installation package manufacturing template;
and configuring the running environment for running the application installation package corresponding to the preprocessed source file.
Optionally, in some embodiments of the present invention, the server is a main server or a standby server, the source file is synchronized to the main server and the standby server through a bidirectional transfer protocol FTP, and both the main server and the standby server are used for making the application installation package.
Optionally, in some embodiments of the present invention, the processing module 802 is further configured to:
and when the main server fails, switching to the standby server to manufacture the application installation package.
The server in the embodiment of the present invention is described above from the perspective of the modular functional entity, and the server in the embodiment of the present invention is described below from the perspective of hardware processing. It should be noted that, in the embodiment shown in fig. 8 of the present invention, the entity device corresponding to the sending module may be a transmitter, the entity device corresponding to the obtaining module may be an input/output unit, the entity device corresponding to the processing module may be a processor, and the entity device corresponding to the display module may be a display unit such as a display screen. The apparatus shown in fig. 8 may have a structure as shown in fig. 9, when the apparatus shown in fig. 8 has the structure as shown in fig. 9, the processor, the transmitter and the receiver in fig. 9 can implement the same or similar functions of the processing module, the sending module and the receiving module provided in the apparatus embodiment corresponding to the apparatus, and the memory in fig. 9 stores program codes that the processor needs to call when executing the method of session management described above.
Fig. 9 is a schematic diagram of another server structure provided by an embodiment of the present invention, where the server 900 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 922 (e.g., one or more processors) and a memory 932, and one or more storage media 930 (e.g., one or more mass storage devices) for storing applications 942 or data 944. Memory 932 and storage media 930 can be, among other things, transient storage or persistent storage. The program stored on the storage medium 930 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, a central processor 922 may be provided in communication with the storage medium 930 to execute a series of instruction operations in the storage medium 930 on the server 900.
The server 900 may also include one or more power supplies 926, one or more wired or wireless network interfaces 950, one or more input-output interfaces 958, and/or one or more operating systems 941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
Embodiments of the invention relate to servers that may have more or fewer components than shown in fig. 9, may combine two or more components, or may have different configurations or arrangements of components, and each component may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
By invoking instructions stored in storage medium 930, central processor 922 may be configured to perform the following operations:
acquiring a source file of an application installation package to be manufactured and an installation package manufacturing template corresponding to the source file through an input/output interface 958, wherein the installation package manufacturing template comprises preset fixed parameters;
calling an installation package manufacturing tool corresponding to the installation package manufacturing template, setting custom parameters in the application installation template to obtain a set template, and manufacturing an application installation package corresponding to the application installation package to be manufactured according to the source file and the set template;
synchronizing the application installation package to a test Content Delivery Network (CDN) through a wireless network interface 950; and after the test of the CDN is passed, synchronizing the application installation package to a formal CDN so as to provide an entrance for downloading the application installation package for terminal equipment.
Optionally, in some embodiments of the present invention, by calling the instruction stored in the storage medium 930, before the central processor 922 sets the custom parameter in the application installation template, the following operation is further performed:
performing page processing on a parameter filling window of an installation package manufacturing tool corresponding to the installation package manufacturing template to obtain a web page;
and calling an installation package manufacturing tool corresponding to the installation package manufacturing template, and setting the self-defined parameters in the application installation template on the web page.
Optionally, in some embodiments of the present invention, the central processor 922 is further configured to perform the following operations by calling instructions stored in the storage medium 930:
and when operation failure occurs in the process of manufacturing the application installation package, displaying operation failure information for indicating the operation failure on the web page, wherein the operation failure information is used for positioning failure operation.
Optionally, in some embodiments of the present invention, the central processor 922 is further configured to perform the following operations by calling instructions stored in the storage medium 930:
and positioning the failed operation according to the operation failure information, and re-executing the positioned failed operation.
Optionally, in some embodiments of the present invention, by calling an instruction stored in the storage medium 930, after the obtaining module obtains a source file of an application installation package to be manufactured and an installation package manufacturing template corresponding to the source file, and before calling an installation package manufacturing tool corresponding to the installation package manufacturing template, the central processing unit 922 is further configured to perform the following operations:
executing a preprocessing script, preprocessing the source file, and associating the preprocessed source file with the installation package manufacturing template;
and configuring the running environment for running the application installation package corresponding to the preprocessed source file.
Optionally, in some embodiments of the present invention, the server is a main server or a standby server, the source file is synchronized to the main server and the standby server through a bidirectional transfer protocol FTP, and both the main server and the standby server are used for making the application installation package.
Optionally, in some embodiments of the present invention, by calling an instruction stored in the storage medium 930, the central processing unit 922 switches to the standby server to make the application installation package after the failure of the primary server.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the module described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other media capable of storing program codes.
The technical solutions provided by the present application are introduced in detail, and the present application applies specific examples to explain the principles and embodiments of the present application, and the descriptions of the above examples are only used to help understand the method and the core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (15)

1. A method for making an application installation package is applied to a server in an application management system, and the method comprises the following steps:
acquiring a source file of an application installation package to be manufactured and an installation package manufacturing template corresponding to the source file, wherein the installation package manufacturing template comprises preset fixed parameters, and a calling user account and a password for manufacturing the application installation package are configured in the installation package manufacturing template;
calling an installation package manufacturing tool corresponding to the installation package manufacturing template, setting custom parameters in the application installation template to obtain a set template, and manufacturing an application installation package corresponding to the application installation package to be manufactured according to the source file and the set template;
performing signature modularization calling processing on the application installation package based on the calling user account and the password;
synchronizing the application installation package to a test Content Delivery Network (CDN);
after the testing of the CDN is passed, synchronizing the application installation package to a formal CDN so as to provide an entrance for downloading the application installation package for terminal equipment;
the method for obtaining the source file of the application installation package to be manufactured specifically comprises the following steps:
and receiving a source file synchronized to the server by the application management platform, wherein the source file is a new source file polled by the application management platform when polling each application.
2. The method of claim 1, wherein prior to setting custom parameters in the application installation template, the method further comprises:
performing page processing on a parameter filling window of an installation package manufacturing tool corresponding to the installation package manufacturing template to obtain a web page;
the calling of the installation package manufacturing tool corresponding to the installation package manufacturing template, and the setting of the user-defined parameters in the application installation template through the installation package manufacturing tool comprise:
and calling an installation package manufacturing tool corresponding to the installation package manufacturing template, and setting the self-defined parameters in the application installation template on the web page.
3. The method of claim 2, further comprising:
and when operation failure occurs in the process of manufacturing the application installation package, displaying operation failure information for indicating the operation failure on the web page, wherein the operation failure information is used for positioning failure operation.
4. The method of claim 3, further comprising:
and positioning the failed operation according to the operation failure information, and re-executing the positioned failed operation.
5. The method according to any one of claims 1 to 4, wherein after the obtaining of the source file of the application installation package to be manufactured and the installation package manufacturing template corresponding to the source file, and before the invoking of the installation package manufacturing tool corresponding to the installation package manufacturing template, the method further comprises:
executing a preprocessing script, preprocessing the source file, and associating the preprocessed source file with the installation package manufacturing template;
and configuring the running environment for running the application installation package corresponding to the preprocessed source file.
6. The method according to claim 5, wherein the server is a primary server or a backup server, the source file is synchronized to the primary server and the backup server through a two-way transfer protocol (FTP), and both the primary server and the backup server are used for making the application installation package.
7. The method of claim 6, further comprising:
and when the main server fails, switching to the standby server to manufacture the application installation package.
8. A server, wherein the server is applied to an application management system, and the server comprises:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring a source file of an application installation package to be manufactured and an installation package manufacturing template corresponding to the source file, the installation package manufacturing template comprises preset fixed parameters, and a calling user account and a password for manufacturing the application installation package are configured in the installation package manufacturing template;
the processing module is used for calling an installation package manufacturing tool corresponding to the installation package manufacturing template, setting custom parameters in the application installation template to obtain a set template, and manufacturing an application installation package corresponding to the application installation package to be manufactured according to the source file and the set template; performing signature modularization calling processing on the application installation package based on the calling user account and the password;
the sending module is used for synchronizing the application installation package to a test Content Delivery Network (CDN); after the testing of the CDN is passed, synchronizing the application installation package to a formal CDN so as to provide an entrance for downloading the application installation package for terminal equipment;
the method for obtaining the source file of the application installation package to be manufactured specifically comprises the following steps:
and receiving a source file synchronized to the server by the application management platform, wherein the source file is a new source file polled by the application management platform when polling each application.
9. The server according to claim 8, wherein the processing module, prior to setting the custom parameter in the application installation template, is further configured to:
performing page processing on a parameter filling window of an installation package manufacturing tool corresponding to the installation package manufacturing template to obtain a web page;
the processing module is specifically configured to:
and calling an installation package manufacturing tool corresponding to the installation package manufacturing template, and setting the self-defined parameters in the application installation template on the web page.
10. The server of claim 9, further comprising:
and the display module is used for displaying operation failure information for indicating operation failure on the web page when operation failure occurs in the process of manufacturing the application installation package, wherein the operation failure information is used for positioning failure operation.
11. The server of claim 10, wherein the processing module is further configured to:
and positioning the failed operation according to the operation failure information, and re-executing the positioned failed operation.
12. The server according to any one of claims 8 to 11, wherein the processing module, after the obtaining module obtains a source file of an application installation package to be manufactured and an installation package manufacturing template corresponding to the source file, before invoking an installation package manufacturing tool corresponding to the installation package manufacturing template, is further configured to:
executing a preprocessing script, preprocessing the source file, and associating the preprocessed source file with the installation package manufacturing template;
and configuring the running environment for running the application installation package corresponding to the preprocessed source file.
13. The server according to claim 12, wherein the server is a main server or a standby server, the source file is synchronized to the main server and the standby server through a two-way transfer protocol FTP, and both the main server and the standby server are used for making the application installation package.
14. The server according to claim 13, wherein the processing module is further configured to:
and when the main server fails, switching to the standby server to manufacture the application installation package.
15. A storage medium comprising instructions to perform the method of any one of claims 1-7.
CN201710137726.3A 2017-03-09 2017-03-09 Application installation package manufacturing method and server Active CN106936633B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710137726.3A CN106936633B (en) 2017-03-09 2017-03-09 Application installation package manufacturing method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710137726.3A CN106936633B (en) 2017-03-09 2017-03-09 Application installation package manufacturing method and server

Publications (2)

Publication Number Publication Date
CN106936633A CN106936633A (en) 2017-07-07
CN106936633B true CN106936633B (en) 2020-06-05

Family

ID=59432797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710137726.3A Active CN106936633B (en) 2017-03-09 2017-03-09 Application installation package manufacturing method and server

Country Status (1)

Country Link
CN (1) CN106936633B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990427A (en) * 2019-12-16 2020-04-10 北京智游网安科技有限公司 Statistical method, system and storage medium for application program affiliated area
CN111092763A (en) * 2019-12-19 2020-05-01 福建新大陆支付技术有限公司 Terminal-based parameter configuration method and terminal
CN110995864A (en) * 2019-12-19 2020-04-10 福建新大陆支付技术有限公司 Parameter management method and parameter management system based on parameter management system
CN111090459A (en) * 2019-12-19 2020-05-01 福建新大陆支付技术有限公司 Method, device and equipment for remotely managing terminal parameters
CN110990083A (en) * 2019-12-19 2020-04-10 福建新大陆支付技术有限公司 Method, device and equipment for configuring terminal parameters
CN112925722A (en) * 2021-03-30 2021-06-08 重庆阿克索信息科技有限公司 Development and test integrated service system based on GMP (good manufacturing practice) specification
CN113127054B (en) * 2021-05-08 2022-05-27 上海益世界信息技术集团有限公司广州分公司 File processing method and related device
CN113986267A (en) * 2021-10-27 2022-01-28 浪潮思科网络科技有限公司 Deployment method, device and medium for SDN controller installation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043627A (en) * 2010-12-24 2011-05-04 中国农业银行股份有限公司 Development method and system of comparable data showing program of browser server architecture
CN102902531A (en) * 2012-09-11 2013-01-30 Tcl集团股份有限公司 Customization and generation method and device of Android application program
CN102955689A (en) * 2011-08-23 2013-03-06 腾讯科技(深圳)有限公司 Software installation package producing method and software installation package device
CN103543993A (en) * 2012-07-11 2014-01-29 深圳市华高软件科技有限公司 Application program building method and system
CN104077118A (en) * 2013-03-27 2014-10-01 腾讯科技(深圳)有限公司 Resource customization method and resource customization device of application program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8423994B2 (en) * 2009-05-14 2013-04-16 Microsoft Corporation Recipe based application conversion

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043627A (en) * 2010-12-24 2011-05-04 中国农业银行股份有限公司 Development method and system of comparable data showing program of browser server architecture
CN102955689A (en) * 2011-08-23 2013-03-06 腾讯科技(深圳)有限公司 Software installation package producing method and software installation package device
CN103543993A (en) * 2012-07-11 2014-01-29 深圳市华高软件科技有限公司 Application program building method and system
CN102902531A (en) * 2012-09-11 2013-01-30 Tcl集团股份有限公司 Customization and generation method and device of Android application program
CN104077118A (en) * 2013-03-27 2014-10-01 腾讯科技(深圳)有限公司 Resource customization method and resource customization device of application program

Also Published As

Publication number Publication date
CN106936633A (en) 2017-07-07

Similar Documents

Publication Publication Date Title
CN106936633B (en) Application installation package manufacturing method and server
CN106844137B (en) Server monitoring method and device
US9158534B2 (en) Smart endpoint architecture
WO2016124013A1 (en) Method and apparatus for dynamically implementing application function
CN110442524B (en) Method and device for testing web service interface with authentication authorization
US9525598B1 (en) Network testing device for automated topology validation
CN112486547B (en) Application program updating method and device under multi-tenant scene and electronic equipment
CN104468843A (en) File uploading method and device
US20180307472A1 (en) Simultaneous deployment on cloud devices and on on-premise devices
CN110119350B (en) Software development kit testing method, device and equipment and computer storage medium
CN102622550B (en) Safe online patch check system facing terminal computers
CN112039868A (en) Firewall policy verification method, device, equipment and storage medium
CN103970655A (en) Server automatic cluster testing method based on expect
CN112019610A (en) Cloud edge coordination method and system
CN111580833A (en) Application updating method and system, local management agent device and cloud server
CN112416396A (en) Application program updating method and system
CN110442349A (en) Method and apparatus for servicing dilatation
CN112988409A (en) Interface calling method and device, computer equipment and storage medium
CN103384246A (en) Safety supervision system login assistant method
CN111314355B (en) Authentication method, device, equipment and medium of VPN (virtual private network) server
CN112699326B (en) Webpage rendering control method and device
CN110324191B (en) Hybrid cloud deployment method, device and system
CN104253832A (en) Remote file management method and system
CN113504939B (en) Project version release management method and device, electronic equipment and computer readable medium
CN102137058B (en) A kind of page access method and apparatus based on tab page

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