CN107632827A - The generation method and device of the installation kit of application - Google Patents

The generation method and device of the installation kit of application Download PDF

Info

Publication number
CN107632827A
CN107632827A CN201610547996.7A CN201610547996A CN107632827A CN 107632827 A CN107632827 A CN 107632827A CN 201610547996 A CN201610547996 A CN 201610547996A CN 107632827 A CN107632827 A CN 107632827A
Authority
CN
China
Prior art keywords
engineering
bag
installation kit
application
engineering bag
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
Application number
CN201610547996.7A
Other languages
Chinese (zh)
Other versions
CN107632827B (en
Inventor
韩欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610547996.7A priority Critical patent/CN107632827B/en
Publication of CN107632827A publication Critical patent/CN107632827A/en
Application granted granted Critical
Publication of CN107632827B publication Critical patent/CN107632827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

This application discloses a kind of generation method and device of the installation kit of application.Wherein, this method includes:Multiple engineering bags corresponding to an application are shown, wherein, any one in multiple engineering bags is to be compiled what is obtained to a program module of application;It is determined that the one or more engineering bags being selected from multiple engineering bags of display;Order is received, wherein, order for indicating the installation kit according to corresponding to the one or more engineering bags generation application being selected.Efficiency when installation kit compiles is improved by the application, reduces construction cost, solves the technical problem that installation kit compiling efficiency is low in correlation technique.

Description

The generation method and device of the installation kit of application
Technical field
The application is related to software field, in particular to a kind of generation method and device of the installation kit of application.
Background technology
With the development of technology, user is also more and more to the demand of various softwares, and therefore, the exploitation of software obtains more next More attention.For example, mobile phone app (application abbreviation, application program) exploitations have just obtained very big hair at present Exhibition.
It is varied for the way to manage of exploitation source code and compiling in software development, at present, these managers Formula is all based on compiling and the code administration mode of complete installation kit.In this fashion, if the code of some occurs Change, then need to be compiled all source codes of the installation.For example, develop instant on a mobile phone Bitcom, for last version, this time modification only with the addition of a small function, i.e., geographical to real-time display user The function of position is strengthened, and other functions do not change;Now need to generate new APP, then when compiling It is also required to be compiled all source codes, even if the code of some functional modules does not change.
Because this Compilation Method is that the source code based on complete installation kit is compiled, therefore, even if code change is very It is small to be also all compiled, it is relatively low which results in code efficiency.
For the problem of installation kit compiling efficiency is low in correlation technique, effective solution is not yet proposed at present.
The content of the invention
The embodiment of the present application provides a kind of generation method and device of the installation kit of application, at least to solve correlation technique The low technical problem of middle installation kit compiling efficiency.
According to the one side of the embodiment of the present application, there is provided a kind of generation method of the installation kit of application, including:Display Multiple engineering bags corresponding to one application, wherein, any one in multiple engineering bags is a program module to application It is compiled what is obtained;It is determined that the one or more engineering bags being selected from multiple engineering bags of display;Order is received, its In, order for indicating the installation kit according to corresponding to the one or more engineering bags generation application being selected.
According to the another aspect of the embodiment of the present application, a kind of generation method of the installation kit of application is additionally provided, including:Root The source code of multiple program modules of one application is compiled respectively according to compiler directive, obtained corresponding to each program module Engineering bag;Receive the one or more engineering bags selected from engineering bag corresponding to each program module;According to what is selected Installation kit corresponding to one or more engineering bag generation applications.
According to the another aspect of the embodiment of the present application, a kind of generating means of the installation kit of application are additionally provided, including:It is aobvious Show module, for showing multiple engineering bags corresponding to an application, wherein, any one in multiple engineering bags is to application A program module be compiled what is obtained;Determining module, for determining what is be selected from multiple engineering bags of display One or more engineering bags;Receiving module, ordered for receiving, wherein, order for indicating according to be selected one or Installation kit corresponding to multiple engineering bag generation applications.
According to the another aspect of the embodiment of the present application, a kind of generating means of the installation kit of application are additionally provided, including:Compile Module is translated, for being compiled respectively to the source code of multiple program modules of an application according to compiler directive, is obtained each Engineering bag corresponding to program module;Receiving module, for receiving selected from engineering bag corresponding to each program module one Individual or multiple engineering bags;Generation module, for the installation kit according to corresponding to the one or more engineering bags generation application selected.
In the embodiment of the present application, multiple engineering bags corresponding to an application are shown, it is determined that multiple engineering bags from display In one or more engineering bags for being selected, order is received, so as to realize the generation of the installation kit of application.
It is easily noted that, due to being compiled respectively to the source code of multiple program modules of an application according to compiler directive Translate, obtain engineering bag corresponding to each module, employ modular compiling mode, rather than employ the volume of complete compressed package Mode is translated, the module being compiled so is selected, without the source code of whole is compiled.Therefore, this is passed through The scheme that embodiment provides is especially suitable for the installation kit building process management of multimode and a large amount of codes.
Thus, the scheme of above-described embodiment that the application provides solves the skill that installation kit compiling efficiency is low in correlation technique Art problem.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, forms the part of the application, this Shen Schematic description and description please is used to explain the application, does not form the improper restriction to the application.In the accompanying drawings:
Fig. 1 is the hardware knot according to a kind of terminal of the generation method of the installation kit of application of the embodiment of the present application Structure block diagram;
Fig. 2 is the flow chart according to a kind of generation method of the installation kit of application of the embodiment of the present application one;
Fig. 3 is the flow chart according to a kind of generation method of the installation kit of application of the embodiment of the present application two;
Fig. 4 is the schematic diagram changed according to a kind of optional baseline configuration of the embodiment of the present application two;
Fig. 5 is according to a kind of optional more quadrant baseline configuration changes of the embodiment of the present application two and showing for installation package definition It is intended to;
Fig. 6 is the flow chart compiled according to a kind of optional installation kit of the embodiment of the present application two;
Fig. 7 is a kind of flow chart for optionally dividing more quadrant baseline profiles according to the embodiment of the present application two;
Fig. 8 is a kind of optional flow chart using the baseline inherited generation installation kit according to the embodiment of the present application two;
Fig. 9 is the structured flowchart according to a kind of generating means of the installation kit of application of the embodiment of the present application three;
Figure 10 is the structured flowchart according to a kind of generating means of the installation kit of application of the embodiment of the present application four;And
Figure 11 is the structured flowchart according to a kind of terminal of the embodiment of the present application.
Embodiment
In order that those skilled in the art more fully understand application scheme, below in conjunction with the embodiment of the present application Accompanying drawing, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is only The embodiment of the application part, rather than whole embodiments.Based on the embodiment in the application, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model of the application protection Enclose.
It should be noted that term " first " in the description and claims of this application and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so use Data can exchange in the appropriate case, so as to embodiments herein described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
The noun being related in following examples can be following meanings:
The installation kit of application:The application can be the application on computer, or application on server or Application on mobile terminal.
Client installation kit:Refer in particular to be installed on the client application software bag of mobile phone.Wherein android is apk forms text Part, iOS is ipa formatted files, or is referred to as client app.
Engineering bag:The code of some function of composition application (for example, client app) is by compiling in obtained binary system Between product.Wherein android is compiled into jar bags, and ios is compiled into framework.
Engineering bag coordinate:Collected with engineering bag name and classification etc., with distinguish whether be same use engineering bag.Example Such as, conventional maven way to manages, coordinate is defined using groupId, artifactId.
Engineering bag baseline configuration:Engineering the package list of one group of available composition application (for example, client app) installation kit, The change evolution forward configured with engineering bag.
Change collection:One or several engineering bags currently changed.
Client is issued:Around the development activities of application (for example, client app) version expansion.
Concurrent development:The client of several versions coexists while carries out development.
Baseline is inherited:Using existing engineering bag baseline configuration as the baseline configuration of new installation kit, on this basis Developed, got with this in the engineering bag without change previously.
Baseline updates:Develop certain phase in, baseline configuration is updated to another baseline configuration, with reach partial rollback or Obtain the content changed in other issues.
Embodiment 1
According to the embodiment of the present application, there is provided a kind of generation method embodiment of the installation kit of application, it is necessary to explanation, It can be performed the step of the flow of accompanying drawing illustrates in the computer system of such as one group computer executable instructions, and And although showing logical order in flow charts, in some cases, can be with different from order execution institute herein The step of showing or describing.
The embodiment of the method that the embodiment of the present application one is provided can be in computer equipment or similar arithmetic unit Perform.Because in general computing device can carry out the compiling of software, the computing device or running gear require peace Equipped with exploitation software, developer is set to be compiled in this computer equipment or arithmetic unit, for example, in linux On can be compiled using GCC.Single computing device or arithmetic unit can perform compiling work, for example, this meter It can be existing computer to calculate equipment, for example, PC PC, or can also be server.With the development of technology, when When the computing capability of mobile terminal is gradually strengthened, mobile terminal can also serve as this computing device.Computing device can be with Based on existing framework, for example, Fig. 1 is the computer according to a kind of generation method of the installation kit of application of the embodiment of the present application The hardware block diagram of terminal.As shown in figure 1, terminal 10 can include (the processor of one or more processors 102 102 can include but is not limited to Micro-processor MCV or PLD FPGA etc. processing unit), for data storage Memory 104 and transmitting device 106 for communication function.In addition, can also include:Display, input/defeated Outgoing interface (I/O interfaces), USB (USB) port (can be wrapped as a port in the port of I/O interfaces Include), network interface, power supply and/or camera.It will appreciated by the skilled person that the structure shown in Fig. 1 is only to illustrate, It does not cause to limit to the structure of above-mentioned electronic installation.For example, terminal 10 may also include it is more more than shown in Fig. 1 or The less component of person, or there is the configuration different from shown in Fig. 1.
It is to be noted that said one or multiple processors 102 and/or other data processing circuits lead to herein It can often be referred to as " data processing circuit ".The data processing circuit can be presented as software, hardware, firmware with all or part of Or other any combination.In addition, data processing circuit can be single independent processing module, or all or part of it is attached to meter In any one in other elements in calculation machine terminal 10 (or mobile device).As involved in the embodiment of the present application, The data processing circuit controls (such as the selection for the variable resistor end path being connected with interface) as a kind of processor.
Memory 104 can be used for the software program and module of storage application software, such as the application in the embodiment of the present application Installation kit generation method corresponding to programmed instruction/module, processor 102 by operation be stored in it is soft in memory 104 Part program and module, so as to perform various function application and data processing, that is, realize the life of the installation kit of above-mentioned application Into method.Memory 104 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.In some instances, memory 104 can further comprise Relative to the remotely located memory of processor 102, these remote memories can pass through network connection to terminal 10. The example of above-mentioned network includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is used to data are received or sent via a network.Above-mentioned network instantiation may include The wireless network that the communication providerses of terminal 10 provide.In an example, transmitting device 106 is fitted including a network Orchestration (Network Interface Controller, NIC), its can be connected by base station with other network equipments so as to Internet is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, its For wirelessly being communicated with internet.The example of above-mentioned network include but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Above-mentioned computing device can be a single equipment.With the increase of the exploitation scale of software, or base In the consideration of safety, it is desirable to the developer of a software is compiled on the server, now, the hardware configuration of the server Can also be identical with above-mentioned computing device or arithmetic unit.I.e. above-mentioned computing device can also be server cluster.Current, Cloud computing has been obtained for applying, and can also be compiled by cloud computing, i.e., above-mentioned computing device or arithmetic unit can also It is the basis for forming cloud computing platform.
Under above-mentioned running environment, the generation method of the installation kit of application as shown in Figure 2 is present embodiments provided.Fig. 2 It is according to a kind of flow chart of the generation method of the installation kit of application of the embodiment of the present application one, as shown in Fig. 2 the flow includes Following steps:
Step S202, multiple engineering bags corresponding to an application are shown, wherein, any one in multiple engineering bags is What is obtained is compiled to a program module of application.
Specifically, in step S202, said procedure module can be that specific function is realized in applying or is realized specific The source code of function, for an application, the source code of application can be divided according to function, obtain multiple program moulds Block, for example, in a MSN, it can be divided by function as following multiple modules:Data encryption feature, communication protocols Discuss processing function, position display function, text interactive function, image processing function, address list management function etc..Can also be by The source code applied according to different function pairs is divided, and obtains multiple program modules, for example, rights management function, communication letter Number, data storage function etc..User can be selected according to the actual needs, and how partition program module has no effect on The acquirement of present techniques effect.
Optionally, when one or more modules to application installation package are compiled packing, there can be a variety of modes, It is, for example, possible to use maven, gradle carry out android compiling, in another example, carry out ios compilings using cocoapods.Compile Translate mode also has a variety of compiling modes in different operating system, and no matter which kind of compiling mode can solve the application institute Solve the problems, such as, and obtain corresponding technique effect therefore, how various compiling modes are specifically performed at this just no longer superfluous State.
Step S204, it is determined that the one or more engineering bags being selected from multiple engineering bags of display.
Step S206, order is received, wherein, order for indicating according to the one or more engineering bags generation being selected Using corresponding installation kit.
Optionally, engineering bag can compile to obtain by the program module of application, and installation kit can be according to the engineering of selection Bag compiling generation obtains, the compiling of the compiling and installation kit to engineering bag can be two different compiler directives or Identical compiler directive, for example, in Gcc, the order being compiled is gcc- parameters, compiling and installation kit to engineering bag Compiling corresponding " parameter " be different.In other translation and compiling environments, different editors can be used according to the actual needs Order.
In a kind of optional scheme, the source code of application can be subjected to Module Division, program module be obtained, to each Program module is compiled, obtain corresponding to engineering bag, in the installation kit of generation application, user can be as needed, from more One or more engineering bags are selected in individual engineering bag, and are compiled according to the engineering bag selected, the installation kit being applied.
For example, illustrated by taking the exploitation of the installation kit of MSN as an example.MSN can be divided into Under multiple modules:Data encryption feature, communication protocol processes function, position display function, text interactive function, picture processing work( Can be with address list management function., can be to all program moulds in application in first version of exploitation MSN Block is compiled, so as to obtain engineering bag corresponding to each function.Hereafter, in second version of exploitation MSN In, updated if only to position display function, then source code corresponding to position display function can be compiled Translate to obtain a new engineering bag, then the engineering bag of other functional modules before use and the engineering bag newly obtained are compiled Translate to obtain the installation kit of the application.For this compiling mode compared to the compiling mode of complete source code, it is only to have compiled one Individual functional module, it necessarily improves compiling efficiency.
In another example in data encryption feature, it use encryption function, compression function, data receiver and send function etc. Deng.Changed if only to encryption function, then only need to be compiled amended encryption function, for it The code of his part need not be recompilated.
Herein it should be noted that application program is divided by function as multiple program modules, can also shield The function of untapped completion, for example, if only completing position display function, text interactive function, communication protocol processes work( Can, these three functions can be now compiled to generation installation kit, then can carry out the test of these functions.This compiling Mode, which can also be reduced, not to be completed or prematurity code is compiled caused mistake, can improve compiling efficiency yet.
From the foregoing, it will be observed that in scheme disclosed in the above embodiments of the present application one, multiple engineering bags corresponding to an application are shown, It is determined that the one or more engineering bags being selected from multiple engineering bags of display, receive order, so as to realize the peace of application Fill the generation of bag.
It is easily noted that, due to being compiled respectively to the source code of multiple program modules of an application according to compiler directive Translate, obtain engineering bag corresponding to each module, employ modular compiling mode, rather than employ the volume of complete compressed package Mode is translated, the module being compiled so is selected, without the source code of whole is compiled.Therefore, this is passed through The scheme that embodiment provides is especially suitable for the installation kit building process management of multimode and a large amount of codes, can reach lifting client End compiling efficiency, reduces construction cost, controls the effect of product quality.
Thus, it is low to solve installation kit compiling efficiency in correlation technique for the scheme of above-described embodiment one that the application provides Technical problem.
Optionally, according to the above embodiments of the present application, step S202, show that multiple engineering bags corresponding to an application can be with Comprise the following steps:
Step S2022, the identification information of multiple program modules corresponding to an application is shown, wherein, identification information can It is user-operably.
Step S2024, in response to operation of the user to the identification information of preset program module, show preset program module pair The one or more engineering bags answered, wherein, one or more engineering bags are identified using the attribute information of engineering bag, attribute information bag Include at least one of:The version number of the engineering bag, timestamp.
Herein it should be noted that after the source code of same program module is updated each time, source code is carried out Compiling can all obtain a new engineering bag, and engineering bag is managed for convenience, and convenient selection is used to generate application Installation kit one or more engineering bags, can be corresponding to each module engineering bag set identification information.
Can be that engineering bag corresponding to each module sets identification information in a kind of optional scheme, wherein, the mark Information is used to identify the module belonging to engineering bag, and the source code of the different editions of each module corresponds to an engineering bag respectively.This Kind processing mode, can identify which module different engineering bags is under the jurisdiction of.Identification means have many kinds, for example, can make It is numbered with incremental data;Or in another example, in order that identification information becomes apparent from clearly, can also use have and contain The information of justice is as identification information.For example, the identification information of engineering bag corresponding to communication module can use tongxun to be used as it Identification information.The code of each program module may have many versions, and each version may correspond to an engineering bag, due to These engineerings Bao Jun is engineering bag corresponding to a program module, and now, the identification information of these engineering bags should be consistent.
In a kind of optional scheme, as described above, the code of each program module may have many versions, each version This may all correspond to an engineering bag.In order to distinguish engineering bag corresponding to same program module, in an optional embodiment party Can also be that each engineering bag set the attribute information of the engineering bag in formula, for example, attribute information can include it is following at least it One:The version number of the engineering bag, timestamp.Illustrated with reference to example, engineering corresponding to each module is obtained in compiling After bag, engineering bag can be sent out with arranging the form (such as 1.0.1.20150330.1502161828) that version number adds timestamp Cloth is recorded accordingly to intermediate product warehouse in intermediate product warehouse, extracts the coordinate and version information of engineering bag As index.Or (such as 20150330.1502161828) can also be only recorded in a manner of timestamp.Or Version number can also only be used only to be recorded (such as 1.0.1).
For example, still illustrated by taking the exploitation of the installation kit of MSN as an example.MSN can be divided into Multiple modules below:Data encryption feature, communication protocol processes function, position display function, text interactive function, picture processing Function and address list management function, and engineering bag corresponding to above-mentioned 6 modules is represented respectively using numeral 1,2,3,4,5,6, That is, numeral 1 represents engineering bag corresponding to data encryption feature, and numeral 2 represents engineering bag corresponding to communication protocol processes function, number Word 3 represents engineering bag corresponding to position display function, and numeral 4 represents engineering bag corresponding to text interactive function, and numeral 5 represents figure Engineering bag corresponding to piece processing function, numeral 6 represent engineering bag corresponding to address list management function.In second version, such as 1.0.1 in version, the source code of position display function is only have updated, the source code of the position display function after renewal can be entered Row compiling, obtains engineering bag corresponding to position display function, can be that engineering bag sets identification information 3, set version number 1.0.1, i.e., above-mentioned engineering bag can be engineering bag 3.1.0.1., can be with by setting identification information and attribute information for engineering bag Each engineering bag in the whole development process of MSN is distinguished, facilitates the lookup and selection of engineering bag.
Optionally, according to the above embodiments of the present application, in step S204, it is determined that being chosen from multiple engineering bags of display After the one or more engineering bags gone out, the above method can also comprise the following steps:
In step S2042, display reminding information, wherein, prompt message is used to prompt the user whether to preserve this time to select Multiple engineering bags information.
In step S2044, operated in response to the preservation that user performs, the information of multiple engineering bags to selecting assigns mark Know information and preserved.
, can be by institute's engineering in need after user selects the engineering bag of needs in an optional scheme The identification information of bag and the attribute information of engineering bag in need combine, and using the information obtained after combination as The configuration information of the installation kit is preserved.That is, can be by the coordinate of one group of engineering bag and version number in the optional scheme List combines and filed, and as one client app of composition engineering bag baseline configuration, and carries out data loading.
For example, still illustrated by taking the exploitation of the installation kit of MSN as an example.In MSN, selection The engineering bag of 1.0.3 versions corresponding to position display function, the engineering bag of 1.0.2 versions corresponding to text interactive function, and , can be by the identification information and attribute information of engineering bag after the function bag of 1.0.1 versions corresponding to communication protocol processes function Combine, i.e., by identification information 3 and attribute information 1.0.3, identification information 4 and attribute information 1.0.2, and identification information 2 and attribute information 1.0.1 is combined, and generates the baseline of installation kit, including engineering bag 3.1.0.3, engineering bag 4.1.0.2 and Engineering bag 2.1.0.1, and preserved.
Optionally, can also be comprised the following steps according to the above embodiments of the present application, the above method:
Step S212, one or more identification informations of preservation are shown, wherein, in one or more identification informations at least One of can be user-operably.
Step S214, in response to user to the operation that predetermined identification information is carried out in one or more identification informations, display The information of multiple engineering bags corresponding to identification information.
In a kind of optional scheme, in the case where needing to generate new installation kit, user can be to former installation kit pair The one or more engineering bags answered are deleted, modification, or the new engineering bag of addition, can according to after deletion, after modification or One or more engineering bags corresponding to installation kit after person's addition, again compiling obtain the new installation kit of the application.
, can be with original when calculating the engineering bag for forming new client app configuration in an optional embodiment Engineering bag baseline, according to coordinate not repeat principle, for coordinate repeat configuration, cover existing engineering bag version, generate One group of new engineering bag configured list, installation kit compiling is carried out, when compiling passes through, then generates new baseline configuration, line number of going forward side by side According to storage.Therefore, the decoupling compiling for carrying out intermediate product (i.e. engineering bag) is relied on by interface, that is, compiles the sound of dependence method It is bright, rather than realize, when method statement need not change when, Other Engineering bag can based on current engineering bag Versions compiling produce Thing is compiled.Likewise, function rollback or delete be only operation corresponding to a data record, it is only necessary to rollback some The version configuration of engineering bag, recompilates installation kit, without being compiled again by source code.
For example, still illustrated by taking the exploitation of the installation kit of MSN as an example.In communication protocol processes function more After new, the source code after renewal can be compiled to obtain the engineering bag of redaction, i.e. engineering bag 2.1.0.2, can obtained The last baseline preserved, including engineering bag 3.1.0.3, engineering bag 4.1.0.2 and engineering bag 2.1.0.1 are taken, according to engineering bag Identification information, determine that engineering bag 2.1.0.2 changes compared to last engineering bag 2.1.0.1, can be by engineering bag 2.1.0.2 lid engineering bag 2.1.0.1 is coated, generates new baseline, including engineering bag 3.1.0.3, engineering bag 4.1.0.2 and engineering Wrap 2.1.0.2.
Optionally, according to the above embodiments of the present application, step S214, the letter of multiple engineering bags corresponding to display identification information Breath may include steps of:
Step S2142, show one of any information operated in multiple engineering bags corresponding to identification information.
Step S2144, operated in response to predetermined engineering bag in user's multiple engineering bags corresponding to identification information Information, predetermined engineering bag is operated, wherein, operation includes at least one of:Delete, replace.
In a kind of optional scheme, in the case where needing to generate new installation kit, user can be to former installation kit pair The one or more engineering bags answered are deleted, modification, and according to deletion, one or more works corresponding to amended installation kit Journey bag, the new installation kit being applied is compiled again.
For example, still illustrated by taking the exploitation of the installation kit of MSN as an example.In communication protocol processes function more After new, the source code after renewal can be compiled to obtain the engineering bag of redaction, i.e. engineering bag 2.1.0.2, can obtained The last baseline preserved, including engineering bag 3.1.0.3, engineering bag 4.1.0.2 and engineering bag 2.1.0.1 are taken, according to engineering bag Identification information, determine that engineering bag 2.1.0.2 changes compared to last engineering bag 2.1.0.1, can be by engineering bag 2.1.0.2 lid engineering bag 2.1.0.1 is coated, generates new baseline, including engineering bag 3.1.0.3, engineering bag 4.1.0.2 and engineering Wrap 2.1.0.2.
Optionally, according to the above embodiments of the present application, step S214, the letter of multiple engineering bags corresponding to display identification information Breath may include steps of:
Step S2146, display addition instruction.
Step S2148, in response to operation of the user to addition instruction, added in multiple engineering bags corresponding to identification information Engineering bag.
In a kind of optional scheme, in the case where needing to generate new installation kit, user can be toward former installation kit pair New engineering bag, and one or more engineering bags according to corresponding to new installation kit are added in the one or more engineering bags answered, The new installation kit being applied is compiled again.
For example, still illustrated by taking the exploitation of the installation kit of MSN as an example.In communication protocol processes function more After new, the source code after renewal can be compiled to obtain the engineering bag of redaction, i.e. engineering bag 2.1.0.2, can obtained The last baseline preserved, including engineering bag 3.1.0.3 and engineering bag 4.1.0.2 are taken, according to the identification information of engineering bag, it is determined that Engineering bag 2.1.0.2 is added, in two engineering bags before can engineering bag 2.1.0.2 be added to, generates new baseline, is wrapped Include engineering bag 3.1.0.3, engineering bag 4.1.0.2 and engineering bag 2.1.0.2.
Optionally, it is above-mentioned after being operated to predetermined engineering bag in step S2144 according to the above embodiments of the present application Method can also comprise the following steps:
Step S222, assign new identification information to the information of multiple engineering bags after operation and preserve.
, can will be new in the case where compiling the new installation kit being applied again in a kind of optional scheme One or more engineering bags identify new identification information corresponding to installation kit, and are preserved.
For example, still illustrated by taking the exploitation of the installation kit of MSN as an example.In communication protocol processes function more After new, the source code after renewal can be compiled to obtain the engineering bag of redaction, i.e. engineering bag 2.1.0.2, can obtained The last baseline preserved, including engineering bag 3.1.0.3, engineering bag 4.1.0.2 and engineering bag 2.1.0.1 are taken, according to engineering bag Identification information, determine that engineering bag 2.1.0.2 changes compared to last engineering bag 2.1.0.1, can be by engineering bag 2.1.0.2 lid engineering bag 2.1.0.1 is coated, generates new baseline, including engineering bag 3.1.0.3, engineering bag 4.1.0.2 and engineering Wrap 2.1.0.2.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot In the case of the former be more preferably embodiment.Based on such understanding, the technical scheme of the application is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, calculate Machine, server, or network equipment etc.) perform each embodiment of the application method.
Embodiment 2
According to the embodiment of the present application, a kind of generation method embodiment of the installation kit of application is additionally provided, it is necessary to explanation It is that can be performed the step of the flow of accompanying drawing illustrates in the computer system of such as one group computer executable instructions, Also, although logical order is shown in flow charts, in some cases, can be with different from order execution herein Shown or described step.
Fig. 3 is according to a kind of flow chart of the generation method of the installation kit of application of the embodiment of the present application two, such as Fig. 3 institutes Show, the flow may include steps of:
Step S302, the source according to compiler directive to multiple program modules (hereinafter referred to as module) of an application Code is compiled respectively, obtains engineering bag corresponding to each module.
Specifically, in step s 302, said procedure module can be that specific function is realized in applying or is realized specific The source code of function, for an application, the source code of application can be divided according to function, obtain multiple program moulds Block, for example, in a MSN, it can be divided by function as following multiple modules:Data encryption feature, communication protocols Discuss processing function, position display function, text interactive function, image processing function, address list management function etc..Can also be by The source code applied according to different function pairs is divided, and obtains multiple program modules, for example, rights management function, communication letter Number, data storage function etc..User can be selected according to the actual needs, and how partition program module has no effect on The acquirement of present techniques effect.
Optionally, when one or more modules to application installation package are compiled packing, there can be a variety of modes, It is, for example, possible to use maven, gradle carry out android compiling, in another example, carry out ios compilings using cocoapods.Compile Translate mode also has a variety of compiling modes in different operating system, and no matter which kind of compiling mode can solve the application institute Solve the problems, such as, and obtain corresponding technique effect therefore, how various compiling modes are specifically performed at this just no longer superfluous State.
Step S304, receive the one or more engineering bags selected from engineering bag corresponding to each program module.
Step S306, according to installation kit corresponding to the one or more engineering bags generation application selected.
Optionally, engineering bag can compile to obtain by the program module of application, and installation kit can be according to the engineering of selection Bag compiling generation obtains, the compiling of the compiling and installation kit to engineering bag can be two different compiler directives or Identical compiler directive, for example, in Gcc, the order being compiled is gcc- parameters, compiling and installation kit to engineering bag Compiling corresponding " parameter " be different.In other translation and compiling environments, different editors can be used according to the actual needs Order.
In a kind of optional scheme, the source code of application can be subjected to Module Division, program module be obtained, to each Program module is compiled, obtain corresponding to engineering bag, in the installation kit of generation application, user can be as needed, from more One or more engineering bags are selected in individual engineering bag, and are compiled according to the engineering bag selected, the installation kit being applied.
For example, illustrated by taking the exploitation of the installation kit of MSN as an example.MSN can be divided into Under multiple modules:Data encryption feature, communication protocol processes function, position display function, text interactive function, picture processing work( Can be with address list management function., can be to all program moulds in application in first version of exploitation MSN Block is compiled, so as to obtain engineering bag corresponding to each function.Hereafter, in second version of exploitation MSN In, updated if only to position display function, then source code corresponding to position display function can be compiled Translate to obtain a new engineering bag, then the engineering bag of other functional modules before use and the engineering bag newly obtained are compiled Translate to obtain the installation kit of the application.For this compiling mode compared to the compiling mode of complete source code, it is only to have compiled one Individual functional module, it necessarily improves compiling efficiency.
In another example in data encryption feature, it use encryption function, compression function, data receiver and send function etc. Deng.Changed if only to encryption function, then only need to be compiled amended encryption function, for it The code of his part need not be recompilated.
Herein it should be noted that application program is divided by function as multiple program modules, can also shield The function of untapped completion, for example, if only completing position display function, text interactive function, communication protocol processes work( Can, these three functions can be now compiled to generation installation kit, then can carry out the test of these functions.This compiling Mode, which can also be reduced, not to be completed or prematurity code is compiled caused mistake, can improve compiling efficiency yet.
From the foregoing, it will be observed that in scheme disclosed in the above embodiments of the present application two, one is applied according to compiler directive multiple The source code of program module is compiled respectively, obtains engineering bag corresponding to each module, is received corresponding from each program module Engineering bag in one or more engineering bags for selecting, according to corresponding to the one or more engineering bags generation application selected Installation kit, so as to realize the generation of the installation kit of application.
It is easily noted that, due to being compiled respectively to the source code of multiple program modules of an application according to compiler directive Translate, obtain engineering bag corresponding to each module, employ modular compiling mode, rather than employ the volume of complete compressed package Mode is translated, the module being compiled so is selected, without the source code of whole is compiled.Therefore, this is passed through The scheme that embodiment provides is especially suitable for the installation kit building process management of multimode and a large amount of codes, can reach lifting client End compiling efficiency, reduces construction cost, controls the effect of product quality.
Thus, it is low to solve installation kit compiling efficiency in correlation technique for the scheme of above-described embodiment two that the application provides Technical problem.
Optionally, according to the above embodiments of the present application, in step S302, obtain engineering bag corresponding to each program module it Afterwards, the above method can also comprise the following steps:
Step S312, it is that engineering bag corresponding to each program module sets identification information, wherein, identification information is used to identify Program module belonging to engineering bag, the source code of the different editions of each program module correspond to an engineering bag respectively.
Herein it should be noted that after the source code of same program module is updated each time, source code is carried out Compiling can all obtain a new engineering bag, and engineering bag is managed for convenience, and convenient selection is used to generate application Installation kit one or more engineering bags, can be corresponding to each module engineering bag set identification information.
Can be that engineering bag corresponding to each module sets identification information in a kind of optional scheme, wherein, the mark Information is used to identify the module belonging to engineering bag, and the source code of the different editions of each module corresponds to an engineering bag respectively.This Kind processing mode, can identify which module different engineering bags is under the jurisdiction of.Identification means have many kinds, for example, can make It is numbered with incremental data;Or in another example, in order that identification information becomes apparent from clearly, can also use have and contain The information of justice is as identification information.For example, the identification information of engineering bag corresponding to communication module can use tongxun to be used as it Identification information.The code of each program module may have many versions, and each version may correspond to an engineering bag, due to These engineerings Bao Jun is engineering bag corresponding to a program module, and now, the identification information of these engineering bags should be consistent.
Step S314, the attribute information of the engineering bag is set for each engineering bag, wherein, attribute information include it is following at least One of:The version number of the engineering bag, timestamp.
In a kind of optional scheme, as described above, the code of each program module may have many versions, each version This may all correspond to an engineering bag.Can also be each engineering bag to distinguish engineering bag corresponding to same program module The attribute information of the engineering bag is set, for example, attribute information can include at least one of:The version number of the engineering bag, when Between stab.
Illustrated with reference to example, can be to arrange version after compiling obtains engineering bag corresponding to each module This number form (such as 1.0.1.20150330.1502161828) added timestamp, intermediate product warehouse is published to by engineering bag, and Recorded accordingly in intermediate product warehouse, the coordinate and version information for extracting engineering bag are used as index.Or can also Only recorded in a manner of timestamp (such as 20150330.1502161828).Or version number can also only be used only To be recorded (such as 1.0.1).
For example, still illustrated by taking the exploitation of the installation kit of MSN as an example.MSN can be divided into Multiple modules below:Data encryption feature, communication protocol processes function, position display function, text interactive function, picture processing Function and address list management function, and engineering bag corresponding to above-mentioned 6 modules is represented respectively using numeral 1,2,3,4,5,6, That is, numeral 1 represents engineering bag corresponding to data encryption feature, and numeral 2 represents engineering bag corresponding to communication protocol processes function, number Word 3 represents engineering bag corresponding to position display function, and numeral 4 represents engineering bag corresponding to text interactive function, and numeral 5 represents figure Engineering bag corresponding to piece processing function, numeral 6 represent engineering bag corresponding to address list management function.In second version, such as 1.0.1 in version, the source code of position display function is only have updated, the source code of the position display function after renewal can be entered Row compiling, obtains engineering bag corresponding to position display function, can be that engineering bag sets identification information 3, set version number 1.0.1, i.e., above-mentioned engineering bag can be engineering bag 3.1.0.1., can be with by setting identification information and attribute information for engineering bag Each engineering bag in the whole development process of MSN is distinguished, facilitates the lookup and selection of engineering bag.
Optionally, according to the above embodiments of the present application, step S304, receiving one or more engineering bags for selecting can be with Comprise the following steps:
Step S3042, receive the program module selected.
Step S3044, according to the attribute information of engineering bag respectively from one or more corresponding to the program module selected The engineering bag of needs is selected in engineering bag.
The mode of one or more engineering bags of selection generation installation kit is a lot, can be with an optional embodiment The module that selection generation installation kit needs as needed, and according to corresponding to the attribute information module from needs respectively of engineering bag The engineering bag needed is selected in one or more engineering bags.For example, this application installation package needs only to enter communication protocol Row test, then, only select that engineering bag is compiled corresponding to communication protocol processes module.
In the above example, it is related to intermediate product warehouse, intermediate product warehouse can be realized using a variety of technologies. For example, the intermediate product warehouse, which can use nexus to build private clothes, is used as a kind of solution method.If, can be with using the program Defined using groupId, artifactId of maven modes, to be specified to the coordinate of engineering bag.In the optional implementation In example, coordinate and the version number's list of one group of engineering bag according to the unduplicated principle of coordinate, can be obtained, generates android's The configuration files such as pom.xml, ios Podfile files, for compiling installation kit.The coordinate defined for maven modes, can So that according to groupId, the combination that artifactId is two can not be repeated as principle, the engineering bag of needs is filtered out.In maven In, use the two marks of groupID and artifactID to carry out unique mark one kind engineering bag, i.e., for same program mould Different engineering bags is identified using identical groupID and artifactID corresponding to block.So, do not weighed by coordinate Multiple principle, same program module can be avoided to filter out the engineering bag of multiple different attribute information, cause installation kit to compile Efficiency reduces.
For example, still illustrated by taking the exploitation of the installation kit of MSN as an example.In MSN, if Position display function, text interactive function, communication protocol processes function are completed, in order to generate installation kit, is realized to above-mentioned work( The test of energy, can select engineering bag corresponding to above three module, wherein, position display function includes the engineering of 3 versions Bag, respectively the engineering bag of 1.0.1 versions, the engineering bag of 1.0.2 versions and the engineering bag of 1.0.3 versions, text interactive function Include the engineering bag of two versions, respectively the engineering bag of the engineering bag of 1.0.1 versions and 1.0.2 versions, communication protocol processes Function includes the engineering bag of 1 version, is the engineering bag of 1.0.1 versions.Each can be determined according to the version number of engineering bag The engineering bag needed corresponding to module, for example, the engineering bag of 1.0.3 versions corresponding to position display function, text can be selected The engineering bag of 1.0.2 versions corresponding to interactive function, and the engineering bag of 1.0.1 versions corresponding to communication protocol processes function.
By above-described embodiment, the module that needs can be selected according to the attribute information of engineering bag corresponding to engineering bag, enter One step compiles to obtain installation kit, without being compiled to the source code of whole installation kit, erection & lift bag compiling efficiency.
Optionally, according to the above embodiments of the present application, after step S3044, the engineering bag for selecting needs, above-mentioned side Method also includes:
Step S312, by engineering bag in need identification information and engineering bag in need attribute information group It is combined.
Step S314, preserved the information obtained after combination as the configuration information of the installation kit.
, can be by institute's engineering in need after user selects the engineering bag of needs in an optional scheme The identification information of bag and the attribute information of engineering bag in need combine, and using the information obtained after combination as The configuration information of the installation kit is preserved.That is, can be by the coordinate of one group of engineering bag and version number in the optional scheme List combines and filed, and as one client app of composition engineering bag baseline configuration, and carries out data loading.
For example, still illustrated by taking the exploitation of the installation kit of MSN as an example.In MSN, selection The engineering bag of 1.0.3 versions corresponding to position display function, the engineering bag of 1.0.2 versions corresponding to text interactive function, and , can be by the identification information and attribute information of engineering bag after the function bag of 1.0.1 versions corresponding to communication protocol processes function Combine, i.e., by identification information 3 and attribute information 1.0.3, identification information 4 and attribute information 1.0.2, and identification information 2 and attribute information 1.0.1 is combined, and generates the baseline of installation kit, including engineering bag 3.1.0.3, engineering bag 4.1.0.2 and Engineering bag 2.1.0.1, and preserved.
, can be by carrying out colophon to engineering bag by above-described embodiment, and in the form of allocation list, generation is final Installation kit compiling configuration, makes installation kit compiling be separated with source code, accelerates structure.
Optionally, it is above-mentioned after step S306, installation kit corresponding to generation application according to the above embodiments of the present application Method can also comprise the following steps:
Step S322, in the case where generating the new installation kit of application again, acquire corresponding to new installation kit One or more engineering bags, wherein, new installation kit generates according to one or more engineering bags.
Step S324, obtain the configuration information preserved before.
Step S326, judging the identification information and/or attribute of one or more engineering bags corresponding to new installation kit In the case that information changes compared to the configuration information preserved before, new configuration information and preservation are generated.
In a kind of optional scheme, in the case where compiling the new installation kit being applied again, it can obtain To one or more engineering bags corresponding to new installation kit, and before obtaining compiling obtain being preserved during installation kit match somebody with somebody confidence Breath, then judges that the identification information of one or more engineering bags and/or attribute information are compared to before corresponding to new installation kit Whether the configuration information of preservation changes, and in the case where changing, generates new configuration information and preservation.
, can be with original when calculating the engineering bag for forming new client app configuration in an optional embodiment Engineering bag baseline, according to coordinate not repeat principle, for coordinate repeat configuration, cover existing engineering bag version, generate One group of new engineering bag configured list, installation kit compiling is carried out, when compiling passes through, then generates new baseline configuration, line number of going forward side by side According to storage.Therefore, the decoupling compiling for carrying out intermediate product (i.e. engineering bag) is relied on by interface, that is, compiles the sound of dependence method It is bright, rather than realize, when method statement need not change when, Other Engineering bag can based on current engineering bag Versions compiling produce Thing is compiled.Likewise, function rollback or delete be only operation corresponding to a data record, it is only necessary to rollback some The version configuration of engineering bag, recompilates installation kit, without being compiled again by source code.
For example, still illustrated by taking the exploitation of the installation kit of MSN as an example.In communication protocol processes function more After new, the source code after renewal can be compiled to obtain the engineering bag of redaction, i.e. engineering bag 2.1.0.2, can obtained The last baseline preserved, including engineering bag 3.1.0.3, engineering bag 4.1.0.2 and engineering bag 2.1.0.1 are taken, according to engineering bag Identification information, determine that engineering bag 2.1.0.2 changes compared to last engineering bag 2.1.0.1, can be by engineering bag 2.1.0.2 lid engineering bag 2.1.0.1 is coated, generates new baseline, including engineering bag 3.1.0.3, engineering bag 4.1.0.2 and engineering Wrap 2.1.0.2.
Optionally, according to the above embodiments of the present application, in step S326, after generating new configuration information, the above method It can also comprise the following steps:
Step S332, by new configuration information compared with the configuration information preserved before, difference is obtained, and preserve difference Different information.
In an optional embodiment, after new configuration information is generated, can by new configuration information with before The configuration information of preservation is compared, and obtains difference, and preserves the information of difference.For example, can be according to engineering bag coordinate and version This combination, baseline is generated, and changed according to the version of engineering bag, baseline evolution figure is generated, so as to record being currently configured for baseline And change procedure.
Fig. 4 is the schematic diagram changed according to a kind of optional baseline configuration of the embodiment of the present application two, as shown in figure 4, working as When active client APP enters exploitation, according to design, be related to 5 engineering bags altogether, i.e. engineering bag 1 in Fig. 4, engineering bag 2, work Journey bag 3, engineering bag 4 and engineering bag 5, in first timing node, the 4 untapped completion of engineering bag, use engineering bag 1, engineering bag 2nd, engineering bag 3 and engineering bag 5 are assembled, and generate first baseline configuration, i.e. baseline in Fig. 4.With development Continue, engineering bag 1, engineering bag 4 and engineering bag 5 have updated version respectively, when compiling installation kit again, obtain baseline ' (table Show new baseline).Development continues once again with, and engineering bag 1, engineering bag 2 and engineering bag 5 have updated version respectively, compile again When translating installation kit, baseline has been obtained ".Therefore, baseline can be one group of available engineering bag configuration for forming installation kit, and Baseline configuration formula can be baseline '=baseline+change collection, baseline "=baseline '+change collection.Therefore, can be collected according to change Record the change process of engineering bag., can be according to change collection and the baseline preserved, you can compiling is pacified by baseline configuration Fill bag, it is only necessary to which the source code after compiling renewal obtains change and collected, the compiling efficiency of erection & lift bag, reduces the structure of installation kit Cost.
In order to more clearly represent Fig. 4, now Fig. 4 is indicated using following form:
The configuration of baseline is following (the engineering bag for identifying selection with circle):
Table 1
Baseline ' configuration it is following (the engineering bag for identifying selection with circle):
Table 2
Engineering bag 1 Engineering bag 2 Engineering bag 3 Engineering bag 4 Engineering bag 5
1 1 1
1
3 3 3
4
The configuration of baseline " is following (the engineering bag for identifying selection with circle):
Table 3
Engineering bag 1 Engineering bag 2 Engineering bag 3 Engineering bag 4 Engineering bag 5
1 1 1
2 2 1 2
3
By this alternative embodiment, it can be contrasted with baseline configuration, draw residual quantity, so as to be paid close attention to and be verified, or Person's problem is recalled.
Optionally, can also be included according to the above embodiments of the present application, above-mentioned attribute information:Function completeness, wherein, work( Can completeness can be used to indicate that the degree that function corresponding to the engineering bag can produce a desired effect, the above method can be with Comprise the following steps:
Step S342, determine to compile obtained installation kit according to the function completeness for selecting one or more engineering bags Maturity, wherein, maturity be used for represent the degree that the function of the installation kit produces a desired effect.
Herein it should be noted that when generating application installation package, R&D process can be combined, according to quality requirement not Together, the mode of multiple configuration records is created, and each stage is managed according to the dimension of functional module.
In an optional scheme, the attribute information that each engineering bag is set can also include function completeness, wherein, Function completeness is used to represent the degree that function corresponding to the engineering bag can produce a desired effect.For example, the engineering bag can To be beta version, stable release etc., the function that beta version illustrates the engineering bag is not sufficiently stable, and stable release then represents The function of the engineering bag is stable.In another example it can also be represented according to the degree of cooperation of the engineering bag and Other Engineering bag The degree that the function of the engineering bag can produce a desired effect, such as A engineerings bag and the interface of B engineerings have been completed, but and C The interface of engineering bag does not still complete.
In another optional scheme, it can also be determined according to the function completeness for selecting one or more engineering bags The obtained maturity of installation kit is compiled, wherein, maturity is used to represent the journey that the function of the installation kit produces a desired effect Degree.If for example, most of engineering bag of an installation kit is all test mode, then the installation kit of the application is also test shape State, if only one or two of engineering bag is test mode, and other most of engineering bags are all stable states, then the application Installation kit may be considered stable state, be all stable state if all of engineering bag, then the installation kit of the application can To be considered issued state.
By above-described embodiment provide scheme, can on the basis of baseline management, can according to test checking degree, The configuration of multiple quadrants is marked off, meanwhile, according to quadrant definition, the definition of installation kit polytype is also assigned, so as to reach control The purpose of product quality.
For example, still such scheme is described in detail exemplified by the exploitation of the installation kit of MSN.Instant Can also be that each engineering bag sets function completeness, the function completeness for setting engineering bag 3.1.0.3 is survey in bitcom Examination, engineering bag 4.1.0.2 function completeness is test, and engineering bag 2.1.0.2 function completeness is test, is installed in generation Bao Shi, can according to function completeness select need engineering bag, for example, when quality requirement it is not high, can be completed with selection function The engineering bag for test is spent, compiling generation installation kit, obtained installation kit can be test installation kit, then carry out corresponding work( Can test.When quality requirement is higher, generation installation kit can be compiled using selection function completeness as the engineering bag that can be issued.
Fig. 5 is according to a kind of optional more quadrant baseline configuration changes of the embodiment of the present application two and showing for installation package definition It is intended to, as shown in figure 5, the least stable test baseline that definition exploitation and test use is verified, it is necessary to test, can be with small Scope and intra-company promote the RC baselines of test, and gray scale, formally issue the Release baselines (issue baseline) used. According to baseline configuration formula, test bag pre-packaged=RC baselines+gray scale change collection (grey states engineering bag)+RC change collection+surveys Examination change collection+newly enter exploitation change collection, test bag=RC baselines+gray scale change collection (grey states engineering bag)+RC change collection+surveys Examination change collection, RC bags pre-packaged=RC baselines+gray scale change collection+RC change collection+RC application change collection, RC bags=RC baselines+ash Degree change collection+RC change collection, gray scale bag=Release baselines+gray scale change collection, show that the final configuration of compiling installation kit is calculated Method.
By above-described embodiment provide scheme, can on the basis of baseline management, can according to test checking degree, The configuration of multiple quadrants is marked off, meanwhile, according to quadrant definition, the definition of installation kit polytype is also assigned, so as to reach control The purpose of product quality.
Below, a kind of preferred embodiment of the application is described in detail with reference to Fig. 6, Fig. 7 and Fig. 8.
Fig. 6 is the flow chart compiled according to the installation kit of the embodiment of the present application, as shown in fig. 6, the flow can be included such as Lower step S61 to step S67:
Step S61, engineering bag is compiled.
Optionally, the source code of application can be divided into one or more modules, and to for generating the one of installation kit The source code of individual or multiple modules is compiled packing, obtains engineering bag corresponding to each module.
Step S62, record the coordinate and version information of engineering bag.
Optionally, after engineering bag is compiled, the form that can be added timestamp with arranging version number is published to intermediate product Warehouse, and recorded in intermediate product warehouse, and extract the coordinate and version information conduct index of engineering bag.
Step S63, obtain current basic line configuration.
Optionally, principle can not be repeated according to coordinate, obtains coordinate and the version information generation configuration of one group of engineering bag File, obtain current basic line configuration.
Step S64, the coordinate and version information of integration engineering bag.
Optionally, the coordinate of one group of engineering bag and version information are combined and filed, as one installation of composition The engineering bag baseline configuration of bag, and carry out data loading.
Step S65, is compiled to installation kit.
Optionally, can be with original engineering bag baseline, according to coordinate when calculating the engineering bag configuration of generation installation kit Principle is not repeated, the configuration repeated for coordinate, covers existing engineering release, generates one group of new engineering bag configured list, Carry out installation kit compiling.
Step S66, judges whether installation kit compiling passes through.
Optionally, installation kit compiling is carried out, when compiling passes through, into step S67;It is obstructed out-of-date when compiling, return to step Rapid S61, it is possible to which the compiling of engineering bag mistake occurs, it is necessary to be compiled again to engineering bag.
Step S67, generate new baseline.
Optionally, when compiling passes through, new baseline profile is generated, and carry out data loading.
Therefore, client intermediate product, lifting client compiling efficiency are formed by versioned management, reduction is built into This.
Fig. 7 is the flow chart for dividing more quadrant baseline profiles according to the embodiment of the present application, as shown in fig. 7, with reference to Installation kit Compilation Method shown in Fig. 6, the flow may include steps of S71 to step S75:
Step S71, engineering bag is packed, obtain basic baseline configuration.
Optionally, packing is compiled to some version of engineering bag, obtains baseline configuration to be divided.
Step S72, judge basic baseline configuration whether by standard 1.
Optionally, it can be determined that the baseline configuration to be divided whether by criterion 1, if by criterion 1, Then enter step S73;If, into step S71, engineering bag is not packed again by standard 1.
Step S73, obtain baseline configuration 1.
Optionally, if passing through criterion 1, it is determined that the baseline configuration to be divided is baseline configuration 1.
Step S74, judge baseline configuration 1 whether by standard 2.
Optionally, the baseline configuration to be divided can be determined whether by criterion 2, if passing through judgement Standard 2, then into step S75;If, into step S71, engineering bag is not packed again by standard 1.
Step S75, obtain baseline configuration 2.
Optionally, if by criterion 2, it is baseline configuration 2 to determine the baseline to be divided.
By such scheme, many levels can be divided into according to actual conditions, by the configuration of final criterion, The version that can be issued then is can be considered, and by the configuration of preceding several criterions, then it can be considered close beta or gray scale test Version.By above-mentioned preferred embodiment, with reference to the method for testing of installation kit, to some version of some engineering bag, at two When upgrading between quadrant, row constraint can be entered, lift total quality.
Fig. 8 is the flow chart for the baseline generation installation kit inherited according to the use of the embodiment of the present application, as shown in figure 8, During the installation kit concurrent development of multiple version numbers, the flow may include steps of S81 to step S84:
Step S81, baseline are inherited.
Step S82, part engineering, which is guaranteed the repair free of charge, to be changed.
Step S83, installation kit compiling.
Step S84, generate new baseline.
Optionally, in the installation kit concurrent development of multiple version numbers, the succession of baseline configuration, part engineering can be passed through Guarantee the repair free of charge and change, carry out installation kit compiling, generate new baseline.The scheme provided by above-described embodiment, in multiple version numbers During client concurrent development, succession, renewal that can be by baseline configuration, obtain without version used in the engineering bag of modification This, as the initial baseline configuration currently issued, with reference to the engineering bag of modification, combines final installation kit.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the application is not limited by described sequence of movement because According to the application, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, involved action and module not necessarily the application It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but a lot In the case of the former be more preferably embodiment.Based on such understanding, the technical scheme of the application is substantially in other words to existing The part that technology contributes can be embodied in the form of software product, and the computer software product is stored in a storage In medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, calculate Machine, server, or network equipment etc.) perform each embodiment of the application method.
Embodiment 3
According to embodiments of the present invention, a kind of application for being used to implement the generation method of the installation kit of above-mentioned application is additionally provided Installation kit generating means, as shown in figure 9, the device includes:Display module 91, determining module 93 and receiving module 95.
Wherein, display module 91 is used to show multiple engineering bags corresponding to an application, wherein, appointing in multiple engineering bags Meaning one is to be compiled what is obtained to a program module of application;Determining module 93 is used to determine multiple works from display The one or more engineering bags being selected in journey bag;Receiving module 95, which is used to receive, orders, wherein, order for indicating basis Installation kit corresponding to the one or more engineering bags generation application being selected.
Specifically, in display module 91, said procedure module can be that specific function is realized in applying or is realized special Determine the source code of function, for an application, the source code of application can be divided according to function, obtain multiple program moulds Block, for example, in a MSN, it can be divided by function as following multiple modules:Data encryption feature, communication protocols Discuss processing function, position display function, text interactive function, image processing function, address list management function etc..Can also be by The source code applied according to different function pairs is divided, and obtains multiple program modules, for example, rights management function, communication letter Number, data storage function etc..User can be selected according to the actual needs, and how partition program module has no effect on The acquirement of present techniques effect.
Optionally, when one or more modules to application installation package are compiled packing, there can be a variety of modes, It is, for example, possible to use maven, gradle carry out android compiling, in another example, carry out ios compilings using cocoapods.Compile Translate mode also has a variety of compiling modes in different operating system, and no matter which kind of compiling mode can solve the application institute Solve the problems, such as, and obtain corresponding technique effect therefore, how various compiling modes are specifically performed at this just no longer superfluous State.
Optionally, engineering bag can compile to obtain by the program module of application, and installation kit can be according to the engineering of selection Bag compiling generation obtains, the compiling of the compiling and installation kit to engineering bag can be two different compiler directives or Identical compiler directive, for example, in Gcc, the order being compiled is gcc- parameters, compiling and installation kit to engineering bag Compiling corresponding " parameter " be different.In other translation and compiling environments, different editors can be used according to the actual needs Order.
Herein it should be noted that application program is divided by function as multiple program modules, can also shield The function of untapped completion, for example, if only completing position display function, text interactive function, communication protocol processes work( Can, these three functions can be now compiled to generation installation kit, then can carry out the test of these functions.This compiling Mode, which can also be reduced, not to be completed or prematurity code is compiled caused mistake, can improve compiling efficiency yet.
Herein it should be noted that being related to compiling and generating in above-mentioned steps, this can be two different compiling lives Order or identical compiler directive, for example, in Gcc, the order that is compiled is gcc- parameters, the first compiling and Second compiling corresponding " parameter " is different.In other translation and compiling environments, different volumes can be used according to the actual needs Collect order.
Herein it should also be noted that, above-mentioned display module 91, determining module 93 and receiving module 95 correspond to embodiment Step S202 to step S206 in two, three modules are identical with example and application scenarios that corresponding step is realized, but not It is limited to the disclosure of that of above-described embodiment one.It should be noted that above-mentioned module may operate in as a part for device In the terminal 10 that embodiment one provides.
From the foregoing, it will be observed that in scheme disclosed in the above embodiments of the present application three, show that an application is corresponding by display module Multiple engineering bags, one or more engineering bags for being selected from multiple engineering bags of display are determined by determining module, Received and ordered by receiving module, so as to realize the generation of the installation kit of application.
It is easily noted that, due to being compiled respectively to the source code of multiple program modules of an application according to compiler directive Translate, obtain engineering bag corresponding to each module, employ modular compiling mode, rather than employ the volume of complete compressed package Mode is translated, the module being compiled so is selected, without the source code of whole is compiled.Therefore, this is passed through The scheme that embodiment provides is especially suitable for the installation kit building process management of multimode and a large amount of codes, can reach lifting client End compiling efficiency, reduces construction cost, controls the effect of product quality.
Thus, it is low to solve installation kit compiling efficiency in correlation technique for the scheme of above-described embodiment three that the application provides Technical problem.
Embodiment 4
According to embodiments of the present invention, a kind of application for being used to implement the generation method of the installation kit of above-mentioned application is additionally provided Installation kit generating means, as shown in Figure 10, the device includes:Collector 101, receiving module 103 and generation module 105。
Wherein, collector 101 is used to distinguish the source code of multiple program modules of an application according to compiler directive It is compiled, obtains engineering bag corresponding to each module;Receiving module 103 is used to receive from engineering corresponding to each program module The one or more engineering bags selected in bag;Generation module 105 is used for according to the one or more engineering bags generation selected Using corresponding installation kit.
Specifically, in collector 101, said procedure module can be that specific function is realized in applying or is realized special Determine the source code of function, for an application, the source code of application can be divided according to function, obtain multiple program moulds Block, for example, in a MSN, following multiple modules can be divided into:Data encryption feature, communication protocol processes work( Energy, position display function, text interactive function, image processing function, address list management function etc..Can also be according to different The source code of function pair application is divided, and multiple program modules is obtained, for example, rights management function, communication function, data are deposited Store up function etc..User can be selected according to the actual needs, and how partition program module has no effect on the application skill The acquirement of art effect.
Optionally, when one or more modules to application installation package are compiled packing, there can be a variety of modes, It is, for example, possible to use maven, gradle carry out android compiling, in another example, carry out ios compilings using cocoapods.Compile Translate mode also has a variety of compiling modes in different operating system, and no matter which kind of compiling mode can solve the application institute Solve the problems, such as, and obtain corresponding technique effect therefore, how various compiling modes are specifically performed at this just no longer superfluous State.
Optionally, engineering bag can compile to obtain by the program module of application, and installation kit can be according to the engineering of selection Bag compiling generation obtains, the compiling of the compiling and installation kit to engineering bag can be two different compiler directives or Identical compiler directive, for example, in Gcc, the order being compiled is gcc- parameters, compiling and installation kit to engineering bag Compiling corresponding " parameter " be different.In other translation and compiling environments, different editors can be used according to the actual needs Order.
Herein it should be noted that application program is divided by function as multiple program modules, can also shield The function of untapped completion, for example, if only completing position display function, text interactive function, communication protocol processes work( Can, these three functions can be now compiled to generation installation kit, then can carry out the test of these functions.This compiling Mode, which can also be reduced, not to be completed or prematurity code is compiled caused mistake, can improve compiling efficiency yet.
Herein it should also be noted that, above-mentioned collector 101, receiving module 103 and generation module 105 correspond to implementation Step S302 to step S306 in example two, three modules are identical with example and application scenarios that corresponding step is realized, but It is not limited to the disclosure of that of above-described embodiment two.It should be noted that above-mentioned module can be run as a part of of device In the terminal 10 that embodiment one provides.
From the foregoing, it will be observed that in scheme disclosed in the above embodiments of the present application four, by collector according to compiler directive to one The source code of multiple program modules of individual application is compiled respectively, engineering bag corresponding to each module is obtained, by receiving mould Block receives the one or more engineering bags selected from engineering bag corresponding to each program module, by generation module according to choosing Installation kit corresponding to the one or more engineering bags generation application selected out, so as to realize the generation of the installation kit of application.
It is easily noted that, due to being compiled respectively to the source code of multiple program modules of an application according to compiler directive Translate, obtain engineering bag corresponding to each module, employ modular compiling mode, rather than employ the volume of complete compressed package Mode is translated, the module being compiled so is selected, without the source code of whole is compiled.Therefore, this is passed through The scheme that embodiment provides is especially suitable for the installation kit building process management of multimode and a large amount of codes, can reach lifting client End compiling efficiency, reduces construction cost, controls the effect of product quality.
Thus, it is low to solve installation kit compiling efficiency in correlation technique for the scheme of above-described embodiment four that the application provides Technical problem.
Embodiment 5
Embodiments herein can provide a kind of terminal, and the terminal can be in terminal group Any one computer terminal.Alternatively, in the present embodiment, above computer terminal can also replace with mobile whole The terminal devices such as end.
Alternatively, in the present embodiment, above computer terminal can be located in multiple network equipments of computer network At least one network equipment.
In the present embodiment, above computer terminal can perform following steps in the generation method of the installation kit of application Program code:Multiple engineering bags corresponding to an application are shown, wherein, any one in multiple engineering bags is to application One program module is compiled what is obtained;It is determined that the one or more engineerings being selected from multiple engineering bags of display Bag;Order is received, wherein, order for indicating to be installed according to corresponding to the one or more engineering bags generation application being selected Bag.
Alternatively, Figure 11 is a kind of structured flowchart of terminal according to embodiments of the present invention.As shown in figure 11, should Terminal A can include:One or more (one is only shown in figure) processors 111, memory 113 and transmission dress Put 115.
Wherein, memory can be used for storage software program and module, such as the installation kit of the application in the embodiment of the present invention Generation method and device corresponding to programmed instruction/module, processor by operation be stored in software program in memory with And module, so as to perform various function application and data processing, that is, realize the generation method of the installation kit of above-mentioned application.Deposit Reservoir may include high speed random access memory, can also include nonvolatile memory, as one or more magnetic storage device, Flash memory or other non-volatile solid state memories.In some instances, memory can further comprise remote relative to processor The memory that journey is set, these remote memories can pass through network connection to terminal A.The example of above-mentioned network includes but unlimited In internet, intranet, LAN, mobile radio communication and combinations thereof.
Processor can call the information and application program of memory storage by transmitting device, to perform following step: Multiple engineering bags corresponding to an application are shown, wherein, any one in multiple engineering bags is a program to application Module is compiled what is obtained;It is determined that the one or more engineering bags being selected from multiple engineering bags of display;Receive life Order, wherein, order for indicating the installation kit according to corresponding to the one or more engineering bags generation application being selected.
Optionally, above-mentioned processor can also carry out the program code of following steps:Show multiple corresponding to an application The identification information of program module, wherein, identification information can be user-operably;Mark in response to user to preset program module The operation of information, one or more engineering bags corresponding to preset program module are shown, wherein, one or more engineering bags use work The attribute information mark of journey bag, attribute information include at least one of:The version number of the engineering bag, timestamp.
Optionally, above-mentioned processor can also carry out the program code of following steps:It is determined that multiple engineerings from display After the one or more engineering bags being selected in bag, display reminding information, wherein, prompt message is used to prompt the user whether Preserve the information for the multiple engineering bags this time selected;Operated in response to the preservation that user performs, to the multiple engineerings selected The information of bag assigns identification information and preserved.
Optionally, above-mentioned processor can also carry out the program code of following steps:One or more marks that display preserves Know information, wherein, at least one of one or more identification informations can be user-operably;In response to user to one or more The operation that predetermined identification information is carried out in individual identification information, the information of multiple engineering bags corresponding to display identification information.
Optionally, above-mentioned processor can also carry out the program code of following steps:Display is corresponding to identification information more One of any information operated in individual engineering bag;In response to making a reservation in user's multiple engineering bags corresponding to identification information The information that engineering bag is operated, predetermined engineering bag is operated, wherein, operation includes at least one of:Delete, replace Change.
Optionally, above-mentioned processor can also carry out the program code of following steps:Display addition instruction;In response to user To adding the operation indicated, engineering bag is added in multiple engineering bags corresponding to identification information.
Optionally, above-mentioned processor can also carry out the program code of following steps:Operated to predetermined engineering bag Afterwards, assign new identification information to the information of multiple engineering bags after operation and preserve.
Using the embodiment of the present application, multiple engineering bags corresponding to an application are shown, it is determined that multiple engineering bags from display In one or more engineering bags for being selected, order is received, so as to realize the generation of the installation kit of application.
It is easily noted that, due to being compiled respectively to the source code of multiple program modules of an application according to compiler directive Translate, obtain engineering bag corresponding to each module, employ modular compiling mode, rather than employ the volume of complete compressed package Mode is translated, the module being compiled so is selected, without the source code of whole is compiled.Therefore, this is passed through The scheme that embodiment provides is especially suitable for the installation kit building process management of multimode and a large amount of codes, can reach lifting client End compiling efficiency, reduces construction cost, controls the effect of product quality.
Thus, the scheme of above-described embodiment that the application provides solves the skill that installation kit compiling efficiency is low in correlation technique Art problem.
It will appreciated by the skilled person that the structure shown in Figure 11 is only to illustrate, terminal can also be Smart mobile phone (such as Android phone, iOS mobile phones), tablet personal computer, applause computer and mobile internet device (Mobile Internet Devices, MID), the terminal device such as PAD.Figure 11 it does not cause to limit to the structure of above-mentioned electronic installation.Example Such as, terminal A may also include the component more or less than shown in Figure 11 (such as network interface, display device), Or there is the configuration different from shown in Figure 11.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To be completed by program come command terminal device-dependent hardware, the program can be stored in a computer-readable recording medium In, storage medium can include:Flash disk, read-only storage (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
Embodiment 6
Embodiments herein additionally provides a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can The program code performed by method provided for preservation above-described embodiment one.
Alternatively, in the present embodiment, above-mentioned storage medium can be located in computer network Computer terminal group In any one terminal, or in any one mobile terminal in mobile terminal group.
Alternatively, in the present embodiment, storage medium is arranged to the program code that storage is used to perform following steps:It is aobvious Show multiple engineering bags corresponding to an application, wherein, any one in multiple engineering bags is a program mould to application Block is compiled what is obtained;It is determined that the one or more engineering bags being selected from multiple engineering bags of display;Receive order, Wherein, order for indicating the installation kit according to corresponding to the one or more engineering bags generation application being selected.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:One application of display The identification information of corresponding multiple program modules, wherein, identification information can be user-operably;In response to user to preset program The operation of the identification information of module, one or more engineering bags corresponding to preset program module are shown, wherein, one or more works Journey bag is identified using the attribute information of engineering bag, and attribute information includes at least one of:The version number of the engineering bag, time Stamp.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:It is determined that from display Multiple engineering bags in after one or more engineering bags for being selected, display reminding information, wherein, prompt message is used to carry Show whether user preserves the information for the multiple engineering bags this time selected;Operated in response to the preservation that user performs, to selecting The information of multiple engineering bags assign and identification information and being preserved.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:The one of display preservation Individual or multiple identification informations, wherein, at least one of one or more identification informations can be user-operably;In response to user To the operation that predetermined identification information is carried out in one or more identification informations, the letter of multiple engineering bags corresponding to display identification information Breath.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Display is believed mark One of any information operated in multiple engineering bags corresponding to breath;In response to user's multiple works corresponding to identification information The information that predetermined engineering bag is operated in journey bag, predetermined engineering bag is operated, wherein, operation include it is following at least it One:Delete, replace.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Display addition instruction; In response to operation of the user to addition instruction, engineering bag is added in multiple engineering bags corresponding to identification information.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:To predetermined engineering After bag is operated, assign new identification information to the information of multiple engineering bags after operation and preserve.
Above-mentioned the embodiment of the present application sequence number is for illustration only, does not represent the quality of embodiment.
In above-described embodiment of the application, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment The part of detailed description, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, others can be passed through Mode is realized.Wherein, device embodiment described above is only schematical, such as the division of the unit, is only A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the application is substantially The part to be contributed in other words to prior art 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 causing a computer Equipment (can be personal computer, server or network equipment etc.) perform each embodiment methods described of the application whole or Part steps.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes Medium.
Described above is only the preferred embodiment of the application, it is noted that for the ordinary skill people of the art For member, on the premise of the application principle is not departed from, some improvements and modifications can also be made, these improvements and modifications also should It is considered as the protection domain of the application.

Claims (16)

  1. A kind of 1. method of the generation of installation kit, it is characterised in that including:
    Multiple engineering bags corresponding to an application are shown, wherein, any one in the multiple engineering bag is answered described One program module is compiled what is obtained;
    It is determined that the one or more engineering bags being selected from the multiple engineering bag of display;
    Order is received, wherein, it is described to order described in one or more engineering bags generation for indicating to be selected according to Using corresponding installation kit.
  2. 2. according to the method for claim 1, it is characterised in that show multiple engineering bags corresponding to one application Include:
    The identification information of multiple program modules corresponding to one application is shown, wherein, the identification information can be by user Operation;
    In response to operation of the user to the identification information of preset program module, show one corresponding to the preset program module Individual or multiple engineering bags, wherein, one or more of engineering bags are identified using the attribute information of engineering bag, the attribute information Including at least one of:The version number of the engineering bag, timestamp.
  3. 3. according to the method for claim 1, it is characterised in that it is determined that being chosen in the multiple engineering bag from display After the one or more engineering bags gone out, methods described also includes:
    Display reminding information, wherein, the prompt message is used to prompt whether the user preserves the multiple works this time selected The information of journey bag;
    Operated in response to the preservation that the user performs, the information of multiple engineering bags to selecting assigns identification information and carried out Preserve.
  4. 4. according to the method for claim 3, it is characterised in that methods described also includes:
    The one or more identification informations preserved are shown, wherein, at least one of one or more of identification informations can Operated by the user;
    In response to the user to the operation that predetermined identification information is carried out in one or more of identification informations, the mark is shown Know the information of multiple engineering bags corresponding to information.
  5. 5. according to the method for claim 4, it is characterised in that show the letter of multiple engineering bags corresponding to the identification information Breath includes:
    One of any information operated in display multiple engineering bags corresponding to the identification information;
    The information operated in response to predetermined engineering bag in the user multiple engineering bags corresponding to the identification information is right The predetermined engineering bag is operated, wherein, the operation includes at least one of:Delete, replace.
  6. 6. according to the method for claim 4, it is characterised in that show the letter of multiple engineering bags corresponding to the identification information Breath includes:
    Display addition instruction;
    In response to operation of the user to the addition instruction, work is added in multiple engineering bags corresponding to the identification information Journey bag.
  7. 7. according to the method for claim 5, it is characterised in that described after being operated to the predetermined engineering bag Method also includes:
    New identification information is assigned to the information of multiple engineering bags after operation and is preserved.
  8. A kind of 8. generation method of the installation kit of application, it is characterised in that including:
    The source code of multiple program modules of one application is compiled respectively according to compiler directive, obtains each program module Corresponding engineering bag;
    Receive the one or more engineering bags selected from engineering bag corresponding to each program module;
    The installation kit according to corresponding to the one or more engineering bags selected generate the application.
  9. 9. according to the method for claim 8, it is characterised in that obtain engineering bag corresponding to each program module it Afterwards, methods described also includes:
    For engineering bag corresponding to each program module, identification information is set, wherein, the identification information is used to identify engineering bag institute The program module of category, the source code of the different editions of each program module correspond to an engineering bag respectively;
    The attribute information of the engineering bag is set for each engineering bag, wherein, the attribute information includes at least one of:The work The version number of journey bag, timestamp.
  10. 10. according to the method for claim 9, it is characterised in that the one or more engineering bags selected described in reception Include:
    Receive the program module selected;
    Selected respectively from one or more engineering bags corresponding to the program module selected according to the attribute information of engineering bag Select out the engineering bag of needs.
  11. 11. according to the method for claim 10, it is characterised in that described after the engineering bag of the needs is selected Method also includes:
    The combination of the attribute information of the identification information of the engineering bag of all needs and the engineering bag of all needs is existed Together;
    Preserved the information obtained after combination as the configuration information of the installation kit.
  12. 12. according to the method for claim 11, it is characterised in that after installation kit corresponding to the application is generated, institute Stating method also includes:
    In the case where generating the new installation kit of the application again, acquire corresponding to the new installation kit one or Multiple engineering bags, wherein, the new installation kit generates according to one or more engineering bags;
    Obtain the configuration information preserved before;
    Judge the identification information of one or more engineering bags corresponding to the new installation kit and/or attribute information compared to The configuration information preserved changes before in the case that, new configuration information and preservation are generated.
  13. 13. according to the method for claim 12, it is characterised in that after the new configuration information is generated, the side Method also includes:
    By the new configuration information compared with the configuration information preserved before, difference is obtained, and preserves the difference Information.
  14. 14. the method according to any one of claim 9 to 13, it is characterised in that the attribute information also includes:Function Completeness, wherein, the function completeness is used to represent the degree that function corresponding to the engineering bag can produce a desired effect;
    Methods described also includes:Function completeness according to one or more of engineering bags are selected determines to compile what is obtained The maturity of installation kit, wherein, the maturity is used to represent the degree that the function of the installation kit produces a desired effect.
  15. A kind of 15. device of the generation of installation kit, it is characterised in that including:
    Display module, for showing multiple engineering bags corresponding to an application, wherein, any one in the multiple engineering bag It is that what is obtained is compiled to a program module of the application;
    Determining module, for the one or more engineering bags for determining to be selected from the multiple engineering bag of display;
    Receiving module, ordered for receiving, wherein, the one or more works ordered for indicating to be selected according to Journey bag generates installation kit corresponding to the application.
  16. A kind of 16. generating means of the installation kit of application, it is characterised in that including:
    Collector, for being compiled respectively to the source code of multiple program modules of an application according to compiler directive, obtain To engineering bag corresponding to each program module;
    Receiving module, for receiving the one or more engineering bags selected from engineering bag corresponding to each program module;
    Generation module, one or more engineering bags for being selected according to generate installation kit corresponding to the application.
CN201610547996.7A 2016-07-12 2016-07-12 Method and device for generating installation package of application Active CN107632827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610547996.7A CN107632827B (en) 2016-07-12 2016-07-12 Method and device for generating installation package of application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610547996.7A CN107632827B (en) 2016-07-12 2016-07-12 Method and device for generating installation package of application

Publications (2)

Publication Number Publication Date
CN107632827A true CN107632827A (en) 2018-01-26
CN107632827B CN107632827B (en) 2021-07-27

Family

ID=61112421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610547996.7A Active CN107632827B (en) 2016-07-12 2016-07-12 Method and device for generating installation package of application

Country Status (1)

Country Link
CN (1) CN107632827B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897549A (en) * 2018-05-15 2018-11-27 智车优行科技(北京)有限公司 Generation method, device, vehicle, electronic equipment and the medium of file
CN109471630A (en) * 2018-11-16 2019-03-15 广州虎牙科技有限公司 A kind of application processing method and equipment
CN109491705A (en) * 2018-11-16 2019-03-19 中国银行股份有限公司 A kind of delivery method and device
CN110096280A (en) * 2019-03-18 2019-08-06 中国平安人寿保险股份有限公司 Creation method, device, computer installation and the storage medium of code engineering
CN110795078A (en) * 2019-09-28 2020-02-14 同程网络科技股份有限公司 APP engineering operation system architecture method based on IOS system
CN111045694A (en) * 2019-12-05 2020-04-21 浩云科技股份有限公司 Streaming media service installation method and device
CN111930387A (en) * 2020-09-25 2020-11-13 蘑菇车联信息科技有限公司 Integration method and device of integration package, electronic equipment and storage medium
WO2023071731A1 (en) * 2021-10-27 2023-05-04 北京字节跳动网络技术有限公司 Data security protection system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308458A (en) * 2008-06-30 2008-11-19 华为技术有限公司 Method and device for software customized development
US8312447B2 (en) * 2008-09-25 2012-11-13 Microsoft Corporation Managing updates using compiler and linker information
CN104298533A (en) * 2014-11-06 2015-01-21 北京奇虎科技有限公司 Method, device and equipment for customizing software installation package
CN104572237A (en) * 2015-01-19 2015-04-29 上海动联信息技术股份有限公司 Automatic quick generation system and method for UKey installation package

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308458A (en) * 2008-06-30 2008-11-19 华为技术有限公司 Method and device for software customized development
US8312447B2 (en) * 2008-09-25 2012-11-13 Microsoft Corporation Managing updates using compiler and linker information
CN104298533A (en) * 2014-11-06 2015-01-21 北京奇虎科技有限公司 Method, device and equipment for customizing software installation package
CN104572237A (en) * 2015-01-19 2015-04-29 上海动联信息技术股份有限公司 Automatic quick generation system and method for UKey installation package

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897549A (en) * 2018-05-15 2018-11-27 智车优行科技(北京)有限公司 Generation method, device, vehicle, electronic equipment and the medium of file
CN109471630A (en) * 2018-11-16 2019-03-15 广州虎牙科技有限公司 A kind of application processing method and equipment
CN109491705A (en) * 2018-11-16 2019-03-19 中国银行股份有限公司 A kind of delivery method and device
CN109471630B (en) * 2018-11-16 2021-11-16 广州虎牙科技有限公司 Application processing method and device
CN110096280A (en) * 2019-03-18 2019-08-06 中国平安人寿保险股份有限公司 Creation method, device, computer installation and the storage medium of code engineering
CN110795078A (en) * 2019-09-28 2020-02-14 同程网络科技股份有限公司 APP engineering operation system architecture method based on IOS system
CN110795078B (en) * 2019-09-28 2023-11-21 同程网络科技股份有限公司 Architecture method of APP engineering operation system based on IOS system
CN111045694A (en) * 2019-12-05 2020-04-21 浩云科技股份有限公司 Streaming media service installation method and device
CN111930387A (en) * 2020-09-25 2020-11-13 蘑菇车联信息科技有限公司 Integration method and device of integration package, electronic equipment and storage medium
CN111930387B (en) * 2020-09-25 2021-01-12 蘑菇车联信息科技有限公司 Integration method and device of integration package, electronic equipment and storage medium
WO2023071731A1 (en) * 2021-10-27 2023-05-04 北京字节跳动网络技术有限公司 Data security protection system

Also Published As

Publication number Publication date
CN107632827B (en) 2021-07-27

Similar Documents

Publication Publication Date Title
CN107632827A (en) The generation method and device of the installation kit of application
CN109857667A (en) Automatic interface testing method, test device, test equipment and storage medium
US8704821B2 (en) System and method for managing virtual world environments based upon existing physical environments
CN109146081B (en) Method and device for creating model project in machine learning platform
US8108193B2 (en) Collaboration framework for modeling
CN109302522A (en) Test method, device and computer system and medium
CN107894952A (en) Generation method, device, equipment and the readable storage medium storing program for executing of interface testing use-case
CN106095942B (en) Strong variable extracting method and device
US20070276755A1 (en) Systems and methods for assignment generation in a value flow environment
CN109669688A (en) Based on visual software development methodology, device, terminal device and storage medium
CN108351796A (en) Unified interface specification for interacting and executing model with model in various runtime environments
CN105677353A (en) Feature extraction method and machine learning method and device thereof
CN104077137A (en) Integrated design application
CN110347383A (en) The front end development approach and device of cross-platform desktop application
CN107305527A (en) The treating method and apparatus of code file
CN110113196A (en) A kind of protocol configuration method, device, equipment and medium
CN111435304A (en) Space unit generation method and device, storage medium and processor
CN107733710A (en) Construction method, device, computer equipment and the storage medium of link call relation
CN109828840A (en) Resource method of combination, device, storage medium and electronic equipment
CN110162464A (en) Mcok test method and system, electronic equipment and readable storage medium storing program for executing
CN106294825A (en) A kind of excel data managing method and system, client, service end
CN109165102B (en) Constraint solver distributed scheduling method based on intelligent contracts
CN109656997A (en) Industry internet big data service platform system and method for servicing
CN113449444B (en) Simulation method, computer device and storage medium for domain engineering
CN116436791A (en) Industrial Internet scene construction method, system, equipment and storage medium

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