CN106055334B - Code management system and method - Google Patents
Code management system and method Download PDFInfo
- Publication number
- CN106055334B CN106055334B CN201610387755.0A CN201610387755A CN106055334B CN 106055334 B CN106055334 B CN 106055334B CN 201610387755 A CN201610387755 A CN 201610387755A CN 106055334 B CN106055334 B CN 106055334B
- Authority
- CN
- China
- Prior art keywords
- modified
- code
- modification
- file
- row
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/73—Program documentation
Abstract
The invention discloses a kind of code administration methods, comprising: obtains based on the modification file service packs generated modified in source code;The path that the service packs obtains modification file is parsed, corresponding original document in source code is obtained according to the path of the modification file;It parses the service packs and obtains modified logo, the original document is accordingly modified according to modified logo and preset matching alteration ruler, obtains modified source code.The invention also discloses a kind of code management systems.The present invention, which is improved, obtains the efficiency and accuracy rate of modified source code according to the service packs of modification file.
Description
Technical field
The present invention relates to technical field of software development more particularly to a kind of code management system and methods.
Background technique
It in software development process, generally requires multiple developers and coordinates, each developer is responsible for not
Same Development of Module, finally synthesizes the code of each developer and completes to develop.With Android complete machine software development
For, in board suppot package (Board Support Package, BSP), the function of framework (framework) and application side (app)
The coordination in strange land, each department developer is needed when can develop.During program joint debugging, need in local source code
In be incorporated into the service packs (patch packet) of other developers, due to being the exploitation of the same module, different developers may
The different location of the same function of the same source file can be modified.When being on the one hand incorporated into patch packet using order, code will cause
Conflict, accuracy rate is lower;Another aspect manual modification code, had not only reduced the development efficiency of software, but also not can guarantee and be incorporated into
The correctness of function.
Summary of the invention
The main purpose of the present invention is to provide a kind of code management system and methods, it is intended to improve according to modification file
Service packs obtains the efficiency and accuracy rate of modified source code.
To achieve the above object, the present invention provides a kind of code management systems, comprising:
Service packs obtains module, for obtaining based on the modification file service packs generated modified in source code;
Original document obtains module, and the path of modification file is obtained for parsing the service packs, according to the modification text
The path of part obtains corresponding original document in source code;
Modified module obtains modified logo for parsing the service packs, is modified according to modified logo and preset matching
Rule accordingly modifies the original document, obtains modified source code.
Optionally, the code management system further include:
File acquisition module is modified, for obtaining the modification file modified for being directed to the source code;
First setting module is marked for obtaining the field started in the modification file with first identifier by described first
Row where knowing the field of beginning is set as starting modification row;
Logging modle, for record it is described starting modification row before specified line code, it is described modification file path and
The code modified in the modification file, and record it is described modification file in the class modified, the method modified and
The behavior modified;
Second setting module is marked for obtaining the field started in the modification file with second identifier by described second
Row where knowing the field of beginning is set as terminating modification row, and records the specified line code terminated after modification row;
Generation module generates service packs for storing the content recorded.
Optionally, the modified module includes:
Resolution unit obtains specified line code, the knot before the starting modification is gone for parsing the service packs
It is modified in the code and the modification file modified in specified line code, the modification file after Shu Xiugai row
Class, the method modified and the behavior modified;
Determination unit, for being determined according to the class modified, the method modified and the behavior modified described original
The position of file, according to the specified line code before the starting modification row in the modification file in the position, described
Corresponding initial row is determined in original document, and according to the specified line code terminated after modification is gone, described original
Corresponding end line is determined in file;
Unit is modified, for modifying the original in the source code according to the code modified in the modification file
Code between the initial row and end line of beginning file.
Optionally, the modification unit is also used to, and the code modified in the modification file is increased to the source generation
Between the initial row and end line of original document described in code;Alternatively,
By between the initial row and end line of original document described in the source code, and modified in the modification file
The identical code deletion of code;Alternatively,
The code modified in the modification file is replaced to the initial row and knot of original document described in the source code
Code between beam row.
Optionally, the code management system further include:
Update module is obtained based on modified source code new service packs generated for deleting the service packs,
The path that new modification file is obtained from the new service packs, after obtaining modification according to the path of the new modification file
Source code in corresponding file;It parses the new service packs and obtains new modified logo, according to the new modified logo
And preset matching alteration ruler accordingly modifies the file.
In addition, to achieve the above object, the present invention also provides a kind of code administration methods, comprising:
It obtains based on the modification file service packs generated modified in source code;
The path that the service packs obtains modification file is parsed, it is right in source code to obtain according to the path of the modification file
The original document answered;
It parses the service packs and obtains modified logo, according to modified logo and preset matching alteration ruler to described original
File is accordingly modified, and modified source code is obtained.
Optionally, described obtain includes: before based on the modification file service packs generated modified in source code
Obtain the modification file modified for being directed to the source code;
It obtains in the modification file with the field of first identifier beginning, where the field that the first identifier is started
Row is set as starting modification row;
In the path and the modification file for recording the specified line code originated before modification is gone, the modification file
The code modified, and record the class modified, the method modified and the behavior modified in the modification file;
It obtains in the modification file with the field of second identifier beginning, where the field that the second identifier is started
Row is set as terminating modification row, and records the specified line code terminated after modification row;
The content recorded is stored, service packs is generated.
Optionally, the parsing service packs obtains modified logo, modifies rule according to modified logo and preset matching
Then carrying out corresponding modification to the original document includes:
The service packs is parsed, the specified line code, the end before obtaining the starting modification row are modified after row
Specified line code, the code modified and the class modified in the modification file in the modification file, modified
Method and the behavior modified;
It is determined according to the class modified, the method modified and the behavior modified in the position of the original document,
According to the specified line code before the starting modification row in the modification file in the position, determined in the original document
Corresponding initial row, and according to the specified line code terminated after modification is gone, determine and correspond in the original document
End line;
According to the code modified in the modification file, the initial row of the original document is modified in the source code
Code between end line.
Optionally, according to the code modified in the modification file, the original document is modified in the source code
Initial row and end line between code include:
By the code modified in the modification file increase to the initial row of original document described in the source code with
Between end line;Alternatively,
By between the initial row and end line of original document described in the source code, and modified in the modification file
The identical code deletion of code;Alternatively,
The code modified in the modification file is replaced to the initial row and knot of original document described in the source code
Code between beam row.
Optionally, the parsing service packs obtains modified logo, modifies rule according to modified logo and preset matching
Then the original document is accordingly modified, obtain modified source code includes: later
The service packs is deleted, is obtained based on modified source code new service packs generated, from the new benefit
The path that new modification file is obtained in fourth packet, it is right in modified source code to be obtained according to the path of the new modification file
The file answered;
It parses the new service packs and obtains new modified logo, repaired according to the new modified logo and preset matching
Change rule accordingly to modify the file.
Code management system provided in an embodiment of the present invention and method, by parsing based on the modification modified in source code
File service packs generated, according to the content recorded in service packs, the path for obtaining modification file is right in source code to obtain
The original document answered, and original document is accordingly modified according to preset matching alteration ruler according to modified logo, with
Obtain modified source code.So that pass through in modified logo record modification file by location revision, it can be accurately in correspondence
Original document in reduction modification file relative to manual control modification original document improve the patch according to modification file
Packet obtains the efficiency and accuracy rate of modified source code.
Detailed description of the invention
Fig. 1 is the functional block diagram of code management system first embodiment of the present invention;
Fig. 2 is the functional block diagram of code management system second embodiment of the present invention;
Fig. 3 is the functional block diagram of code management system 3rd embodiment of the present invention;
Fig. 4 is the flow diagram of code administration method first embodiment of the present invention;
Fig. 5 is the flow diagram of code administration method second embodiment of the present invention;
Fig. 6 is the flow diagram of code administration method 3rd embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, showing a kind of code management system first embodiment of the present invention.The code administration system of the embodiment
System includes:
Service packs obtains module 100, for obtaining based on the modification file service packs generated modified in source code;
In the present embodiment, code administration is applied to the occasion that multiple functional modules in software development carry out joint debugging, for example, can
To be applied in the software development of Android complete machine, the functional modules such as BSP, framework and app are developed.
Firstly, the developer for being responsible for each functional module modifies to file corresponding in source code, in completion pair
The modification of file and obtain modification file after, according to modified modification the file generated modification file patch packet (i.e. patch
Packet).When needing to carry out joint debugging to source code, it is corresponding that the code management system of joint debugging side local needs to obtain other function module
Modification side patch packet, for example, modification side by patch packet be sent to joint debugging side local.So that service packs obtains module 100
It can get based on the modification file service packs generated modified in source code.
It is understood that existing since there may be multiple files in each functional module when in a functional module
When multiple modification files are modified, each multiple patch packets of modification file generated can be directed to, are also possible to for the function mould
Block generates a patch packet.
Original document obtains module 200, the path of modification file is obtained for parsing the service packs, according to the modification
The path of file obtains corresponding original document in source code;
During program joint debugging, after loading patch packet, need to parse patch packet obtain patch packet in record it is interior
Hold.Original document obtains module 200 and parses the path that patch packet obtains corresponding modification file first, according to modification file
Path obtains corresponding original document in source code, to modify to the original document, reduction modification file.
Modified module 300 obtains modified logo for parsing the service packs, is repaired according to modified logo and preset matching
Change rule accordingly to modify the original document, obtains modified source code.
Correspond to before modification after original document corresponding in source code obtaining modification file, modified module 300 continues
Patch packet is parsed, the modified logo recorded in patch packet is obtained, which can be starting modification row, terminates modification
Row, the code modified, the class modified, the method modified and the behavior modified etc..Then modified module 300 is according to repairing
Change the original document that mark and preset matching alteration ruler obtain positioning accordingly to be modified, matching alteration ruler can basis
Actual conditions are configured, for example, matching alteration ruler is to add code using context matches, need deleting for context matches
Except code etc..Specifically, code (modify) replaced according to the behavior of code revision, increase code (addCode) or deletes generation
Code (delCode) judges the rule of contextual modifications: replacement increases or deletes to modify to original document.For example, if
Be increase code line, then compare starting modification row before nominated bank's code content, navigate to original document position, modification
The code modified is increased to corresponding position in original document by class, the method for modification.
When being resolved to terminates line identifier " // ##featrueEnd " field and terminates to modify nominated bank's content after going,
Determination terminates the modification of original document, obtains modified source code and is saved, and runs debugging.
Below will in Android complete machine software development, for the functional development of the side BSP, framework and app into
Row illustrates.The coordination of each department developer is needed for these three functional developments, after the completion of source code, respectively
The code needs of a functional module are modified, and when carrying out joint debugging by a certain developer, by using script, then will be different
Modification file in functional module is incorporated into source code, i.e., operation PerfectPatch parsing script is added to source for file is modified
In code.Wherein, PerfectPatch is by a series of keyword and specifications of annotation, mono- new function of Lai Dingyi
Feature。
PerfectPatch series of tools include PerfectPatch generate script, PerfectPatch more new script and
PerfectPatch installation script.Wherein, PerfectPatch generates the patch packet that script is used to generate a new function;
PerfectPatch more new script is used for the patch packet of new and old function code modification;PerfectPatch installation script is used for
The corresponding modification file of patch packet is incorporated into code.
Feature specifications of annotation is as follows:
(1) Feature head:
//##featrueStart##feature_name##action(##matchrule)
Wherein, include three parts (or four parts), it is fixed to be started with // ##featureStart, behind successively with
Feature, action (type of modification) needs to write out the last one field when special matched rule, will be silent if do not write out
Think 3#3, i.e., match three rows forward, matches three rows backward.
(2) Feature content:
//##delStart
// delete code
//##delEnd
// increase code newly
If desired code is deleted then using // ##delStart as the beginning label deleted, using // ##delEnd as deletion
End label.Code between two labels is the code for needing to delete.
(3) Feature tail:
//##featrueEnd
It must be ended up with this.
In one embodiment, if only increasing partial code to some file in BSP, need the side framework into
Row joint debugging can then pre-generate the patch packet for modifying file in BSP, the patch packet of BSP is sent to the side framework code
The local of management system.The patch packet of BSP is loaded and parsed in the code management system of the side framework, obtains modification text
The path of part positions corresponding original document in source code, continue to parse BSP patch packet obtain starting modify line identifier,
Specified line code before starting modification row terminates modification line identifier, the code modified, and modified class, modified
Method and the modified logos such as the behavior modified, according to modified logo by the code modified increase in original document with repair
Change between the corresponding initial row of file and end line.
In another embodiment, it if only deleting partial code to some file in app, needs to be joined in the side BSP
It adjusts, then can pre-generate the patch packet for modifying file in app, the patch packet of app is loaded onto the side BSP code management system
It is local.The patch packet that app is parsed in the code management system of the side BSP obtains the path of modification file to position in source code
Corresponding original document, the patch packet for continuing to parse app obtain starting modification line identifier, originate the nominated bank before modification row
Code terminates modification line identifier, the code, and the class modified, the method modified and the behavior modified modified etc.
Modified logo, by between the initial row and end line in original document, code identical with the code modified in modification file
It deletes.
In another embodiment, if being modified respectively to the file in BSP and framework, need the side app into
Row joint debugging can then pre-generate the patch packet that file is modified in the patch packet and framework of modifying file in BSP, by BSP
Patch packet and the patch packet of framework be sent to the local of the side app code management system, the code administration system of the side app
System can be loaded based on the modification file patch packet generated modified in source code, parse BSP and framework respectively
Patch packet, corresponding original document is modified in source code.PerfectPatch strategy is allowed to help developer more
Easy and convenient generation Patch packet, more fresh code can save a large amount of duplication of labour for joint debugging and maintenance code, reduce
Workload.In addition, PerfectPatch strategy is while reduction even is eliminated code conflicts, and improve the standard of modification code
True rate, and then ensure that the stability of program function.
The embodiment of the present invention is by parsing based on the modification file service packs generated modified in source code, according to benefit
The content recorded in fourth packet obtains the path of modification file to obtain corresponding original document in source code, and according to modification
Mark accordingly modifies original document according to preset matching alteration ruler, to obtain modified source code.So that logical
It crosses in modified logo record modification file by location revision, modification file can be accurately restored in corresponding original document,
Relative to manual control modification original document, improves and the efficiency of modified source code is obtained according to the service packs of modification file
And accuracy rate.
Further, as shown in Fig. 2, being based on above-mentioned code management system first embodiment, dematron of the present invention is proposed
Reason system second embodiment, the present embodiment and the difference of code management system first embodiment of the present invention be, in the present embodiment on
State code management system further include:
File acquisition module 400 is modified, for obtaining the modification file modified for being directed to the source code;
First setting module 500, for obtaining the field started in the modification file with first identifier, by described first
Row where identifying the field of beginning is set as starting modification row;
Logging modle 600, the path for specified line code, the modification file before recording the starting modification row
With the code modified in the modification file, and the class modified in the modification file, the method modified are recorded
With the behavior modified;
Second setting module 700, for obtaining the field started in the modification file with second identifier, by described second
Row where identifying the field of beginning is set as terminating modification row, and records the specified line code terminated after modification row;
Generation module 800 generates service packs for storing the content recorded.
In the present embodiment, before carrying out joint debugging to program, the modification file generated modified based on source code is needed
Patch packet is defined by using script and according to keyword, annotation rule and action, generates the patch packet of certain function:
(1) modification file acquisition module 400 obtains the modification file modified for being directed to source code;
The word started in (2) first setting modules 500 search modification file with first identifier " // ##featrueStart "
Section, as starting modification row, that is, the beginning modified;
(3) nominated bank's content before the path of 600 record modification file of logging modle and starting modification row start, example
Such as, 3 row content;
(4) class of 600 record modification of logging modle then records full line if it is anonymous class;
(5) method of 600 record modification of logging modle, when method is when there is currently no case of heavy load, then without parameter;
When existing when overloaded, then the type of this method parameter is write out;
(6) behavior of 600 record code of logging modle modification, i.e. the rule of context matches, in modify, addCode,
It will appear the field when delCode;
(7) code of 600 record modification of logging modle, increases, is deleted or modified;
The field started in (8) second setting modules 700 search modification file with second identifier " // ##featrueEnd ",
It goes as modification is terminated, that is, the end modified;
Nominated bank's content after 700 record end of (9) second setting module modification row, for example, nominated bank's content can
To be 3 row contents;
The content of above-mentioned record is written and saves the file of an entitled .perfectPatch of suffix by generation module 800
In, generate patch packet.
Patch packet format is illustrated below, is * .PerfectPatch file by the patch file that tool generates,
Format is as follows:
@start
@path
@classname
@method
@rule
@code
(The code to match)
Part I
$
(The code to delete)
Part II
$
(The code to add)
Part III
@end
Wherein ,@start indicates the beginning of a part;
@path indicates to want the path of operation file;
@classname indicates the class for needing to operate, and when operating in anonymous class, this part is full line;
@method indicates to need the method that operates, when method is when there is currently no case of heavy load, without parameter, when depositing
When overloaded, the type of parameter can be write out;
@rule indicates the rule of context matches, will appear the field in modify, addCode, delCode;
@code
Part I indicates that this part is the code for context matches;
Part II indicates that this part is the code to be deleted;
Part III indicates that this part is code to be added;
@end indicates the end of a part.
The present embodiment is based on the modification file service packs generated modified in source code, to solve to service packs
Analysis obtains modified logo, and original document reduction modification file is modified in source code, code conflicts is solved the problems, such as, improves
The efficiency and accuracy rate of modified source code are obtained according to the service packs of modification file.
Further, as shown in figure 3, being based on above-mentioned code management system second embodiment, dematron of the present invention is proposed
Reason system 3rd embodiment, the present embodiment and the difference of code management system second embodiment of the present invention be, in the present embodiment on
Stating modified module 300 includes:
Resolution unit 310 obtains the specified line code originated before modification is gone, institute for parsing the service packs
State the specified line code after terminating modification row, quilt in the code and the modification file modified in the modification file
The class of modification, the method modified and the behavior modified;
Determination unit 320, for being determined according to the class modified, the method modified and the behavior modified in the original
The position of beginning file, according to the specified line code before the starting modification row in the modification file in the position, in institute
It states and determines corresponding initial row in original document, and according to the specified line code terminated after modification is gone, in the original
Corresponding end line is determined in beginning file;
Unit 330 is modified, described in being modified in the source code according to the code modified in the modification file
Code between the initial row and end line of original document.
In the present embodiment, original document is accordingly modified according to modified logo and preset matching alteration ruler mistake
Cheng Zhong, first resolution unit 310 parse the class modified, the method modified and the row modified that patch packet obtains record
For before, starting modification row specified line code, terminate contents such as specified line code after modification row, by determination unit 320
It is determined behind the position of original document according to the class modified, the method modified and the behavior modified, in the position root
The corresponding initial row in original document of nominated bank's Code location before going is modified according to starting.Determination unit 320 is according to end
Specified line code after modification row, the corresponding end line in positioning original document.Unit 330 is modified according in modification file
The code modified, the code between the initial row and end line for modifying original document in source code.
The modification includes increasing, deleting, replace etc., and optionally, above-mentioned modification unit 330 is also used in the present embodiment, will
The code modified in the modification file increases between the initial row and end line of original document described in the source code;
Alternatively, by between the initial row and end line of original document described in the source code, and modified in the modification file
The identical code deletion of code;Alternatively, the code modified in the modification file is replaced original described in the source code
Code between the initial row and end line of file.
The use of the type action of modification will be explained in detail below, the behavior of action code revision mainly there are 6
Action:
(1) addDef: in C, C++ defmacro;
(2) modify: for increasing, modifying, delete code;
(3) addInclude: for increasing the reference of header file in C, C++;
(4) addImport: for introducing class in Java;
(5) addCodeAtTail: increase code in the beginning of file;
(6) addCodeAtHead: increase code in the ending of file.
According to the code modified in modification file, between the initial row and end line for modifying original document in source code
Code include:
(1)addCode
Code is added using context matches
//##featureStart##feature_name##addCode
(addCode)
//##featureEnd
(2)addMethod
The adding method of context matches is not needed
//##featureStart##feature_name##addMethod
(addMethod)
//##featureEnd
(3)addCodeAtHead
Context matches addition code is not needed, adds code at the beginning of present scope
//##featureStart##feature_name##addCodeAtHead
(addCode)
//##featureEnd
(4)addCodeAtTail
The adding method for not needing context matches adds code at the end in current range
//##featureStart##feature_name##addCodeAtTail
(addCode)
//##featureEnd
(5)addDef
The addition #def for not needing context matches, only supports C language
//##featureStart##feature_name##addDef
(addCode)
//##featureEnd
(6)addInclude
The addition #include for not needing context matches, only supports C language
//##featureStart##feature_name##addDef
(addCode)
//##featureEnd
(7)addImport
The addition import for not needing context matches, only supports Java
//##featureStart##feature_name##addDef
(addCode)
//##featureEnd
(8)modify
Code is modified using context matches
//##featureStart##feature_name##modify
//##delStart
(DeleteCode)
//##delEnd
(ModifiedCode)
//##featureEnd
(9)modifyWC
The modification of context is not needed
//##featureStart##feature_name##modifyWC
//##delStart
(DeleteCode)
//##delEnd
(ModifiedCode)
//##featureEnd
(10)delCode
Need the deletion code of context matches
//##featureStart##feature_name##delCode
(DeleteCode)
//##delEnd
//##featureEnd
(11)delMethod
Context matches delet method is not needed
//##featureStart##feature_name##delMethod
//##delStart
(DeleteCode)
//##delEnd
//##featureEnd
(12)replaceMethod
//##featureStart##feature_name##replaceMethod
//##delStart
(DeleteCode)
//##delEnd
(ModifiedCode)
//##featureEnd
The present embodiment obtains required modified logo by parsing service packs, and the corresponding of original document is modified in source code
Code is modified in position, realizes and is assured really modifying the original document in source code according to the patch of modification file, improves acquisition and repair
The convenience and reliability of source code after changing.
Further, it is based on above-mentioned code management system any embodiment, proposes code management system the 4th of the present invention
Embodiment, the present embodiment and the difference of code management system any embodiment of the present invention are above-mentioned code administrations in the present embodiment
System further include:
Update module is obtained based on modified source code new service packs generated for deleting the service packs,
The path that new modification file is obtained from the new service packs, after obtaining modification according to the path of the new modification file
Source code in corresponding file;It parses the new service packs and obtains new modified logo, according to the new modified logo
And preset matching alteration ruler accordingly modifies the file.
In the present embodiment, during program debugging, when certain functional module also needs to modify to code, need
Update the Patch packet of the functional module, the step of update module updates Patch packet includes: the original .perfectPatch of deletion
File deletes original Patch packet, then of the same name according to generating one the step of above-mentioned generation .perfectPatch file
.perfectPatch file.
Specifically, after deleting original Patch packet, based on above-mentioned modified source code to the file of some functional module
After modifying, new Patch packet is regenerated.Update module loads new Patch packet in code management system, parses new
Patch packet obtains the path of new modification file from new Patch packet, obtains modification according to the path of new modification file
Corresponding file in source code afterwards.Continue to parse new Patch packet and obtain new modified logo, according to new modified logo and on
Preset matching alteration ruler is stated accordingly to modify file.
The present embodiment improves the convenience of joint debugging and maintenance code, and improve by being updated to Patch packet
It is incorporated into the accuracy rate of code, ensure that the stability of program function.
Accordingly, as shown in figure 4, proposing a kind of code administration method first embodiment of the present invention.The present embodiment dematron
Reason method is corresponding with above-mentioned code management system first embodiment, and the code administration method of the embodiment includes:
Step S10, it obtains based on the modification file service packs generated modified in source code;
In the present embodiment, code administration is applied to the occasion that multiple functional modules in software development carry out joint debugging, for example, can
To be applied in the software development of Android complete machine, the functional modules such as BSP, framework and app are developed.
Firstly, the developer for being responsible for each functional module modifies to file corresponding in source code, in completion pair
The modification of file and obtain modification file after, according to modified modification the file generated modification file patch packet (i.e. patch
Packet).When needing to carry out joint debugging to source code, it is corresponding that the code management system of joint debugging side local needs to obtain other function module
Modification side patch packet, for example, modification side by patch packet be sent to joint debugging side local.So that the code administration system of joint debugging side
System can be got based on the modification file service packs generated modified in source code.
It is understood that existing since there may be multiple files in each functional module when in a functional module
When multiple modification files are modified, each multiple patch packets of modification file generated can be directed to, are also possible to for the function mould
Block generates a patch packet.
Step S20, the path that the service packs obtains modification file is parsed, source is obtained according to the path of the modification file
Corresponding original document in code;
During program joint debugging, after loading patch packet, need to parse patch packet obtain patch packet in record it is interior
Hold.Parsing patch packet obtains the corresponding path for modifying file first, is obtained according to the path of modification file corresponding in source code
Original document, to modify to the original document, reduction modification file.
Step S30, it parses the service packs and obtains modified logo, according to modified logo and preset matching alteration ruler pair
The original document is accordingly modified, and modified source code is obtained.
Correspond to before modification after original document corresponding in source code obtaining modification file, code management system continues
Patch packet is parsed, the modified logo recorded in patch packet is obtained, which can be starting modification row, terminates modification
Row, the code modified, the class modified, the method modified and the behavior modified etc..Then according to modified logo and in advance
The matching alteration ruler set accordingly modifies the obtained original document of positioning, match alteration ruler can according to the actual situation into
Row setting, for example, matching alteration ruler is to add code, the deletion code for needing context matches etc. using context matches.
Specifically, code (modify) is replaced, code (addCode) is increased or deletes code according to the behavior of code revision
(delCode), judge the rule of contextual modifications: replacement increases or deletes to modify to original document.If for example,
Increase code line, then compare starting modification row before nominated bank's code content, navigate to original document position, modification
The code modified is increased to corresponding position in original document by class, the method for modification.
When being resolved to terminates line identifier " // ##featrueEnd " field and terminates to modify nominated bank's content after going,
Determination terminates the modification of original document, obtains modified source code and is saved, and runs debugging.
Below will in Android complete machine software development, for the functional development of the side BSP, framework and app into
Row illustrates.The coordination of each department developer is needed for these three functional developments, after the completion of source code, respectively
The code needs of a functional module are modified, and when carrying out joint debugging by a certain developer, by using script, then will be different
Modification file in functional module is incorporated into source code, i.e., operation PerfectPatch parsing script is added to source for file is modified
In code.Wherein, PerfectPatch is by a series of keyword and specifications of annotation, mono- new function of Lai Dingyi
Feature。
PerfectPatch series of tools include PerfectPatch generate script, PerfectPatch more new script and
PerfectPatch installation script.Wherein, PerfectPatch generates the patch packet that script is used to generate a new function;
PerfectPatch more new script is used for the patch packet of new and old function code modification;PerfectPatch installation script is used for
The corresponding modification file of patch packet is incorporated into code.
Feature specifications of annotation is as follows:
(1) Feature head:
//##featrueStart##feature_name##action(##matchrule)
Wherein, include three parts (or four parts), it is fixed to be started with // ##featureStart, behind successively with
Feature, action (type of modification) needs to write out the last one field when special matched rule, will be silent if do not write out
Think 3#3, i.e., match three rows forward, matches three rows backward.
(2) Feature content:
//##delStart
// delete code
//##delEnd
// increase code newly
If desired code is deleted then using // ##delStart as the beginning label deleted, using // ##delEnd as deletion
End label.Code between two labels is the code for needing to delete.
(3) Feature tail:
//##featrueEnd
It must be ended up with this.
In one embodiment, if only increasing partial code to some file in BSP, need the side framework into
Row joint debugging can then pre-generate the patch packet for modifying file in BSP, the patch packet of BSP is sent to the side framework code
The local of management system.The patch packet of BSP is loaded and parsed in the code management system of the side framework, obtains modification text
The path of part positions corresponding original document in source code, continue to parse BSP patch packet obtain starting modify line identifier,
Specified line code before starting modification row terminates modification line identifier, the code modified, and modified class, modified
Method and the modified logos such as the behavior modified, according to modified logo by the code modified increase in original document with repair
Change between the corresponding initial row of file and end line.
In another embodiment, it if only deleting partial code to some file in app, needs to be joined in the side BSP
It adjusts, then can pre-generate the patch packet for modifying file in app, the patch packet of app is loaded onto the side BSP code management system
It is local.The patch packet that app is parsed in the code management system of the side BSP obtains the path of modification file to position in source code
Corresponding original document, the patch packet for continuing to parse app obtain starting modification line identifier, originate the nominated bank before modification row
Code terminates modification line identifier, the code, and the class modified, the method modified and the behavior modified modified etc.
Modified logo, by between the initial row and end line in original document, code identical with the code modified in modification file
It deletes.
In another embodiment, if being modified respectively to the file in BSP and framework, need the side app into
Row joint debugging can then pre-generate the patch packet that file is modified in the patch packet and framework of modifying file in BSP, by BSP
Patch packet and the patch packet of framework be sent to the local of the side app code management system, the code administration system of the side app
System can be loaded based on the modification file patch packet generated modified in source code, parse BSP and framework respectively
Patch packet, corresponding original document is modified in source code.PerfectPatch strategy is allowed to help developer more
Easy and convenient generation Patch packet, more fresh code can save a large amount of duplication of labour for joint debugging and maintenance code, reduce
Workload.In addition, PerfectPatch strategy is while reduction even is eliminated code conflicts, and improve the standard of modification code
True rate, and then ensure that the stability of program function.
The embodiment of the present invention is by parsing based on the modification file service packs generated modified in source code, according to benefit
The content recorded in fourth packet obtains the path of modification file to obtain corresponding original document in source code, and according to modification
Mark accordingly modifies original document according to preset matching alteration ruler, to obtain modified source code.So that logical
It crosses in modified logo record modification file by location revision, modification file can be accurately restored in corresponding original document,
Relative to manual control modification original document, improves and the efficiency of modified source code is obtained according to the service packs of modification file
And accuracy rate.
Further, as shown in figure 5, being based on above-mentioned code administration method first embodiment, dematron of the present invention is proposed
Reason method second embodiment, the present embodiment code administration method are corresponding with above-mentioned code management system second embodiment.This implementation
The difference of example and code administration method first embodiment of the present invention is that above-mentioned steps S10 includes: before in the present embodiment
Step S40, the modification file modified for being directed to the source code is obtained;
Step S50, the field started in the modification file with first identifier, the word that the first identifier is started are obtained
Row where section is set as starting modification row;
Step S60, it the path of specified line code, the modification file before recording the starting modification row and described repairs
Change the code modified in file, and records the class modified modified in file, the method modified and modified
Behavior;
Step S70, the field started in the modification file with second identifier, the word that the second identifier is started are obtained
Row where section is set as terminating modification row, and records the specified line code terminated after modification row;
Step S80, the content recorded is stored, generates service packs.
In the present embodiment, before carrying out joint debugging to program, the modification file generated modified based on source code is needed
Patch packet is defined by using script and according to keyword, annotation rule and action, generates the patch packet of certain function, raw
At steps are as follows:
(1) the modification file modified for being directed to source code is obtained;
(2) field started in search modification file with first identifier " // ##featrueStart ", is modified as starting
Row, that is, the beginning modified;
(3) nominated bank's content before the path of record modification file and starting modification row start, for example, 3 row contents;
(4) class of record modification then records full line if it is anonymous class;
(5) method of record modification, when method is when there is currently no case of heavy load, then without parameter;It is heavily loaded when existing
When, then write out the type of this method parameter;
(6) behavior of record code modification, the i.e. rule of context matches, the meeting in modify, addCode, delCode
There is the field;
(7) code of record modification increases, is deleted or modified;
(8) field started in search modification file with second identifier " // ##featrueEnd ", modifies row as end,
The end modified;
(9) nominated bank's content after record end modification row, for example, nominated bank's content can be 3 row contents;
In the file that the content of above-mentioned record is written to and is saved an entitled .perfectPatch of suffix, patch is generated
Packet.
Patch packet format is illustrated below, is * .PerfectPatch file by the patch file that tool generates,
Format is as follows:
@start
@path
@classname
@method
@rule
@code
(The code to match)
Part I
$
(The code to delete)
Part II
$
(The code to add)
Part III
@end
Wherein ,@start indicates the beginning of a part;
@path indicates to want the path of operation file;
@classname indicates the class for needing to operate, and when operating in anonymous class, this part is full line;
@method indicates to need the method that operates, when method is when there is currently no case of heavy load, without parameter, when depositing
When overloaded, the type of parameter can be write out;
@rule indicates the rule of context matches, will appear the field in modify, addCode, delCode;
@code
Part I indicates that this part is the code for context matches;
Part II indicates that this part is the code to be deleted;
Part III indicates that this part is code to be added;
@end indicates the end of a part.
The present embodiment is based on the modification file service packs generated modified in source code, to solve to service packs
Analysis obtains modified logo, and original document reduction modification file is modified in source code, code conflicts is solved the problems, such as, improves
The efficiency and accuracy rate of modified source code are obtained according to the service packs of modification file.
Further, as shown in fig. 6, being based on above-mentioned code administration method second embodiment, dematron of the present invention is proposed
Reason method 3rd embodiment, the present embodiment code administration method are corresponding with above-mentioned code management system 3rd embodiment.This implementation
The difference of example and code administration method second embodiment of the present invention is that above-mentioned steps S30 includes: in the present embodiment
Step S31, the service packs is parsed, the specified line code, the end before obtaining the starting modification row are repaired
Specified line code after changing one's profession, the class modified in the code and the modification file modified in the modification file,
The method modified and the behavior modified;
Step S32, it is determined according to the class modified, the method modified and the behavior modified in the original document
Position, according to the specified line code before the starting modification row in the modification file in the position, in the original text
Corresponding initial row is determined in part, and according to the specified line code terminated after modification is gone, in the original document
Determine corresponding end line;
Step S33, according to the code modified in the modification file, the original document is modified in the source code
Initial row and end line between code.
In the present embodiment, original document is accordingly modified according to modified logo and preset matching alteration ruler mistake
Cheng Zhong, first parsing patch packet obtain the class modified, the method modified and the behavior modified of record, starting modification
Specified line code before row terminates the contents such as specified line code after modification row, according to the class modified, modified
Method and the behavior modified determine behind the position of original document, in the position according to nominated bank's generation before starting modification row
Code is located in corresponding initial row in original document.It is original positioning and according to the specified line code terminated after modification is gone
Corresponding end line in file.According to the code modified in modification file, the initial row of original document is modified in source code
Code between end line.
The modification includes increasing, deleting, replace etc., and optionally, above-mentioned steps S33 includes: to repair described in the present embodiment
Change the code modified in file to increase between the initial row and end line of original document described in the source code;Alternatively,
By between the initial row and end line of original document described in the source code, with the code phase modified in the modification file
Same code deletion;Alternatively, the code modified in the modification file is replaced original document described in the source code
Code between initial row and end line.
The use of the type action of modification will be explained in detail below, the behavior of action code revision mainly there are 6
Action:
(1) addDef: in C, C++ defmacro;
(2) modify: for increasing, modifying, delete code;
(3) addInclude: for increasing the reference of header file in C, C++;
(4) addImport: for introducing class in Java;
(5) addCodeAtTail: increase code in the beginning of file;
(6) addCodeAtHead: increase code in the ending of file.
According to the code modified in modification file, between the initial row and end line for modifying original document in source code
Code include:
(1)addCode
Code is added using context matches
//##featureStart##feature_name##addCode
(addCode)
//##featureEnd
(2)addMethod
The adding method of context matches is not needed
//##featureStart##feature_name##addMethod
(addMethod)
//##featureEnd
(3)addCodeAtHead
Context matches addition code is not needed, adds code at the beginning of present scope
//##featureStart##feature_name##addCodeAtHead
(addCode)
//##featureEnd
(4)addCodeAtTail
The adding method for not needing context matches adds code at the end in current range
//##featureStart##feature_name##addCodeAtTail
(addCode)
//##featureEnd
(5)addDef
The addition #def for not needing context matches, only supports C language
//##featureStart##feature_name##addDef
(addCode)
//##featureEnd
(6)addInclude
The addition #include for not needing context matches, only supports C language
//##featureStart##feature_name##addDef
(addCode)
//##featureEnd
(7)addImport
The addition import for not needing context matches, only supports Java
//##featureStart##feature_name##addDef
(addCode)
//##featureEnd
(8)modify
Code is modified using context matches
//##featureStart##feature_name##modify
//##delStart
(DeleteCode)
//##delEnd
(ModifiedCode)
//##featureEnd
(9)modifyWC
The modification of context is not needed
//##featureStart##feature_name##modifyWC
//##delStart
(DeleteCode)
//##delEnd
(ModifiedCode)
//##featureEnd
(10)delCode
Need the deletion code of context matches
//##featureStart##feature_name##delCode
(DeleteCode)
//##delEnd
//##featureEnd
(11)delMethod
Context matches delet method is not needed
//##featureStart##feature_name##delMethod
//##delStart
(DeleteCode)
//##delEnd
//##featureEnd
(12)replaceMethod
//##featureStart##feature_name##replaceMethod
//##delStart
(DeleteCode)
//##delEnd
(ModifiedCode)
//##featureEnd
The present embodiment obtains required modified logo by parsing service packs, and the corresponding of original document is modified in source code
Code is modified in position, realizes and is assured really modifying the original document in source code according to the patch of modification file, improves acquisition and repair
The convenience and reliability of source code after changing.
Further, it is based on above-mentioned code administration method any embodiment, proposes code administration method the 4th of the present invention
Embodiment, the present embodiment code administration method are corresponding with above-mentioned code management system fourth embodiment.The present embodiment and the present invention
The difference of code administration method any embodiment is that above-mentioned steps S40 includes: later in the present embodiment
The service packs is deleted, is obtained based on modified source code new service packs generated, from the new benefit
The path that new modification file is obtained in fourth packet, it is right in modified source code to be obtained according to the path of the new modification file
The file answered;
It parses the new service packs and obtains new modified logo, repaired according to the new modified logo and preset matching
Change rule accordingly to modify the file.
In the present embodiment, during program debugging, when certain functional module also needs to modify to code, need
The step of updating the Patch packet of the functional module, updating Patch packet includes: to delete original .perfectPatch file, i.e.,
Original Patch packet is deleted, it is then of the same name according to generating one the step of above-mentioned generation .perfectPatch file
.perfectPatch file.
Specifically, after deleting original Patch packet, based on above-mentioned modified source code to the file of some functional module
After modifying, new Patch packet is regenerated.New Patch packet is loaded in code management system, parses new Patch packet,
The path that new modification file is obtained from new Patch packet obtains modified source generation according to the path of new modification file
Corresponding file in code.Continue to parse new Patch packet and obtain new modified logo, according to new modified logo and above-mentioned preset
Matching alteration ruler file is accordingly modified.
The present embodiment improves the convenience of joint debugging and maintenance code, and improve by being updated to Patch packet
It is incorporated into the accuracy rate of code, ensure that the stability of program function.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only alternative embodiments of the invention, are not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (8)
1. a kind of code management system, which is characterized in that the code management system includes:
File acquisition module is modified, for obtaining the modification file modified for being directed to source code;
First setting module opens the first identifier for obtaining the field started in the modification file with first identifier
Row where the field of head is set as starting modification row;
Logging modle, for the specified line code before recording the starting modification row, the modification path of file and described
The code modified in modification file, and record the class modified modified in file, the method modified and repaired
The behavior changed;
Second setting module opens the second identifier for obtaining the field started in the modification file with second identifier
Row where the field of head is set as terminating modification row, and records the specified line code terminated after modification row;
Generation module generates service packs for storing the content recorded;
Service packs obtains module, for obtaining based on the modification file service packs generated modified in the source code;
Original document obtains module, and the path of modification file is obtained for parsing the service packs, according to the modification file
Path obtains corresponding original document in the source code;
Modified module obtains modified logo for parsing the service packs, according to modified logo and preset matching alteration ruler
The original document is accordingly modified, modified source code is obtained.
2. code management system as described in claim 1, which is characterized in that the modified module includes:
Resolution unit, for parsing the service packs, specified line code, the end before obtaining the starting modification row are repaired
Specified line code after changing one's profession, the class modified in the code and the modification file modified in the modification file,
The method modified and the behavior modified;
Determination unit, for being determined according to the class modified, the method modified and the behavior modified in the original document
Position, in the position according to it is described modification file in starting modification row before specified line code, described original
Corresponding initial row is determined in file, and according to the specified line code terminated after modification is gone, in the original document
The corresponding end line of middle determination;
Unit is modified, for modifying the original text in the source code according to the code modified in the modification file
Code between the initial row and end line of part.
3. code management system as claimed in claim 2, which is characterized in that the modification unit is also used to, by the modification
The code modified in file increases between the initial row and end line of original document described in the source code;Alternatively,
By between the initial row and end line of original document described in the source code, with the generation modified in the modification file
The identical code deletion of code;Alternatively,
The code modified in the modification file is replaced to the initial row and end line of original document described in the source code
Between code.
4. code management system as described in any one of claims 1-3, which is characterized in that the code management system also wraps
It includes:
Update module is obtained for deleting the service packs based on modified source code new service packs generated, from institute
The path for obtaining new modification file in new service packs is stated, modified source is obtained according to the path of the new modification file
Corresponding file in code;It parses the new service packs and obtains new modified logo, according to the new modified logo and in advance
The matching alteration ruler set accordingly modifies the file.
5. a kind of code administration method, which is characterized in that the code administration method the following steps are included:
Obtain the modification file modified for being directed to source code;
The field started in the modification file with first identifier is obtained, the row where field that the first identifier starts is set
It is set to starting modification row;
It is repaired in the path of specified line code, the modification file before recording the starting modification row and the modification file
The code changed, and record the class modified, the method modified and the behavior modified in the modification file;
The field started in the modification file with second identifier is obtained, the row where field that the second identifier starts is set
It is set to end modification row, and records the specified line code terminated after modification row;
The content recorded is stored, service packs is generated;
It obtains based on the modification file service packs generated modified in the source code;
The path that the service packs obtains modification file is parsed, it is right in the source code to obtain according to the path of the modification file
The original document answered;
It parses the service packs and obtains modified logo, according to modified logo and preset matching alteration ruler to the original document
It is accordingly modified, obtains modified source code.
6. code administration method as claimed in claim 5, which is characterized in that the parsing service packs obtains modification mark
Know, carrying out corresponding modification to the original document according to modified logo and preset matching alteration ruler includes:
The service packs is parsed, specified line code, the finger terminated after modification row before obtaining the starting modification row
Determine line code, the code modified and the class modified in the modification file, the method modified in the modification file
With the behavior modified;
It is determined according to the class modified, the method modified and the behavior modified in the position of the original document, described
According to the specified line code before the starting modification row in the modification file in position, determines and correspond in the original document
Initial row, and according to the specified line code terminated after modification row, corresponding knot is determined in the original document
Shu Hang;
According to the code modified in the modification file, the initial row and knot of the original document are modified in the source code
Code between beam row.
7. code administration method as claimed in claim 6, which is characterized in that described to be modified according in the modification file
Code, the code between the initial row and end line for modifying the original document in the source code include:
The code modified in the modification file is increased to initial row and the end of original document described in the source code
Between row;Alternatively,
By between the initial row and end line of original document described in the source code, with the generation modified in the modification file
The identical code deletion of code;Alternatively,
The code modified in the modification file is replaced to the initial row and end line of original document described in the source code
Between code.
8. such as the described in any item code administration methods of claim 5-7, which is characterized in that the parsing service packs obtains
Modified logo is accordingly modified the original document according to modified logo and preset matching alteration ruler, is modified
Include: after source code afterwards
The service packs is deleted, is obtained based on modified source code new service packs generated, from the new service packs
The middle path for obtaining new modification file obtains corresponding in modified source code according to the path of the new modification file
File;
It parses the new service packs and obtains new modified logo, rule are modified according to the new modified logo and preset matching
Then the file is accordingly modified.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610387755.0A CN106055334B (en) | 2016-06-01 | 2016-06-01 | Code management system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610387755.0A CN106055334B (en) | 2016-06-01 | 2016-06-01 | Code management system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106055334A CN106055334A (en) | 2016-10-26 |
CN106055334B true CN106055334B (en) | 2019-05-31 |
Family
ID=57172592
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610387755.0A Active CN106055334B (en) | 2016-06-01 | 2016-06-01 | Code management system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106055334B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106933591A (en) * | 2017-03-15 | 2017-07-07 | 东软集团股份有限公司 | The method and device that code merges |
CN107145351A (en) * | 2017-05-02 | 2017-09-08 | 山东浪潮通软信息科技有限公司 | A kind of method, device, computer-readable recording medium and storage control for changing Digital signature Java bag |
CN108241499A (en) * | 2018-01-05 | 2018-07-03 | 金行家(深圳)文化传播有限公司 | Update method, device and the computer readable storage medium of field value annotation |
CN109189400A (en) * | 2018-08-07 | 2019-01-11 | 北京趣拿软件科技有限公司 | Program dissemination method and device, storage medium, processor |
CN109597620B (en) * | 2018-08-08 | 2022-04-01 | 北京字节跳动网络技术有限公司 | Data processing method, device, equipment and storage medium |
CN109726213B (en) * | 2018-12-10 | 2021-11-19 | 阿里巴巴(中国)有限公司 | Program code conversion method, device, medium and computing equipment |
CN110704298A (en) * | 2019-08-23 | 2020-01-17 | 北京奇艺世纪科技有限公司 | Code verification method and device, terminal equipment and storage medium |
CN113900680A (en) * | 2020-07-06 | 2022-01-07 | 中国移动通信集团重庆有限公司 | Code management method and device and computing equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101566967A (en) * | 2009-06-03 | 2009-10-28 | 哈尔滨工程大学 | Quick automatic amendment method aimed at java byte code files |
CN102831056A (en) * | 2012-07-31 | 2012-12-19 | 东南大学 | Regression testing sample generating method based on modification impact analysis |
CN104461578A (en) * | 2014-12-26 | 2015-03-25 | 广州唯品会信息科技有限公司 | Automatic code merging method and system |
CN105512021A (en) * | 2014-09-25 | 2016-04-20 | 阿里巴巴集团控股有限公司 | Method and device for Diff analysis used for software testing |
-
2016
- 2016-06-01 CN CN201610387755.0A patent/CN106055334B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101566967A (en) * | 2009-06-03 | 2009-10-28 | 哈尔滨工程大学 | Quick automatic amendment method aimed at java byte code files |
CN102831056A (en) * | 2012-07-31 | 2012-12-19 | 东南大学 | Regression testing sample generating method based on modification impact analysis |
CN105512021A (en) * | 2014-09-25 | 2016-04-20 | 阿里巴巴集团控股有限公司 | Method and device for Diff analysis used for software testing |
CN104461578A (en) * | 2014-12-26 | 2015-03-25 | 广州唯品会信息科技有限公司 | Automatic code merging method and system |
Also Published As
Publication number | Publication date |
---|---|
CN106055334A (en) | 2016-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106055334B (en) | Code management system and method | |
CN102609328B (en) | System difference upgrade method and device and mobile terminal | |
CN102866944B (en) | Pressure testing system and method | |
CN106293664A (en) | Code generating method and device | |
CN105302554A (en) | Android system automatic program construction method and system | |
CN103077111B (en) | A kind of localization method of continuous integrating failure use-case and system | |
CN104615462B (en) | Cross-platform Mobile solution generation service end and system | |
CN108897547B (en) | Software automation deployment method and device | |
CN106843933A (en) | A kind of leak restorative procedure of application program, mobile terminal and patch server | |
CN108021415A (en) | Automatic packaging method, apparatus, computer equipment and storage medium | |
CN110083360A (en) | A kind of Compilation Method of application code, device, equipment and storage medium | |
CN109840105A (en) | A kind of hot update method that do not withdraw | |
CN109614400A (en) | The influence and Source Tracing method, apparatus, equipment and storage medium of failed tasks | |
CN110515625A (en) | Task construction method, device, equipment and computer readable storage medium | |
CN106681773A (en) | Android system starting method and device, and Android mobile terminal | |
CN111176654A (en) | Internet of things application online compiling method based on multi-user cache | |
CN104881311A (en) | Method and apparatus for judging version compatibility | |
CN110007941A (en) | A kind of the MCU firmware and upgrade method of Intelligent refuse classification recovery system | |
CN103109289B (en) | Based on the script edit methods of WEB, system and WEB client side | |
CN106603289B (en) | LMT configuration file smooth upgrading method | |
CN106990974B (en) | APP updating method and device and electronic equipment | |
CN114416547A (en) | Test case based test method | |
CN110262828A (en) | System business module configuration method, system, readable storage medium storing program for executing and equipment | |
CN101751332B (en) | Method, device and system for simulating process of workflow middleware | |
CN110750310B (en) | Binary and source code switching method based on IOS system componentization development |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |