CN108491213A - Software continuous integration method, software continuous integration device and electronic equipment - Google Patents

Software continuous integration method, software continuous integration device and electronic equipment Download PDF

Info

Publication number
CN108491213A
CN108491213A CN201810254386.7A CN201810254386A CN108491213A CN 108491213 A CN108491213 A CN 108491213A CN 201810254386 A CN201810254386 A CN 201810254386A CN 108491213 A CN108491213 A CN 108491213A
Authority
CN
China
Prior art keywords
software
code
software code
submission
automation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810254386.7A
Other languages
Chinese (zh)
Inventor
黄邵雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201810254386.7A priority Critical patent/CN108491213A/en
Publication of CN108491213A publication Critical patent/CN108491213A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention is suitable for the technical field of software development, and provides a software continuous integration method, a software continuous integration device, electronic equipment and a computer readable storage medium, wherein the software continuous integration method comprises the following steps: when the software code is detected to be submitted, executing the automatic construction of the software based on the submitted software code and the original software code; detecting volume changes of corresponding software installation packages respectively before and after the automatic construction is executed; and if the volume change exceeds a preset threshold value, outputting alarm information. The invention can effectively monitor and alarm the volume change of the software installation package in the development process, is beneficial to improving the simplicity and the cleanliness of the software and reducing the maintenance cost of the software.

Description

Software continuous integrated approach, software continuous integrating device and electronic equipment
Technical field
The invention belongs to technical field of software development more particularly to a kind of software continuous integrated approach, software continuous are integrated Device, electronic equipment and computer readable storage medium.
Background technology
Currently, smart machine generally has the software of various functions to enrich the function of itself, for example, Android by installation Miscellaneous Android application (software in smart mobile phone is also referred to as applied) can be installed on the mobile phone of system.
In software development, many softwares (application) are that the team unity of more people is needed to develop, i.e., team develops member It needs often to integrate their work, this also means that in software development process may occur repeatedly integrated.
However, as the continuous of software development integrates, corresponding application installation package can constantly increase, especially in more people In development teams, often nobody is concerned about the size situation of installation kit.After the development cycle, if it find that software installation packet It is excessive, due to multiple integrated of more people involved in development process, often it is difficult to optimize again, user is caused to download It is waiting for a long time when such software, flow, poor user experience are wasted, and affect the succinct degree of entire software, increased Software maintenance cost.
Invention content
In view of this, the present invention provides a kind of software continuous integrated approach, software continuous integrating device, electronic equipment and Computer readable storage medium can carry out effective monitoring and alarm to the volume change of software installation packet in the process of development, The succinct degree for being conducive to improve software, reduces software maintenance cost.
The first aspect of the present invention provides a kind of software continuous integrated approach, and the software continuous integrated approach includes:
When having detected software code submission, the software code based on submission and original software code execute soft The automation of part is built, wherein the software code of the submission is described automatic to be integrated into original software code Change structure to the submission software code and original software code carry out automation compiling and/or test;
Detection executes before automation is built and executes the volume change of corresponding software installation packet after automation is built;
If the volume change is more than preset threshold value, outputting alarm information, wherein the warning information is prompting The volume verification of corresponding software installation packet does not pass through after this software code submitted is integrated.
The second aspect of the present invention provides a kind of software continuous integrating device, and the software continuous integrating device includes:
Automatic construction unit, for when having detected software code submission, software code based on submission and original Software code, execute software automation structure, wherein the software code of the submission is described original soft to be integrated into In part code, the automation structure to the submission software code and the original software code carry out it is automatic Change compiling and/or test;
Volume sensing unit executes before automation is built and executes corresponding software after automation is built for detecting The volume change of installation kit;
Alarm output unit, for detecting that the volume change is more than preset threshold value in the volume sensing unit When, outputting alarm information, wherein the warning information is pacified to the integrated rear corresponding software of software code for prompting this to submit The volume verification of dress packet does not pass through.
The third aspect of the present invention provides a kind of electronic equipment, including memory, processor and is stored in described deposit In reservoir and the computer program that can run on the processor, the processor are realized such as when executing the computer program The step of any one software continuous integrated approach.
The fourth aspect of the present invention provides a kind of computer readable storage medium, and the computer readable storage medium is deposited Computer program is contained, realizing the software continuous integrated approach as described in any one when the computer program is executed by processor Step.
Existing advantageous effect is the present invention compared with prior art:
The present invention is by when having detected software code submission, the software code based on submission and original software generation Code executes the automation structure of software;Detection executes before automation is built and executes corresponding software after automation is built The volume change of installation kit;If the volume change is more than preset threshold value, outputting alarm information.That is, the present invention passes through The code submitted to developer carries out automation structure, the body after software code to verify this submission of Integrated Simulation Whether product variation transfinites, and is reminded in time developer when volume change transfinites, so as in the process of development Effective monitoring and alarm are carried out to the volume change of software installation packet, are conducive to the succinct degree for improving software, reduces software dimension Protect cost.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the flow diagram of software continuous integrated approach provided in an embodiment of the present invention;
Fig. 2 is the flow diagram for the software continuous integrated approach that another embodiment of the present invention provides;
Fig. 3 is the structural schematic diagram of software continuous integrating device provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
In being described below, for illustration and not for limitation, it is proposed that such as tool of particular system structure, technology etc Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
To make the object, technical solutions and advantages of the present invention clearer, pass through specific embodiment below in conjunction with attached drawing To illustrate.
Referring to Fig. 1, it illustrates the flow diagram of software continuous integrated approach provided in an embodiment of the present invention, the softwares Details are as follows for continuous integrating method:
Step 101, when having detected software code submission, the software code based on submission and original software generation Code executes the automation structure of software;
In above-mentioned steps 101, the software code of the submission to be integrated into original software code, it is described from Dynamicization structure to the submission software code and original software code carry out automation compiling and/or survey Examination;
During carrying out continuous integrating exploitation to software, each developer in development teams may be with When submit corresponding with the software function module that oneself is responsible for software code, in practical applications, can be developed for each The corresponding storage catalogue of personnel setting, is submitted into preset storage catalogue from developer and waits for integrated software code.
In embodiments of the present invention, when having detected software code submission, automatically to the software code of submission and original Some software codes execute the automation structure of software, and the software can be at least predefined by the automation structure of software The corresponding software installation packet after the software code that this is submitted is added.
In practical applications, it can detect whether software code submission using Jenkins tools, and detect When having software code submission, the automation of automatic trigger software is built.Shell scripts are executed specifically, being built by Jenkins It is made whether detection that software code is submitted, and the software code of submission and original software code is executed automatically The automation of software is built.
It should be noted that Jenkins is a visualization web tool for being widely used in lasting structure, can freely dispose In each platform, such as Windows system platforms, linux system platform or Mac system platforms.
Step 102, detection execute before automation structure and execute corresponding software installation packet after automation structure Volume change;
In embodiments of the present invention, it refers to the software that this submission is not added to execute the software installation packet before automation structure Corresponding software installation packet when code;It refers to that this software code submitted is added to execute the software installation packet after automation structure Corresponding software installation packet afterwards;That is, software installation after the software code for building to determine this submission of addition by automation The corresponding increased volume of packet institute.
Illustratively, when carrying out continuous integrating to certain Android application (software) using Jenkins, by Jenkins Upper addition plug-in unit Android Apk Size Watcher Plugin, it may be convenient to get the soft of Android application at any time The size of part installation kit, so as to executing before automation is built and executing corresponding software installation after automation is built The volume of packet is compared, and determines the volume change of software installation packet.
If step 103, the volume change are more than preset threshold value, outputting alarm information, wherein the warning information To prompt the volume verification of this integrated rear corresponding software installation packet of software code submitted not pass through.
It is described soft due to adding the software code of this submission when executing automation structure in the embodiment of the present invention The volume of the corresponding software installation packet of part will increase, the volume change of monitoring of software installation kit, and in the volume of software installation packet When variation is more than preset threshold value, alarm prompt, the software code submitted to this so as to developer are carried out to developer Change or optimize accordingly.
Illustratively, continuous integrating is carried out to certain Android application (software) using Jenkins, is added and inserts on Jenkins One Watch over the changing size of part Android Apk Size Watcher Plugin and then increase The entry of of your.apk file configures, and the configuration is monitoring whether the volume change of the software installation packet of Android application surpasses Cross preset threshold value, wherein the threshold value is configured in advance in entry configuration.So as to super in the volume change When crossing preset threshold value, the output of warning information is triggered.
Optionally, if the volume change is more than preset threshold value, the software continuous integrated approach further includes:Refusal Receive the software code of this submission.
In the embodiment of the present invention, corresponding software installation before execution automation structure and after execution automation structure When the volume change of packet is more than preset threshold value, refusal receives the software code of this submission, that is, not to the soft of this submission Part code is integrated.
Optionally, after the refusal receives the software code that this is submitted, further include:Optimizing Suggestions are exported, to open Hair personnel optimize this software code submitted based on the Optimizing Suggestions, wherein the Optimizing Suggestions are based on pre- If rule to this submission software code analyzed to obtain.
In the embodiment of the present invention, software code change and optimize accordingly for the ease of developer, is being executed When the volume change of corresponding software installation packet is more than preset threshold value before automation structure and after execution automation structure, This software code submitted is analyzed based on default rule, for example, analyzing the associated picture of the software code Whether file is excessive, whether there is duplicate file or inactive file in the associated file of the software code alternatively, analyzing;Base Corresponding Optimizing Suggestions are obtained in analysis result, the Optimizing Suggestions are exported to corresponding developer, so as to described corresponding Developer more effectively and purposive modify or optimize according to the Optimizing Suggestions.
From the foregoing, it will be observed that the present invention has been by when having detected software code submission, the software code based on submission and original Some software codes execute the automation structure of software;Detection is executed before automation is built and is executed after automation is built respectively The volume change of corresponding software installation packet;If the volume change is more than preset threshold value, outputting alarm information.That is, The present invention carries out automation structure by the code submitted to developer, to verify the software generation of this submission of Integrated Simulation Whether the volume change after code transfinites, and is reminded in time developer when volume change transfinites, so as to Effective monitoring and alarm are carried out to the volume change of software installation packet in development process, are conducive to the succinct degree for improving software, drop Low software maintenance cost.
Fig. 2 shows the flow diagrams that the software continuous that another embodiment of the present invention provides integrates, and details are as follows:
Step 201, when having detected software code submission, the software code based on submission and original software generation Code executes the automation structure of software, wherein the software code of the submission is being integrated into original software code In, it is described automation structure to the submission software code and original software code carry out automation compiling And/or test.
Step 202, detection execute before automation structure and execute corresponding software installation packet after automation structure Volume change.
If step 203, the volume change are more than preset threshold value, outputting alarm information, wherein the warning information To prompt the volume verification of this integrated rear corresponding software installation packet of software code submitted not pass through.
In the present embodiment, step 201 to step 203 specifically refers to the step 101 in embodiment illustrated in fig. 1 to step 103 and its alternative embodiment, details are not described herein.
If step 204, the volume change are less than the threshold value, receive the software code of this submission, and records The volume size of software installation packet after this automation structure.
In the embodiment of the present invention, corresponding software installation before execution automation structure and after execution automation structure When the volume change of packet is less than preset threshold value, that is, this software code submitted integrates rear corresponding software installation packet Volume verification can pass through, receive the software code of this submission, to carry out the test of follow-up other projects.
In the embodiment of the present invention, corresponding software installation before execution automation structure and after execution automation structure When the volume change of packet is less than preset threshold value, the volume that can also record the software installation packet after this automation structure is big It is small, when development teams need, to generate the line chart that software installation backpack body accumulates the historical record of size, pass through the line chart The change procedure of software installation backpack body product size can clearly be shown.
Optionally, in above-mentioned steps 204, after the software code for receiving this submission, further include:In the scheduled time The software code of receiving is integrated into original software code.
In the embodiment of the present invention, in the scheduled time, the software code received in the corresponding period is integrated into original It is integrated to complete the software continuous in the corresponding period in software code, for example, at daily 0 point, will receive the previous day The software codes of all submissions be integrated into original software code.
In the embodiment of the present invention, since the software code of receiving is by the product verification of corresponding software installation backpack body Software code, therefore the volume size of the software installation packet obtained after integrating meets scheduled requirement, and be conducive to software and hold Sequel at order.
From the foregoing, it will be observed that the present invention has been by when having detected software code submission, the software code based on submission and original Some software codes execute the automation structure of software;Detection is executed before automation is built and is executed after automation is built respectively The volume change of corresponding software installation packet;If the volume change is more than preset threshold value, outputting alarm information.That is, The present invention carries out automation structure by the code submitted to developer, to verify the software generation of this submission of Integrated Simulation Whether the volume change after code transfinites, and is reminded in time developer when volume change transfinites, so as to Effective monitoring and alarm are carried out to the volume change of software installation packet in development process, are conducive to the succinct degree for improving software, drop Low software maintenance cost.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
It is the device of the invention embodiment below to refer to above-mentioned corresponding the details of wherein not detailed description Embodiment of the method.
Fig. 3 shows the structural schematic diagram of software continuous integrating device provided in an embodiment of the present invention, for convenience of description, Illustrate only with the relevant part of the embodiment of the present invention, details are as follows:
As shown in figure 3, software continuous integrating device 3 includes:Automatic construction unit 31, volume sensing unit 32 and alarm are defeated Go out unit 33.
Automatic construction unit 31, for when having detected software code submission, the software code based on submission and original Some software codes execute the automation structure of software, wherein the software code of the submission is described original to be integrated into In software code, the automation structure to the submission software code and the original software code carry out from Dynamicization compiles and/or test;
Volume sensing unit 32 is corresponding soft after being built with execution automation before being built for detection execution automation The volume change of part installation kit;
Alarm output unit 33, for detecting that the volume change is more than preset threshold value in volume sensing unit 32 When, outputting alarm information, wherein the warning information is pacified to the integrated rear corresponding software of software code for prompting this to submit The volume verification of dress packet does not pass through.
Optionally, software continuous integrating device 3 further includes:
Code process unit is refused for detecting that the volume change is more than preset threshold value in volume sensing unit 32 Receive the software code of this submission absolutely.
Optionally, software continuous integrating device 3 further includes:
Optimizing Suggestions output unit, for the code process unit refusal receive this submission software code it Afterwards, Optimizing Suggestions are exported, so that developer optimizes this software code submitted based on the Optimizing Suggestions, In, the Optimizing Suggestions are to be analyzed to obtain to this software code submitted based on default rule.
From the foregoing, it will be observed that the present invention has been by when having detected software code submission, the software code based on submission and original Some software codes execute the automation structure of software;Detection is executed before automation is built and is executed after automation is built respectively The volume change of corresponding software installation packet;If the volume change is more than preset threshold value, outputting alarm information.That is, The present invention carries out automation structure by the code submitted to developer, to verify the software generation of this submission of Integrated Simulation Whether the volume change after code transfinites, and is reminded in time developer when volume change transfinites, so as to Effective monitoring and alarm are carried out to the volume change of software installation packet in development process, are conducive to the succinct degree for improving software, drop Low software maintenance cost.
Fig. 4 is the schematic diagram for the electronic equipment that one embodiment of the invention provides.As shown in figure 4, the electronics of the embodiment is set Standby 4 include:Processor 40, memory 41 and it is stored in the meter that can be run in the memory 41 and on the processor 40 Calculation machine program 42.The processor 40 realizes that above-mentioned each software continuous integrated approach is implemented when executing the computer program 42 Step in example, such as step 101 shown in FIG. 1 is to step 103.Alternatively, the processor 40 executes the computer program The function of each module/unit in above-mentioned each device embodiment, such as the function of unit 31 to 33 shown in Fig. 3 are realized when 42.
Illustratively, the computer program 42 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 41, and are executed by the processor 40, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 42 in the electronic equipment 4 is described.For example, the computer program 42 can be divided It is cut into automatic construction unit, volume sensing unit and alarm output unit, each unit concrete function is as follows:
Automatic construction unit, for when having detected software code submission, software code based on submission and original Software code, execute software automation structure, wherein the software code of the submission is described original soft to be integrated into In part code, the automation structure to the submission software code and the original software code carry out it is automatic Change compiling and/or test;
Volume sensing unit executes before automation is built and executes corresponding software after automation is built for detecting The volume change of installation kit;
Alarm output unit, for detecting that the volume change is more than preset threshold value in the volume sensing unit When, outputting alarm information, wherein the warning information is pacified to the integrated rear corresponding software of software code for prompting this to submit The volume verification of dress packet does not pass through.
The electronic equipment 4 can be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.The electronic equipment may include, but be not limited only to, processor 40, memory 41.It will be understood by those skilled in the art that Fig. 4 The only example of electronic equipment 4 does not constitute the restriction to electronic equipment 4, may include than illustrating more or fewer portions Part either combines certain components or different components, such as the electronic equipment can also include input-output equipment, net Network access device, bus etc..
Alleged processor 40 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 41 can be the internal storage unit of the electronic equipment 4, such as the hard disk of electronic equipment 4 or interior It deposits.The memory 41 can also be to be equipped on the External memory equipment of the electronic equipment 4, such as the electronic equipment 4 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 41 can also both include the storage inside list of the electronic equipment 4 Member also includes External memory equipment.The memory 41 is for storing needed for the computer program and the electronic equipment Other programs and data.The memory 41 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used It, can also be above-mentioned integrated during two or more units are integrated in one unit to be that each unit physically exists alone The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.In addition, each function list Member, the specific name of module are also only to facilitate mutually distinguish, the protection domain being not intended to limit this application.Above system The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/electronic equipment and method, it can be with It realizes by another way.For example, device described above/electronic equipment embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as Multiple units or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device Or INDIRECT COUPLING or the communication connection of unit, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can be stored in a computer read/write memory medium.Based on this understanding, the present invention realizes above-mentioned implementation All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium May include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to aforementioned reality Applying example, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed Or replace, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of software continuous integrated approach, which is characterized in that the software continuous integrated approach includes:
When having detected software code submission, the software code based on submission and original software code execute software Automation structure, wherein the software code of the submission is to be integrated into original software code, the automation structure Build to the submission software code and original software code carry out automation compiling and/or test;
Detection executes before automation is built and executes the volume change of corresponding software installation packet after automation is built;
If the volume change is more than preset threshold value, outputting alarm information, wherein the warning information is prompting this The volume verification of corresponding software installation packet does not pass through after the software code of submission is integrated.
2. software continuous integrated approach according to claim 1, which is characterized in that if the volume change is more than preset Threshold value, then the software continuous integrated approach further include:
Refusal receives the software code of this submission.
3. software continuous integrated approach according to claim 2, which is characterized in that the refusal receives the soft of this submission After part code, further include:
Optimizing Suggestions are exported, so that developer optimizes this software code submitted based on the Optimizing Suggestions, In, the Optimizing Suggestions are to be analyzed to obtain to this software code submitted based on default rule.
4. software continuous integrated approach according to any one of claims 1 to 3, which is characterized in that the detection executes certainly After the volume change of software installation packet before dynamicization structure and after execution automation structure, further include:
If the volume change is less than the threshold value, receive the software code of this submission, and records this automation structure The volume size of software installation packet after building.
5. software continuous integrated approach according to claim 4, which is characterized in that the software generation for receiving this submission After code, further include:
The software code of receiving is integrated into original software code in the scheduled time.
6. a kind of software continuous integrating device, which is characterized in that the software continuous integrating device includes:
Automatic construction unit, for when having detected software code submission, software code based on submission and original soft Part code executes the automation structure of software, wherein the software code of the submission is being integrated into original software generation Code in, it is described automation structure to the submission software code and original software code carry out automation volume It translates and/or tests;
Volume sensing unit executes before automation is built and executes corresponding software installation after automation is built for detecting The volume change of packet;
Alarm output unit, for the volume sensing unit detect the volume change be more than preset threshold value when, it is defeated Go out warning information, wherein the warning information is to corresponding software installation packet after prompting software code that this submits integrated Volume verification do not pass through.
7. software continuous integrating device according to claim 6, which is characterized in that the software continuous integrating device also wraps It includes:
Code process unit, for detecting that the volume change is more than preset threshold value, refusal in the volume sensing unit Receive the software code of this submission.
8. software continuous integrating device according to claim 7, which is characterized in that the software continuous integrating device also wraps It includes:
Optimizing Suggestions output unit, it is defeated after receiving the software code of this submission in code process unit refusal Go out Optimizing Suggestions, so that developer optimizes this software code submitted based on the Optimizing Suggestions, wherein described Optimizing Suggestions are to be analyzed to obtain to this software code submitted based on default rule.
9. a kind of electronic equipment, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 5 when executing the computer program The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
CN201810254386.7A 2018-03-26 2018-03-26 Software continuous integration method, software continuous integration device and electronic equipment Pending CN108491213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810254386.7A CN108491213A (en) 2018-03-26 2018-03-26 Software continuous integration method, software continuous integration device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810254386.7A CN108491213A (en) 2018-03-26 2018-03-26 Software continuous integration method, software continuous integration device and electronic equipment

