CN108897542A - A kind of soft project method of adjustment, device and electronic equipment - Google Patents

A kind of soft project method of adjustment, device and electronic equipment Download PDF

Info

Publication number
CN108897542A
CN108897542A CN201810370471.XA CN201810370471A CN108897542A CN 108897542 A CN108897542 A CN 108897542A CN 201810370471 A CN201810370471 A CN 201810370471A CN 108897542 A CN108897542 A CN 108897542A
Authority
CN
China
Prior art keywords
storage location
version number
code module
object code
soft project
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
CN201810370471.XA
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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201810370471.XA priority Critical patent/CN108897542A/en
Publication of CN108897542A publication Critical patent/CN108897542A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

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

Abstract

The embodiment of the invention provides a kind of soft project method of adjustment, device and electronic equipment, the method includes:Determine that configuration information corresponding to soft project to be adjusted, configuration information include:Corresponding first download address of object code module to be integrated, code rely on corresponding second download address of item, preset the first storage location and corresponding second storage location of soft project about compiling result;Wherein, code dependence item is:Object code module is assisted to complete the data content of compiling;The code of object code module is downloaded from the first download address, and is downloaded code from the second download address and relied on item;Item is relied on based on code, the code of object code module is compiled, is compiled as a result, and generating the target version number of object code module;Compiling result is stored in the first storage location, and by target version number and the corresponding address of the first storage location, correspondence is stored in the second storage location.

Description

