CN108089864A - Application development method and device - Google Patents

Application development method and device Download PDF

Info

Publication number
CN108089864A
CN108089864A CN201611026164.7A CN201611026164A CN108089864A CN 108089864 A CN108089864 A CN 108089864A CN 201611026164 A CN201611026164 A CN 201611026164A CN 108089864 A CN108089864 A CN 108089864A
Authority
CN
China
Prior art keywords
created
application program
application
configuration file
repository
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
CN201611026164.7A
Other languages
Chinese (zh)
Inventor
徐仁杰
李颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201611026164.7A priority Critical patent/CN108089864A/en
Publication of CN108089864A publication Critical patent/CN108089864A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation

Abstract

The invention discloses a kind of application development method and device, wherein, above application program developing method includes:Obtain the configuration file of application program to be created;The repository of the application program to be created is created according to the above-mentioned configuration file of acquisition;The repository of the application program to be created is copied to the application source code engineering to prestore, replaces the repository in the application source code engineering;The installation kit of the application program to be created is generated based on the application source code engineering after replacement repository.Technical solution provided by the invention can improve the development efficiency of application program.

Description

Application development method and device
Technical field
The present invention relates to field of computer technology, and in particular to a kind of application development method and device.
Background technology
With the development of informationization technology, Enterprise Applications (namely 2B software products) have also obtained unprecedented hair Exhibition.
Enterprise Applications are the systems in face of business event service, and therefore, it is necessary to be directed to the demand of different enterprises to open Send out the required Enterprise Applications of enterprise.
At present, for the same a Enterprise Applications towards different enterprises, research staff is required for start from scratch out Hair, development efficiency is low, and the construction cycle is long.
The content of the invention
The present invention provides a kind of application development method and device, for improving the development efficiency of application program.
One aspect of the present invention provides a kind of application development method, including:
Obtain the configuration file of application program to be created;
The repository of above-mentioned application program to be created is created according to the above-mentioned configuration file of acquisition;
The repository of above-mentioned application program to be created is copied to the application source code engineering to prestore, replaces above-mentioned answer With the repository in program source code engineering;
The installation of above-mentioned application program to be created is generated based on the above application program source code engineering after replacement repository Bag.
Based on above-mentioned in a first aspect, in the first possible implementation, above-mentioned acquisition application program to be created is matched somebody with somebody Putting file includes:
Obtain the mark of above-mentioned application program to be created;
Mark based on above-mentioned application program to be created obtains above-mentioned application program to be created from default server Configuration file.
The first possible realization method based on above-mentioned first aspect, it is above-mentioned in second of possible realization method The mark of application program to be created is specially the bag name of above-mentioned application program to be created.
The first possible realization method or this hair based on first aspect present invention either first aspect present invention Second of possible realization method of bright first aspect, in the third possible realization method, above-mentioned configuration file includes:Belong to Property configuration file and functional configuration file;
Above application program source code engineering after the above-mentioned repository based on replacement generates above-mentioned application program to be created Installation kit, including:
Functional configuration file generated according to replacing in the above application program source code engineering after repository above-mentioned is waited to create Build the functional unit of the installation kit of application program;
Attribute configuration file generated according to replacing in the above application program source code engineering after repository above-mentioned is waited to match somebody with somebody Put the attribute information of the installation kit of application program.
The first possible realization method or this hair based on first aspect present invention either first aspect present invention Second of possible realization method of bright first aspect, in the 4th kind of possible realization method, if application program to be created is Two or more, then:
For each application program to be created, it is to be created using journey that above-mentioned acquisition is performed by the way of Multi-thread synchronization The step of configuration file of sequence and subsequent step.
Second aspect of the present invention provides a kind of application development device, including:
Acquiring unit, for obtaining the configuration file of application program to be created;
Creating unit, the above-mentioned configuration file for being obtained according to above-mentioned acquiring unit create above-mentioned application program to be created Repository;
Replacement unit, for the repository of above-mentioned application program to be created to be copied to the application source code work to prestore Journey replaces the repository in above application program source code engineering;
Generation unit, for based on replace repository after above application program source code engineering generation it is above-mentioned it is to be created should With the installation kit of program.
Based on second aspect of the present invention, in the first possible implementation, above-mentioned acquiring unit is specifically used for:It obtains The mark of above-mentioned application program to be created;Mark based on above-mentioned application program to be created obtains above-mentioned from default server The configuration file of application program to be created.
The first possible realization method based on second aspect of the present invention, in second of possible realization method, on The mark for stating application program to be created is specially the bag name of above-mentioned application program to be created;
Above-mentioned acquiring unit is specifically used for:Obtain the bag name of above-mentioned application program to be created;Based on above-mentioned application to be created The configuration file of above-mentioned application program to be created is obtained in the default servers of Bao Mingcong of program.
The first possible realization method or this hair based on second aspect of the present invention either second aspect of the present invention Second of possible realization method of bright second aspect, in the third possible realization method, above-mentioned configuration file includes:Belong to Property configuration file and functional configuration file;
Above-mentioned generation unit is specifically used for:According to the function in the above application program source code engineering after replacement repository Configuration file generates the functional unit of the installation kit of above-mentioned application program to be created;According to the above application journey after replacement repository The attribute information of the installation kit of the above-mentioned application program to be configured of attribute configuration file generated in sequence source code engineering.
The first possible realization method or this hair based on second aspect of the present invention either second aspect of the present invention Second of possible realization method of bright second aspect, in the 4th kind of possible realization method, if application program to be created is Two or more, then:Above application program developing apparatus by the way of Multi-thread synchronization to each application program to be created into Row synchronization process.
It is therefore to be created using journey by obtaining the configuration file of application program to be created and creating this in the present invention The repository of application program to be created is replaced the repository in application source code engineering, is based on by the repository of sequence afterwards Replace the installation kit that the application source code engineering after repository generates the application program to be created.Since this programme is directly sharp The installation kit of application program to be created is generated with application source code engineering, therefore, for towards the same of different demands Money application program, will start from scratch the drawbacks of developing when can remove application development each time from, effectively increase application The development efficiency of program shortens the construction cycle of application program.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of application development method one embodiment flow diagram provided by the invention;
Fig. 2 is a kind of application development device one embodiment structure diagram provided by the invention.
Specific embodiment
Goal of the invention, feature, advantage to enable the present invention is more apparent and understandable, below in conjunction with the present invention The technical solution in the embodiment of the present invention is clearly and completely described in attached drawing in embodiment, it is clear that described reality It is only part of the embodiment of the present invention to apply example, and not all embodiments.Based on the embodiments of the present invention, the common skill in this field Art personnel all other embodiments obtained without making creative work belong to the model that the present invention protects It encloses.
Embodiment one
The embodiment of the present invention provides a kind of application development method, referring to Fig. 1, the application journey in the embodiment of the present invention Sequence development approach, including:
Step 101, the configuration file for obtaining application program to be created;
In the embodiment of the present invention, above-mentioned configuration file can be built previously according to the demand of client, above-mentioned configuration file bag It includes but is not limited to:Resource bag (such as picture resource bag, animation resource bag etc.), competence profile (can be used for stating to system System permission used in application program), the functional configuration file function of specified application (can be used for) and attribute configuration it is literary Part (attribute (such as bag name, application name etc.) that can be used for specified application) etc..
Optionally, the configuration file of the application program to be created is obtained by the mark of application program to be created automatically.Step Rapid 101 include:The mark of above-mentioned application program to be created is obtained, the mark based on above-mentioned application program to be created is from default clothes The configuration file of above-mentioned application program to be created is obtained in business device.Specifically, the mark of above-mentioned application program to be created can be Bag name
Certainly, other manner can also be used to obtain the configuration file of application program to be created, example in the embodiment of the present invention Such as:Step 101 is specifically as follows the configuration file for obtaining the application program to be created manually imported.
Step 102, the repository that above-mentioned application program to be created is created according to the above-mentioned configuration file of acquisition;
In a step 102, the repository of above-mentioned application program to be created is created based on the configuration file that step 101 obtains. Wherein, the catalogue for the configuration file that above-mentioned repository obtains for one comprising step 101.
The repository of above-mentioned application program to be created is copied to the application source code engineering to prestore by step 103, is replaced Change the repository stated in application source code engineering;
In the embodiment of the present invention, the repository that step 102 is created is copied to existing application source code work automatically Cheng Zhong replaces the repository in the application source code engineering.
It should be noted that above application program source code engineering only needs exploitation once and stores, subsequent development is answered The application source code engineering can be used with program, without application source code engineering of redeveloping.
Step 104, based on replace repository after above application program source code engineering generation it is above-mentioned it is to be created apply journey The installation kit of sequence;
During the present invention is implemented, the repository in application source code engineering is replaced with into step 102 in step 103 and is created Repository after, you can based on replace repository after above application program source code engineering generation it is above-mentioned it is to be created apply journey The installation kit of sequence.Specifically, the process of the installation kit based on application source code engineering generation application program is referred to There is technology realization, do not limit herein.
Optionally, above-mentioned configuration file includes:Attribute configuration file and functional configuration file.Then step 104 includes:According to Replace the above-mentioned application program to be created of functional configuration file generated in the above application program source code engineering after repository The functional unit of installation kit;According to the attribute configuration file generated in the above application program source code engineering after replacement repository The attribute information of the installation kit of above-mentioned application program to be configured.
Further, in order to improve application development efficiency, when application program to be created is more than two, can be directed to Each application program to be created, performs the application development side in embodiment illustrated in fig. 1 by the way of Multi-thread synchronization Method (i.e. step 101~104).Wherein, multiple application programs to be created of Multi-thread synchronization processing can share same application Program source code engineering.
Optionally, the application development method in the embodiment of the present invention be applied to Enterprise Applications (namely 2B production Product) exploitation in.The above-mentioned application package name referred to can be used for determining enterprise belonging to application program, needed for the application program The content (such as user information, traffic class information) wanted can be provided by the application function program owned enterprise.
It should be noted that the application development method in the embodiment of the present invention can be real with application development device Existing, which can be integrated in terminal (such as personal meter in a manner of software or hardware or software and hardware combining Calculation machine, notebook etc.) in.
Therefore the application development method in the embodiment of the present invention is by obtaining the configuration of application program to be created The repository of application program to be created is replaced application program source by file and the repository for creating the application program to be created afterwards Repository in code engineering generates the application program to be created based on the application source code engineering after replacement repository Installation kit.Since this programme directly generates the installation kit of application program to be created using application source code engineering, For the same a application program towards different demands, will start from scratch exploitation when can remove application development each time from The drawbacks of, the development efficiency of application program is effectively increased, shortens the construction cycle of application program.
Embodiment two
The embodiment of the present invention provides a kind of application development device.Referring to Fig. 2, the application journey in the embodiment of the present invention Sequence development device 200, including:
Acquiring unit 201, for obtaining the configuration file of application program to be created;
Creating unit 202, the above-mentioned configuration file for being obtained according to acquiring unit 201 create above-mentioned to be created using journey The repository of sequence;
Replacement unit 203, for the repository of above-mentioned application program to be created to be copied to the application program source generation to prestore Code engineering, replaces the repository in above application program source code engineering;
Generation unit 204, for above-mentioned waiting to create based on replacing the above application program source code engineering generation after repository Build the installation kit of application program.
Optionally, acquiring unit 201 is specifically used for:Obtain the mark of above-mentioned application program to be created;It waits to create based on above-mentioned The mark for building application program obtains the configuration file of above-mentioned application program to be created from default server.
Optionally, the mark of above-mentioned application program to be created is specially the bag name of above-mentioned application program to be created;
Acquiring unit 201 is specifically used for:Obtain the bag name of above-mentioned application program to be created;Based on above-mentioned to be created using journey The configuration file of above-mentioned application program to be created is obtained in the default servers of Bao Mingcong of sequence.
Optionally, above-mentioned configuration file includes:Attribute configuration file and functional configuration file.Generation unit 204 is specifically used In:According to the above-mentioned application to be created of functional configuration file generated in the above application program source code engineering after replacement repository The functional unit of the installation kit of program;Attribute configuration text in the above application program source code engineering after replacement repository Part generates the attribute information of the installation kit of above-mentioned application program to be configured.
Optionally, if application program to be created is two or more,:Application development device in the embodiment of the present invention Processing is synchronized to each application program to be created by the way of Multi-thread synchronization.
It should be noted that the application development device in the embodiment of the present invention can be with software or hardware or soft or hard The mode that part combines is integrated in terminal (such as personal computer, notebook etc.).
It is to be understood that the function of each function module of application development device in the embodiment of the present invention can be according to upper The application development method specific implementation in embodiment of the method is stated, specific implementation process can refer in above method embodiment Application development method in associated description, details are not described herein again.
Therefore the application development device in the embodiment of the present invention is by obtaining the configuration of application program to be created The repository of application program to be created is replaced application program source by file and the repository for creating the application program to be created afterwards Repository in code engineering generates the application program to be created based on the application source code engineering after replacement repository Installation kit.Since this programme directly generates the installation kit of application program to be created using application source code engineering, For the same a application program towards different demands, will start from scratch exploitation when can remove application development each time from The drawbacks of, the development efficiency of application program is effectively increased, shortens the construction cycle of application program.
It should be noted that in several embodiments provided herein, it should be understood that disclosed device and side Method can be realized by another way.For example, the apparatus embodiments described above are merely exemplary, for example, above-mentioned The division of unit is only a kind of division of logic function, can there is other dividing mode, such as multiple units in actual implementation Or component may be combined or can be integrated into another system or some features can be ignored or does not perform.It is another, institute Display or the mutual coupling, direct-coupling or communication connection discussed can be by some interfaces, device or unit INDIRECT COUPLING or communication connection can be electrical, machinery or other forms.
It for foregoing each method embodiment, describes for simplicity, therefore it is all expressed as to a series of combination of actions, but It is that those skilled in the art should know, the present invention and from the limitation of described sequence of movement, because according to the present invention, certain A little steps may be employed other orders or be carried out at the same time.Secondly, those skilled in the art should also know, be retouched in specification The embodiment stated belongs to preferred embodiment, necessary to involved action and module might not all be the present invention.
In the above-described embodiments, all emphasize particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
It is to a kind of description of application development method and device provided by the present invention, for the one of this field above As technical staff, according to the embodiment of the present invention thought, there will be changes, comprehensive in specific embodiments and applications On, this specification content should not be construed as limiting the invention.