Publications (1)

Publication Number Publication Date
CN108491213A true CN108491213A (en) 2018-09-04

Family

ID=63337848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810254386.7A Pending CN108491213A (en) 2018-03-26 2018-03-26 Software continuous integration method, software continuous integration device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108491213A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109886015A (en) * 2019-02-27 2019-06-14 广州华多网络科技有限公司 The detection method and device of the installation kit of application program
CN111352632A (en) * 2020-03-02 2020-06-30 北京字节跳动网络技术有限公司 Software product detection device, system, method and storage medium
CN111628938A (en) * 2020-05-26 2020-09-04 北京字节跳动网络技术有限公司 Branch merging method and device, electronic equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336688A (en) * 2013-06-20 2013-10-02 中标软件有限公司 Software integrating method and system oriented to cloud computing software research and development process
CN105183458A (en) * 2015-08-14 2015-12-23 深圳联友科技有限公司 Software platform development method and apparatus
CN106648810A (en) * 2017-01-24 2017-05-10 东软集团股份有限公司 Application program resource obtaining method and device
US20170344270A1 (en) * 2016-05-31 2017-11-30 Vmware, Inc. Enforcing limits on a self-serve model for provisioning data volumes for containers running in virtual machines

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336688A (en) * 2013-06-20 2013-10-02 中标软件有限公司 Software integrating method and system oriented to cloud computing software research and development process
CN105183458A (en) * 2015-08-14 2015-12-23 深圳联友科技有限公司 Software platform development method and apparatus
US20170344270A1 (en) * 2016-05-31 2017-11-30 Vmware, Inc. Enforcing limits on a self-serve model for provisioning data volumes for containers running in virtual machines
CN106648810A (en) * 2017-01-24 2017-05-10 东软集团股份有限公司 Application program resource obtaining method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DANIEL GRONAU: "Android Apk Size Watcher", 《HTTPS://PLUGINS.JENKINS.IO/ANDROID-APK-SIZE-WATCHER/》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109886015A (en) * 2019-02-27 2019-06-14 广州华多网络科技有限公司 The detection method and device of the installation kit of application program
CN111352632A (en) * 2020-03-02 2020-06-30 北京字节跳动网络技术有限公司 Software product detection device, system, method and storage medium
CN111628938A (en) * 2020-05-26 2020-09-04 北京字节跳动网络技术有限公司 Branch merging method and device, electronic equipment and computer storage medium
CN111628938B (en) * 2020-05-26 2023-06-20 抖音视界有限公司 Branch merging method, device, electronic equipment and computer storage medium

Similar Documents

Publication Publication Date Title
US20230376407A1 (en) System and method for automated intelligent mobile application testing
Sambasivan et al. Principled workflow-centric tracing of distributed systems
US20200034281A1 (en) System and method for automated intelligent mobile application testing
US8387000B2 (en) Continuous time mode-driven simulations in a graphical modeling environment
CN107430611B (en) Filtering data lineage graph
US9405653B1 (en) Filtering data frames using program instrumentation
Kritikos et al. SRL: A scalability rule language for multi-cloud environments
US20080262824A1 (en) Creation of resource models
CN106559438A (en) A kind of program method for uploading and device based on objective network platform
CN105247493A (en) Identifying impacted tests from statically collected data
US8839197B2 (en) Automated analysis of composite applications
US20200151629A1 (en) Discovery and generation of organizational key performance indicators utilizing glossary repositories
CN110007952A (en) Data processing method, device, equipment and machine readable media
CN108491213A (en) Software continuous integration method, software continuous integration device and electronic equipment
Sharma et al. Big data and analytics in industry 4.0
CN109359019A (en) Application program capacity monitoring method, device, electronic equipment and storage medium
KR20060061758A (en) Automatic configuration of trasaction-based performance models
Friese et al. Generating performance models for irregular applications
CN109976875A (en) A kind of data monitoring method and device of super fusion cloud computing system
CN114356787A (en) Automatic testing method and device for deep learning model compiler and storage medium
Roudjane et al. Real-time data mining for event streams
Rashid et al. Exploring the platform for expressing SystemVerilog assertions in model based system engineering
Ahmed-Nacer et al. OCCI-compliant cloud configuration simulation
Lallchandani et al. Slicing UML architectural models
Dautov et al. A light-weight approach to software assignment at the edge

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180904

RJ01 Rejection of invention patent application after publication