A kind of soft project method of adjustment, device and electronic equipment
Technical field
The present invention relates to coding fields, more particularly to a kind of soft project method of adjustment, device and electronic equipment.
Background technique
Currently, developer would generally utilizing works management tool, such as CocoaPods generates using one or more The soft project of code module is integrated with the corresponding function of multiple code modules in an i.e. soft project.
Code when soft project needs to adjust, such as in code module used in soft project is changed, or Person increases code module newly in soft project file, is usually adjusted manually by developer to soft project in the prior art It is whole, such as:The code of downloading code module, manually compiling etc. manually.
Although the prior art can complete soft project adjustment by manual type, in soft project adjustment, consumption Take manpower and regulated efficiency is lower.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of soft project method of adjustment, device and electronic equipment, to realize The purpose for reducing human input, improving regulated efficiency.Specific technical solution is as follows:
In a first aspect, the embodiment of the invention provides a kind of soft project method of adjustment, the method includes:
Determine configuration information corresponding to soft project to be adjusted, wherein the configuration information includes:Mesh to be integrated Mark corresponding first download address of code module, code relies on corresponding second download address of item, preset about compiling result The first storage location and corresponding second storage location of the soft project;Wherein, the code dependence item is:Assist institute State the data content that object code module completes compiling;
Download the code of the object code module from first download address, and from second download address The middle downloading code relies on item;
Item is relied on based on the code, the code of the object code module is compiled, is compiled as a result, and raw At the target version number of the object code module;
The compiling result is stored in first storage location, and the target version number and described first is deposited Storage space sets corresponding address, and correspondence is stored in second storage address.
Optionally, it is header file that the code, which relies on the data type of item,.
Optionally, the step of configuration information corresponding to determination soft project to be adjusted, including:
Obtain configuration file corresponding to the soft project to be adjusted;
Configuration information is read from the configuration file.
Optionally, the step of target version for generating the object code module, including:
When the version number to match with the object code module is not present in second storage location, according to default Version number's create-rule, generate the target version number of the object code module;
It is corresponding to be stored in described the correspondingly, by the target version number address corresponding with first storage location Step in two storage address, including:
It is corresponding in second storage location to increase the target version number correspondingly with first storage location Location.
Optionally, the step of target version for generating the object code module, including:
When in second storage location exist match with the object code module version number when, according to it is described The version number and preset version number's create-rule that object code module matches, generate the target version of the object code module This number;
It is corresponding to be stored in described the correspondingly, by the target version number address corresponding with first storage location Step in two storage address, including:
It is deleted and version number and corresponding storage that the object code module matches from second storage location Address;
It is corresponding in second storage location to increase the target version number correspondingly with first storage location Location.
Optionally, described by the target version number address corresponding with first storage location, correspondence is stored in institute After stating in the second storage address, the method also includes:
Export notification message;Wherein, the notification message is for prompting soft project to adjust successfully.
Second aspect, the embodiment of the invention provides a kind of soft projects to adjust device, and described device includes:
Determining module, for determining configuration information corresponding to soft project to be adjusted, wherein the configuration information packet It includes:Corresponding first download address of object code module to be integrated, code rely on corresponding second download address of item, preset The first storage location and corresponding second storage location of the soft project about compiling result;Wherein, the code relies on Xiang Wei:The object code module is assisted to complete the data content of compiling;
Download module, for downloading the code of the object code module from first download address, and from institute It states and downloads the code dependence item in the second download address;
Collector is compiled the code of the object code module, obtains for relying on item based on the code Compiling is as a result, and generate the target version number of the object code module;
Preserving module, for the compiling result to be stored in first storage location, and by the target version Number address corresponding with first storage location, correspondence are stored in second storage address.
Optionally, it is header file that the code, which relies on the data type of item,.
Optionally, the determining module is specifically used for:
Obtain configuration file corresponding to the soft project to be adjusted;
Configuration information is read from the configuration file.
Optionally, the collector is specifically used for:
When the version number to match with the object code module is not present in second storage location, according to default Version number's create-rule, generate the target version number of the object code module;
Correspondingly, the preserving module is specifically used for:
It is corresponding in second storage location to increase the target version number correspondingly with first storage location Location.
Optionally, the collector is specifically used for:
When in second storage location exist match with the object code module version number when, according to it is described The version number and preset version number's create-rule that object code module matches, generate the target version of the object code module This number;
Correspondingly, the preserving module is specifically used for:
It is deleted and version number and corresponding storage that the object code module matches from second storage location Address;
It is corresponding in second storage location to increase the target version number correspondingly with first storage location Location.
Optionally, described device further includes:
Notification module, for exporting notification message;Wherein, the notification message is for prompting soft project to adjust successfully.
The third aspect, the embodiment of the invention provides a kind of electronic equipment, including processor and memory, wherein
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes that the embodiment of the present invention is provided Soft project method of adjustment the step of.
Use is accomplished manually soft project and adjusts compared with the prior art, in institute of embodiment of the present invention offer scheme, when need When adjusting soft project, the corresponding configuration information of soft project to be adjusted is obtained, and utilize soft project institute to be adjusted Corresponding configuration information is automatically performed code downloading, compiling and the preservation of compiling result and target version number, to be automatically performed Soft project adjustment.Therefore, the embodiment of the present invention can effectively reduce human input, improve regulated efficiency.
In addition, implementing any of the products of the present invention or method must be not necessarily required to reach all the above excellent simultaneously Point.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described.
Fig. 1 is a kind of flow diagram of the soft project method of adjustment of the embodiment of the present invention;
Fig. 2 is another flow diagram of the soft project method of adjustment of the embodiment of the present invention;
Fig. 3 is another flow diagram of the soft project method of adjustment of the embodiment of the present invention;
Fig. 4 is that the soft project of the embodiment of the present invention adjusts the structural schematic diagram of device;
Fig. 5 is the structural schematic diagram of the electronic equipment of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention is described.
Scheme in order to facilitate understanding, here, first simply introducing the scene of application of the embodiment of the present invention:
The multiple fields such as soft project is widely used in multimedia coding, image is shown, data are analyzed, soft project are usual It is by developer's utilizing works management tool, such as CocoaPods, by the integrated generation of one or more code modules.Cause This, the realization of the soft project function each code module internal dependent on it.
Soft project adjustment may include but be not limited to:The change of existing code module in soft project, alternatively, Increase code module in soft project newly.Specifically, when the code in some used code module of soft project is changed When, it is necessary to the code after code module change is recompilated, generates new compiling as a result, again protecting new compiling result It is stored in the soft project, to complete the adjustment of soft project.And when increasing some code module newly in soft project file, It just needs for the code that newly-increased code module needs to be compiled, then compiling result is stored in the soft project, to complete The adjustment of soft project.When needing to carry out soft project adjustment, the prior art usually carries out soft project by developer It manually adjusts, such as:The code of downloading code module, manually compiling etc. manually, although soft project adjustment can be completed, It is the labor intensive and regulated efficiency is lower in soft project adjustment.
In order to reduce soft project adjustment when human input, improve regulated efficiency, the embodiment of the invention provides one kind Soft project method of adjustment, device, electronic equipment and storage medium.It is provided for the embodiments of the invention software work first below Journey method of adjustment is introduced.
It should be noted that the executing subject of soft project method of adjustment provided by the embodiment of the present invention can be one kind Soft project adjusts device.Soft project adjustment device can be run in electronic equipment, also, soft project adjustment dress Set to be the plug-in unit in engineering management tool, or independently of the program of engineering management tool.
In addition, in a particular application, python language can be used to realize the program code of soft project method of adjustment, To realize that soft project adjusts automatically in the system environments such as apple system Mac OS, python virtual machine.It is understood that It is that python language is a kind of explanation type computer programming language of object-oriented.
As shown in Figure 1, soft project method of adjustment provided by the embodiment of the present invention, may include steps of:
S101 determines configuration information corresponding to soft project to be adjusted.
It will be appreciated by persons skilled in the art that the soft project adjusts device can when needing to adjust soft project To determine configuration information corresponding to soft project to be adjusted first, and then subsequent automatic tune is executed using the configuration information Rectify journey.
It should be noted that soft project adjustment device can obtain the configuration information being manually entered;Alternatively, this is soft Part engineering adjustment device can obtain configuration file corresponding to the soft project to be adjusted, then from the configuration file Read configuration information.The embodiment of the present invention does not limit the method for obtaining the configuration information.
Specifically, the configuration information may include:Corresponding first download address of object code module to be integrated, generation Code relies on corresponding second download address of item, preset the first storage location and the soft project pair about compiling result The second storage location answered.It describes in detail below to each information included by configuration information:
1) corresponding first download address of object code module to be integrated;
The object code module is the code module or increase newly that code is changed in soft project to be adjusted Code module etc..
First download address is the download address of the code of object code module.For example, being changed for code Code module, first download address is the download address of the code of the code module after coding change;For newly-increased Code module, first download address is the download address for the code that newly-increased code module needs to use.It is understood that , first download address can be the address in local server, or the address in remote server.
2) code relies on corresponding second download address of item;
The code relies on item:The object code module is assisted to complete the data content of compiling.Those skilled in the art Member is it is understood that when compiling the code of the object code module, it is necessary to some other data contents is relied on, these Data content is exactly that the code relies on item.Wherein, the data type that the code relies on item can be header file.Specifically, The code relies on item:Object code module needs some compiling functions used.
Wherein, second download address is the download address that the code relies on item.Specifically, second downloading ground Location can be the address in local server, or the address in remote server is not limited thereto certainly.
3) preset the first storage location about compiling result;
The compiling result is to be compiled and obtained to the code of the object code module based on code dependence item It is arriving as a result, i.e. executable file.
Wherein, first storage location is:It is that each compiling result is preset corresponding that the soft project, which adjusts device, Storage location.Specifically, first storage location can be in local server, it can also be in remote server, certainly It is not limited thereto.
4) corresponding second storage location of the soft project;
It will be appreciated by persons skilled in the art that can be preserved in corresponding second storage location of soft project Version number, storage address of code module used in soft project etc. in order to soft project calling, manage these code moulds Block.Specifically, second storage location can be in local server, and it can also be in remote server, not office certainly It is limited to this.
S102 downloads the code of the object code module from first download address, and under described second The code is downloaded in set address relies on item.
After determining configuration information corresponding to soft project to be adjusted, which adjusts device can be according to institute State the first download address, second download address, the code of the automatic quick-downloading object code module, the code according to Lai Xiang avoids the process manually searching code and downloading.
S103 relies on item based on the code, is compiled to the code of the object code module, obtains compiling knot Fruit, and generate the target version number of the object code module.
After downloading obtains the code of the object code module and code relies on item, which adjusts device can To rely on item based on the code, the code of the object code module is compiled, is compiled as a result, and described in generation The target version number of object code module.
It should be noted that in the embodiment of the present invention, while which adjusts the device generation compiling result, Generate the target version number of the object code module.The purpose of the target version number is, as object code module Newest mark convenient for soft project identification, is called.
In addition, it is necessary to, it is emphasized that be compiled based on code dependence item to the code of the object code module Specific implementation can use compiling mode in the prior art, this will not be repeated here.
The compiling result is stored in first storage location by S104, and by the target version number and described The corresponding address of first storage location, correspondence are stored in second storage location.
The compiling result is stored in first storage location by soft project adjustment device, later, can be incited somebody to action The target version number address corresponding with first storage location, correspondence are stored in second storage location, are realized The one-to-one relationship of the target version number address corresponding with first storage location, to realize that engineering adjusts.It can be with Understand, soft project adjusted can pass through the target version number, described first in second storage location The corresponding address of storage location accurately calls out the corresponding compiling result of the object code module.
Use is accomplished manually soft project and adjusts compared with the prior art, in institute of embodiment of the present invention offer scheme, when need When adjusting soft project, the corresponding configuration information of soft project to be adjusted is obtained, and utilize soft project institute to be adjusted Corresponding configuration information is automatically performed code downloading, compiling and the preservation of compiling result and target version number, to be automatically performed Soft project adjustment.Therefore, the embodiment of the present invention can effectively reduce human input, improve regulated efficiency.
Optionally, it adjusts to intuitively show as a result, described by the target version number and first storage location Corresponding address corresponds to after being stored in second storage address, the method also includes:
Export notification message;Wherein, the notification message is for prompting soft project to adjust successfully.
The embodiment of the present invention can export notification message, such as mail, dialog box, short message in a variety of forms.Institute Stating notification message may include a variety of data informations, such as soft project adjusts successfully/unsuccessful, code revision item.Certainly, The corresponding information of all code modules of soft project can also be shown with tabular form in the notification message, such as:Version Number, corresponding first storage location etc..
It will be appreciated by persons skilled in the art that the notification message can be exported to all users, also can be set Permission only exports the developer to specific user, adjusted such as triggering soft project or to code module in soft project Code carried out the developer etc. of modification.
Use is accomplished manually soft project and adjusts compared with the prior art, in institute of embodiment of the present invention offer scheme, when need When adjusting soft project, the corresponding configuration information of soft project to be adjusted is obtained, and utilize soft project institute to be adjusted Corresponding configuration information is automatically performed code downloading, compiling and the preservation of compiling result and target version number, to be automatically performed Soft project adjustment.Therefore, the embodiment of the present invention can effectively reduce human input, improve regulated efficiency.Meanwhile the present invention is real Scheme provided by example is applied, diversified forms output notification message is can use, can intuitively show soft project to user Adjust result.
As another embodiment, referring to fig. 2, Fig. 2 is the another kind of the soft project method of adjustment of the embodiment of the present invention Flow diagram is directed to the case where object code module is newly-increased code module, remaining step repeats no more, only to figure The detailed process of step S103 and step S104 in 1 are illustrated.
S1031 relies on item based on the code, is compiled to the code of the object code module, obtains compiling knot Fruit, when the version number to match with the object code module is not present in second storage location, according to preset version This number create-rule generates the target version number of the object code module.
Wherein, item is relied on based on the code, the code of the object code module is compiled, obtain compiling result Process repeat no more.
It will be appreciated by persons skilled in the art that never coming across the soft project for increasing code module A newly In, then just there is no the title A phases with the newly-increased code module A in corresponding second storage location of the soft project Matched version number.At this time can according to preset version number's create-rule, such as according to alphabetical sequencing or according to Ah Sequencing of Arabic numbers etc., the target version number for generating the newly-increased code module A is AA or A0 etc..
The compiling result is stored in first storage location by S1041, corresponding in second storage location Increase the target version number address corresponding with first storage location.
Wherein, the process that the compiling result is stored in first storage location is repeated no more.
For newly-increased code module A, the target version number of the newly-increased code module A of generation is AA, then described soft In corresponding second storage location of part engineering, the corresponding increase target version AA and first storage location are corresponding Address.
It uses compared with the prior art and is accomplished manually soft project adjustment, in institute of embodiment of the present invention offer scheme, for In the object code module is newly-increased code module the case where, when needing to adjust soft project, software to be adjusted is obtained The corresponding configuration information of engineering, and using configuration information corresponding to soft project to be adjusted, it is automatically performed code downloading, compiles The preservation of result and target version number is translated and compiles, to be automatically performed soft project adjustment.Therefore, the embodiment of the present invention can Human input is effectively reduced, regulated efficiency is improved.
It is another of the soft project method of adjustment of the embodiment of the present invention referring to Fig. 3, Fig. 3 as another embodiment Flow diagram, being directed to the object code module is the code code module that there is a situation where change.Remaining step is no longer It repeats, only the detailed process of step S103 and step S104 in Fig. 1 is illustrated.
S1032 relies on item based on the code, is compiled to the code of the object code module, obtains compiling knot Fruit, when in second storage location exist match with the object code module version number when, according to the target The version number and preset version number's create-rule that code module matches, generate the target version of the object code module Number.
Wherein, item is relied on based on the code, the code of the object code module is compiled, obtain compiling result Process repeat no more.
It will be appreciated by persons skilled in the art that for the code module B that code is changed, before coding change It is present in the soft project, then in corresponding second storage location of the soft project, certain existing code The version number of module B.The version number to match with the title B of the object code module B can be first got at this time, for example is obtained Getting version number is B1.So according to the version number B1 and preset version number's create-rule, such as according to Arabic numerals Sequencing etc., the target version number of the code module B after generating coding change is B2.
The compiling result is stored in first storage location, deletes from second storage location by S1042 With the version number and corresponding storage address that the object code module matches.
Wherein, the process that the compiling result is stored in first storage location is repeated no more.
For the code module B after coding change, gets and be with the object code module B version number to match B1, then the storage of the corresponding compiling result of the version number B1 and version number B1 is deleted from second storage location Location.The purpose of deletion while also can in order to avoid there is mistake when soft project calls the compiling result of different editions number Save the memory space of second storage location.It is of course also possible to which it is corresponding to retain the version number B1 and version number B1 Compiling result storage address, in favor of restore coding change before code module B.
S1043, it is corresponding in second storage location to increase the target version number and first storage location pair The address answered.
The target version number of the code module B after generating coding change is B2, then in second storage location It is corresponding to increase the target version B2 and the corresponding address of corresponding first storage location.
It uses compared with the prior art and is accomplished manually soft project adjustment, in institute of embodiment of the present invention offer scheme, for In the object code module be the code code module that theres is a situation where change, when needing to adjust soft project, acquisition to The corresponding configuration information of the soft project of adjustment, and using configuration information corresponding to soft project to be adjusted, it is automatically performed Code downloading, compiling and the preservation of compiling result and target version number, to be automatically performed soft project adjustment.Therefore, this hair Bright embodiment can effectively reduce human input, improve regulated efficiency.
It should be noted that preset version number's create-rule can be for different from generation in both examples above Version number before code module, without requiring the version number of code module of same name to follow certain letter or number Word arrangement sequence etc..
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of soft projects to adjust device, such as Fig. 4 institute Show, the soft project adjustment device includes:
Determining module 401, for determining configuration information corresponding to soft project to be adjusted, wherein described to match confidence Breath includes:Corresponding first download address of object code module to be integrated, code rely on corresponding second download address of item, pre- If about compiling result the first storage location and corresponding second storage location of the soft project;Wherein, the code Relying on item is:The object code module is assisted to complete the data content of compiling.
Download module 402, for downloading the code of the object code module, Yi Jicong from first download address The code is downloaded in second download address relies on item.
Collector 403, for being compiled to the code of the object code module based on code dependence item, It is compiled as a result, and generating the target version number of the object code module.
Preserving module 404, for the compiling result to be stored in first storage location, and by the target version This number address corresponding with first storage location, correspondence are stored in second storage address.
Use is accomplished manually soft project and adjusts compared with the prior art, in institute of embodiment of the present invention offer scheme, when need When adjusting soft project, the corresponding configuration information of soft project to be adjusted is obtained, and utilize soft project institute to be adjusted Corresponding configuration information is automatically performed code downloading, compiling and the preservation of compiling result and target version number, to be automatically performed Soft project adjustment.Therefore, the embodiment of the present invention can effectively reduce human input, improve regulated efficiency.
Optionally, in embodiments of the present invention, it is header file that the code, which relies on the data type of item,.
Optionally, in embodiments of the present invention, the determining module 401 is specifically used for:
Obtain configuration file corresponding to the soft project to be adjusted;
Configuration information is read from the configuration file.
Optionally, in embodiments of the present invention, the collector 403 is specifically used for:
When the version number to match with the object code module is not present in second storage location, according to default Version number's create-rule, generate the target version number of the object code module;
Correspondingly, the preserving module 404 is specifically used for:
It is corresponding in second storage location to increase the target version number correspondingly with first storage location Location.
Optionally, in embodiments of the present invention, the collector 403 is specifically used for:
When in second storage location exist match with the object code module version number when, according to it is described The version number and preset version number's create-rule that object code module matches, generate the target version of the object code module This number;
Correspondingly, the preserving module 404 is specifically used for:
It is deleted and version number and corresponding storage that the object code module matches from second storage location Address;
It is corresponding in second storage location to increase the target version number correspondingly with first storage location Location.
Optionally, in embodiments of the present invention, the soft project adjustment device further includes:
Notification module, for exporting notification message;Wherein, the notification message is for prompting soft project to adjust successfully.
Use is accomplished manually soft project and adjusts compared with the prior art, in institute of embodiment of the present invention offer scheme, when need When adjusting soft project, the corresponding configuration information of soft project to be adjusted is obtained, and utilize soft project institute to be adjusted Corresponding configuration information is automatically performed code downloading, compiling and the preservation of compiling result and target version number, to be automatically performed Soft project adjustment.Therefore, the embodiment of the present invention can effectively reduce human input, improve regulated efficiency.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of electronic equipment, as shown in figure 5, can be with Including processor 501 and memory 502, wherein
The memory 502, for storing computer program;
The processor 501 when for executing the program stored on the memory 502, realizes the embodiment of the present invention The step of provided soft project method of adjustment.
Above-mentioned memory may include RAM (Random Access Memory, random access memory), also may include NVM (Non-Volatile Memory, nonvolatile memory), for example, at least a magnetic disk storage.Optionally, memory It can also be that at least one is located away from the storage device of above-mentioned processor.
Above-mentioned processor can be general processor, including CPU (Central Processing Unit, central processing Device), NP (Network Processor, network processing unit) etc.;Can also be DSP (Digital Signal Processor, Digital signal processor), ASIC (Application Specific Integrated Circuit, specific integrated circuit), FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic device are divided Vertical door or transistor logic, discrete hardware components.
By above-mentioned electronic equipment, can be realized:Configuration information corresponding to soft project to be adjusted is determined first, In, the configuration information includes:Corresponding first download address of object code module to be integrated, code rely on item corresponding the Two download address, preset the first storage location and corresponding second storage location of the soft project about compiling result; Wherein, the code dependence item is:The object code module is assisted to complete the data content of compiling;Secondly under described first The code of the object code module is downloaded in set address, and is downloaded the code from second download address and relied on ?;It is then based on the code and relies on item, the code of the object code module is compiled, compiled as a result, and raw At the target version number of the object code module;Finally the compiling result is stored in first storage location, and By the target version number address corresponding with first storage location, correspondence is stored in second storage location.Cause This, by the electronic equipment can reduce soft project adjustment when human input, improve regulated efficiency.
In addition, the embodiment of the invention provides one kind corresponding to soft project method of adjustment provided by above-described embodiment Computer readable storage medium is stored with computer program in the computer readable storage medium, and computer program is by processor The step of soft project method of adjustment provided by the embodiment of the present invention is realized when execution.
Above-mentioned computer-readable recording medium storage has executes soft project provided by the embodiment of the present invention at runtime The application program of method of adjustment, therefore can be realized:Configuration information corresponding to soft project to be adjusted is determined first, In, the configuration information includes:Corresponding first download address of object code module to be integrated, code rely on item corresponding the Two download address, preset the first storage location and corresponding second storage location of the soft project about compiling result; Wherein, the code dependence item is:The object code module is assisted to complete the data content of compiling;Secondly under described first The code of the object code module is downloaded in set address, and is downloaded the code from second download address and relied on ?;It is then based on the code and relies on item, the code of the object code module is compiled, compiled as a result, and raw At the target version number of the object code module;Finally the compiling result is stored in first storage location, and By the target version number address corresponding with first storage location, correspondence is stored in second storage location.Cause This, by the computer readable storage medium can reduce soft project adjustment when human input, improve regulated efficiency.
For electronic equipment and computer readable storage medium embodiment, method content base as involved in it Originally it is similar to embodiment of the method above-mentioned, so being described relatively simple, referring to the part explanation of embodiment of the method in place of correlation ?.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The foregoing is merely alternative embodiments of the invention, are not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (13)