Claims (10)

  1. A kind of 1. application development method, which is characterized in that including:
    Obtain the configuration file of application program to be created;
    The repository of the application program to be created is created according to the configuration file of acquisition;
    The repository of the application program to be created is copied to the application source code engineering to prestore, is replaced described using journey Repository in sequence source code engineering;
    The installation kit of the application program to be created is generated based on the application source code engineering after replacement repository.
  2. 2. according to the method described in claim 1, it is characterized in that,
    The configuration file for obtaining application program to be created includes:
    Obtain the mark of the application program to be created;
    Mark based on the application program to be created obtains the configuration of the application program to be created from default server File.
  3. 3. according to the method described in claim 2, it is characterized in that, the mark of the application program to be created is specially described treats Create the bag name of application program.
  4. 4. method according to any one of claims 1 to 3, which is characterized in that the configuration file includes:Attribute configuration text Part and functional configuration file;
    The application source code engineering after the repository based on replacement generates the installation of the application program to be created Bag, including:
    It is to be created described in functional configuration file generated in the application source code engineering after replacement repository to answer With the functional unit of the installation kit of program;
    It is to be configured described in attribute configuration file generated in the application source code engineering after replacement repository to answer With the attribute information of the installation kit of program.
  5. 5. method according to any one of claims 1 to 3, which is characterized in that if application program to be created is two or more, Then:
    For each application program to be created, the acquisition application program to be created is performed by the way of Multi-thread synchronization The step of configuration file and subsequent step.
  6. 6. a kind of application development device, which is characterized in that including:
    Acquiring unit, for obtaining the configuration file of application program to be created;
    Creating unit, the configuration file for being obtained according to the acquiring unit create matching somebody with somebody for the application program to be created Put storehouse;
    Replacement unit, for the repository of the application program to be created to be copied to the application source code engineering to prestore, Replace the repository in the application source code engineering;
    Generation unit, for described to be created using journey based on the application source code engineering generation after replacement repository The installation kit of sequence.
  7. 7. application development device according to claim 6, which is characterized in that
    The acquiring unit is specifically used for:Obtain the mark of the application program to be created;Based on the application program to be created Mark the configuration file of the application program to be created is obtained from default server.
  8. 8. application development device according to claim 7, which is characterized in that the mark of the application program to be created The bag name of specially described application program to be created;
    The acquiring unit is specifically used for:Obtain the bag name of the application program to be created;Based on the application program to be created The default servers of Bao Mingcong in obtain the configuration file of the application program to be created.
  9. 9. according to claim 6 to 8 any one of them application development device, which is characterized in that the configuration file bag It includes:Attribute configuration file and functional configuration file;
    The generation unit is specifically used for:According to the functional configuration in the application source code engineering after replacement repository The functional unit of the installation kit of application program to be created described in file generated;According to the application program source after replacement repository The attribute information of the installation kit of application program to be configured described in attribute configuration file generated in code engineering.
  10. 10. according to claim 6 to 8 any one of them application development device, which is characterized in that if to be created apply journey Sequence is two or more, then:The application development device is by the way of Multi-thread synchronization to each application journey to be created Sequence synchronizes processing.
