CN109725910A - Standardization dissemination method, distributing device and the delivery system of application program - Google Patents
Standardization dissemination method, distributing device and the delivery system of application program Download PDFInfo
- Publication number
- CN109725910A CN109725910A CN201811062650.3A CN201811062650A CN109725910A CN 109725910 A CN109725910 A CN 109725910A CN 201811062650 A CN201811062650 A CN 201811062650A CN 109725910 A CN109725910 A CN 109725910A
- Authority
- CN
- China
- Prior art keywords
- publication
- environment
- configuration
- construction
- interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of standardization dissemination methods of application program, device and system.Wherein, which includes: the building request for receiving continuous integrating tool and sending;It is requested in response to building, source construction is obtained from continuous integrating tool, wherein source construction includes the file destination and associated profile obtained after application source code is compiled;Obtain the environmental information and configuration parameter of each publication environment that user provides;The replacement of configuration file is carried out to source construction according to the environmental information of each publication environment and configuration parameter and generation can be used for each target construction for issuing environment;The release tasks of user's creation are obtained, and target construction is carried out using publication according to release tasks.This method can be realized the high consistency of publication process, reduce operation difficulty, effectively improve efficiency for issuing by the standard of specification publication environment and application so that the process of application publication is able to standardization, automation.
Description
Technical field
The present invention relates to the standardization dissemination methods of field of computer technology more particularly to a kind of application program, publication dress
It sets and delivery system.
Background technique
Under the historical background that scientific technological advance makes rapid progress, the fast development of Internet technology greatly extends people
Use scope and experience, and in recent years, the rapid development of mobile technology, omnifarious application program
(Application, abbreviation APP) is even more that people is allowed to have obtained greatly in many aspects such as information acquisition, social activity, game
Meet.
In order to allow people that application program can be used, the application program of new version is required to the publication in application program
It is issued on platform.In the related technology, the dissemination method of application program is mainly that post staff passes through life on distribution platform
The form of perform script is enabled to realize.However, that there are issuing process consistency is poor, requires operator for this implementation
High, publication operation is audited the problems such as difficult.
Summary of the invention
The purpose of the present invention is intended to solve above-mentioned one of technical problem at least to a certain extent.
For this purpose, the first purpose of this invention is to propose a kind of standardization dissemination method of application program.This method can
To realize publication so that the process of application publication is able to standardization, automation by the standard of specification publication environment and application
The high consistency of process, reduces operation difficulty, effectively improves efficiency for issuing.
Second object of the present invention is to propose a kind of standardization distributing device of application program.
Third object of the present invention is to propose a kind of standardization delivery system of application program.
In order to achieve the above objectives, the standardization dissemination method for the application program that first aspect present invention embodiment proposes, packet
It includes: receiving the building request that continuous integrating tool is sent;It requests in response to the building, is obtained from the continuous integrating tool
Source construction, wherein the source construction includes the file destination obtained after application source code is compiled and correlation
Configuration file;Obtain the environmental information and configuration parameter of each publication environment that user provides;According to the ring of each publication environment
Border information and configuration parameter carry out the replacement of configuration file to the source construction and generation can be used for each target for issuing environment
Construction;The release tasks of user's creation are obtained, and the target construction is carried out using publication according to the release tasks.
The standardization dissemination method of application program according to an embodiment of the present invention is receiving the transmission of continuous integrating tool
It when building request, is requested in response to building, source construction is obtained from continuous integrating tool, and each publication of user's offer is provided
The environmental information and configuration parameter of environment, later, according to it is each publication environment environmental information and configuration parameter to source construction into
The replacement and generation of row configuration file can be used for the target construction of each publication environment, and then, the publication for obtaining user's creation is appointed
Business, and target construction is carried out using publication according to release tasks.I.e. by the standard of specification publication environment and application, so that
It is able to standardization, automation using the process of publication, provides standardized publication process for the publication of application, user can lead to
Crossing patterned interface is that different publication environment specify corresponding configuration file, is compiled to the destination host in publication environment
Row, and publication operation is carried out, the high consistency of publication process is realized, operation difficulty is reduced, effectively improves publication
Efficiency.
In order to achieve the above objectives, the standardization distributing device for the application program that second aspect of the present invention embodiment proposes, packet
It includes: building request receiving module, for receiving the building request of continuous integrating tool transmission;Source construction obtains module, is used for
It is requested in response to the building, source construction is obtained from the continuous integrating tool, wherein the source construction includes application
The file destination and associated profile that program source code obtains after being compiled;Information parameter obtains module, for obtaining
The environmental information and configuration parameter for each publication environment that user provides;Target construction generation module, for according to each hair
The environmental information and configuration parameter of cloth environment carry out the replacement of configuration file to the source construction and generation can be used for each publication
The target construction of environment;Release tasks obtain module, for obtaining the release tasks of user's creation;Using release module, use
It is issued in apply to the target construction according to the release tasks.
The standardization distributing device of application program according to an embodiment of the present invention can be received by building request receiving module
The building request that continuous integrating tool is sent, source construction obtain module and request in response to building, obtain from continuous integrating tool
Source construction is taken, information parameter obtains the environmental information and configuration parameter that module obtains each publication environment that user provides, target
Construction generation module carries out the replacement of configuration file according to the environmental information and configuration parameter of each publication environment to source construction
And the target construction that can be used for each publication environment is generated, release tasks obtain the release tasks that module obtains user's creation, answer
Target construction is carried out using publication according to release tasks with release module.Pass through the mark of specification publication environment and application
Standard provides standardized publication process so that the process of application publication is able to standardization, automation for the publication of application, uses
Family can be that different publication environment specify corresponding configuration file by patterned interface, to the destination host in publication environment
Layout is carried out, and carries out publication operation, the high consistency of publication process is realized, reduces operation difficulty, effectively improve
Efficiency for issuing.
In order to achieve the above objectives, the standardization delivery system for the application program that third aspect present invention embodiment proposes, packet
It includes: continuous integrating tool, distribution platform and construction server, wherein the continuous integrating tool is used for application program source
The file destination and associated profile that code obtains after being compiled are packaged to generate source construction, and in completion pair
The rear of the compiling of the application source code sends building request to the distribution platform;The distribution platform, for receiving
The building request that the continuous integrating tool is sent, and requested in response to the building, it is obtained from the continuous integrating tool
The source construction obtains the environmental information and configuration parameter of each publication environment that user provides, and according to each publication ring
The environmental information and configuration parameter in border carry out the replacement of configuration file to the source construction and generation can be used for each publication environment
Target construction, and by it is described can be used for it is each publication environment target construction be sent to the construction server;It is described
Construction server, for can be used for the target construction of each publication environment described in storage and distribution;The distribution platform, is also used
In the release tasks of acquisition user's creation, and corresponding target is obtained from the construction server according to the release tasks
Construction, and the target construction of acquisition is carried out using publication.
The standardization delivery system of application program according to an embodiment of the present invention is receiving the transmission of continuous integrating tool
It when building request, is requested in response to building, source construction is obtained from continuous integrating tool, and each publication of user's offer is provided
The environmental information and configuration parameter of environment, later, according to it is each publication environment environmental information and configuration parameter to source construction into
The replacement and generation of row configuration file can be used for the target construction of each publication environment, and then, the publication for obtaining user's creation is appointed
Business, and target construction is carried out using publication according to release tasks.I.e. by the standard of specification publication environment and application, so that
It is able to standardization, automation using the process of publication, provides standardized publication process for the publication of application, user can lead to
Crossing patterned interface is that different publication environment specify corresponding configuration file, is compiled to the destination host in publication environment
Row, and publication operation is carried out, the high consistency of publication process is realized, operation difficulty is reduced, effectively improves publication
Efficiency.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart of the standardization dissemination method of application program according to an embodiment of the invention;
Fig. 2 is the structural schematic diagram of the standardization distributing device of application program according to an embodiment of the invention;
Fig. 3 is the structural schematic diagram of the standardization distributing device of application program accord to a specific embodiment of that present invention;
Fig. 4 is the structural schematic diagram of the standardization delivery system of application program according to an embodiment of the invention;
Fig. 5 is the structural schematic diagram of the standardization delivery system of application program accord to a specific embodiment of that present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings standardization dissemination method, distributing device and the publication of the application program of the embodiment of the present invention are described
System.
Fig. 1 is the flow chart of the standardization dissemination method of application program according to an embodiment of the invention.It needs to illustrate
, the standardization dissemination method of the application program of the embodiment of the present invention can be applied to the mark of the application program of the embodiment of the present invention
Standardization distributing device.
As shown in Figure 1, the standardization dissemination method of the application program may include:
S110 receives the building request that continuous integrating tool is sent.
The standardization dissemination method of the embodiment of the present invention can be by the publication in the standardization delivery system of the embodiment of the present invention
Platform executes.For example, continuous integrating tool can be compiled application source code, and by application source code into
The file destination and associated profile obtained after row compiling is packaged to generate source construction, and is completed to using journey
Building request is sent after the compiling of sequence source code.Distribution platform can receive the building request of continuous integrating tool transmission.
S120 is requested in response to building, and source construction is obtained from continuous integrating tool, wherein source construction includes answering
The file destination and associated profile obtained after being compiled with program source code.
Optionally, in the building request for receiving the transmission of continuous integrating tool, it may be in response to building request, held from this
The source construction is read in continuous integration tool.It is appreciated that the source construction is continuous integrating tool by application program source generation
After code is compiled obtained file destination and associated profile be packaged and the file that generates, that is to say, that the source
Construction includes the file destination and associated profile obtained after application source code is compiled.Wherein, the correlation
Configuration file can be regarded as configuration file relevant to the file destination, such as, it may include believe for the parameter of publication environment
Breath etc..
S130 obtains the environmental information and configuration parameter of each publication environment that user provides.
Optionally, the environmental information and configuration parameter of each publication environment that user provides are obtained.It can be able to achieve as one kind
The example of mode, it is possible to provide configuration interface, wherein the configuration interface may include the environmental information and configuration for publication environment
The setting interface of parameter, and the environmental information and configuration of each publication environment by configuration interface acquisition user setting
Parameter.
For example, the distribution platform of the embodiment of the present invention can provide front-end interface module, and pass through front-end interface module
Configuration interface is provided for user, wherein the configuration interface may include for the publication environmental information of environment and setting for configuration parameter
Interface is set, user can be realized by the setting interface in the configuration interface to the publication environmental information of environment and setting for configuration parameter
It sets.In the confirmation setting instruction for receiving user, each publication ring of user setting can be got by the configuration interface
The environmental information and configuration parameter in border.As a result, user can be that different publication environment specify phase by patterned interface
The configuration file answered is realized and carries out layout to the destination host in publication environment, so as to realize publication operation.
S140 carries out the replacement of configuration file simultaneously to source construction according to the environmental information of each publication environment and configuration parameter
Generate the target construction that can be used for each publication environment.
Optionally, the environmental information and configuration parameter of each publication environment provided according to user carry out the source construction
The replacement of configuration file and the target construction that can be used for each publication environment.Wherein it is possible to understand, which can
Including can be used for the environmental information of each publication environment and for the application file to be released etc. of each publication environment.
S150 obtains the release tasks of user's creation, and is carried out target construction using publication according to release tasks.
Optionally, task creation interface is provided in front-end interface, user setting can be obtained by the task creation interface
Task configuration parameter, and corresponding release tasks are generated according to the task configuration parameter, so as to according to the release tasks pair
Target construction is carried out using publication.
A kind of example as possible implementation, it is possible to provide task creation interface, wherein the task creation interface packet
At least one task template and the configuration interface for each task template are included, later, can receive user by configuring interface to mesh
The configuration information that mark task template is configured, and publication is generated according to the goal task template and the configuration information and is appointed
Business.
For example, task creation interface can be provided for user by front-end interface module, task creation interface Ke Bao
Include one or more task templates and the configuration interface for each task template, wherein can have in the task template can be used for
The ambient parameter information of the publication environment of publication issues the parameters such as the launch phase that destination host is assigned in environment, user
A task template can be selected from least one task template according to actual needs, and according to actual needs to the task of selection
Parameter in template is configured, and in the completion configuration-direct for receiving user, obtains user by configuring interface to choosing
The configuration information that the task template selected is configured, and corresponding publication is generated according to the task template of the selection and configuration information
Task.It is appreciated that defining in the release tasks: will be used to issue issues environment, each target issued in environment
Which construction etc. that host assignment will be issued into several launch phases, each publication environment.
As an example, the configuration information may include but be not limited to the environmental information of each publication environment, respectively issue ring
At least one launch phase etc. that destination host is assigned in border.Wherein, in an embodiment of the present invention, described according to
Release tasks carry out the target construction can be as follows using the specific implementation process of publication: matching according in the release tasks
Environmental information in confidence breath is matched to corresponding publication environment, and obtains the target structure for the publication environment that can be used for being matched to
Object is built, and according to the configuration information in the release tasks, the destination host into the publication environment being matched to sends corresponding
The target construction of at least one launch phase and the publication environment that can be used for being matched to, so that destination host is according to
At least one launch phase carries out using publication the target construction of the publication environment that can be used for being matched to.
That is, the publication environment that will be used for issuing can be found according to the environmental information in the release tasks, and
The target construction that can be used for the publication environment is obtained, and according to the configuration information in the release tasks, the hair that will match to
Destination host in cloth environment is assigned at least one launch phase, and the target construction that can be used for the publication environment is sent
To the destination host in corresponding publication environment, in this way, destination host can be according to the launch phase that itself is received to corresponding mesh
Mark construction is carried out using publication.
In order to solve the problems, such as that publication operation audit is difficult, optionally, in one embodiment of the invention, into
During row application publication, can record generated publishing log during application publication, and by the publishing log and
The release tasks are stored to database.In this way, when monitoring the host in the presence of publication failure, it can be by checking the host
Publishing log to analyze failure cause, and according to the failure cause analyzed to debug after, can be according to the master
Launch phase in machine is realized again carries out using publication corresponding target construction.If there is wide-area failures, then may be used
To read history release tasks from database, rolling back action is executed to entire publication environment by the history release tasks, it will
All hosts for executing release tasks are restored to the application version before publication, thus by providing the function of publication audit,
Reduce system operation risk.
It should be noted that in one embodiment of the invention, all release tasks and publishing log are saved
To database, and history release tasks can be checked by way of issuing calendar in the front-end interface of distribution platform, in this way, can
Looked back and audited to find history release tasks, and can make user more intuitively real time inspection publishing log and
As a result, finding the failure in issuing process in time and being handled, for institutional framework, the function of publication audit, drop are provided
Low system operation risk.
The standardization dissemination method of application program according to an embodiment of the present invention is receiving the transmission of continuous integrating tool
It when building request, is requested in response to building, source construction is obtained from continuous integrating tool, and each publication of user's offer is provided
The environmental information and configuration parameter of environment, later, according to it is each publication environment environmental information and configuration parameter to source construction into
The replacement and generation of row configuration file can be used for the target construction of each publication environment, and then, the publication for obtaining user's creation is appointed
Business, and target construction is carried out using publication according to release tasks.I.e. by the standard of specification publication environment and application, so that
It is able to standardization, automation using the process of publication, provides standardized publication process for the publication of application, user can lead to
Crossing patterned interface is that different publication environment specify corresponding configuration file, is compiled to the destination host in publication environment
Row, and publication operation is carried out, the high consistency of publication process is realized, operation difficulty is reduced, effectively improves publication
Efficiency.
A kind of corresponding, the of the invention implementation of the standardization dissemination method of application program provided with above-mentioned several embodiments
Example also provides a kind of standardization distributing device of application program, since the standardization of application program provided in an embodiment of the present invention is sent out
Cloth apparatus is corresponding with the standardization dissemination method of application program that above-mentioned several embodiments provide, therefore in aforementioned applications program
The embodiment of standardization dissemination method be also applied for the standardization distributing device of application program provided in this embodiment, at this
It is not described in detail in embodiment.Fig. 2 is the knot of the standardization distributing device of application program according to an embodiment of the invention
Structure schematic diagram.As shown in Fig. 2, the standardization distributing device 200 of the application program may include: building request receiving module 210,
Source construction obtains module 220, information parameter obtains module 230, target construction generation module 240, release tasks obtain mould
Block 250 and application release module 260.
Specifically, building request receiving module 210 can be used for receiving the building request of continuous integrating tool transmission.
Source construction, which obtains module 220, can be used for requesting in response to the building, obtain from the continuous integrating tool
Source construction, wherein the source construction includes the file destination obtained after application source code is compiled and correlation
Configuration file.
Information parameter obtains the environmental information and configuration ginseng that module 230 can be used for obtaining each publication environment of user's offer
Number.As an example, information parameter, which obtains module 230, can provide configuration interface, wherein the configuration interface includes for hair
The environmental information of cloth environment and the setting interface of configuration parameter, and pass through each hair of configuration interface acquisition user setting
The environmental information and configuration parameter of cloth environment.
Target construction generation module 240 can be used for environmental information and configuration parameter according to each publication environment to institute
The replacement and generation for stating source construction progress configuration file can be used for each target construction for issuing environment.
Release tasks, which obtain module 250, can be used for obtaining the release tasks of user's creation.As an example, release tasks
Obtaining module 250 can provide task creation interface, wherein the task creation interface includes at least one task template and is directed to
The configuration interface of each task template, and the configuration information that user configures goal task template by configuring interface is received,
And according to the goal task template and the configuration information to obtain the release tasks of user's creation.
It can be used for carrying out using publication the target construction according to the release tasks using release module 260.Make
For a kind of example, the configuration information may include but be not limited to the environmental information of each publication environment, respectively issue target master in environment
At least one launch phase etc. that machine is assigned to.Wherein, using release module 260 can according in the release tasks match confidence
Environmental information in breath is matched to corresponding publication environment, and obtains the target construction for the publication environment that can be used for being matched to,
And according to the configuration information in the release tasks, the destination host into the publication environment being matched to sends corresponding at least one
The target construction of a launch phase and the publication environment that can be used for being matched to, so that destination host is according to described at least one
A launch phase carries out using publication the target construction of the publication environment that can be used for being matched to.
In order to solve the problems, such as that publication operation audit is difficult, optionally, in one embodiment of the invention, such as scheme
Shown in 3, the standardization distributing device 200 of the application program may also include that logger module 270 and memory module 280.Its
In, logger module 270 is for recording generated publishing log during application is issued;Memory module 280 is used for will
The publishing log and the release tasks are stored to database.
The standardization distributing device of application program according to an embodiment of the present invention can be received by building request receiving module
The building request that continuous integrating tool is sent, source construction obtain module and request in response to building, obtain from continuous integrating tool
Source construction is taken, information parameter obtains the environmental information and configuration parameter that module obtains each publication environment that user provides, target
Construction generation module carries out the replacement of configuration file according to the environmental information and configuration parameter of each publication environment to source construction
And the target construction that can be used for each publication environment is generated, release tasks obtain the release tasks that module obtains user's creation, answer
Target construction is carried out using publication according to release tasks with release module.Pass through the mark of specification publication environment and application
Standard provides standardized publication process so that the process of application publication is able to standardization, automation for the publication of application, uses
Family can be that different publication environment specify corresponding configuration file by patterned interface, to the destination host in publication environment
Layout is carried out, and carries out publication operation, the high consistency of publication process is realized, reduces operation difficulty, effectively improve
Efficiency for issuing.
A kind of corresponding, the of the invention implementation of the standardization dissemination method of application program provided with above-mentioned several embodiments
Example also provides a kind of standardization delivery system of application program, since the standardization of application program provided in an embodiment of the present invention is sent out
Distribution system is corresponding with the standardization dissemination method of application program that above-mentioned several embodiments provide, therefore in aforementioned applications program
The embodiment of standardization dissemination method be also applied for the standardization delivery system of application program provided in this embodiment, at this
It is not described in detail in embodiment.Fig. 4 is the knot of the standardization delivery system of application program according to an embodiment of the invention
Structure schematic diagram.As shown in figure 4, the standardization delivery system 400 of the application program may include: continuous integrating tool 410, publication
Platform 420 and construction server 430.
Specifically, continuous integrating tool 410 is used for the file destination obtained after being compiled application source code
It is packaged with associated profile to generate source construction, and in the rear Xiang Fabu for completing the compiling to application source code
Platform 420 sends building request.
Distribution platform 420 is used to receive the building request of the transmission of continuous integrating tool 410, and requests in response to building, from
Source construction is obtained in continuous integrating tool 410, obtains the environmental information and configuration parameter of each publication environment that user provides, and
According to the environmental information of each publication environment and configuration parameter carries out the replacement of configuration file to source construction and generation can be used for respectively
The target construction of environment is issued, and the target construction that can be used for each publication environment is sent to construction server 430.
Construction server 430 can be used for the target construction of each publication environment for storage and distribution.
In an embodiment of the present invention, distribution platform 420 is also used to obtain the release tasks of user's creation, and according to publication
Task obtains corresponding target construction from construction server 430, and carries out the target construction of acquisition using publication.
In order to reduce publication operation difficulty, graphic interface can be provided for user, so that user passes through the graphic interface
It realizes and corresponding configuration file is specified to publication environment.Optionally, in one embodiment of the invention, as shown in figure 5, the mark
Standardization delivery system 400 may also include that front-end interface module 440.As an example, front-end interface module 440 can be configured
In on distribution platform 420.Wherein.Front-end interface module 440 can be used for providing configuration interface, wherein the configuration interface includes
The setting interface of environmental information and configuration parameter for publication environment, and pass through the institute of configuration interface reception user setting
State it is each publication environment environmental information and configuration parameter, and by the user setting it is described it is each publication environment environmental information and
Configuration parameter is sent to distribution platform 420.
In order to reduce publication operation difficulty, graphic interface can be provided for user, so that user passes through the graphic interface
Realize the creation of release tasks.Optionally, in one embodiment of the invention, front-end interface module 440 also provides for appointing
Business creation interface, wherein the task creation interface includes at least one task template and connects for the configuration of each task template
Mouthful, and the configuration information that user configures goal task template by configuring interface is received, and according to the goal task
Template and the configuration information create release tasks, and the release tasks of creation are sent to distribution platform 420.
As an example, the configuration information may include but be not limited to the environmental information of each publication environment, respectively issue ring
At least one launch phase etc. that destination host is assigned in border.Wherein, distribution platform 420 can be specifically used for: according to described
Environmental information in release tasks in configuration information is matched to corresponding publication environment, and obtains from construction server 430
The target construction for the publication environment that can be used for being matched to, and according to the configuration information in the release tasks, to what is be matched to
Destination host in publication environment sends corresponding at least one launch phase and the publication environment that can be used for being matched to
Target construction, so that destination host is according at least one described launch phase to the publication environment that can be used for being matched to
Target construction is carried out using publication.
In order to solve the problems, such as that publication operation audit is difficult, optionally, in one embodiment of the invention, publication
Platform 420 is also used to during carrying out using publication, generated publishing log during record application publication, and will
The publishing log and the release tasks are stored to database.
The standardization delivery system of application program according to an embodiment of the present invention is receiving the transmission of continuous integrating tool
It when building request, is requested in response to building, source construction is obtained from continuous integrating tool, and each publication of user's offer is provided
The environmental information and configuration parameter of environment, later, according to it is each publication environment environmental information and configuration parameter to source construction into
The replacement and generation of row configuration file can be used for the target construction of each publication environment, and then, the publication for obtaining user's creation is appointed
Business, and target construction is carried out using publication according to release tasks.I.e. by the standard of specification publication environment and application, so that
It is able to standardization, automation using the process of publication, provides standardized publication process for the publication of application, user can lead to
Crossing patterned interface is that different publication environment specify corresponding configuration file, is compiled to the destination host in publication environment
Row, and publication operation is carried out, the high consistency of publication process is realized, operation difficulty is reduced, effectively improves publication
Efficiency.
In the description of the present invention, it is to be understood that, term " first ", " second " are used for description purposes only, and cannot
It is interpreted as indication or suggestion relative importance or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the
One ", the feature of " second " can explicitly or implicitly include at least one of the features.In the description of the present invention, " multiple "
It is meant that at least two, such as two, three etc., unless otherwise specifically defined.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention
Type.
Claims (11)
1. a kind of standardization dissemination method of application program, which comprises the following steps:
Receive the building request that continuous integrating tool is sent;
It is requested in response to the building, source construction is obtained from the continuous integrating tool, wherein the source construction includes
The file destination and associated profile that application source code obtains after being compiled;
Obtain the environmental information and configuration parameter of each publication environment that user provides;
The replacement of configuration file is carried out simultaneously to the source construction according to the environmental information of each publication environment and configuration parameter
Generate the target construction that can be used for each publication environment;
The release tasks of user's creation are obtained, and the target construction is carried out using publication according to the release tasks.
2. the method according to claim 1, wherein the environment letter for obtaining each publication environment that user provides
Breath and configuration parameter, comprising:
There is provided configuration interface, wherein the configuration interface includes the setting for the environmental information and configuration parameter of publication environment
Interface;
The environmental information and configuration parameter of each publication environment of user setting are obtained by the configuration interface.
3. the method according to claim 1, wherein the release tasks for obtaining user's creation, comprising:
There is provided task creation interface, wherein the task creation interface includes at least one task template and for each task mould
The configuration interface of plate;
Receive the configuration information that user configures goal task template by configuring interface;
The release tasks of user's creation are obtained according to the goal task template and the configuration information.
4. according to the method described in claim 3, it is characterized in that, the configuration information includes the environment letter of each publication environment
At least one launch phase that destination host is assigned in breath, each publication environment;According to the release tasks to the target
Construction is carried out using publication, comprising:
According to the environmental information in the release tasks in configuration information, it is matched to corresponding publication environment, and obtains and can be used for
The target construction for the publication environment being matched to;
According to the configuration information in the release tasks, the destination host transmission into the publication environment being matched to is corresponding at least
One launch phase and it is described can be used for being matched to publication environment target construction so that destination host according to described at least
One launch phase carries out using publication the target construction of the publication environment that can be used for being matched to.
5. the method according to claim 1, wherein the method is also wrapped during carrying out using publication
It includes:
Generated publishing log during record application publication;
The publishing log and the release tasks are stored to database.
6. a kind of standardization distributing device of application program characterized by comprising
Request receiving module is constructed, for receiving the building request of continuous integrating tool transmission;
Source construction obtains module, for being requested in response to the building, the acquisition source construction from the continuous integrating tool,
Wherein, the source construction includes the file destination and associated profile obtained after application source code is compiled;
Information parameter obtains module, the environmental information and configuration parameter of each publication environment for obtaining user's offer;
Target construction generation module, for being constructed according to the environmental information and configuration parameter of each publication environment to the source
Object carries out the replacement of configuration file and generation can be used for each target construction for issuing environment;
Release tasks obtain module, for obtaining the release tasks of user's creation;
Using release module, for being carried out the target construction using publication according to the release tasks.
7. a kind of standardization delivery system of application program characterized by comprising continuous integrating tool, distribution platform and structure
Build object server, wherein
The continuous integrating tool, file destination and relevant configuration for being obtained after being compiled application source code
File is packaged to generate source construction, and completes the rear flat to the publication of the compiling to the application source code
Platform sends building request;
The distribution platform, the building request sent for receiving the continuous integrating tool, and requested in response to the building,
The source construction is obtained from the continuous integrating tool, obtains the environmental information and configuration of each publication environment that user provides
Parameter, and the replacement according to the environmental information and configuration parameter of each publication environment to source construction progress configuration file
And the target construction that can be used for each publication environment is generated, and the target construction that can be used for each publication environment is sent to
The construction server;
The construction server, for can be used for the target construction of each publication environment described in storage and distribution;
The distribution platform is also used to obtain the release tasks of user's creation, and according to the release tasks from the construction
Corresponding target construction is obtained in server, and the target construction of acquisition is carried out using publication.
8. system according to claim 7, which is characterized in that further include: front-end interface module, wherein
The front-end interface module, for providing configuration interface, wherein the configuration interface includes the environment for publication environment
The setting interface of information and configuration parameter, and the environment of each publication environment by configuration interface reception user setting
Information and configuration parameter, and the environmental information of each publication environment of the user setting and configuration parameter be sent to described
Distribution platform.
9. system according to claim 8, which is characterized in that
The front-end interface module, also provides for task creation interface, wherein the task creation interface includes at least one
Task template and configuration interface for each task template, and receive user and goal task template is matched by configuring interface
The configuration information set, and release tasks are created according to the goal task template and the configuration information, and by the hair of creation
Cloth task is sent to the distribution platform.
10. system according to claim 9, which is characterized in that the configuration information includes the environment letter of each publication environment
At least one launch phase that destination host is assigned in breath, each publication environment;
The distribution platform is specifically used for: according to the environmental information in the release tasks in configuration information, being matched to corresponding
Environment is issued, and obtains the target construction for the publication environment that can be used for being matched to from the construction server, and according to
Configuration information in the release tasks, the destination host into the publication environment being matched to send at least one corresponding publication
The target construction in stage and the publication environment that can be used for being matched to, so that destination host is according at least one described publication
Stage carries out using publication the target construction of the publication environment that can be used for being matched to.
11. system according to claim 7, which is characterized in that the distribution platform is also used to carrying out using publication
In the process, generated publishing log during record application publication, and the publishing log and the release tasks are deposited
It stores up to database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811062650.3A CN109725910A (en) | 2018-09-12 | 2018-09-12 | Standardization dissemination method, distributing device and the delivery system of application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811062650.3A CN109725910A (en) | 2018-09-12 | 2018-09-12 | Standardization dissemination method, distributing device and the delivery system of application program |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109725910A true CN109725910A (en) | 2019-05-07 |
Family
ID=66295367
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811062650.3A Pending CN109725910A (en) | 2018-09-12 | 2018-09-12 | Standardization dissemination method, distributing device and the delivery system of application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109725910A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110427216A (en) * | 2019-08-05 | 2019-11-08 | 网联清算有限公司 | The management method of construction application, calculates equipment and medium at device |
CN110825450A (en) * | 2019-09-29 | 2020-02-21 | 五八有限公司 | APP configuration modification method and device, electronic equipment and storage medium |
CN111666099A (en) * | 2020-06-12 | 2020-09-15 | 江苏云柜网络技术有限公司 | Application service publishing system |
CN112162753A (en) * | 2020-09-28 | 2021-01-01 | 腾讯科技(深圳)有限公司 | Software deployment method and device, computer equipment and storage medium |
CN112631618A (en) * | 2020-12-16 | 2021-04-09 | 平安普惠企业管理有限公司 | Application program packaging method, application program testing method, terminal and storage medium |
CN113553065A (en) * | 2020-04-26 | 2021-10-26 | 腾讯科技(深圳)有限公司 | Code file publishing method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102811257A (en) * | 2012-07-27 | 2012-12-05 | 南京邮电大学 | Automatic publication and combination method for Web service |
US20160011866A1 (en) * | 2014-07-13 | 2016-01-14 | International Business Machines Corporation | Building a pattern to define a topology and application environment using software components and software updates/fixes from external repositories from multiple vendors |
CN105373401A (en) * | 2015-10-27 | 2016-03-02 | 上海钢富电子商务有限公司 | Method and system for automatically releasing software package |
CN107450933A (en) * | 2017-08-18 | 2017-12-08 | 郑州云海信息技术有限公司 | A kind of software continuous integrated approach and system |
CN108287694A (en) * | 2017-08-08 | 2018-07-17 | 深圳壹账通智能科技有限公司 | Application builds method, system, computer equipment and storage medium |
-
2018
- 2018-09-12 CN CN201811062650.3A patent/CN109725910A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102811257A (en) * | 2012-07-27 | 2012-12-05 | 南京邮电大学 | Automatic publication and combination method for Web service |
US20160011866A1 (en) * | 2014-07-13 | 2016-01-14 | International Business Machines Corporation | Building a pattern to define a topology and application environment using software components and software updates/fixes from external repositories from multiple vendors |
CN105373401A (en) * | 2015-10-27 | 2016-03-02 | 上海钢富电子商务有限公司 | Method and system for automatically releasing software package |
CN108287694A (en) * | 2017-08-08 | 2018-07-17 | 深圳壹账通智能科技有限公司 | Application builds method, system, computer equipment and storage medium |
CN107450933A (en) * | 2017-08-18 | 2017-12-08 | 郑州云海信息技术有限公司 | A kind of software continuous integrated approach and system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110427216A (en) * | 2019-08-05 | 2019-11-08 | 网联清算有限公司 | The management method of construction application, calculates equipment and medium at device |
CN110825450A (en) * | 2019-09-29 | 2020-02-21 | 五八有限公司 | APP configuration modification method and device, electronic equipment and storage medium |
CN110825450B (en) * | 2019-09-29 | 2023-08-11 | 五八有限公司 | APP configuration modification method and device, electronic equipment and storage medium |
CN113553065A (en) * | 2020-04-26 | 2021-10-26 | 腾讯科技(深圳)有限公司 | Code file publishing method and device |
CN111666099A (en) * | 2020-06-12 | 2020-09-15 | 江苏云柜网络技术有限公司 | Application service publishing system |
CN111666099B (en) * | 2020-06-12 | 2023-10-10 | 南京云柜网络科技有限公司 | Application service release system |
CN112162753A (en) * | 2020-09-28 | 2021-01-01 | 腾讯科技(深圳)有限公司 | Software deployment method and device, computer equipment and storage medium |
CN112631618A (en) * | 2020-12-16 | 2021-04-09 | 平安普惠企业管理有限公司 | Application program packaging method, application program testing method, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109725910A (en) | Standardization dissemination method, distributing device and the delivery system of application program | |
CN102754075B (en) | Effective administration configuration drift | |
CN105577475B (en) | Automated performance testing system and method | |
US7599755B2 (en) | System and method for dynamically simulating value stream and network maps | |
CN109784631A (en) | A kind of production work order generates processing method, system, platform and storage medium | |
US7827273B2 (en) | Machine cluster topology representation for automated testing | |
CN109074362A (en) | Fractionation and moving range in distributed system | |
CN106933729A (en) | A kind of method of testing and system based on cloud platform | |
CN104090776A (en) | Software development method and system | |
CN108829321A (en) | The quick editor's method, apparatus and electronic equipment of the page | |
CN1881976B (en) | Methods and apparatus for agreement-based automated service provisioning | |
TW200737830A (en) | A method and system for preparing execution of systems management tasks on endpoints | |
US20070294097A1 (en) | Method and apparatus for monitoring execution of a business process managed using a state machine | |
CN106779594A (en) | A kind of Workflow management method based on Activiti | |
US10572247B2 (en) | Prototype management system | |
US20140143765A1 (en) | Orphan token management during in-flight process system migration | |
CN110378765A (en) | Exhibitions cloud platform spectators' cloud information processing method and device | |
CN110503559A (en) | Liquidation method, device, equipment and computer storage medium based on block chain | |
CN110865806B (en) | Code processing method, device, server and storage medium | |
CN103984554B (en) | The generation method and device of Software for Design document | |
CN105096104A (en) | Form operation authority control method, apparatus and office automation system | |
CN107729541A (en) | A kind of data processing method, device and computer-readable recording medium | |
CN109978512A (en) | The control method of project management system, electronic equipment, storage medium | |
CN108572860A (en) | A kind of cloud platform application cluster automatic deployment method | |
CN117291517A (en) | Method and device for constructing approval process |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190507 |
|
RJ01 | Rejection of invention patent application after publication |