1. a kind of soft project method of adjustment, which is characterized in that including:
Determine configuration information corresponding to soft project to be adjusted, wherein the configuration information includes:Target generation to be integrated Corresponding first download address of code module, code rely on corresponding second download address of item, preset the about compiling result One storage location and corresponding second storage location of the soft project;Wherein, the code dependence item is:Assist the mesh Mark the data content that code module completes compiling;
The code of the object code module is downloaded from first download address, and under in second download address It carries the code and relies on item;
Item is relied on based on the code, the code of the object code module is compiled, is compiled as a result, and generating institute State the target version number of object code module;
The compiling result is stored in first storage location, and the target version number and described first are stored into position Corresponding address is set, correspondence is stored in second storage location.
2. the method according to claim 1, wherein the data type that the code relies on item is header file.
3. method according to claim 1 or 2, which is characterized in that corresponding to determination soft project to be adjusted The step of configuration information, including:
Obtain configuration file corresponding to the soft project to be adjusted;
Configuration information is read from the configuration file.
4. method according to claim 1 or 2, which is characterized in that the target version for generating the object code module This number the step of, including:
When the version number to match with the object code module is not present in second storage location, according to preset version This number create-rule generates the target version number of the object code module;
Correspondingly, correspondence is stored in described second and deposits by the target version number address corresponding with first storage location Storage space set in step, including:
It is corresponding in second storage location to increase the target version number address corresponding with first storage location.
5. method according to claim 1 or 2, which is characterized in that the target version for generating the object code module This number the step of, including:
When in second storage location exist match with the object code module version number when, according to the target The version number and preset version number's create-rule that code module matches, generate the target version of the object code module Number;
Correspondingly, correspondence is stored in described second and deposits by the target version number address corresponding with first storage location Storage space set in step, including:
It is deleted and version number and corresponding storage address that the object code module matches from second storage location;
It is corresponding in second storage location to increase the target version number address corresponding with first storage location.
6. method according to claim 1 or 2, which is characterized in that described to deposit the target version number and described first Storage space sets corresponding address, corresponds to after being stored in second storage address, the method also includes:
Export notification message;Wherein, the notification message is for prompting soft project to adjust successfully.
7. a kind of soft project adjusts device, which is characterized in that including:
Determining module, for determining configuration information corresponding to soft project to be adjusted, wherein the configuration information includes: Corresponding first download address of object code module to be integrated, code rely on corresponding second download address of item, preset pass In the first storage location and corresponding second storage location of the soft project of compiling result;Wherein, the code relies on item For:The object code module is assisted to complete the data content of compiling;
Download module, for downloading the code of the object code module from first download address, and from described The code is downloaded in two download address relies on item;
Collector is compiled the code of the object code module, is compiled for relying on item based on the code As a result, and generating the target version number of the object code module;
Preserving module, for the compiling result to be stored in first storage location, and by the target version number and The corresponding address of first storage location, correspondence are stored in second storage location.
8. device according to claim 7, which is characterized in that the data type that the code relies on item is header file.
9. device according to claim 7 or 8, which is characterized in that the determining module is specifically used for:
Obtain configuration file corresponding to the soft project to be adjusted;
Configuration information is read from the configuration file.
10. device according to claim 7 or 8, which is characterized in that the collector is specifically used for:
When the version number to match with the object code module is not present in second storage location, according to preset version This number create-rule generates the target version number of the object code module;
Correspondingly, the preserving module is specifically used for:
It is corresponding in second storage location to increase the target version number address corresponding with first storage location.
11. device according to claim 7 or 8, which is characterized in that the collector is specifically used for:
When in second storage location exist match with the object code module version number when, according to the target The version number and preset version number's create-rule that code module matches, generate the target version of the object code module Number;
Correspondingly, the preserving module is specifically used for:
It is deleted and version number and corresponding storage address that the object code module matches from second storage location;
It is corresponding in second storage location to increase the target version number address corresponding with first storage location.
12. device according to claim 7 or 8, which is characterized in that described device further includes:
Notification module, for exporting notification message;Wherein, the notification message is for prompting soft project to adjust successfully.
13. a kind of electronic equipment, which is characterized in that including processor and memory, wherein
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes any side claim 1-6 Method step.
CN201810370471.XA 2018-04-24 2018-04-24 A kind of soft project method of adjustment, device and electronic equipment Pending CN108897542A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810370471.XA CN108897542A (en) 2018-04-24 2018-04-24 A kind of soft project method of adjustment, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810370471.XA CN108897542A (en) 2018-04-24 2018-04-24 A kind of soft project method of adjustment, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN108897542A true CN108897542A (en) 2018-11-27

Family

ID=64342502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810370471.XA Pending CN108897542A (en) 2018-04-24 2018-04-24 A kind of soft project method of adjustment, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108897542A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113347218A (en) * 2020-02-18 2021-09-03 北京沃东天骏信息技术有限公司 Module downloading method and device
CN117251165A (en) * 2023-08-24 2023-12-19 上海合芯数字科技有限公司 Method, device, terminal and medium for compiling building

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546269A (en) * 2008-03-28 2009-09-30 鸿富锦精密工业(深圳)有限公司 System and method capable of executing file version updating
CN102955698A (en) * 2012-11-26 2013-03-06 中国联合网络通信集团有限公司 Processing method and device based on multi-terminal software development
CN104424088A (en) * 2013-08-21 2015-03-18 腾讯科技(深圳)有限公司 Software testing method and device
CN105955893A (en) * 2016-05-05 2016-09-21 捷开通讯(深圳)有限公司 Writing method and reading method of stored data and intelligent terminal
CN106155651A (en) * 2015-03-31 2016-11-23 广州四三九九信息科技有限公司 The method and system that the automation of application version is issued and updated
CN106162344A (en) * 2015-03-25 2016-11-23 中兴通讯股份有限公司 Interface processing method, Apparatus and system
US9524148B1 (en) * 2016-03-07 2016-12-20 Luxrobo Multi-module compilation system, multi-module compilation method, and non-transitory computer-readable storage medium
CN106775730A (en) * 2016-12-21 2017-05-31 深圳Tcl数字技术有限公司 Program dissemination method and system
CN107729066A (en) * 2017-11-08 2018-02-23 重庆扬讯软件技术股份有限公司 One kind is based on SVN resources banks automation structure dissemination method and device
CN107885521A (en) * 2017-12-11 2018-04-06 凌云天博光电科技股份有限公司 Software engineering project automatically generates/update method, apparatus and system
CN107896244A (en) * 2017-11-07 2018-04-10 中国银联股份有限公司 A kind of distribution method of version file, client and server
CN107943486A (en) * 2017-12-19 2018-04-20 北京星河星云信息技术有限公司 A kind of multilingual code compiling method, distribution method, device and system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546269A (en) * 2008-03-28 2009-09-30 鸿富锦精密工业(深圳)有限公司 System and method capable of executing file version updating
CN102955698A (en) * 2012-11-26 2013-03-06 中国联合网络通信集团有限公司 Processing method and device based on multi-terminal software development
CN104424088A (en) * 2013-08-21 2015-03-18 腾讯科技(深圳)有限公司 Software testing method and device
CN106162344A (en) * 2015-03-25 2016-11-23 中兴通讯股份有限公司 Interface processing method, Apparatus and system
CN106155651A (en) * 2015-03-31 2016-11-23 广州四三九九信息科技有限公司 The method and system that the automation of application version is issued and updated
US20170255451A1 (en) * 2016-03-07 2017-09-07 Luxrobo Multi-module compilation system, multi-module compilation method, and non-transitory computer-readable storage medium
US9524148B1 (en) * 2016-03-07 2016-12-20 Luxrobo Multi-module compilation system, multi-module compilation method, and non-transitory computer-readable storage medium
CN105955893A (en) * 2016-05-05 2016-09-21 捷开通讯(深圳)有限公司 Writing method and reading method of stored data and intelligent terminal
CN106775730A (en) * 2016-12-21 2017-05-31 深圳Tcl数字技术有限公司 Program dissemination method and system
CN107896244A (en) * 2017-11-07 2018-04-10 中国银联股份有限公司 A kind of distribution method of version file, client and server
CN107729066A (en) * 2017-11-08 2018-02-23 重庆扬讯软件技术股份有限公司 One kind is based on SVN resources banks automation structure dissemination method and device
CN107885521A (en) * 2017-12-11 2018-04-06 凌云天博光电科技股份有限公司 Software engineering project automatically generates/update method, apparatus and system
CN107943486A (en) * 2017-12-19 2018-04-20 北京星河星云信息技术有限公司 A kind of multilingual code compiling method, distribution method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王鑫: "计算机软件开发工程中的维护", 《信息与电脑(理论版)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113347218A (en) * 2020-02-18 2021-09-03 北京沃东天骏信息技术有限公司 Module downloading method and device
CN117251165A (en) * 2023-08-24 2023-12-19 上海合芯数字科技有限公司 Method, device, terminal and medium for compiling building