CN201611026164.7A 2016-11-14 2016-11-14 Application development method and device Pending CN108089864A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611026164.7A CN108089864A (en) 2016-11-14 2016-11-14 Application development method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611026164.7A CN108089864A (en) 2016-11-14 2016-11-14 Application development method and device

Publications (1)

Publication Number Publication Date
CN108089864A true CN108089864A (en) 2018-05-29

Family

ID=62168405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611026164.7A Pending CN108089864A (en) 2016-11-14 2016-11-14 Application development method and device

Country Status (1)

Country Link
CN (1) CN108089864A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477467A (en) * 2008-12-08 2009-07-08 山东浪潮齐鲁软件产业股份有限公司 Project code releasing method
CN103761087A (en) * 2014-01-03 2014-04-30 北京京东尚科信息技术有限公司 Method and device for cross-platform development of mobile applications
CN104065517A (en) * 2014-07-07 2014-09-24 用友软件股份有限公司 Distributed-system software configuration management method and system
CN106033335A (en) * 2015-03-11 2016-10-19 腾讯科技(深圳)有限公司 An installation package generating method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477467A (en) * 2008-12-08 2009-07-08 山东浪潮齐鲁软件产业股份有限公司 Project code releasing method
CN103761087A (en) * 2014-01-03 2014-04-30 北京京东尚科信息技术有限公司 Method and device for cross-platform development of mobile applications
CN104065517A (en) * 2014-07-07 2014-09-24 用友软件股份有限公司 Distributed-system software configuration management method and system
CN106033335A (en) * 2015-03-11 2016-10-19 腾讯科技(深圳)有限公司 An installation package generating method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈宗海: "《系统仿真技术及其应用 第11卷》", 31 December 2009 *

