CN106936633A - Method and server that a kind of application installation package makes - Google Patents
Method and server that a kind of application installation package makes Download PDFInfo
- Publication number
- CN106936633A CN106936633A CN201710137726.3A CN201710137726A CN106936633A CN 106936633 A CN106936633 A CN 106936633A CN 201710137726 A CN201710137726 A CN 201710137726A CN 106936633 A CN106936633 A CN 106936633A
- Authority
- CN
- China
- Prior art keywords
- application
- server
- template
- installation kit
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/22—Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic 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/3247—Cryptographic 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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Method and server that a kind of application installation package makes, methods described are applied to the server in AMS, and methods described includes:The source file and installation kit corresponding with the source file for obtaining application installation package to be produced make template, and the installation kit makes template includes default preset parameter;Call installation kit tools corresponding with installation kit making template, custom parameter is set in the application installation form, template after being set, and according to the application installation package corresponding with the application installation package to be produced of the template construct after the source file and the setting;The application installation package is synchronized to test content distributing network CDN;After the test by the test CDN, the application installation package is synchronized to formal CDN, the entrance of the application installation package is downloaded to be provided to terminal device.By using this programme, can the flow filled in of reduced parameter, and the phenomenon that parameter fills in mistake can be reduced.
Description
Technical field
The application is related to Internet technical field, more particularly to a kind of method that makes of application installation package and server.
Background technology
At present, in the new application installation package of background update application installation package and establishment, it is necessary first to installation kit source document
Part is pre-processed, and then calls installation kit tools to enter edlin to the custom parameter in source file, then perform installation
Bag tools are generating installation kit.Afterwards.Signature authentication can also be carried out to installation kit, installation kit is tested, surveyed
After trying successfully, installation kit is uploaded to formal content distributing network (English full name:Content Delivery Network, English
Literary abbreviation:CDN).Wherein, from the pulling of source file, the calling of installation kit instrument, the making of installation kit and installation kit is uploaded
Process be all required for by hand carry out, it is impossible to realize automatic flow, whole Making programme is less efficient.
The content of the invention
The method and server made this application provides a kind of application installation package, can solve the problem that to make in the prior art and answer
With the less efficient problem of installation kit.
First aspect itself is asked to provide a kind of method that application installation package makes, it is characterised in that methods described is applied to
Server in AMS, methods described includes:
The source file and installation kit corresponding with the source file for obtaining application installation package to be produced make template, the peace
Dress is packed makees template including default preset parameter;
Installation kit tools corresponding with installation kit making template are called, is set in the application installation form
Custom parameter, the template after being set, and wait to make with described according to the template construct after the source file and the setting
Make the corresponding application installation package of application installation package;
The application installation package is synchronized to test content distributing network CDN;
After the test by the test CDN, the application installation package is synchronized to formal CDN, with to terminal device
The entrance for downloading the application installation package is provided.
The application second aspect provides a kind of server, is installed with the application for realizing being provided corresponding to above-mentioned first aspect
Pack the function of the method for work.The function can be realized by hardware, it is also possible to performed corresponding software by hardware and realized.
Hardware or software include one or more modules corresponding with above-mentioned functions, and the module can be software and/or hardware.One
Plant in possible design, in AMS, the server includes the server application:
Acquisition module, source file and installation corresponding with the source file for obtaining application installation package to be produced are packed
Make template, the installation kit makes template includes default preset parameter;
Processing module, for calling installation kit tools corresponding with installation kit making template, in the application
Custom parameter is set in installation form, the template after being set, and according to the template after the source file and the setting
Make application installation package corresponding with the application installation package to be produced;
Sending module, for the application installation package to be synchronized into test content distributing network CDN;By the test
After the test of CDN, the application installation package is synchronized to formal CDN, the application installation package is downloaded to be provided to terminal device
Entrance.
In the scheme provided compared to prior art, the application, because application installation form includes default preset parameter,
So server according to source file and application installation form when application installation package is made, server only needs to install mould in application
Custom parameter is set in plate, with current mechanism in installation kit tools make application installation package when need hand filling
Parameter it is various compare, the application by installation kit make template construct application installation package can the flow filled in of reduced parameter,
And the phenomenon that parameter fills in mistake can be reduced.
Brief description of the drawings
Fig. 1 is a kind of network topology schematic diagram of AMS in the application;
Fig. 2 is a kind of schematic flow sheet of the method for application installation package making in the application;
Fig. 3-a are a kind of interface schematic diagram of installation kit making template in the application;
Fig. 3-b are another interface schematic diagram of installation kit making template in the application;
Fig. 3-c are another interface schematic diagram of installation kit making template in the application;
Fig. 4-a are a kind of schematic diagram of the catalogue of server in the application;
Fig. 4-b are a kind of running environment configuration interface schematic diagram of application installation package in the application;
Fig. 5 is to fill in a kind of interface schematic diagram of custom parameter in installation kit makes template in the application;
Fig. 6 is a kind of interface schematic diagram of application installation package signature in the application;
Fig. 7 is another schematic flow sheet of the method for application installation package making in the application;
Fig. 8 is a kind of structural representation of server in the application;
Fig. 9 is another structural representation of server in the application.
Specific embodiment
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are for distinguishing
Similar object, without for describing specific order or precedence.It should be appreciated that the data for so using are in appropriate feelings
Can be exchanged under condition, so that the embodiments described herein can be with the order reality in addition to the content for illustrating herein or describing
Apply.Additionally, term " comprising " and " having " and their any deformation, it is intended that covering is non-exclusive to be included, for example, bag
Contained series of steps or module process, method, system, product or equipment be not necessarily limited to those steps clearly listed or
Module, but may include not list clearly or for these processes, method, product or other intrinsic steps of equipment or
A kind of module, the division of the module appeared in this paper, only division in logic can have another when being realized in practical application
Outer dividing mode, such as multiple modules can be combined into or be integrated in another system, or some features can be ignored, or
Do not perform, in addition, shown or discussion coupling or direct-coupling or communication connection each other can be by some
Interface, INDIRECT COUPLING or communication connection between module can be electrical or other similar forms, be not construed as limiting herein.
Also, the module or submodule illustrated as separating component can may not be separation physically, and can be can also
Be not physical module, or can be distributed in multiple circuit modules, can select according to the actual needs part therein or
Whole modules realize the purpose of embodiment of the present invention scheme.
The method and server made this application provides a kind of application installation package, for AMS, the application
Management system includes application management platform, server, content distributing network (English full name:Content Delivery
Network, English abbreviation:CDN), a kind of topological schematic diagram of AMS as shown in Figure 1.
Wherein, application management platform can be by transmitted in both directions agreement (English full name:File Transfer
Protocol, English abbreviation:FTP) poll is respectively applied, when training in rotation is to new source file, then it represents that the application having needs to update
Or have new application need make.So, the source file that application management platform will can then be obtained is synchronized to master server and standby
Server, and corresponding application installation package is made by master server.
Server is mainly used in making application installation package, can be interacted with application management platform and CDN.In the application management system
In system, it may include master server and at least one can all receive application management platform for server, master server and standby server
Synchronous source file, installation kit tools configuration related to other application etc., the configuration of master server and standby server with
Running environment can be completely the same.Under master server normal operation, master server goes to make according to the source file for getting
Corresponding application installation package;In the case of master server failure, standby server is can switch to, and by standby server according to getting
Source file go to make corresponding application installation package, there is provided disaster-tolerant backup mechanism.
Various node components can be set in server, when each node flow is taken turns to, the node will be accordingly called
Component goes to perform corresponding operation, is finally completed the making of whole application installation package.
CDN may include to test CDN and formal CDN, and test CDN is used to test application installation package, and formal CDN is used to provide use
Download the entrance of application installation package in family.CDN can avoid being possible to influence data transmission bauds and stabilization on internet as far as possible
The bottleneck and link of property, make content transmission faster, it is more stable.By place that node server constituted everywhere in network
One layer of intelligent virtual network on existing Internet basic, CDN can in real time according to network traffics and the company of each node
Connect, load state and be re-directed to the request of user to the integrated information such as the distance of user and response time nearest from user
Service node on.The purpose is to make user nearby to obtain required content, the situation of network congestion is solved, improve user and access
The response speed of website.
After server makes application installation package, application installation package can be uploaded into test CDN, test CDN should to this
Tested with installation kit, after test passes through, just application installation package can be synchronized to formal CDN from test CDN.
In order to solve the above technical problems, the embodiment of the present invention mainly provides following technical scheme:
Before application installation package is made using source file, make corresponding installation kit and make template, and in installation kit
Preset parameter is set in making masterplate.Then, when template construct application installation package is made according to source file and installation kit, service
Device only needs to set custom parameter in installation kit makes template, so that the number of parameters of hand filling is reduced, therefore, pass through
Being capable of the flow filled in of reduced parameter using the program, it is also possible to reduce the phenomenon that parameter fills in mistake.
Fig. 2 is refer to, a kind of method of application installation package making is provided the application below and is illustrated, the side
Method includes:
201st, server obtains source file and installation kit corresponding with the source file making of application installation package to be produced
Template.
Wherein, the installation kit makes template includes default preset parameter, the installation kit make template refer to according to
Installation kit makes the Making programme that template is pre-configured with, and edlin and processing are entered to being input into source file therein, and being formed has fortune
The application installation package of row logic.Optionally, default preset parameter can change according to business demand during installation kit makes template,
Template is made for different installation kits, the preset parameter of each self-configuring may be the same or different, under different business demand
The installation kit of same type make template, the preset parameter of each self-configuring may be the same or different, and specific the application is not construed as limiting.
In some embodiments, installation kit makes template can distinguish self-defined corresponding installation kit according to type of service
Template is made, server calls corresponding installation kit to make template according to different types of service, then according to the installation called
Pack the node flow made in template and enter edlin and processing to source file, ultimately form corresponding application installation package.For example, right
In newly-increased application, then need first to edit an installation kit making template, then call the installation kit to make masterplate to input
Source file enters edlin and processing, and what is finally given is an application installation package for completion.For the application for updating, then need to adjust
Masterplate being made with the installation kit and edlin and processing being entered to the source file being input into, what is finally given is an application installation for increment
Bag.Or, for the application for updating, also can first edit an installation kit and make template, then call the installation kit to make masterplate
Source file to being input into enters edlin and processing, and what is finally given is an application installation package for increment.
Fig. 3-a to Fig. 3-c are respectively a kind of functional module interface schematic diagram that installation kit makes template.
In Fig. 3-a, it is necessary to call following node components successively for the step of complete packet is packed:Client- is detected
Executable file, Client- complete packets/bag performs packing manually, Client- packing results are signed, Client- synchronizations CDN is surveyed
Test ring border and Client- send mail.The function to each node component is specifically described below:
Call whether the detectable executable file of Client- detection components executable file is encrypted, call Client- complete
Bag/manual bag packing assembly can pack to the complete packet for obtaining, and calling Client- to pack result signature component can be to complete
Bag is signed, and calls Client- synchronization CDN test environments component to be synchronized in test CDN by the complete packet after signature
Go and test and verify, and call Client- transmission mail components to inform the user installation kit and pass through to test and checking.
In Fig. 3-b, it is necessary to call following node components successively for the step of automatic bag is packed:Client- is automatic
Bag performs packing, Uobs tasks carryings (character string passes ginseng), Client- synchronization CDN test environments and Client- and sends postal
Part.The function to each node component is specifically described below:
Call Client- wrap automatically perform packing assembly can be to obtaining automatic bag pack, call Uobs tasks to hold
Row component can insert various custom parameters to automatic bag, call Client- synchronization CDN test environments components to have will fill in certainly
The automatic bag of defined parameters is tested and verified in being synchronized to test CDN, and call Client- to send mail components can be to
User notifies that installation kit passes through test and verifies.
In Fig. 3-c, it is directed to for the installation kit (including automatic bag and complete packet) that test CDN is tested and is verified,
Server can call Client- synchronization CDN components can will pass through test and checking the formal CDN of installation kit synchronization value.
Optionally, after step 201, server is also needed to carry out access configuration, and specifically, server can perform
Pretreatment script, pre-processes to the source file, and the pretreated source file is associated with into the installation packs
Make template.Then the running environment of the corresponding application installation package of pretreated source file described in configuration operation.
Wherein, accessing configuration mainly includes:Distribution FTP accounts, distribute server and account for making application installation package
Number, installation kit tools are deployed to server, set make application installation package server catalogue and configuration application
The running environment of installation kit.Fig. 4-a are a kind of schematic diagram of the catalogue of server, and Fig. 4-b are one kind of application installation package
Running environment is configured, also, the configuration of running environment is consistent with the catalogue configuration of server.
202nd, server calls installation kit tools corresponding with installation kit making template, install in the application
Custom parameter is set in template, the template after being set.
Fig. 5 is the interface schematic diagram that custom parameter is set in application installation form, for example, apply installation form at this
In be respectively provided with new version number (4.0.0.3), legacy version number (3.0.0.41) and redaction directory name (4.0.0.3), and fill out
Between writing estimated execution at the beginning of the operation and the end time.These custom parameters are all the parameter of change, with business demand
Relevant, flexibly changing value specifically needs the custom parameter alterable filled in, and can also immobilize, specific the application
It is not construed as limiting.
203rd, server is according to the template construct after the source file and the setting and the application installation package to be produced
Corresponding application installation package.
204th, the application installation package is synchronized to test content distributing network CDN by server.
205th, after the test by the test CDN, the application installation package is synchronized to formal CDN by server, with
The entrance for downloading the application installation package is provided to terminal device.
Compared with current mechanism, in the embodiment of the present invention, because application installation form includes default preset parameter, so
When application installation package is made according to source file and application installation form, server only needs in application installation form server
The ginseng that hand filling is needed when making application installation package with installation kit tools in custom parameter, with current mechanism is set
Number is various to be compared, the application by installation kit making template construct application installation package can the flow filled in of reduced parameter, and
The phenomenon that parameter fills in mistake can be reduced.Further, due to being configured with using installation masterplate in the application, then, using
During using installing stamp fabrication application installation package, the pipeline processes of automation are capable of achieving, and need not by hand step by step
Go to make application installation package, it can be seen that, compared with current mechanism, the producing efficiency of application installation package can greatly be improved.
It should be noted that for same application, can there is different types of application installation package, such as:Increment
Installation kit (i.e. it is original install has, but version change, incremental update can be carried out on the basis of original), full dose installation kit
(being fitted without originally, it is necessary to carry out new installation), bag (user can be with the self-defined installation kit being updated) etc. is updated manually
Deng.
But, the application installation package of same version has a feature, is exactly that client makes after installing
This version.
The manufacturing process of each type of installation kit is respectively had any different, all to have different installation kit tools appearance.
Which kind of type is needed, which kind of type just made.Not all installation kit is required for making.
Optionally, in some inventive embodiments, after above-mentioned application installation package has been made, the application can also be installed
Bag carries out realizing that Tengxun's authentication signature modularization is called, it is only necessary to is configured in installation kit makes template and makes the application installation package
Call its user account and password.By way of being signed to application installation package, it is possible to increase the peace of application installation package
Quan Xing.
For example, desktop security product is (such as:Computer control bodyguard, Jinshan anti-virus software etc.), when user performs exe files,
Whether capital prompting user safety product is safe, then, after signature authentication is carried out to these application installation packages, these tables
It is safe and reliable that face safety product can just detect these application installation packages exe files, therefore, it is mounted with the safety product
Terminal device will not refuse perform, or prompting user it is dangerous, so as to reduce the interference caused to user.Additionally, this Shen
Please support that installation kit makes result signature and local file uploads signature, take into account various demands, Fig. 6 is application installation package label
A kind of schematic diagram of name, in Fig. 6, server calls Client- packs result signature component to packed application installation
Bag is signed, and source and the packing step title of signature file may be selected, and signature file source is packing result in Fig. 6, is beaten
Bag step title is complete packet packing, in the page, it is also an option that the type of application installation package, such as select full dose bag
(full), delta package (patch) or automatic bag (auto) etc..
Wherein, packing refers to the manufacturing process that source file is generated application installation package.
Optionally, it is the effect for realizing making the dynamic editor of application installation package and raising in some inventive embodiments
Rate, before setting custom parameter in the application installation form, server pair can also make template with the installation kit
The parameter of corresponding installation kit tools is filled in window and carries out page treatment, obtains web page, and the web page may include
The information such as figure, word, sound and video, web page is dynamic, can be handed over the database of server by it
Mutually, so as to improve interactive efficiency, the efficiency for making application installation package can correspondingly be improved.The web page is the pipe of server
Ought to control interface, can be opened with browser, accordingly, it is also possible to by the server in the application be referred to as web clothes
Business device, the management configuration that user can just be opened by various browsers and be applied.
Then, server just can call installation kit tools corresponding with installation kit making template, in the web
Custom parameter in application installation form described in page setup.So enter filling in for line parameter, Neng Goushi by web page
Now to the edit operation of application installation package so that the application installation package made more is matched with practical business demand.
In web page, server can carry out customized configuration, can at any time, intuitively enter edlin or modification operation.By
This, the mistake of the application installation package so produced is lower.
Optionally, in some inventive embodiments, during application installation package is made, it is possible that parameter is filled in
Mistake, or other Edit Errors, the technical scheme embodiments, provides the solution problem of the application, server
Application installation package or the application installation package just in manufacturing process that can be directly to currently having made be grasped again
Make.It is specific as follows:
There is operation failure during the application installation package is made, then server can be by for indicating operation failure
Operation failure presentation of information in the web page, wherein, the operation failure information be used for position failure operation.
Then server can re-execute the failure behaviour for navigating to according to the operation failure Information locating to failure operation
Make, to eliminate the leak of application installation package.
By this prompting mechanism, it is possible to increase intuitive, can also be easy to the operation that user is real-time, be directly viewable failure,
Further optimize the making mechanism of application installation package.
In another implementation method of the application, also the operating result of each node flow can be shown in Web page
Face.Even if there be no the operation of failure, user also can at any time enter completed node-flow by clicking on the operating result of display
Journey so that user can self check the node flow with the presence or absence of leak, if can accordingly be changed in the presence of if;If or business is needed
The factors such as change are sought, it is necessary to update completed node flow, then in this application, user also can be by clicking on the behaviour for showing
Make result and enter completed node flow at any time, then accordingly changed.
Optionally, in some inventive embodiments, the server in embodiment corresponding to Fig. 2 can for master server or
The configuration consistency of standby server, master server and standby server, the two can all receive the synchronous source file of application management platform, together
Sample can all dispose installation kit tools.Wherein, the source file can be synchronized to the master server and the standby clothes by FTP
Business device, the master server and the standby server are used equally to make the application installation package, when the master server failure
Afterwards, switch to the standby server and make the application installation package.Optionally, it is only synchronously by FTP in the application
One implementation method, the application is not limited to listed FTP synchronizations, can also be using other methods of synchronization, specific the application
It is not construed as limiting.
Active/standby server is synchronized to by using FTP, can realize that installation kit makes the disaster-tolerant backup of server, in main clothes
Business device can be directly switch to the making that standby server completes application installation package when abnormal, it is not necessary to after waiting master server to recover again
Make, it can be seen that, using this implementation method of the application, it is possible to increase the producing efficiency of application installation package, can also improve
The stability of AMS.
Optionally, in some inventive embodiments, in this application, AMS automatic decision user operation ownership
Ground (such as Shanghai or Shenzhen), and use automatically locally for the server and the clothes for signature authentication for making application installation package
Business device.
Optionally, in some inventive embodiments, important source file can be also encrypted, the application not pair plus
Close mode is defined, as long as the security of source file can be improved.
For ease of understanding, below by taking a AMS marble of certain company as an example, in Fig. 7, marble first creates peace
Dress is packed makees template, then pulls the source file being polled to, and the preparatory stage is made into client, judges whether the source file adds
If shell, shell adding, determine whether that landing platform updates, if there is landing platform to update, further determine whether to need to delete
Old catalogue, if desired deletes old catalogue, then delete old catalogue, and judges whether disk space is sufficient, if sufficient, starts from
Installation kit, after installation kit completes, just carries out the signature of installation kit, then the installation kit after signature is synchronized into test CDN,
If by testing the test and checking of CDN, the automatic mail that sends notifies user, then by by the installation kit of test and checking
Formal CDN is synchronized to, the installation kit that will finally be generated in disk is deleted.Wherein, each the node flow in whole flow process is
By call corresponding node component to complete, the explanation of node component is specifically called to refer to saying for Fig. 3-a to Fig. 3-c
Bright, here is omitted.
Wherein, shell adding refers to that file is encrypted, to reach the operation of protection file.
Landing platform is mainly responsible for the process that user logs in application using account number.
On the basis of Fig. 7, if wherein there is operation failure in certain node flow, then, can will be prompted to presentation of information in
Web page, for the operation of user's positioning failure.User can position the operation of failure by clicking on prompt message, subsequently into
In the node flow of the failure, corresponding operation is automatically re-started.So as to realize real time modifying and maintenance.Certainly, one
In a little implementation methods, also the operating result of each node flow can be shown in web page, even if there be no the behaviour of failure
Make, user also can at any time enter completed node flow by clicking on the operating result of display so that user can voluntarily examine
The node flow is looked into the presence or absence of leak, if can accordingly be changed in the presence of if;If or business demand change etc. factor, it is necessary to update
Completed node flow, then in this application, entrance has been completed the operating result that user can also be shown by click at any time
Node flow, then accordingly changed.
The method that a kind of application installation package in the application makes is illustrated above, is installed to performing above-mentioned application below
The server for packing work is described.
Reference picture 8, illustrates to server 80, and the server 80 is applied to AMS, the server
80 include:
Acquisition module 801, for the source file for obtaining application installation package to be produced and installation corresponding with the source file
Pack and make template, the installation kit makes template includes default preset parameter;
Processing module 802, for calling installation kit tools corresponding with installation kit making template, answers described
With setting custom parameter in installation form, the template after being set, and according to the mould after the source file and the setting
Plate makes application installation package corresponding with the application installation package to be produced;
Sending module 803, for the application installation package to be synchronized into test content distributing network CDN;By described
After testing the test of CDN, the application installation package is synchronized to formal CDN, the application peace is downloaded to be provided to terminal device
Fill the entrance of bag.
Compared with current mechanism, in the embodiment of the present invention, because application installation form includes default preset parameter, so
Processing module 802 according to source file and application installation form when application installation package is made, it is only necessary in application installation form
The ginseng that hand filling is needed when making application installation package with installation kit tools in custom parameter, with current mechanism is set
Number is various to be compared, the application by installation kit making template construct application installation package can the flow filled in of reduced parameter, and
The phenomenon that parameter fills in mistake can be reduced.
Optionally, in some inventive embodiments, the processing module 802 sets in the application installation form and makes by oneself
Before adopted parameter, it is additionally operable to:
Pair parameter for making the corresponding installation kit tools of template with the installation kit fills in window to be carried out at the page
Reason, obtains web page;
The processing module 802 specifically for:
Installation kit tools corresponding with installation kit making template are called, described answering is set in the web page
With the custom parameter in installation form.
Optionally, in some inventive embodiments, the server 80 also includes:
Display module 804, for there is operation failure during the application installation package is made, then will be used to indicate behaviour
In the web page, the operation failure information is used to position failure operation the operation failure presentation of information that work fails.
Optionally, in some inventive embodiments, the processing module 802 is additionally operable to:
According to the operation failure Information locating to failure operation, and re-execute the failure operation for navigating to.
Optionally, in some inventive embodiments, the processing module 802 obtains application to be produced in the acquisition module
The source file of installation kit and installation kit corresponding with the source file are made after template, and mould is made with the installation kit calling
Before the corresponding installation kit tools of plate, it is additionally operable to:
Pretreatment script is performed, the source file is pre-processed, the pretreated source file is associated with
The installation kit makes template;
The running environment of the corresponding application installation package of pretreated source file described in configuration operation.
Optionally, in some inventive embodiments, the server is master server or standby server, and the source file leads to
Cross transmitted in both directions agreement FTP and be synchronized to the master server and the standby server, the master server and the standby server
It is used to make the application installation package.
Optionally, in some inventive embodiments, the processing module 802 is additionally operable to:
After the master server failure, it is switched to the standby server and makes the application installation package.
The angle of slave module functional entity is described to the server in the embodiment of the present invention above, below from hard
The angle of part treatment is described to the server in the embodiment of the present invention respectively.It should be noted that shown in Fig. 8 of the present invention
Embodiment in the corresponding entity device of sending module can be transmitter, the corresponding entity device of acquisition module can be defeated
Enter/output unit, the corresponding entity device of processing module can be processor, and the entity device corresponding to display module can be
The display units such as display screen.Device shown in Fig. 8 can have structure as shown in Figure 9, when the device shown in Fig. 8 has as schemed
During structure shown in 9, processor, transmitter and receiver in Fig. 9 can realize it is foregoing to should device device embodiment
The processing module of offer, sending module and the same or analogous function of receiver module, the memory storage computing device in Fig. 9
The program code that needs are called during the method for above-mentioned session management.
Fig. 9 is another server architecture schematic diagram provided in an embodiment of the present invention, and the server 900 can be because of configuration or property
Can the different and larger difference of producing ratio, one or more central processing unit (English full name can be included:Central
Processing Units, English abbreviation:CPU) 922 (for example, one or more processors) and memory 932, one
Or more than one storage application program 942 or the storage medium 930 of data 944 (for example one or more mass memories set
It is standby).Wherein, memory 932 and storage medium 930 can be of short duration storage or persistently storage.Store the journey in storage medium 930
Sequence can include one or more modules (diagram is not marked), each module can include to server in a series of fingers
Order operation.Further, central processing unit 922 could be arranged to be communicated with storage medium 930, be performed on server 900
Series of instructions operation in storage medium 930.
Server 900 can also include one or more power supplys 926, one or more wired or wireless networks
Interface 950, one or more input/output interfaces 958, and/or, one or more operating systems 941, for example
Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
The present embodiments relate to server can have than more or less part illustrated in fig. 9, can group
Close two or more parts, or can have different parts configure or set up, all parts can including one or
Multiple signal transactings and/or application specific integrated circuit are realized in the combination of interior hardware, software or hardware and software.
By calling the instruction stored in storage medium 930, central processing unit 922 can be used to perform operations described below:
The source file and peace corresponding with the source file of application installation package to be produced are obtained by input/output interface 958
Dress is packed makees template, and the installation kit makes template includes default preset parameter;
Installation kit tools corresponding with installation kit making template are called, is set in the application installation form
Custom parameter, the template after being set, and wait to make with described according to the template construct after the source file and the setting
Make the corresponding application installation package of application installation package;
The application installation package is synchronized to by test content distributing network CDN by radio network interface 950;And logical
After crossing the test of the test CDN, the application installation package is synchronized to formal CDN, is provided described in download with to terminal device
The entrance of application installation package.
Optionally, in some inventive embodiments, by calling the instruction stored in storage medium 930, central processing unit
Before 922 set custom parameter in the application installation form, it is additionally operable to perform operations described below:
Pair parameter for making the corresponding installation kit tools of template with the installation kit fills in window to be carried out at the page
Reason, obtains web page;
Installation kit tools corresponding with installation kit making template are called, described answering is set in the web page
With the custom parameter in installation form.
Optionally, in some inventive embodiments, by calling the instruction stored in storage medium 930, central processing unit
922 are additionally operable to perform operations described below:
There is operation failure during the application installation package is made, then by the operation failure for indicating operation failure
In the web page, the operation failure information is used to position failure operation presentation of information.
Optionally, in some inventive embodiments, by calling the instruction stored in storage medium 930, central processing unit
922 are additionally operable to perform operations described below:
According to the operation failure Information locating to failure operation, and re-execute the failure operation for navigating to.
Optionally, in some inventive embodiments, by calling the instruction stored in storage medium 930, central processing unit
922 source files and installation kit corresponding with the source file for obtaining application installation package to be produced in the acquisition module make mould
After plate, before installation kit tools corresponding with installation kit making template are called, it is additionally operable to perform operations described below:
Pretreatment script is performed, the source file is pre-processed, the pretreated source file is associated with
The installation kit makes template;
The running environment of the corresponding application installation package of pretreated source file described in configuration operation.
Optionally, in some inventive embodiments, the server is master server or standby server, and the source file leads to
Cross transmitted in both directions agreement FTP and be synchronized to the master server and the standby server, the master server and the standby server
It is used to make the application installation package.
Optionally, in some inventive embodiments, by calling the instruction stored in storage medium 930, central processing unit
922 after the master server failure, is switched to the standby server and makes the application installation package.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiment.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and module, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the module
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, such as multiple module or components
Can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.It is another, it is shown or
The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings of device or module by some interfaces
Close or communicate to connect, can be electrical, mechanical or other forms.
The module that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as module
The part for showing can be or may not be physical module, you can with positioned at a place, or can also be distributed to multiple
On mixed-media network modules mixed-media.Some or all of module therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional module in the application each embodiment can be integrated in a processing module, it is also possible to
It is that modules are individually physically present, it is also possible to which two or more modules are integrated in a module.Above-mentioned integrated mould
Block can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.
If the integrated module is to realize in the form of software function module and as independent production marketing or use
When, can store in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part for being contributed to prior art in other words or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are used to so that a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (English full name:Read-Only
Memory, English abbreviation:ROM), random access memory (English full name:Random Access Memory, English abbreviation:
RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
Technical scheme provided herein is described in detail above, specific case is applied in the application to this
The principle and implementation method of application are set forth, the explanation of above example be only intended to help understand the present processes and
Its core concept;Simultaneously for those of ordinary skill in the art, according to the thought of the application, in specific embodiment and should
Be will change with scope, in sum, this specification content should not be construed as the limitation to the application.
Claims (14)
1. a kind of method that application installation package makes, it is characterised in that methods described is applied to the service in AMS
Device, methods described includes:
The source file and installation kit corresponding with the source file for obtaining application installation package to be produced make template, the installation kit
Making template includes default preset parameter;
Installation kit tools corresponding with installation kit making template are called, is set in the application installation form and made by oneself
Adopted parameter, the template after being set, and according to the template construct after the source file and the setting with it is described it is to be produced should
With the corresponding application installation package of installation kit;
The application installation package is synchronized to test content distributing network CDN;
After the test by the test CDN, the application installation package is synchronized to formal CDN, is provided with to terminal device
Download the entrance of the application installation package.
2. method according to claim 1, it is characterised in that set in the application installation form custom parameter it
Before, methods described also includes:
Pair parameter for making the corresponding installation kit tools of template with the installation kit fills in window carries out page treatment, obtains
To web page;
It is described to call installation kit tools corresponding with installation kit making template, existed by the installation kit tools
The custom parameter is set in the application installation form, including:
Installation kit tools corresponding with installation kit making template are called, the application peace is set in the web page
Custom parameter in decking.
3. method according to claim 2, it is characterised in that methods described also includes:
There is operation failure during the application installation package is made, then by the operation failure information for indicating operation failure
The web page is displayed in, the operation failure information is used to position failure operation.
4. method according to claim 3, it is characterised in that methods described also includes:
According to the operation failure Information locating to failure operation, and re-execute the failure operation for navigating to.
5. according to any described methods of claim 1-4, it is characterised in that the source document of the acquisition application installation package to be produced
Part and installation kit corresponding with the source file are made after template, to call that make template with the installation kit corresponding described
Before installation kit tools, methods described also includes:
Pretreatment script is performed, the source file is pre-processed, the pretreated source file is associated with described
Installation kit makes template;
The running environment of the corresponding application installation package of pretreated source file described in configuration operation.
6. method according to claim 5, it is characterised in that the server is master server or standby server, described
Source file is synchronized to the master server and the standby server by transmitted in both directions agreement FTP, the master server and described
Standby server is used to make the application installation package.
7. method according to claim 6, it is characterised in that methods described also includes:
After the master server failure, it is switched to the standby server and makes the application installation package.
8. a kind of server, it is characterised in that in AMS, the server includes the server application:
Acquisition module, source file and installation kit corresponding with the source file for obtaining application installation package to be produced make mould
Plate, the installation kit makes template includes default preset parameter;
Processing module, for calling installation kit tools corresponding with installation kit making template, installs in the application
Custom parameter is set in template, the template after being set, and according to the template construct after the source file and the setting
Application installation package corresponding with the application installation package to be produced;
Sending module, for the application installation package to be synchronized into test content distributing network CDN;By the test CDN
Test after, the application installation package is synchronized to formal CDN, download the application installation package and enter to provide to terminal device
Mouthful.
9. server according to claim 8, it is characterised in that the processing module sets in the application installation form
Before putting custom parameter, it is additionally operable to:
Pair parameter for making the corresponding installation kit tools of template with the installation kit fills in window carries out page treatment, obtains
To web page;
The processing module specifically for:
Installation kit tools corresponding with installation kit making template are called, the application peace is set in the web page
Custom parameter in decking.
10. server according to claim 9, it is characterised in that the server also includes:
Display module, for there is operation failure during the application installation package is made, then will be used to indicate operation failure
Operation failure presentation of information in the web page, the operation failure information is used to position failure operation.
11. servers according to claim 10, it is characterised in that the processing module is additionally operable to:
According to the operation failure Information locating to failure operation, and re-execute the failure operation for navigating to.
12. according to any described servers of claim 8-11, it is characterised in that the processing module is in the acquisition module
Obtain after source file and installation kit corresponding with the source file making template of application installation package to be produced, calling and institute
Before stating the corresponding installation kit tools of installation kit making template, it is additionally operable to:
Pretreatment script is performed, the source file is pre-processed, the pretreated source file is associated with described
Installation kit makes template;
The running environment of the corresponding application installation package of pretreated source file described in configuration operation.
13. servers according to claim 12, it is characterised in that the server is master server or standby server,
The source file is synchronized to the master server and the standby server by transmitted in both directions agreement FTP, the master server and
The standby server is used to make the application installation package.
14. servers according to claim 13, it is characterised in that the processing module is additionally operable to:
After the master server failure, it is switched to the standby server and makes the application installation package.
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 true CN106936633A (en) | 2017-07-07 |
CN106936633B 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) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110995864A (en) * | 2019-12-19 | 2020-04-10 | 福建新大陆支付技术有限公司 | Parameter management method and parameter management system based on parameter management system |
CN110990427A (en) * | 2019-12-16 | 2020-04-10 | 北京智游网安科技有限公司 | Statistical method, system and storage medium for application program affiliated area |
CN110990083A (en) * | 2019-12-19 | 2020-04-10 | 福建新大陆支付技术有限公司 | Method, device and equipment for configuring terminal parameters |
CN111092763A (en) * | 2019-12-19 | 2020-05-01 | 福建新大陆支付技术有限公司 | Terminal-based parameter configuration method and terminal |
CN111090459A (en) * | 2019-12-19 | 2020-05-01 | 福建新大陆支付技术有限公司 | Method, device and equipment for remotely managing terminal parameters |
CN112925722A (en) * | 2021-03-30 | 2021-06-08 | 重庆阿克索信息科技有限公司 | Development and test integrated service system based on GMP (good manufacturing practice) specification |
CN113127054A (en) * | 2021-05-08 | 2021-07-16 | 上海益世界信息技术集团有限公司广州分公司 | File processing method and related device |
CN113986267A (en) * | 2021-10-27 | 2022-01-28 | 浪潮思科网络科技有限公司 | Deployment method, device and medium for SDN controller installation |
Citations (6)
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 |
US20130205291A1 (en) * | 2009-05-14 | 2013-08-08 | Microsoft Corporation | Recipe-Based Application Conversion |
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 |
-
2017
- 2017-03-09 CN CN201710137726.3A patent/CN106936633B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130205291A1 (en) * | 2009-05-14 | 2013-08-08 | Microsoft Corporation | Recipe-Based Application Conversion |
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 |
Cited By (11)
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 |
CN110990427B (en) * | 2019-12-16 | 2024-05-10 | 北京智游网安科技有限公司 | Method, system and storage medium for counting application program affiliated area |
CN110995864A (en) * | 2019-12-19 | 2020-04-10 | 福建新大陆支付技术有限公司 | Parameter management method and parameter management system based on parameter management system |
CN110990083A (en) * | 2019-12-19 | 2020-04-10 | 福建新大陆支付技术有限公司 | Method, device and equipment for configuring terminal parameters |
CN111092763A (en) * | 2019-12-19 | 2020-05-01 | 福建新大陆支付技术有限公司 | Terminal-based parameter configuration method and terminal |
CN111090459A (en) * | 2019-12-19 | 2020-05-01 | 福建新大陆支付技术有限公司 | Method, device and equipment for remotely managing terminal parameters |
CN112925722A (en) * | 2021-03-30 | 2021-06-08 | 重庆阿克索信息科技有限公司 | Development and test integrated service system based on GMP (good manufacturing practice) specification |
CN112925722B (en) * | 2021-03-30 | 2024-05-10 | 重庆阿克索信息科技有限公司 | Development and test integrated service system based on GMP (good manufacturing practice) specification |
CN113127054A (en) * | 2021-05-08 | 2021-07-16 | 上海益世界信息技术集团有限公司广州分公司 | File processing method and related device |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN106936633B (en) | 2020-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106936633A (en) | Method and server that a kind of application installation package makes | |
US6510466B1 (en) | Methods, systems and computer program products for centralized management of application programs on a network | |
CN104657174A (en) | Method and device for dynamically realizing application function | |
CN108228282A (en) | For the method and device of Website page loading | |
EP1830515B1 (en) | A method for transferring the network management configuration information between the element management systems | |
CN102355500B (en) | Service push method and device | |
EP2863281B1 (en) | System and method to configure a field device | |
CN102109989A (en) | Method, device and system for controlling browser cache | |
CN104615455B (en) | A kind of the IPMC program remote upgrading methods and device of ATCA frameworks | |
JP2009087361A (en) | System and method of creating and communicating with component-based wireless application | |
GB2366418A (en) | Browser collaboration system | |
WO2018033094A1 (en) | Rich communication suite release platform, method and system for version update, and mobile terminal | |
CN103442026A (en) | Application program processing method, device and system | |
CN106686038A (en) | Method and device for calling cloud desktop | |
EP4050850A1 (en) | Service upgrading method, device and system | |
CN107294785A (en) | The automatic deployment method and device, computer-readable recording medium of CDN node service | |
CN109799998A (en) | OpenStack cluster configuration and batch dispositions method and system | |
CN108874437A (en) | A kind of online cloud update method of android application program | |
CN115174551A (en) | Program deployment method and device, storage medium and electronic device | |
CN110442349A (en) | Method and apparatus for servicing dilatation | |
US10193737B2 (en) | Method for performing communication between browser and mobile terminal, and browser apparatus | |
CN106301855A (en) | A kind of NMS dispositions method, device and NMS | |
CN114760320B (en) | Data synchronization method and system for client and middle server and client | |
KR101848398B1 (en) | Producing system application driving information of remote server based and method of the same | |
KR101571801B1 (en) | Syntagmatic management apparatus for controlling setting of management device and control method thereof |
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 |