Similar Documents

Publication Publication Date Title
US20140101647A1 (en) Systems and Methods for Software Upgrade Recommendation
CN107015804B (en) Method and system for rapidly developing project by configuring API
KR20130031880A (en) Method and device for automatic classification of applications in mobile terminal
CN109450708B (en) Nginx dynamic configuration method and system
CN108196878A (en) Generation method, device, electronic equipment and the storage medium of application program installation kit
WO2019169723A1 (en) Test case selection method, device and equipment, and computer-readable storage medium
CN107609047A (en) Using recommendation method, apparatus, mobile device and storage medium
CN110688232A (en) Application program calling method, terminal device and computer readable storage medium
CN109951354A (en) A kind of terminal device recognition methods, system and storage medium
CN106681749A (en) Local code patch updating method and device based on Android platform
CN106326099B (en) A kind of method, apparatus and electronic equipment for program tracking
CN108897542A (en) A kind of soft project method of adjustment, device and electronic equipment
CN109542462B (en) System environment deployment method, storage medium and server
CN106528255A (en) Class loading method and device
CN110046100B (en) Packet testing method, electronic device and medium
US8875164B2 (en) Information processing apparatus and method for controlling information processing apparatus
CN109783159A (en) Application starting method and apparatus based on configuration information
CN113961179A (en) Service access method, system, electronic device and storage medium of SOAR platform
CN106933615B (en) APP awakening method and device
CN111385661B (en) Method, device, terminal and storage medium for voice control of full screen playing
CN111443903A (en) Software development file acquisition method and device, electronic equipment and storage medium
CN106453781A (en) Quick contact person information generation method
CN109522286A (en) The treating method and apparatus of file system
CN105653540A (en) Method and device for processing file attribute information
CN109635175B (en) Page data splicing method and device, readable storage medium and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181127