Similar Documents

Publication Publication Date Title
US8499237B2 (en) Method and apparatus for application enabling of websites
CN107341643B (en) Visual process display method and system
US8549093B2 (en) Updating a user session in a mach-derived system environment
CN104199723B (en) Camera mapping method based on virtual equipment
US20150095283A1 (en) Master schema shared across multiple tenants with dynamic update
US11244153B2 (en) Method and apparatus for processing information
CN113435846A (en) Business process arranging method and device, computer equipment and storage medium
CN104967532B (en) TOC technologies operational system and application process
CN107222542B (en) Construction method of cloud service management system
CN109413056B (en) Method and apparatus for processing information
CN112817562A (en) Service processing method and device
WO2022156087A1 (en) Data blood relationship establishing method and apparatus, computer device, and storage medium
CN110795328A (en) Interface testing method and device
CN105630918B (en) The fusion of the whole network user tag and user identifier unified approach
CN108089864A (en) Application development method and device
CN104391779A (en) System for automatically identifying physical location of equipment in asset operation and maintenance process
CN110401709A (en) Processing method, device and the storage medium of session in a kind of instant messaging application
CN106503162B (en) SAP platform based page dynamic generation method and system
CN104754040A (en) A system used for end-to-end cloud service virtualization
CN106575301B (en) Automated orchestration of infrastructure service blocks in hosted services
Shanyour et al. Global software development and its impact on software quality
CN102137037A (en) Webpage block synchronic browsing method based on community platform and system thereof
KR101700838B1 (en) Method and system for managing business project step by step
CN110765610A (en) PDM (product data management) integration method and device, computer equipment and storage medium
CN109683853A (en) A kind of software operation functional definition method and system based on modeling

Legal Events

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

Application publication date: 20180529

RJ01 Rejection of invention patent application after publication