CN108829437B - Product development method, system, device, computer equipment and storage medium - Google Patents

Product development method, system, device, computer equipment and storage medium Download PDF

Info

Publication number
CN108829437B
CN108829437B CN201810714474.0A CN201810714474A CN108829437B CN 108829437 B CN108829437 B CN 108829437B CN 201810714474 A CN201810714474 A CN 201810714474A CN 108829437 B CN108829437 B CN 108829437B
Authority
CN
China
Prior art keywords
product
theme
package
code
existing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810714474.0A
Other languages
Chinese (zh)
Other versions
CN108829437A (en
Inventor
张晟瑶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201810714474.0A priority Critical patent/CN108829437B/en
Publication of CN108829437A publication Critical patent/CN108829437A/en
Application granted granted Critical
Publication of CN108829437B publication Critical patent/CN108829437B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

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 modification codes for a product theme package from a release branch for the latest version of a product, wherein the feedback information is that the client submits the modification codes of the product theme package 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 functions aiming at the old theme, realize the packaging function of the targeted modification codes, and can carry out the release coverage of the application market on the old theme program pack.

Description

Product development method, system, device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computers, and in particular, to a method, a system, an apparatus, a computer device, and a computer-readable storage medium for developing a product.
Background
With the continuous development of computers, various application programs are continuously developed. At present, when a product pushes out a new function, after a developer writes a code corresponding to the new function into a source code of the product, the developer manually packs the new source code through a packing tool (such as a Studio packing tool) to generate a corresponding product, but the packing efficiency is low; or, the new source code is uniformly packaged by a packaging machine to generate a corresponding product, although the packaging efficiency is high, the online code of the product needs to be uniformly modified, the influence range is large once a problem occurs, and the above two product development modes can only put out a brand-new theme pack and cannot realize the function of packaging the targeted modified code.
Disclosure of Invention
The object of the present invention is to solve at least to some extent one of the above mentioned technical problems.
To this end, a first object of the invention is to propose a method for developing a 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.
The second purpose of the invention is to provide a product development system.
The third purpose of the invention is to provide a product development device.
A fourth object of the invention is to propose a computer device.
A fifth object of the present invention is to propose a computer-readable storage medium.
In order to achieve the above object, a method for developing a product according to an embodiment of the first aspect of the present invention includes: 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 for the product theme pack to a specified directory;
obtaining existing theme pack materials for the product, and copying the existing theme pack materials for the product to the specified directory;
and packaging the file contents in the specified directory to generate a corresponding product.
According to the development method of the product, when feedback information sent by a client is received, modification codes for a product theme pack are obtained from a release branch for the latest version of the product, wherein the feedback information is that the client submits the modification codes of the product theme pack to the release branch, the modification codes for the product theme pack are copied to a specified directory, existing theme pack materials for the product are obtained, the existing theme pack materials for the product are copied to the specified directory, and then file contents under the specified directory are packaged to generate the corresponding product. The modification codes aiming at the product theme package are submitted to the release branch used for representing the latest release version to package the codes, and the theme package with new functions can be printed without using an online packaging branch, so that the safety of the online codes is ensured, and the online codes are not influenced; when a new theme pack is generated, the existing old theme materials of the product and the new theme pack code are packed together, so that the theme pack with the new function can be printed aiming at the old theme, the code packing function can be modified aiming at the target, and the publishing coverage of the application market can be carried out on the old theme program pack.
According to one embodiment of the invention, the modifying code for the product theme pack comprises: and the code aiming at the new theme pack of the product and/or the modified new code aiming at the existing theme pack of the product.
According to an embodiment of the present invention, the packaging the file contents in the specified directory to generate a corresponding product includes:
determining a customized template for product development;
carrying out file name replacement on the files under the specified directory according to the customized template;
and packaging the files subjected to the file name replacement in the specified directory through a construction tool to generate corresponding products.
According to an embodiment of the present invention, the packaging, by a building tool, the file under the specified directory after the file name replacement to generate a corresponding product includes:
determining the package name and signature information of the application program of the existing version of the theme package on the product line;
and according to the package name and the signature information of the application program of the existing version of the online theme package, packaging the file which is replaced by the file name under the specified directory through the construction tool to generate a corresponding product, wherein the package name and the signature information of the corresponding product are consistent with those of the application program of the existing version of the online theme package.
In order to achieve the above object, a system for developing a product according to an embodiment of the second aspect of the present invention includes: a client and a server, wherein,
the client is used for submitting the modification codes aiming at the product theme pack to a release branch aiming at the latest version of the product and then sending feedback information to the server;
the server is used for acquiring the modification codes for the product theme pack from the issuing branch when feedback information sent by the client is received, copying the modification codes for the product theme pack to a specified directory, copying existing theme pack materials for the product to the specified directory, and packaging file contents under the specified directory to generate a corresponding product.
According to the development system of the product, when the server side receives feedback information sent by the client side, the modification codes for the product theme package are obtained from the release branch for the latest version of the product, wherein the feedback information is that the client side submits the modification codes for the product theme package to the release branch, copies the modification codes for the product theme package to the specified catalogue, obtains the existing theme package material for the product, copies the existing theme package material for the product to the specified catalogue, and packs the file content under the specified catalogue to generate the corresponding product. The modification codes aiming at the product theme package are submitted to the release branch used for representing the latest release version to package the codes, and the theme package with new functions can be printed without using an online packaging branch, so that the safety of the online codes is ensured, and the online codes are not influenced; when a new theme pack is generated, the existing old theme materials of the product and the new theme pack code are packed together, so that the theme pack with the new function can be printed aiming at the old theme, the code packing function can be modified aiming at the target, and the publishing coverage of the application market can be carried out on the old theme program pack.
According to one embodiment of the invention, the modifying code for the product theme pack comprises: and the code aiming at the new theme pack of the product and/or the modified new code aiming at the existing theme pack of the product.
According to an embodiment of the present invention, the server is specifically configured to: and determining a customized template developed for a product, replacing the file name of the file in the specified directory according to the customized template, and packaging the file subjected to the file name replacement in the specified directory by a construction tool to generate a corresponding product.
According to an embodiment of the present invention, the server is specifically configured to: determining the package name and the signature information of the application program of the existing version of the theme package on the product line, and packaging the file which is replaced by the file name under the specified directory through the construction tool according to the package name and the signature information of the application program of the existing version of the theme package on the product line to generate a corresponding product, wherein the package name and the signature information of the corresponding product are consistent with the package name and the signature information of the application program of the existing version of the theme package on the line.
In order to achieve the above object, an apparatus for developing a product according to an embodiment of the third aspect of the present invention includes:
The feedback information receiving module is used for receiving feedback information sent by a client, wherein the feedback information is that the client submits a modification code of a product theme pack to a release branch aiming at the latest version of a product;
the code acquisition module is used for acquiring the modification codes aiming at the product theme pack from the release branch;
the code copying module is used for copying the modified codes aiming at the product theme pack to a specified catalogue; the theme pack material acquisition module is used for acquiring the existing theme pack material for the product;
the theme pack material copying module is used for copying the existing theme pack materials aiming at the product to the specified catalogue;
and the product generation module is used for packaging the file contents in the specified directory to generate a corresponding product.
According to the product development device provided by the embodiment of the invention, when feedback information sent by a client is received, modification codes for a product theme package are acquired from a release branch for the latest version of a product, wherein the feedback information is that the client submits the modification codes of the product theme package to the release branch, the modification codes for the product theme package are copied to a specified directory, existing theme package materials for the product are acquired, the existing theme package materials for the product are copied to the specified directory, and then file contents under the specified directory are packaged to generate the corresponding product. The modification codes aiming at the product theme package are submitted to the release branch used for representing the latest release version to package the codes, and the theme package with new functions can be printed without using an online packaging branch, so that the safety of the online codes is ensured, and the online codes are not influenced; when a new theme pack is generated, the existing old theme materials of the product and the new theme pack code are packed together, so that the theme pack with the new function can be printed aiming at the old theme, the code packing function can be modified aiming at the target, and the publishing coverage of the application market can be carried out on the old theme program pack.
According to one embodiment of the invention, the modifying code for the product theme pack comprises:
and the code aiming at the new theme pack of the product and/or the modified new code aiming at the existing theme pack of the product.
According to one embodiment of the invention, the product generation module comprises:
a template determination unit for determining a customized template for product development;
the file name replacing unit is used for replacing the file name of the file under the specified directory according to the customized template;
and the product generation unit is used for packaging the file subjected to the file name replacement under the specified directory through a construction tool so as to generate a corresponding product.
According to an embodiment of the present invention, the product generation unit is specifically configured to:
determining the package name and signature information of the application program of the existing version of the theme package on the product line;
and according to the package name and the signature information of the application program of the existing version of the online theme package, packaging the file which is replaced by the file name under the specified directory through the construction tool to generate a corresponding product, wherein the package name and the signature information of the corresponding product are consistent with those of the application program of the existing version of the online theme package.
In order to achieve the above object, a computer device according to a fourth aspect of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the method for developing the product according to the first aspect of the present invention.
To achieve the above object, a non-transitory computer-readable storage medium is provided in an embodiment of a fifth aspect of the present invention, on which a computer program is stored, and the computer program, when executed by a processor, implements a method for developing a product according to the embodiment of the first aspect of the present invention.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow diagram of a method of developing a product according to one embodiment of the invention;
FIG. 2 is a flow diagram of a method for developing a product according to one embodiment of the invention;
FIG. 3 is a schematic diagram of a development system for a product according to one embodiment of the invention;
FIG. 4 is a schematic diagram of a product development device according to an embodiment of the invention;
FIG. 5 is a schematic diagram of an apparatus for developing a product according to an embodiment of the invention;
FIG. 6 is a schematic diagram of a computer device according to one embodiment of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A method, a system, an apparatus, a computer device, and a computer-readable storage medium for developing a product according to an embodiment of the present invention are described below with reference to the accompanying drawings.
FIG. 1 is a flow diagram of a method of developing a product according to one embodiment of the invention. The product development method according to the embodiment of the present invention is applicable to a product development apparatus according to the embodiment of the present invention. For example, the development device may be configured on a server according to an embodiment of the present invention.
As shown in fig. 1, the method for developing the product may include:
S110, when feedback information sent by a client is received, a modification code for a product theme pack is obtained from a release branch for the latest version of a product, wherein the feedback information is that the client submits the modification code for the product theme pack to the release branch.
Wherein, in one embodiment of the present invention, the release branch may be understood as a branch to represent a latest release version. It should be noted that the release branch is independent of the client and the server, and is used for storing the code, and whenever the code is submitted to the branch, the server can extract the code from the branch and package the code to obtain a new version product. For example, when there is a new theme function for the product that needs to be released in the latest version, a developer may include, through the modified code for the product theme pack: and the code aiming at the new theme pack of the product and/or the modified new code aiming at the existing theme pack of the product. That is, the developer can modify the codes corresponding to the existing theme pack of the product according to the requirement to form a new theme pack or realize a new function; and/or, a developer can also develop a new function theme pack according to the requirement and write new codes.
After the developer edits the new code according to the requirement, the developer can submit the modified new code to the release branch aiming at the latest version of the product through the client, wherein the release branch can be understood as a branch used for representing the latest release version, for example, when a new subject function needs to be released in the latest version aiming at the product, the developer can submit the code aiming at the new subject function to the release branch through the client so that the server can package the code under the release branch to generate the latest version for releasing the product. After the code for the new theme function is successfully submitted, the client may send feedback information to the server to inform the server that the code is successfully submitted, so that the server may read the submitted code from the issuing branch, so as to subsequently generate a corresponding product according to the submitted code.
And S120, copying the modification codes aiming at the product theme pack to a specified catalogue.
Optionally, the server side can copy the modification codes for the product theme pack to a specified directory. The specified directory can be understood to be used for generating a directory corresponding to the product, that is, each product corresponds to one specified directory, that is, a product corresponding to the specified directory is generated through file contents under the specified directory. For example, product a corresponds to a designated directory a, product B corresponds to a designated directory B, file data about product a can be placed under designated directory a, and file data about product B can be placed under designated directory B, so that product a can be generated by the file contents under designated directory a, and product B can be generated by the file contents under designated directory B.
S130, existing theme pack materials for the product are obtained, and the existing theme pack materials for the product are copied to a specified catalogue.
For example, the existing theme pack material for the product may be acquired from a theme center management background of the product according to the pack name and signature information of the application program of the existing version of the online theme pack, and the existing theme pack material for the product may be copied to the specified directory. It can be understood that the theme center management background can be used for storing existing theme pack materials of the product, and the theme pack materials refer to all picture materials contained in a certain theme. For example, taking a personalized input method product as an example, the theme pack material may refer to all picture materials contained in the personalized input method, such as a picture corresponding to a key, a keyboard background picture, an icon corresponding to an application market, and the like.
For example, assuming that the package name of the application program of the existing version of the online theme pack is com.aaa.aaa and the signature is key, the existing theme pack material of the product can be found from the theme center management background of the product according to the package name "com.aaa.aaa" and the signature "key" of the application program of the existing version of the online theme pack, and then the found existing theme pack material of the product can be copied to the specified directory.
For another example, the unique code of the product corresponding to the application program of the online theme pack existing version can be determined, the theme pack material existing in the product is acquired from the theme center management background according to the unique code of the product, and the theme pack material existing in the product is copied to the specified directory.
And S140, packaging the file contents in the specified directory to generate a corresponding product.
As an example, a customized template developed for the product may be determined, and a file name of a file in the specified directory may be replaced according to the customized template, and then the file in the specified directory after the file name replacement may be packaged by a building tool to generate a corresponding product.
For example, assuming that the format of the customized template file for product development is an XML format, that is, some development requirements or design requirements for the product are written into an XML template to form the customized template for product development, when the customized template for product development is determined, the file name of the file in the specified directory may be replaced according to the customized template, that is, the file name copied to the specified directory is replaced with the file name specified in the customized template, and then the file in the specified directory after file name replacement may be packaged by a construction tool to generate a corresponding product.
In order to ensure that the program package of the newly generated product and the program package on the line belong to the same product. Optionally, in an embodiment of the present invention, a package name and signature information of an application program of an existing version of a theme pack on a product line may be determined, and according to the package name and signature information of the application program of the existing version of the theme pack on the line, a file replaced by a file name in the specified directory is packaged by the building tool to generate a corresponding product, where the package name and signature information of the corresponding product are consistent with the package name and signature information of the application program of the existing version of the theme pack on the line. That is to say, the package name and signature information of the application program of the existing version of the theme pack on the product line may be determined, and then the files under the specified directory after being replaced by the file name may be packaged by the building tool to generate a corresponding product, where the package name of the corresponding product needs to be named to be consistent with the package name of the application program of the existing version of the theme pack on the product line, and the program signature of the corresponding product needs to be named to be consistent with the signature of the application program of the existing version of the theme pack on the product line. Therefore, the newly generated program package of the product and the online program package can be guaranteed to belong to the same product.
As an example, the build tool may be a Gradle build tool. It is to be appreciated that the Gradle build tool automatically builds an open source tool for projects based on the concepts of Apache Ant and Apache Maven. For example, according to the package name and signature information of the application program of the existing version of the online theme package, the file under the specified directory after the file name replacement is packaged through a Gradle construction tool to generate a corresponding product. Therefore, the packaging of the program codes is realized through the automatic construction tool, and the corresponding product programs can be quickly produced in a large-scale manner without manual packaging.
According to the development method of the product, when feedback information sent by a client is received, modification codes for a product theme pack are obtained from a release branch for the latest version of the product, wherein the feedback information is that the client submits the modification codes of the product theme pack to the release branch, the modification codes for the product theme pack are copied to a specified directory, existing theme pack materials for the product are obtained, the existing theme pack materials for the product are copied to the specified directory, and then file contents under the specified directory are packaged to generate the corresponding product. The modification codes aiming at the product theme package are submitted to the release branch used for representing the latest release version to package the codes, and the theme package with new functions can be printed without using an online packaging branch, so that the safety of the online codes is ensured, and the online codes are not influenced; when a new theme pack is generated, the existing old theme materials of the product and the new theme pack code are packed together, so that the theme pack with the new function can be printed aiming at the old theme, the code packing function can be modified aiming at the target, and the publishing coverage of the application market can be carried out on the old theme program pack.
FIG. 2 is a flow diagram of a method for developing a product in accordance with one embodiment of the present invention. In the embodiment of the present invention, taking an example that a theme pack with a new function that is not included in an online application package needs to be printed, assuming that a dynamic picture needs to be added to the theme, as shown in fig. 2, a method for developing a product according to the embodiment of the present invention may include:
s210, the client submits the code with the dynamic preview function to a release branch used for representing the latest release version, and sends feedback information to the server, wherein the feedback information is that the client submits the code with the dynamic preview function to the release branch.
For example, after a developer edits a code with a dynamic preview function as required, the client may submit the code with the dynamic preview function to a release branch representing a latest release version, for example, the release branch representing the latest release version may be a designated code branch (Master branch), and after the code submission is successful, feedback information may be sent to the server to inform the server that a new code is submitted to the designated code branch. Therefore, the modification codes aiming at the product theme package are submitted to a specified code branch (Master branch) to package the codes, and the packaged products are the latest versions to be issued at the moment, so that the online codes are prevented from making mistakes and the repaired products are synchronous with the online running codes by submitting the modification codes to the specified code branch.
S220, when receiving the feedback information, the server side obtains the code with the dynamic preview function from the release branch and copies the code to a specified directory.
And S230, the server side acquires the existing old theme pack materials of the product from the theme center management background and copies the theme pack materials of the old theme to a specified directory.
S240, the server side replaces the file name of the file in the specified directory according to the customized XML template.
And S250, packaging the file content under the specified directory after the file name replacement by the service end through a Gradle construction tool. Thus, a package with a theme of a moving picture can be obtained.
According to the development method of the product, the codes can be packaged by submitting the modified codes aiming at the product theme package to the specified code branch (Master branch), so that the online codes can be prevented from making mistakes, the repaired codes are synchronous with the online running codes, and the existing old theme materials of the product and the new theme package codes are packaged together when the new theme package is generated, so that the theme package with the new function can be printed aiming at the old theme, the specific modified code packaging function can be realized, the issuing coverage of the application market can be carried out on the old theme program package, and the purpose of fast mass production of the theme program package can be realized by packaging through a Gradle construction tool, the automatic packaging function is realized, the packaging efficiency is improved, and the purpose of fast mass production of the theme program package can be realized.
Corresponding to the development methods of the products provided in the above embodiments, an embodiment of the present invention further provides a development system of the product, and since the development system of the product provided in the embodiment of the present invention corresponds to the development methods of the products provided in the above embodiments, the implementation method of the development method of the product is also applicable to the development system of the product provided in the embodiment, and will not be described in detail in the embodiment. Fig. 3 is a schematic structural diagram of a development system of a product according to an embodiment of the present invention. As shown in fig. 3, the development system 300 of the product may include: a client 310 and a server 320.
Specifically, the client 310 is configured to submit the modification code for the product theme pack to the release branch for the latest version of the product, and then send the feedback information to the server 320. As an example, the modifying code for the product theme pack includes: and the code aiming at the new theme pack of the product and/or the modified new code aiming at the existing theme pack of the product.
The server 320 is configured to obtain the modification code for the product theme pack from the publishing branch when receiving the feedback information sent by the client, copy the modification code for the product theme pack to a specified directory, copy existing theme pack materials for the product to the specified directory, and package file content in the specified directory to generate a corresponding product.
As an example, the server 320 may determine a customized template for product development, replace a file name of a file in the specified directory according to the customized template, and package the file after the file name replacement in the specified directory through a construction tool to generate a corresponding product.
In order to ensure that the program package of the newly generated product and the program package on the line belong to the same product. Optionally, in an embodiment of the present invention, the server 320 may determine a package name and signature information of an application program of an existing version of an online theme package of a product, and package, according to the package name and signature information of the application program of the existing version of the online theme package, a file replaced by a file name in the specified directory by the building tool to generate a corresponding product, where the package name and signature information of the corresponding product are consistent with the package name and signature information of the application program of the existing version of the online theme package.
According to the product development system provided by the embodiment of the invention, when the feedback information sent by the client is received by the server, the modification codes for the product theme pack are obtained from the release branch aiming at the latest version of the product, wherein the feedback information is that the client submits the modification codes for the product theme pack to the release branch, copies the modification codes for the product theme pack to the specified directory, obtains the existing theme pack material aiming at the product, copies the existing theme pack material aiming at the product to the specified directory, and packs the file content under the specified directory to generate the corresponding product. The modification codes aiming at the product theme package are submitted to the release branch used for representing the latest release version to package the codes, and the theme package with new functions can be printed without using an online packaging branch, so that the safety of the online codes is ensured, and the online codes are not influenced; when a new theme pack is generated, the existing old theme materials of the product and the new theme pack code are packed together, so that the theme pack with the new function can be printed aiming at the old theme, the code packing function can be modified aiming at the target, and the publishing coverage of the application market can be carried out on the old theme program pack.
Corresponding to the product development methods provided in the foregoing embodiments, an embodiment of the present invention further provides a product development device, and since the product development device provided in the embodiment of the present invention corresponds to the product development methods provided in the foregoing embodiments, the embodiments of the product development method described above are also applicable to the product development device provided in the present embodiment, and will not be described in detail in the present embodiment. Fig. 4 is a schematic structural diagram of a product development apparatus according to an embodiment of the present invention. As shown in fig. 4, the product development apparatus 400 may include:
a feedback information receiving module 410, a code obtaining module 420, a code copying module 430, a theme pack material obtaining module 440, a theme pack material copying module 450, and a product generating module 460.
Specifically, the feedback information receiving module 410 is configured to receive feedback information sent by a client, where the feedback information is that the client submits a modification code of a product topic package to a release branch for a latest version of a product. As an example, the modifying code for the product theme pack comprises: and the code aiming at the new theme pack of the product and/or the modified new code aiming at the existing theme pack of the product.
A code obtaining module 420, configured to obtain the modification code for the product theme pack from the publishing branch.
The code copying module 430 is used for copying the modified codes aiming at the product theme package to a specified catalogue.
The theme pack material obtaining module 440 is configured to obtain existing theme pack materials for the product.
The theme pack material copying module 450 is configured to copy existing theme pack material for the product to a specified directory.
And the product generation module 460 is configured to package the file contents in the designated directory to generate a corresponding product.
As an example, as shown in FIG. 5, the product generation module 460 may include:
a template determination unit 461, a file name replacement unit 462, and a product generation unit 463. Wherein the content of the first and second substances,
a template determination unit 461 for determining a customized template for product development;
a file name replacing unit 462, configured to replace a file name of the file in the specified directory according to the customized template;
a product generating unit 463, configured to pack the file in the specified directory after the file name replacement by using a building tool to generate a corresponding product.
In order to ensure that the program package of the newly generated product and the program package on the line belong to the same product. Optionally, in an embodiment of the present invention, the product generation unit 463 may determine a package name and signature information of an application program of an existing version of the online theme package of the product, and package, according to the package name and signature information of the application program of the existing version of the online theme package, the file replaced by the file name under the specified directory by the building tool to generate a corresponding product, where the package name and signature information of the corresponding product are consistent with the package name and signature information of the application program of the existing version of the online theme package.
According to the server side of the embodiment of the invention, when feedback information sent by the client side is received, the modification codes for the product theme pack are obtained from the release branch aiming at the latest version of the product, wherein the feedback information is that the client side submits the modification codes of the product theme pack to the release branch, copies the modification codes for the product theme pack to the specified directory, obtains the existing theme pack material aiming at the product, copies the existing theme pack material aiming at the product to the specified directory, and packs the file content under the specified directory to generate the corresponding product. The modification codes aiming at the product theme package are submitted to the release branch used for representing the latest release version to package the codes, and the theme package with new functions can be printed without using an online packaging branch, so that the safety of the online codes is ensured, and the online codes are not influenced; when a new theme pack is generated, the existing old theme materials of the product and the new theme pack code are packed together, so that the theme pack with the new function can be printed aiming at the old theme, the code packing function can be modified aiming at the target, and the publishing coverage of the application market can be carried out on the old theme program pack.
In order to implement the above embodiments, the present invention further provides a computer device.
FIG. 6 is a schematic diagram of a computer device according to one embodiment of the invention. As shown in fig. 6, the computer device 600 may include: the memory 610, the processor 620 and the computer program 630 stored in the memory 610 and capable of running on the processor 620, when the processor 620 executes the program 630, the development method of the product according to any of the above embodiments of the present invention is realized.
In order to implement the above embodiments, the present invention also proposes a non-transitory computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing a method for developing a product according to any of the above embodiments of the present invention.
In the description of the present invention, it is to be understood that the terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (6)

1. A method for developing a product, comprising the steps of:
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 indicates that the client submits the modification code of the product subject packet to the release branch, and the release branch is a branch of the latest release version;
copying the modification codes aiming at the product theme pack to a specified catalogue, wherein the specified catalogue is used for generating the catalogue corresponding to the product;
obtaining existing theme pack materials for the product, and copying the existing theme pack materials for the product to the specified directory; and
packaging the file contents in the specified directory to generate a corresponding product;
Wherein the packaging the file content under the specified directory to generate a corresponding product comprises:
determining a customized template for product development;
replacing the file name of the file under the specified directory according to the customized template;
packing the files subjected to the file name replacement under the specified directory through a construction tool to generate corresponding products;
the packaging of the file after the file name replacement under the specified directory by the construction tool to generate a corresponding product comprises the following steps:
determining the package name and signature information of the application program of the existing version of the theme package on the product line;
and according to the package name and the signature information of the application program of the existing version of the online theme package, packaging the file which is replaced by the file name under the specified directory through the construction tool to generate a corresponding product, wherein the program name package and the signature information of the corresponding product are consistent with the package name and the signature information of the application program of the existing version of the online theme package.
2. The method of claim 1, wherein the modifying code for the product theme pack comprises:
and the code aiming at the new theme pack of the product and/or the modified new code aiming at the existing theme pack of the product.
3. A system for developing a product, comprising: a client and a server, wherein,
the client is used for submitting the modification codes aiming at the product theme pack to a release branch aiming at the latest version of the product and then sending feedback information to the server;
the server is used for acquiring the modification codes for the product theme pack from the release branch and copying the modification codes for the product theme pack to a specified directory when feedback information sent by a client is received, wherein the release branch is a branch of a latest release version, the specified directory is used for generating a directory corresponding to the product, copying existing theme pack materials for the product to the specified directory, and packaging file contents under the specified directory to generate a corresponding product;
the server is further configured to: determining a customized template developed for a product, replacing file names of files in the specified directory according to the customized template, and packaging the files subjected to file name replacement in the specified directory through a construction tool to generate a corresponding product;
The server is further configured to: determining the package name and the signature information of the application program of the existing version of the theme package on the product line, and packaging the file which is replaced by the file name under the specified directory through the construction tool according to the package name and the signature information of the application program of the existing version of the theme package on the product line to generate a corresponding product, wherein the package name and the signature information of the corresponding product are consistent with the package name and the signature information of the application program of the existing version of the theme package on the line.
4. The system of claim 3, wherein the modification code for the product theme pack comprises:
and the code aiming at the new theme pack of the product and/or the modified new code aiming at the existing theme pack of the product.
5. An apparatus for developing a product, comprising:
the feedback information receiving module is used for receiving feedback information sent by a client, wherein the feedback information is that the client submits a modification code of a product theme pack to a release branch aiming at the latest version of a product, and the release branch is a branch of the latest release version;
the code acquisition module is used for acquiring the modification codes aiming at the product theme pack from the release branch;
The code copying module is used for copying the modification codes aiming at the product theme pack to a specified catalogue, wherein the specified catalogue is used for generating the catalogue corresponding to the product;
the theme pack material acquisition module is used for acquiring the existing theme pack material for the product;
the theme pack material copying module is used for copying the existing theme pack materials aiming at the product to the specified catalogue; and
the product generation module is used for packaging the file contents in the specified directory to generate a corresponding product;
the product generation module is further configured to:
determining a customized template for product development;
carrying out file name replacement on the files under the specified directory according to the customized template;
packing the files subjected to the file name replacement under the specified directory through a construction tool to generate corresponding products;
the product generation module is further configured to:
determining the package name and signature information of the application program of the existing version of the theme package on the product line;
and according to the package name and the signature information of the application program of the existing version of the online theme package, packaging the file which is replaced by the file name under the specified directory through the construction tool to generate a corresponding product, wherein the program name package and the signature information of the corresponding product are consistent with the package name and the signature information of the application program of the existing version of the online theme package.
6. The apparatus of claim 5, wherein the modification code for the product theme pack comprises:
and the code aiming at the new theme pack of the product and/or the modified new code aiming at the existing theme pack of the product.
CN201810714474.0A 2018-06-29 2018-06-29 Product development method, system, device, computer equipment and storage medium Active CN108829437B (en)

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 CN108829437A (en) 2018-11-16
CN108829437B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111240717A (en) * 2020-01-16 2020-06-05 南京英莫特信息科技有限公司 Theme pack upgrading method
CN111596955B (en) * 2020-05-18 2023-07-14 上海联影医疗科技股份有限公司 Application changing method, application running method, device and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678750A (en) * 2017-10-27 2018-02-09 北京腾云天下科技有限公司 A kind of SDK packaging methods, computing device and SDK packaging systems

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6470493B1 (en) * 1999-09-30 2002-10-22 Compaq Information Technologies Group, L.P. Computer method and apparatus for safe instrumentation of reverse executable program modules
US9052983B2 (en) * 2012-01-16 2015-06-09 International Business Machines Corporation Source code patches
CN103501324B (en) * 2013-09-26 2017-02-22 小米科技有限责任公司 Theme packaging method and device as well as server
US10037204B2 (en) * 2014-04-22 2018-07-31 Delphix Corp. Version control of applications
CN104063225B (en) * 2014-06-27 2017-09-22 广州华多网络科技有限公司 Screen locking theme development method and device
CN105094851A (en) * 2015-09-06 2015-11-25 浪潮软件股份有限公司 Method for momentarily issuing codes based on Git

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107678750A (en) * 2017-10-27 2018-02-09 北京腾云天下科技有限公司 A kind of SDK packaging methods, computing device and SDK packaging systems

Also Published As

Publication number Publication date
CN108829437A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
US9342273B1 (en) Automatic communications graphing for a source application
US9038055B2 (en) Using virtual machines to manage software builds
US8245217B2 (en) Management of software and operating system updates required for the process of creating a virtual machine facsimile of an existing physical or virtual machine
US10656845B2 (en) System and method for managing container image
US8996667B2 (en) Deploying an operating system
CN108829437B (en) Product development method, system, device, computer equipment and storage medium
CN111610989B (en) Application publishing/updating method and system for offline container cloud environment
US20140372998A1 (en) App package deployment
CN110825399B (en) Deployment method and device of application program
CN106201789A (en) Data backup method and device and terminal
CN104182294A (en) Method and device for backing up and recovering file
CN111142917A (en) Household appliance multi-MCU system online upgrading method, electronic equipment and medium
CN111159099A (en) Online data generation method and device, electronic equipment and storage medium
CN110944026B (en) Network file system replacement method, cluster configuration file sharing method and device
CN113467790A (en) Software packaging method and device and readable storage medium
EP2187306A1 (en) Image processing apparatus and control method thereof
JP2018045447A (en) Information processing system, application installation method, and information processing apparatus
US20150089490A1 (en) Information processing system, information processing apparatus, device, software installation method, and storage medium
CN115454876A (en) Management method for code test and related equipment
CN115495432A (en) Method, device and equipment for supporting multiple instances
CN114895933A (en) System upgrade method, network device, medium, and electronic device
CN108959662B (en) Content updating method and device
CN111625397A (en) Service log backup method, cluster, device, electronic equipment and storage medium
CN112068925A (en) File uploading method and device based on WebUploader component, electronic equipment and readable storage medium
US20230342137A1 (en) Information processing apparatus

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