CN108829437A - Product development method, system, device, computer equipment and storage medium - Google Patents
Product development method, system, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN108829437A CN108829437A CN201810714474.0A CN201810714474A CN108829437A CN 108829437 A CN108829437 A CN 108829437A CN 201810714474 A CN201810714474 A CN 201810714474A CN 108829437 A CN108829437 A CN 108829437A
- Authority
- CN
- China
- Prior art keywords
- product
- packet
- theme packet
- theme
- code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a product development method, a system, a device, computer equipment and a storage medium. Wherein the development method comprises: when feedback information sent by a client is received, acquiring a modification code for a product subject packet from a release branch for the latest version of a product, wherein the feedback information is that the client submits the modification code of the product subject packet to the release branch; copying the modification code aiming at the product theme pack to a specified catalogue; acquiring existing theme pack materials for the product, and copying the existing theme pack materials for the product to a specified directory; and packaging the file contents in the specified directory to generate a corresponding product. The method can print out the theme pack with new function aiming at the old theme, realize the packaging function of the targeted modification code, and can carry out the release coverage of the application market on the old theme program pack.
Description
Technical field
The present invention relates to computer field more particularly to a kind of development approach of product, system, devices, computer equipment
And computer readable storage medium.
Background technique
With the continuous development of computer, various application programs are continuously developed out.Product is releasing new function at present
When, after the corresponding code of new function is written in the source code of the product developer, usually (such as by strapping tool
Studio strapping tool) the new source code be packaged manually to generate corresponding product, but this packaging efficiency is inclined
It is low;Alternatively, carrying out uniform packing to generate corresponding product, although this packaging efficiency to the new source code by baling press
It is higher, but need uniformly to modify code on the line of the product, coverage can be larger if going wrong, and above two
Kind product development mode, can only get completely new theme packet, can not achieve specific aim modification code and be packaged function.
Summary of the invention
The purpose of the present invention is intended to solve above-mentioned one of technical problem at least to a certain extent.
For this purpose, the first purpose of this invention is to propose a kind of development approach of product.This method can be for old main
Topic gets the theme packet with new function, realizes that specific aim modification code is packaged function, and can answer old theme program bag
It is covered with the publication in market.
Second object of the present invention is to propose a kind of development system of product.
Third object of the present invention is to propose a kind of development device of product.
Fourth object of the present invention is to propose a kind of computer equipment.
5th purpose of the invention is to propose a kind of computer readable storage medium.
In order to achieve the above objectives, the development approach for the product that first aspect present invention embodiment proposes, including:It is receiving
When the feedback information that client is sent, the modification for being directed to product theme packet is obtained from the publication branch for product latest edition
Code, wherein the feedback information is that the modification code of the product theme packet is committed to the publication by the client
In branch;
By the modification code copies for product theme packet to specified directory;
The existing theme packet material for being directed to the product is obtained, and by the existing theme packet material for the product
It is copied to the specified directory;
And the file content under the specified directory is packaged to generate corresponding product.
The development approach of product according to an embodiment of the present invention, when receiving the feedback information of client transmission, from needle
To the modification code obtained in the publication branch of product latest edition for product theme packet, wherein the feedback information is visitor
The modification code of the product theme packet is committed to the publication branch, and the modification generation that will be directed to product theme packet by family end
Code is copied to specified directory, and the existing theme packet material for obtaining the existing theme packet material for being directed to product, and being directed to product
It is copied to specified directory, later, the file content under specified directory is packaged to generate corresponding product.I.e. by by needle
To the modification code of product theme packet be committed to indicate newest released version publication branch on code is packaged,
Without using branch is packaged on line, the theme packet with new function can be got, ensure that the safety of code on line, it will not be right
Code affects on line;When generating new theme packet, the existing old theme material of product is beaten together with new theme packet code
Packet realizes that specific aim modification code is packaged function, and can in this way, can get the theme packet with new function for old theme
The publication covering of application market is carried out to old theme program bag.
According to one embodiment of present invention, the modification code for product theme packet, including:It is newly led for product
The code of packet is inscribed, and/or, have the fresh code after theme packet is modified for product.
According to one embodiment of present invention, the file content under the specified directory is packaged with generation pair
The product answered, including:
Determine the custom built forms for being directed to product development;
Filename replacement is carried out to the file under the specified directory according to the custom built forms;
It is packaged by the build tool under the specified directory by the replaced file of filename to generate correspondence
Product.
According to one embodiment of present invention, described to be replaced under the specified directory by filename by the build tool
File afterwards is packaged to generate corresponding product, including:
Determine the packet name and signing messages of the application program of the existing version of theme packet on product line;
Have the packet name and signing messages of the application program of version according to theme packet on the line, passes through described the build tool
It is packaged to the replaced file of filename is passed through under the specified directory to generate corresponding product, wherein the correspondence
Product program-package name and signing messages and the line on theme packet have version application program packet name and signing messages
Unanimously.
In order to achieve the above objectives, the development system for the product that second aspect of the present invention embodiment proposes, including:Client and
Server-side, wherein
The client, the modification code for that will be directed to product theme packet are committed to the publication for product latest edition
In branch, it is rear to the server-side send feedback information;
The server-side, for obtaining institute from the publication branch when receiving the feedback information of client transmission
The modification code for product theme packet is stated, and by the modification code copies for product theme packet to specified directory, and
It will be copied to the specified directory for the existing theme packet material of the product, and in the file under the specified directory
Appearance is packaged to generate corresponding product.
The development system of product according to an embodiment of the present invention, by server-side in the feedback letter for receiving client transmission
When breath, the modification code for being directed to product theme packet is obtained from the publication branch for product latest edition, wherein the feedback
Information is that the modification code of the product theme packet is committed to the publication branch by client, and will be directed to product theme packet
Modification code copies to specified directory, and obtain the existing theme packet material for being directed to product, and will have master for product
Topic packet material is copied to specified directory, later, is packaged to the file content under specified directory to generate corresponding product.I.e.
By by the modification code for being directed to product theme packet be committed to indicate newest released version publication branch on come to code
It is packaged, without using branch is packaged on line, the theme packet with new function can be got, ensure that the safety of code on line
Property, code on line will not be affected;When generating new theme packet, by the existing old theme material of product and new theme packet
Code is packaged together, in this way, can get the theme packet with new function for old theme, realizes that specific aim modification code is packaged
Function, and the publication that application market can be carried out to old theme program bag covers.
According to one embodiment of present invention, the modification code for product theme packet, including:It is newly led for product
The code of packet is inscribed, and/or, have the fresh code after theme packet is modified for product.
According to one embodiment of present invention, the server-side is specifically used for:Determine the custom built forms for being directed to product development,
And filename replacement is carried out to the file under the specified directory according to the custom built forms, and by the build tool to the finger
Determine to be packaged under catalogue by the replaced file of filename to generate corresponding product.
According to one embodiment of present invention, the server-side is specifically used for:Determine that theme packet has version on product line
Application program packet name and signing messages, and according to theme packet on the line have version application program packet name and signature
Information is packaged by described the build tool under the specified directory by the replaced file of filename to generate correspondence
Product, wherein theme packet has the application of version in the program-package name and signing messages of the corresponding product and the line
The packet name of program is consistent with signing messages.
In order to achieve the above objectives, the development device for the product that third aspect present invention embodiment proposes, including:
Feedback information receiving module, for receiving the feedback information of client transmission, wherein the feedback information is described
The modification code of product theme packet is committed in the publication branch for product latest edition by client;
Code obtaining module, for obtaining the modification code for being directed to product theme packet from the publication branch;
Code copies module, for by the modification code copies for product theme packet to specified directory;Theme packet
Material obtaining module, for obtaining the existing theme packet material for being directed to the product;
Theme packet material copies module, for the existing theme packet material for the product to be copied to the finger
Determine catalogue;
And product generation module, for being packaged to the file content under the specified directory to generate corresponding production
Product.
The development device of product according to an embodiment of the present invention, when receiving the feedback information of client transmission, from needle
To the modification code obtained in the publication branch of product latest edition for product theme packet, wherein the feedback information is visitor
The modification code of the product theme packet is committed to the publication branch, and the modification generation that will be directed to product theme packet by family end
Code is copied to specified directory, and the existing theme packet material for obtaining the existing theme packet material for being directed to product, and being directed to product
It is copied to specified directory, later, the file content under specified directory is packaged to generate corresponding product.I.e. by by needle
To the modification code of product theme packet be committed to indicate newest released version publication branch on code is packaged,
Without using branch is packaged on line, the theme packet with new function can be got, ensure that the safety of code on line, it will not be right
Code affects on line;When generating new theme packet, the existing old theme material of product is beaten together with new theme packet code
Packet realizes that specific aim modification code is packaged function, and can in this way, can get the theme packet with new function for old theme
The publication covering of application market is carried out to old theme program bag.
According to one embodiment of present invention, the modification code for product theme packet, including:
For the code of the new theme packet of product, and/or, have the fresh code after theme packet is modified for product.
According to one embodiment of present invention, the product generation module includes:
Template determination unit, for determining the custom built forms for being directed to product development;
Filename replacement unit is replaced for carrying out filename to the file under the specified directory according to the custom built forms
It changes;
Product generation unit, for by the build tool under the specified directory pass through the replaced file of filename into
Row is packaged to generate corresponding product.
According to one embodiment of present invention, the product generation unit is specifically used for:
Determine the packet name and signing messages of the application program of the existing version of theme packet on product line;
Have the packet name and signing messages of the application program of version according to theme packet on the line, passes through described the build tool
It is packaged to the replaced file of filename is passed through under the specified directory to generate corresponding product, wherein the correspondence
Product program-package name and signing messages and the line on theme packet have version application program packet name and signing messages
Unanimously.
In order to achieve the above objectives, the computer equipment that fourth aspect present invention embodiment proposes, including memory, processor
And it is stored in the computer program that can be run on the memory and on the processor, the processor executes described program
When, realize the development approach of product described in first aspect present invention embodiment.
In order to achieve the above objectives, the non-transitorycomputer readable storage medium that fifth aspect present invention embodiment proposes,
It is stored thereon with computer program, product described in first aspect present invention embodiment is realized when described program is executed by processor
Development approach.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, wherein:
Fig. 1 is the flow chart of the development approach of product according to an embodiment of the invention;
Fig. 2 is the flow chart of the development approach of product accord to a specific embodiment of that present invention;
Fig. 3 is the structural schematic diagram of the development system of product according to an embodiment of the invention;
Fig. 4 is the structural schematic diagram of the development device of product according to an embodiment of the invention;
Fig. 5 is the structural schematic diagram of the development device of product accord to a specific embodiment of that present invention;
Fig. 6 is the structural schematic diagram of computer equipment according to an embodiment of the invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings development approach, system, device, computer equipment and the meter of the product of the embodiment of the present invention are described
Calculation machine readable storage medium storing program for executing.
Fig. 1 is the flow chart of the development approach of product according to an embodiment of the invention.It should be noted that of the invention
The development approach of the product of embodiment can be applied to the development device of the product of the embodiment of the present invention.For example, the development device can
It is configured in the server-side of the embodiment of the present invention.
As shown in Figure 1, the development approach of the product may include:
S110 is obtained from the publication branch for product latest edition when receiving the feedback information of client transmission
Take the modification code for product theme packet, wherein the feedback information is the client by the product theme packet
Modification code is committed in the publication branch.
Wherein, in one embodiment of the invention, the publication branch is appreciated that indicate newest release
This branch.It should be noted that the publication branch is independently of client and server-side, to store code, whenever
When having code to be submitted to the branch, server-side can extract code from the branch and is packaged the code to obtain new version
Product.For example, developer can pass through the needle when having new thematic function needs to issue with latest edition for the product
Modification code to product theme packet may include:For the code of the new theme packet of product, and/or, have theme packet for product
Fresh code after modifying.That is, developer can according to demand to the corresponding code of the existing theme packet of product into
Row modification is to form new theme packet or realize new function;And/or developer can also develop a new function theme according to demand
Packet, writes new code.
After developer edits fresh code according to demand, developer can be by client by modified new generation
Code is submitted in the publication branch for product latest edition, wherein the publication branch is appreciated that indicate
The branch of newest released version, for example, when thering are new thematic function needs to issue with latest edition for the product, exploit person
Member can will be submitted in the publication branch by client for the code of new thematic function, so that server-side is according to the hair
Code under cloth branch is packaged to generate the publication that latest edition carried out product originally.In the generation for new thematic function
After code is submitted successfully, client can send feedback information to inform that server-side code is submitted successfully, so that clothes to server-side
Business end can read submitted code from the publication branch, so as to subsequent according to the corresponding production of the code building submitted
Product.
S120, will be for the modification code copies of product theme packet to specified directory.
Optionally, server-side can will be under the modification Code copying to specified directory for product theme packet.Wherein, institute
It states specified directory and is appreciated that it is to generate catalogue corresponding to the product, that is to say, that the corresponding finger of each product
Determine catalogue, i.e., product corresponding with the specified directory is generated by the file content under specified directory.For example, product A corresponding one
A specified directory a, product B correspond to a specified directory b, and the file data about product A can be placed under specified directory a, close
It can be placed under specified directory b in the file data of product B, in this way, described in being generated by the file content under specified directory a
Product A generates the product B by the file content under specified directory b.
S130 obtains the existing theme packet material for being directed to product, and will be copied to for the existing theme packet material of product
Specified directory.
For example, can have the packet name and signing messages of the application program of version according to theme packet on the line, from institute
It states and obtains the existing theme packet material for being directed to product in the theme centre management backstage of product, and by described for product
Existing theme packet material copies under the specified directory.It is appreciated that theme centre management backstage can be used for storing product
Existing theme packet material, the theme packet material refers to all picture materials for including under some theme.For example, with personalization
For input method product, which can refer to all picture materials for including in personalized input method, for example, key
Corresponding picture, keyboard Background, application market corresponding icon etc..
For example, it is assumed that theme packet has the entitled com.AAA.aaa of packet of the application program of version on the line, signing is
Key, then can according to theme packet on the line have version application program packet name " com.AAA.aaa " and sign " key " from
The existing theme packet material of the product is found out in the theme centre management backstage of product, later, the product found can be had
Theme packet material copy under the specified directory.
For another example, it may be determined that theme packet has the unique encodings of product corresponding to the application program of version on the line, and
Obtain the existing theme packet material of the product from theme centre management backstage according to the unique encodings of the product, and by the product
Existing theme packet material copies under the specified directory.
S140 is packaged the file content under the specified directory to generate corresponding product.
As an example, it may be determined that for the custom built forms of the product development, and according to the custom built forms to institute
It states file under specified directory and carries out filename replacement, it later, can be by the build tool to passing through file under the specified directory
The replaced file of name is packaged to generate corresponding product.
For example, it is assumed that the format of the customized template file of the product development is XML format, i.e., it will be for the product
Some exploitation demands or design requirement are written to form the custom built forms for being directed to the product development in XML template, in determination
When the custom built forms for the product development, text can be carried out to the file under the specified directory according to the custom built forms
The replacement of part name, i.e., the filename that will be copied the filename under the specified directory to and be substituted for defined in custom built forms, later,
It can be packaged by the build tool to by the file under the replaced specified directory of filename to generate corresponding production
Product.
The program bag in program bag and line in order to guarantee newly-generated product is to belong to the same product.Optionally, exist
In one embodiment of the present of invention, it may be determined that theme packet has the packet name and signing messages of the application program of version on product line,
And have the packet name and signing messages of the application program of version according to theme packet on the line, by described the build tool to described
It is packaged under specified directory by the replaced file of filename to generate corresponding product, wherein the corresponding product
Program-package name and signing messages and theme packet on the line have version application program packet name and signing messages it is consistent.?
That is can first determine that the packet name and signing messages of the application program that theme packet has version on product line can pass through institute later
The build tool is stated to be packaged to by the file under the replaced specified directory of filename to generate corresponding product,
In, need the program-package name by the corresponding product to be named as the application program for having version with theme packet on the product line
Packet name it is consistent, the program of corresponding product signature is named as the application for having version with theme packet on the product line
The signature of program is consistent.Thus, it is possible to guarantee that the program bag in the program bag and line of newly-generated product is to belong to the same production
Product.
As an example, described the build tool can be Gradle the build tool.It is appreciated that Gradle the build tool is
Project automation building Open-Source Tools based on Apache Ant and Apache Maven concept.For example, can be according on the line
Theme packet has the packet name and signing messages of the application program of version, by Gradle the build tool to passing through under the specified directory
The replaced file of filename is crossed to be packaged to generate corresponding product.Program is realized by automation the build tool as a result,
The packing of code, can the corresponding product program of rapid batch volume production without using being packaged manually.
The development approach of product according to an embodiment of the present invention, when receiving the feedback information of client transmission, from needle
To the modification code obtained in the publication branch of product latest edition for product theme packet, wherein the feedback information is visitor
The modification code of the product theme packet is committed to the publication branch, and the modification generation that will be directed to product theme packet by family end
Code is copied to specified directory, and the existing theme packet material for obtaining the existing theme packet material for being directed to product, and being directed to product
It is copied to specified directory, later, the file content under specified directory is packaged to generate corresponding product.I.e. by by needle
To the modification code of product theme packet be committed to indicate newest released version publication branch on code is packaged,
Without using branch is packaged on line, the theme packet with new function can be got, ensure that the safety of code on line, it will not be right
Code affects on line;When generating new theme packet, the existing old theme material of product is beaten together with new theme packet code
Packet realizes that specific aim modification code is packaged function, and can in this way, can get the theme packet with new function for old theme
The publication covering of application market is carried out to old theme program bag.
Fig. 2 is the flow chart of the development approach of product accord to a specific embodiment of that present invention.In implementation of the invention
In example, for needing to get one with the new function theme packet not having in application package on line, it is assumed that needs are the theme
Dynamic picture is added, then as shown in Fig. 2, the development approach of the product of the embodiment of the present invention may include:
S210, the code that client will be provided with dynamic previewing function are committed to the publication point to indicate newest released version
Zhi Shang, and feedback information is sent to server-side, wherein the feedback information is that the client has dynamic previewing for described
The code of function is committed in the publication branch.
For example, after editing the code for having dynamic previewing function according to demand in developer, client can should
The code for having dynamic previewing function is committed in the publication branch to indicate newest released version, for example, should be to indicate
The publication branch of newest released version can be appointment codes branch (Master branch), can be to and after code is submitted successfully
Server-side sends feedback information to inform that server-side has fresh code to be submitted in the appointment codes branch.As a result, by by needle
The modification code of product theme packet is committed in appointment codes branch (Master branch), code is packaged, illustrates this
When be packaged after product be latest edition to be released, be committed to appointment codes branch, Ke Yibao from there through code will be modified
Code will not malfunction on card line, and also ensure reparation is and the operation code synchronisation on line.
S220, server-side have dynamic in advance described in acquisition from the publication branch when receiving the feedback information
Look at the code of function, and by the code copies to specified directory.
S230, server-side obtain the existing old theme packet material of product from theme centre management backstage, and by old theme
Theme packet material be copied to specified directory.
S240, server-side carry out filename replacement to the file under the specified directory according to customization XML template.
S250, server-side is by Gradle the build tool to by the file under the replaced specified directory of filename
Content is packaged.Thus, it is possible to obtain the program bag with dynamic picture theme.
The development approach of product according to an embodiment of the present invention, can be by mentioning the modification code for being directed to product theme packet
Code is packaged in friendship to appointment codes branch (Master branch), it is ensured that code will not malfunction on line, also protect
Demonstrate,proved repair be with the operation code synchronisation on line, also, when generating new theme packet, by the existing old master of product
Topic material is packaged together with new theme packet code, in this way, can get the theme packet with new function for old theme, realizes needle
Function is packaged to property modification code, and the publication that application market can be carried out to old theme program bag covers, also, passes through Gradle
The build tool is packaged, and is realized that automation is packaged function, is improved packaging efficiency, and rapid batch volume production master may be implemented
Inscribe the purpose of program bag.
Corresponding with the development approach of product that above-mentioned several embodiments provide, a kind of embodiment of the invention also provides one
The development system of kind product, due to the development system of product provided in an embodiment of the present invention and the production of above-mentioned several embodiments offers
The development approach of product is corresponding, therefore the embodiment of the development approach in before-mentioned products is also applied for production provided in this embodiment
The development system of product, is not described in detail in the present embodiment.Fig. 3 is the exploitation system of product according to an embodiment of the invention
The structural schematic diagram of system.As shown in figure 3, the development system 300 of the product may include:Client 310 and server-side 320.
Specifically, client 310 is used to be committed to for the modification code of product theme packet for product latest edition
Publication branch on, it is rear to server-side 320 send feedback information.As an example, the repairing for product theme packet
Changing code includes:For the code of the new theme packet of product, and/or, have the fresh code after theme packet is modified for product.
Server-side 320, described in being obtained from the publication branch when receiving the feedback information of client transmission
For the modification code of product theme packet, and to specified directory, and will will be directed to for the modification code copies of product theme packet
The existing theme packet material of product is copied to specified directory, and is packaged the file content under specified directory with generation pair
The product answered.
As an example, server-side 320 can determine the custom built forms for product development, and according to the custom built forms
To under the specified directory file carry out filename replacement, and by the build tool under the specified directory pass through filename
Replaced file is packaged to generate corresponding product.
The program bag in program bag and line in order to guarantee newly-generated product is to belong to the same product.Optionally, exist
In one embodiment of the present of invention, server-side 320 can determine theme packet on product line have the application program of version packet name and
Signing messages, and the packet name and signing messages of the application program according to the existing version of theme packet on the line, pass through the building
Tool is packaged under the specified directory by the replaced file of filename to generate corresponding product, wherein described
Theme packet has the packet name and signature of the application program of version in the program-package name and signing messages of corresponding product and the line
Information is consistent.
The development system of product according to an embodiment of the present invention, can be by server-side in the feedback for receiving client transmission
When information, the modification code for being directed to product theme packet is obtained from the publication branch for product latest edition, wherein described anti-
Feedforward information is that the modification code of the product theme packet is committed to the publication branch by client, and will be directed to product theme
The modification code copies of packet obtain the existing theme packet material for being directed to product to specified directory, and will be for the existing of product
Theme packet material is copied to specified directory, later, is packaged to the file content under specified directory to generate corresponding product.
I.e. by by the modification code for being directed to product theme packet be committed to indicate newest released version publication branch on come to generation
Code is packaged, and without using branch is packaged on line, can be got the theme packet with new function, be ensure that the safety of code on line
Property, code on line will not be affected;When generating new theme packet, by the existing old theme material of product and new theme packet
Code is packaged together, in this way, can get the theme packet with new function for old theme, realizes that specific aim modification code is packaged
Function, and the publication that application market can be carried out to old theme program bag covers.
Corresponding with the development approach of product that above-mentioned several embodiments provide, a kind of embodiment of the invention also provides one
The development device of kind product, due to the development device of product provided in an embodiment of the present invention and the production of above-mentioned several embodiments offers
The development approach of product is corresponding, therefore the embodiment of the development approach in before-mentioned products is also applied for production provided in this embodiment
The development device of product, is not described in detail in the present embodiment.Fig. 4 is the exploitation dress of product according to an embodiment of the invention
The structural schematic diagram set.As shown in figure 4, the development device 400 of the product may include:
Feedback information receiving module 410, Code obtaining module 420, code copies module 430, theme packet material obtaining mould
Block 440, theme packet material copy module 450 and product generation module 460.
Specifically, feedback information receiving module 410, for receiving the feedback information of client transmission, wherein the feedback
Information is that the modification code of product theme packet is committed in the publication branch for product latest edition by the client.Make
For a kind of example, the modification code for product theme packet, including:For the code of the new theme packet of product, and/or, needle
Has the fresh code after theme packet is modified to product.
Code obtaining module 420, for obtaining the modification code for being directed to product theme packet from the publication branch.
Code copies module 430, for the modification code copies of product theme packet will to be directed to specified directory.
Theme packet material obtaining module 440, for obtaining the existing theme packet material for being directed to product.
Theme packet material copies module 450, for the existing theme packet material for being directed to product to be copied to specified directory.
Product generation module 460, for being packaged to the file content under specified directory to generate corresponding product.
As an example, as shown in figure 5, product generation module 460 may include:
Template determination unit 461, filename replacement unit 462 and product generation unit 463.Wherein,
Template determination unit 461, for determining the custom built forms for being directed to product development;
Filename replacement unit 462, for carrying out file to the file under the specified directory according to the custom built forms
Name replacement;
Product generation unit 463, for by the build tool under the specified directory pass through the replaced text of filename
Part is packaged to generate corresponding product.
The program bag in program bag and line in order to guarantee newly-generated product is to belong to the same product.Optionally, exist
In one embodiment of the present of invention, product generation unit 463 can determine the application program of the existing version of theme packet on product line
Packet name and signing messages, and the packet name and signing messages of the application program according to the existing version of theme packet on the line, pass through institute
The build tool is stated to be packaged under the specified directory by the replaced file of filename to generate corresponding product,
In, theme packet has the packet name of the application program of version in the program-package name and signing messages of the corresponding product and the line
It is consistent with signing messages.
Server-side according to an embodiment of the present invention, receive client transmission feedback information when, from for product most
New version publication branch in obtain be directed to product theme packet modification code, wherein the feedback information be client incited somebody to action
The modification code of the product theme packet is committed to the publication branch, and will be directed to the modification code copies of product theme packet extremely
Specified directory, and the existing theme packet material for being directed to product is obtained, and finger will be copied to for the existing theme packet material of product
Determine catalogue, later, the file content under specified directory is packaged to generate corresponding product.I.e. by the way that product master will be directed to
The modification code of topic packet be committed to indicate newest released version publication branch on code is packaged, without using line
Upper packing branch can get the theme packet with new function, ensure that the safety of code on line, will not be to code on line
It affects;When generating new theme packet, the existing old theme material of product is packaged together with new theme packet code, in this way,
The theme packet with new function can be got for old theme, realize that specific aim modification code is packaged function, and can be to old theme
Program bag carries out the publication covering of application market.
In order to realize above-described embodiment, the invention also provides a kind of computer equipments.
Fig. 6 is the structural schematic diagram of computer equipment according to an embodiment of the invention.As shown in fig. 6, the computer
Equipment 600 may include:It memory 610, processor 620 and is stored on memory 610 and can be run on processor 620
Computer program 630 when processor 620 executes described program 630, realizes product described in any of the above-described a embodiment of the present invention
Development approach.
In order to realize above-described embodiment, the invention also provides a kind of non-transitorycomputer readable storage mediums, thereon
It is stored with computer program, product described in any of the above-described a embodiment of the present invention is realized when described program is executed by processor
Development approach.
In the description of the present invention, it is to be understood that, term " first ", " second " are used for description purposes only, and cannot
It is interpreted as indication or suggestion relative importance or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the
One ", the feature of " second " can explicitly or implicitly include at least one of the features.In the description of the present invention, " multiple "
It is meant that at least two, such as two, three etc., unless otherwise specifically defined.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized:With for realizing the logic gates of logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention
Type.
Claims (10)
1. a kind of development approach of product, which is characterized in that include the following steps:
When receiving the feedback information of client transmission, is obtained from the publication branch for product latest edition and be directed to product
The modification code of theme packet, wherein the feedback information is that the client mentions the modification code of the product theme packet
It hands over to the publication branch;
By the modification code copies for product theme packet to specified directory;
The existing theme packet material for being directed to the product is obtained, and the existing theme packet material for the product is copied
To the specified directory;And
File content under the specified directory is packaged to generate corresponding product.
2. the method as described in claim 1, which is characterized in that the modification code for product theme packet, including:
For the code of the new theme packet of product, and/or, have the fresh code after theme packet is modified for product.
3. the method as described in claim 1, which is characterized in that the file content under the specified directory is packaged
To generate corresponding product, including:
Determine the custom built forms for being directed to product development;
Filename replacement is carried out to the file under the specified directory according to the custom built forms;
It is packaged by the build tool under the specified directory by the replaced file of filename to generate corresponding production
Product.
4. method as claimed in claim 3, which is characterized in that described literary to passing through under the specified directory by the build tool
The replaced file of part name is packaged to generate corresponding product, including:
Determine the packet name and signing messages of the application program of the existing version of theme packet on product line;
Have the packet name and signing messages of the application program of version according to theme packet on the line, by described the build tool to institute
It states and is packaged under specified directory by the replaced file of filename to generate corresponding product, wherein the corresponding production
The program-package name and signing messages of product are consistent with the packet name of the application program of the existing version of theme packet on the line and signing messages.
5. a kind of development system of product, which is characterized in that including:Client and server-side, wherein
The client, the modification code for that will be directed to product theme packet are committed to the publication branch for product latest edition
On, it is rear to the server-side send feedback information;
The server-side, for obtaining the needle from the publication branch when receiving the feedback information of client transmission
To the modification code of product theme packet, and by the modification code copies for product theme packet to specified directory, and by needle
The specified directory is copied to the existing theme packet material of the product, and to the file content under the specified directory into
Row is packaged to generate corresponding product.
6. system as claimed in claim 5, which is characterized in that the modification code for product theme packet, including:
For the code of the new theme packet of product, and/or, have the fresh code after theme packet is modified for product.
7. system as claimed in claim 5, which is characterized in that the server-side is specifically used for:
It determines the custom built forms for being directed to product development, and text is carried out to the file under the specified directory according to the custom built forms
The replacement of part name, and be packaged by the build tool to generate pair to passing through the replaced file of filename under the specified directory
The product answered.
8. system as claimed in claim 7, which is characterized in that the server-side is specifically used for:
Determine the packet name and signing messages of the application program of the existing version of theme packet on product line, and according to theme packet on the line
The packet name and signing messages of the application program of existing version, by described the build tool to passing through filename under the specified directory
Replaced file is packaged to generate corresponding product, wherein the program-package name and signing messages of the corresponding product
It is consistent with the packet name of the application program of the existing version of theme packet on the line and signing messages.
9. a kind of development device of product, which is characterized in that including:
Feedback information receiving module, for receiving the feedback information of client transmission, wherein the feedback information is the client
The modification code of product theme packet is committed in the publication branch for product latest edition by end;
Code obtaining module, for obtaining the modification code for being directed to product theme packet from the publication branch;
Code copies module, for by the modification code copies for product theme packet to specified directory;
Theme packet material obtaining module, for obtaining the existing theme packet material for being directed to the product;
Theme packet material copies module, for the existing theme packet material for the product to be copied to the specified mesh
Record;And
Product generation module, for being packaged to the file content under the specified directory to generate corresponding product.
10. device as claimed in claim 9, which is characterized in that the modification code for product theme packet, including:
For the code of the new theme packet of product, and/or, have the fresh code after theme packet is modified for product.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810714474.0A CN108829437B (en) | 2018-06-29 | 2018-06-29 | Product development method, system, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810714474.0A CN108829437B (en) | 2018-06-29 | 2018-06-29 | Product development method, system, device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108829437A true CN108829437A (en) | 2018-11-16 |
CN108829437B CN108829437B (en) | 2022-07-29 |
Family
ID=64133613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810714474.0A Active CN108829437B (en) | 2018-06-29 | 2018-06-29 | Product development method, system, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108829437B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111240717A (en) * | 2020-01-16 | 2020-06-05 | 南京英莫特信息科技有限公司 | Theme pack upgrading method |
CN111596955A (en) * | 2020-05-18 | 2020-08-28 | 上海联影医疗科技有限公司 | Application changing method, application running method, device and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030014737A1 (en) * | 1999-09-30 | 2003-01-16 | Compaq Information Technologies Group, L.P. | Computer method and apparatus for safe instrumentation of reverse executable program modules |
US20130185697A1 (en) * | 2012-01-16 | 2013-07-18 | International Business Machines Corporation | Source code patches |
CN103501324A (en) * | 2013-09-26 | 2014-01-08 | 小米科技有限责任公司 | Theme packaging method and device as well as server |
CN104063225A (en) * | 2014-06-27 | 2014-09-24 | 广州华多网络科技有限公司 | Locked screen theme development method and locked screen theme development system |
US20150301824A1 (en) * | 2014-04-22 | 2015-10-22 | Delphix Corp. | Version control of applications |
CN105094851A (en) * | 2015-09-06 | 2015-11-25 | 浪潮软件股份有限公司 | Method for realizing code release at any time based on Git |
CN107678750A (en) * | 2017-10-27 | 2018-02-09 | 北京腾云天下科技有限公司 | A kind of SDK packaging methods, computing device and SDK packaging systems |
-
2018
- 2018-06-29 CN CN201810714474.0A patent/CN108829437B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030014737A1 (en) * | 1999-09-30 | 2003-01-16 | Compaq Information Technologies Group, L.P. | Computer method and apparatus for safe instrumentation of reverse executable program modules |
US20130185697A1 (en) * | 2012-01-16 | 2013-07-18 | International Business Machines Corporation | Source code patches |
CN103501324A (en) * | 2013-09-26 | 2014-01-08 | 小米科技有限责任公司 | Theme packaging method and device as well as server |
US20150301824A1 (en) * | 2014-04-22 | 2015-10-22 | Delphix Corp. | Version control of applications |
CN104063225A (en) * | 2014-06-27 | 2014-09-24 | 广州华多网络科技有限公司 | Locked screen theme development method and locked screen theme development system |
CN105094851A (en) * | 2015-09-06 | 2015-11-25 | 浪潮软件股份有限公司 | Method for realizing code release at any time based on Git |
CN107678750A (en) * | 2017-10-27 | 2018-02-09 | 北京腾云天下科技有限公司 | A kind of SDK packaging methods, computing device and SDK packaging systems |
Non-Patent Citations (2)
Title |
---|
SHENHONGLEI: "Git创建分支branch、修改branch提交代码、合并分支、等操作使用", 《CSDN:HTTPS://BLOG.CSDN.NET/SHENHONGLEI1234/ARTICLE/DETAILS/80510991》 * |
SHENHONGLEI: "Git创建分支branch、修改branch提交代码、合并分支、等操作使用", 《CSDN:HTTPS://BLOG.CSDN.NET/SHENHONGLEI1234/ARTICLE/DETAILS/80510991》, 30 May 2018 (2018-05-30), pages 1 - 4 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111240717A (en) * | 2020-01-16 | 2020-06-05 | 南京英莫特信息科技有限公司 | Theme pack upgrading method |
CN111596955A (en) * | 2020-05-18 | 2020-08-28 | 上海联影医疗科技有限公司 | Application changing method, application running method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN108829437B (en) | 2022-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2716982C (en) | Digital signatures on composite resource documents | |
JP4681720B2 (en) | Electronic document management method and management system | |
Wayner | Digital copyright protection | |
CN101263477B (en) | System and method used for manageming associated data of document produced by computer | |
CN108885611A (en) | document automation | |
CN109804361A (en) | File synchronization in computing system | |
TW200511082A (en) | Centralized management of packaging data with artwork importation module | |
JP2011520172A (en) | Simultaneous collaborative review of documents | |
CN108829437A (en) | Product development method, system, device, computer equipment and storage medium | |
CN106681698A (en) | Dynamic list generating method and device | |
CN107408242A (en) | Interactive preview to the content in communication is provided | |
JP5653199B2 (en) | Information processing apparatus and program | |
CN105159686A (en) | Website page development method and apparatus | |
de la Tour et al. | Proof analogy in interactive theorem proving: A method to express and use it via second order pattern matching | |
JP5157505B2 (en) | Information processing apparatus, file editing method, file editing program, and recording medium | |
JP2009284138A (en) | Document processing apparatus and document processing program | |
Mäder et al. | Ready-to-use traceability on evolving projects | |
US7409555B2 (en) | Electronic document active content assurance | |
JP2007164503A (en) | System production method, system and program, and data structure of definition information used in system production | |
CA2504675A1 (en) | Xparts-schematized data wrapper | |
Kirchhof et al. | Variant and product line co-evolution | |
CN100419772C (en) | Method and system for merging copyright control information in digital copyright managing system | |
CN107491466A (en) | client device, information processing system and information processing method | |
CN108959662A (en) | content updating method and device | |
CN103870279A (en) | Document generation method and document generation system based on information element |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |