Method, apparatus, electronic device and storage medium for packaging and releasing application programs

By providing an operable interface and automated packaging process, the problem of high threshold for packaging and publishing of applications in the existing technology is solved, and a simple and efficient packaging and publishing process is realized.

CN114610369BActive Publication Date: 2025-06-20ASIAINFO TECH CHINA INC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111478692.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-06
Publication Date
2025-06-20
Estimated Expiration
2041-12-06

AI Technical Summary

Technical Problem

In the prior art, the threshold for packaging and release of applications is high, the operation is complicated, and it is easy to introduce human errors, resulting in serious consequences.

Method used

Provides a method of packaging and publishing applications, and automates the packaging process by displaying an operable first interface, including application packaging controls, displaying input boxes and packaged applications in response to user operations, and using pre-established packaging script libraries and packaging servers.

Benefits of technology

It lowers the operation threshold for application packaging and publishing, enables ordinary users to easily perform packaging and publishing operations, improves the efficiency of user experience and application promotion, and reduces the occurrence of human errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114610369B_ABST
    Figure CN114610369B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides a method, device, electronic device, and storage medium for packaging and releasing an application program, which relates to the technical field of application program packaging and release. The method includes: an operable first interface is provided in an embodiment of the present application, and at least one application packaging control is included in the first interface, and the application packaging controls correspond one by one to the application types of the application programs; in response to a trigger operation on a target application packaging control, an input box is displayed, and the input box includes at least one identification information to be selected; in response to a trigger operation of selecting at least one target identification information from the at least one identification information, the packaged application program is displayed, and the identification information includes at least one of the program name, icon, project package path of the application program, and functional plug-ins required by the application. The first interface in the embodiment of the present application is a visual interface, enabling ordinary users to perform packaging and release operations, with a low operation threshold, easy to operate, and improving the user experience and the efficiency of application program promotion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of application packaging and release. Specifically, this application relates to a method, apparatus, electronic device, and storage medium for application packaging and release. Background Art

[0002] Application packaging and release refers to a series of actions from the source code project to the application market, including source code compilation, project construction, application listing, etc. Existing application packaging and release is carried out by technicians through some automated packaging tools. Specifically, technicians perform a series of operations such as compilation, packaging, and setting configuration items on the automated packaging tools to complete application packaging and release, or rely on some complex server scripts, etc. to achieve automated packaging.

[0003] As the functions of application programs become more and more, and the business becomes more extensive, the application packaging and release scenarios of application programs become more and more cumbersome and complex. The packaging and release of most application programs require professional developers to operate. The entire packaging and release process is relatively troublesome, and the operation threshold is relatively high. On the other hand, when the project is relatively complex, it is easy to introduce human errors and cause serious consequences. Summary of the Invention

[0004] Embodiments of this application provide a method, apparatus, electronic device, computer-readable storage medium, and computer program product for application packaging and release, which can solve the problem of relatively high threshold for application packaging and release in the prior art. The technical solutions are as follows:

[0005] According to one aspect of the embodiments of this application, a method for application packaging and release is provided. The method includes:

[0006] Display a first interface, where the first interface includes at least one application packaging control, and the application packaging controls correspond one-to-one to the application types of the application programs;

[0007] In response to a trigger operation for a target application packaging control, display an input box, where the input box includes at least one identification information to be selected;

[0008] In response to a trigger operation for selecting at least one target identification information from at least one identification information, display the packaged application program, where the identification information includes at least one of the program name, icon, project package path of the application program, and function plug-ins required by the application program.

[0009] In a possible implementation, before displaying the packaged application program, it further includes:

[0010] Determine the target application type corresponding to the target application packaging control;

[0011] Determine a target packaging script corresponding to the target application type from a pre-established packaging script library; wherein, the packaging script library includes at least one packaging script, and each packaging script is used to package an application program of a corresponding application type;

[0012] Input the identification information into the target packaging script to obtain the packaged application program output by the target packaging script.

[0013] In a possible implementation manner, inputting the identification information into the target packaging script to obtain the packaged application program output by the target packaging script includes:

[0014] Invoke at least one packaging server, execute the target packaging script in at least one packaging server, and obtain the application program corresponding to the packaging server;

[0015] Wherein, each packaging server is used to generate an application program that runs a unique operating system.

[0016] In a possible implementation manner, the packaging server includes a first packaging server, and the first packaging server is used to generate an application program that runs the android operating system; invoking at least one packaging server and executing the target packaging script in at least one packaging server includes:

[0017] Invoke the gradle packaging tool in the first packaging server, and execute the target packaging script through the gradle packaging tool to obtain the packaged application program corresponding to the first packaging server.

[0018] In a possible implementation manner, the packaging server includes a second packaging server, and the second packaging server is used to generate an application program that runs the IOS operating system; invoking at least one packaging server and executing the target packaging script in at least one packaging server includes:

[0019] Invoke the macOS operating system in the second packaging server, and execute the target packaging script through the macOS operating system to obtain the packaged application program corresponding to the second packaging server.

[0020] In a possible implementation manner, after displaying the packaged application program, it further includes:

[0021] Determine the target application market corresponding to the operating system according to the operating system corresponding to the packaging server, and upload the packaged application program to the target application market.

[0022] In a possible implementation manner, after executing the target packaging script, it further includes:

[0023] Generate a packaging log and display the packaging log.

[0024] According to another aspect of the embodiments of the present application, a device for packaging and releasing an application program is provided. The device includes:

[0025] A display module, configured to display a first interface, where the first interface includes at least one application packaging control, and the application packaging controls correspond one-to-one to the application types of the application programs;

[0026] A first response module, configured to display an input box in response to a trigger operation on a target application packaging control, where the input box includes at least one identification information to be selected;

[0027] A second response module, configured to display the packaged application program in response to selecting at least one target identification information from the at least one identification information, where the identification information includes at least one of the program name, icon, project package path of the application program, and function plug-ins required by the application program.

[0028] In a possible implementation, the second response module further includes:

[0029] A target application type determination sub-module, configured to determine the target application type corresponding to the target application packaging control;

[0030] A target packaging script determination sub-module, configured to determine a target packaging script corresponding to the target application type from a pre-established packaging script library; where the packaging script library includes at least one packaging script, and each packaging script is used to package an application program of a corresponding application type;

[0031] A packaged application program acquisition sub-module, configured to input the identification information into the target packaging script to obtain the packaged application program output by the target packaging script.

[0032] In a possible implementation, the packaged application program acquisition sub-module includes:

[0033] An application program acquisition unit corresponding to the packaging server, configured to call at least one packaging server to execute the target packaging script in the at least one packaging server to obtain an application program corresponding to the packaging server;

[0034] Wherein, each packaging server is used to generate an application program that runs on a unique operating system.

[0035] In a possible implementation, the packaging server includes a first packaging server, and the first packaging server is used to generate an application program that runs on the android operating system;

[0036] The application acquisition unit corresponding to the packaging server is used to call the gradle packaging tool in the first packaging server, execute the target packaging script through the gradle packaging tool, and obtain the packaged application corresponding to the first packaging server.

[0037] In a possible implementation manner, the packaging server includes a second packaging server, and the second packaging server is used to generate an application for running the IOS operating system;

[0038] The application acquisition unit corresponding to the packaging server is also used to call the macOS operating system in the second packaging server, execute the target packaging script through the macOS operating system, and obtain the packaged application corresponding to the second packaging server.

[0039] In a possible implementation manner, the device further includes:

[0040] An upload module, configured to determine a target application market corresponding to the operating system according to the operating system corresponding to the packaging server, and upload the packaged application to the target application market.

[0041] In a possible implementation manner, the device further includes:

[0042] A packaging log generation module, configured to generate a packaging log and display the packaging log.

[0043] According to another aspect of the embodiments of the present application, an electronic device is provided. The electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the steps of the method provided in the first aspect are implemented.

[0044] According to still another aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method provided in the first aspect are implemented.

[0045] According to yet another aspect of the embodiments of the present application, a computer program product is provided. The computer program product includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. When a processor of a computer device reads the computer instructions from the computer-readable storage medium, the processor executes the computer instructions, so that the computer device executes the steps of the method provided in the first aspect.

[0046] The beneficial effects brought by the technical solutions provided in the embodiments of the present application are:

[0047] The embodiments of the present application provide an operable first interface, which includes at least one application packaging control, and each application packaging control corresponds to an application type of an application program; in response to a trigger operation on a target application packaging control, an input box is displayed, and the input box includes at least one identification information to be selected; in response to a trigger operation of selecting at least one target identification information from the at least one identification information, the packaged application program is displayed, and the identification information includes at least one of the program name, icon, project package path of the application program, and function plug-ins required by the application. The first interface in the embodiments of the present application is a visual interface, enabling ordinary users to perform packaging and publishing operations, with a low operation threshold, easy to operate, and improving the user experience and the efficiency of application promotion. Description of the Drawings

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description in the embodiments of the present application.

[0049] Figure 1 It is a schematic flowchart of a method for packaging and publishing an application program provided by the embodiments of the present application;

[0050] Figure 2 It is a schematic diagram of a first interface provided by the embodiments of the present application;

[0051] Figure 3 It is a schematic diagram of each display box corresponding to the reading type provided by the embodiments of the present application;

[0052] Figure 4 It is a schematic flowchart of the backend for packaging an application program provided by the embodiments of the present application;

[0053] Figure 5 It is a schematic flowchart corresponding to a specific embodiment of packaging and publishing an application program provided by the embodiments of the present application;

[0054] Figure 6 It is a schematic structural diagram of a device for packaging and publishing an application program provided by the embodiments of the present application;

[0055] Figure 7 It is a schematic structural diagram of an electronic device for packaging and publishing an application program provided by the embodiments of the present application. Detailed Embodiments

[0056] The following describes the embodiments of the present application in conjunction with the drawings in the present application. It should be understood that the embodiments described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions of the embodiments of the present application.

[0057] Those skilled in the art can understand that, unless specifically stated otherwise, the singular forms "a", "an", "the", and "said" used herein may also include plural forms. It should be further understood that the terms "comprising" and "including" used in the embodiments of the present application mean that the corresponding features can be implemented as the presented features, information, data, steps, operations, elements, and / or components, but do not exclude the implementation of other features, information, data, steps, operations, elements, components, and / or their combinations supported by the technical field of the present application. It should be understood that when we say an element is "connected" or "coupled" to another element, the one element can be directly connected or coupled to the other element, or it can mean that the one element and the other element establish a connection relationship through an intermediate element. In addition, the "connection" or "coupling" used here can include wireless connection or wireless coupling. The term "and / or" used here indicates at least one of the items defined by the term. For example, "A and / or B" can be implemented as "A", or as "B", or as "A and B".

[0058] To make the objectives, technical solutions, and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.

[0059] Application packaging and release refers to a series of actions from the source code project to the application market, including source code compilation, project construction, application listing, etc. The existing application packaging and release is carried out by technicians through some automated packaging tools. Specifically, technicians perform a series of operations such as compilation, packaging, and setting configuration items on the automated packaging tools to complete the application packaging and release, or rely on some complex server scripts, etc. to achieve automated packaging, etc.

[0060] As the functions of application programs become more and more, and the business becomes more and more extensive, the application packaging and release scenarios of application programs become more and more cumbersome and complex. The packaging and release of most application programs require professional developers to operate. The entire packaging and release process is relatively troublesome, and the operation threshold is relatively high. On the other hand, when the project is relatively complicated, it is easy to introduce human errors and bring serious consequences.

[0061] The method, device, electronic device, computer-readable storage medium, and computer program product for packaging and releasing application programs provided by the present application are intended to solve the above technical problems in the prior art.

[0062] The following describes the technical solutions of the embodiments of the present application and the technical effects generated by the technical solutions of the present application through the description of several exemplary embodiments. It should be noted that the following embodiments can be mutually referred to, learned from, or combined. For the same terms, similar features, and similar implementation steps in different embodiments, they will not be repeatedly described.

[0063] In an embodiment of the present application, a method for packaging and releasing an application program is provided. As Figure 1 shown, the method includes:

[0064] Step S101, display a first interface;

[0065] Among them, the first interface includes at least one application packaging control, and the application packaging controls correspond one-to-one to the application types of the application program.

[0066] In the embodiment of the present application, in order to enable ordinary users to package and release application programs, a first display interface is provided. The first display interface includes a number of packaging controls, and each packaging control corresponds one-to-one to the application type of the application program;

[0067] The application types of the application programs in the embodiment of the present application include operation business office type, collaborative office type, reading type, song type, etc. The names of the various controls on the first display interface can be the names of the various application types. The embodiment of the present application does not limit the specific positions where the various application packaging controls are displayed, and they can be located above, below, left, right, etc. of the first interface.

[0068] In addition to including at least one application packaging control, the first display interface also includes a brief introduction to the respective application types corresponding to the application packaging controls. For example, the name of a certain packaging control is the reading type, and there is an introduction to the application type corresponding to this packaging control below it, such as "Provide work upload...". The introductions to the application types of the application programs corresponding to the respective packaging controls enable users to understand the application programs that can be generated corresponding to the controls.

[0069] As Figure 2 shown, it exemplarily shows a schematic diagram of a first interface provided by an embodiment of the present application. As shown in the figure, several application packaging controls are provided above this interface, and the application types of the application programs corresponding to the respective application packaging controls are reading type, music type, chat type, operator service handling type, and collaborative office type. There is a description of the application types corresponding to the respective packaging holes below each packaging control.

[0070] Step S102, in response to a trigger operation on a target application packaging control, display an input box, and the input box includes at least one identification information to be selected; the identification information includes at least one of the program name, icon, project package path of the application program, and function plug-ins required by the application;

[0071] In the embodiment of the present application, the user clicks on the target application packaging control according to their actual needs. When a trigger operation for the target application packaging control is detected, in response to the trigger operation for the target application packaging control, an input box is displayed, and the input box includes at least one identification information; the identification information includes the program name, icon, project package path of the application program, and function plugins required by the application program, etc.

[0072] Among them, the unique identifier, program name, and icon of the application program can distinguish the application program. The project package path is unique to Android. The embodiment of the present application packages the application program including packaging Android application programs and IOS application programs. For detailed content, see the subsequent part.

[0073] The plugins required by the application program in the embodiment of the present application refer to other function plugins except for the functions possessed by each application type. For example, sharing plugins, map plugins, face recognition plugins, camera plugins, behavior analysis plugins, and push plugins, etc. When the user checks these application plugins, the generated application program can have additional functions rather than just the functions corresponding to the application type.

[0074] In the embodiment of the present application, input boxes are set for each identification information, and the user can manually input each identification information or select each identification information.

[0075] As Figure 3 shown, it exemplarily shows the display boxes corresponding to the reading category, including the program name, icon, project package path, and input boxes corresponding to each function plugin. The user can input information into each input box to generate the application program they need. Various function plugins include Plugin 1, Plugin 2, Plugin 3, and Plugin 4, and there are corresponding checkboxes next to each plugin.

[0076] Step S103, in response to a trigger operation of selecting at least one target identification information from at least one identification information, display the packaged application program.

[0077] In the embodiment of the present application, after detecting a trigger operation of the user selecting at least one target identification information from at least one identification information, in response to the trigger operation of selecting at least one target identification information from at least one identification information, display the packaged application program.

[0078] The embodiments of the present application provide an operable first interface, which includes at least one application packaging control, and each application packaging control corresponds to an application type of an application program one by one; in response to a trigger operation on a target application packaging control, an input box is displayed, and the input box includes at least one identification information to be selected; in response to a trigger operation of selecting at least one target identification information from the at least one identification information, the packaged application program is displayed, and the identification information includes at least one of the program name, icon, project package path of the application program, and function plug-ins required by the application. The first interface in the embodiments of the present application is a visual interface, enabling ordinary users to perform packaging and publishing operations, with a low operation threshold, easy to operate, and improving the user experience and the efficiency of application promotion.

[0079] The embodiments of the present application provide a possible implementation manner. As Figure 4 shown, it exemplarily shows a schematic flow diagram of the backend for packaging an application program. Before the embodiments of the present application display the packaged application program, it further includes:

[0080] Step S401, determine the target application type corresponding to the target application packaging control.

[0081] In the embodiments of the present application, each application packaging control corresponds to an application type of an application program one by one. After detecting the trigger operation of the user on the target application control, in response to the trigger operation on the target application control, determine the target application type corresponding to the target application control.

[0082] Step S402, determine the target packaging script corresponding to the target application type from the pre-established packaging script library; where the packaging script library includes at least one packaging script, and each packaging script is used to package an application program of a corresponding application type.

[0083] The pre-established packaging script library in the embodiments of the present application includes at least one packaging script, and each packaging script is used to package an application program of a corresponding application type. Specifically, for example, application types such as the above reading, music, and video types all have their corresponding packaging scripts.

[0084] Each packaging script in the embodiments of the present application includes relevant codes for packaging the application program. By calling each packaging script, each packaging process can be automatically executed without requiring ordinary users to perform professional configurations.

[0085] After the embodiments of the present application determine the target application type corresponding to the target application control, according to the corresponding relationship between the target application type and the target packaging script, determine the target packaging script corresponding to the target application type from the pre-established packaging script library.

[0086] Step S403: Input the identification information into the target packaging script to obtain the packaged application output by the target packaging script.

[0087] In the embodiment of the present application, after determining the target packaging script, the selected identification information of the user is input into the target packaging script. Placeholders are reserved in the target packaging script for each identification information, and after inserting each identification information, a complete target packaging script is obtained.

[0088] In the embodiment of the present application, after inputting the identification information into the target packaging script, the application packaging process will be executed to obtain the packaged application output by the target packaging script.

[0089] The embodiment of the present application provides a possible implementation method. Inputting the above-mentioned identification information into the target packaging script to obtain the packaged application output by the target packaging script includes:

[0090] Call at least one packaging server, and only execute the target packaging script in at least one packaging server to obtain the application corresponding to the packaging server; each packaging server is used to generate an application for running a unique operating system.

[0091] In the embodiment of the present application, the target packaging script is executed at the backend. The backend includes at least one packaging server, and each packaging server can generate an application for running a unique operating system. For example, the first packaging server is used to generate an application for running the android operating system, and the second packaging server is used to generate an application for running the IOS operating system, etc.

[0092] In the embodiment of the present application, after inputting the identification information into the target packaging script, at least one packaging server is called, and the target packaging script is executed in at least one packaging server to obtain the applications corresponding to each packaging server.

[0093] It should be emphasized that the embodiment of the present application can call each packaging server simultaneously. Specifically, assuming there is a first packaging server and a second packaging server, the first server is used to generate an application for running the android operating system, and the second packaging server is used to generate an application for running the IOS operating system. The embodiment of the present application can call the first packaging server and the second packaging server simultaneously to obtain the android application corresponding to the first packaging server and the IOS application corresponding to the second packaging server.

[0094] The embodiment of the present application provides a possible implementation method. The packaging server includes a first packaging server, and the first packaging server is used to generate an application for running the android operating system; calling at least one packaging server and executing the target packaging script in at least one packaging server includes:

[0095] Invoke the gradle packaging tool in the first packaging server, and execute the target packaging script through the gradle packaging tool to obtain the packaged application corresponding to the first packaging server.

[0096] In the embodiment of the present application, the first packaging server is used to generate an application with the Android operating system as the running system. The packaging tool for the Android operating system is the gradle packaging tool. The gradle packaging tool itself is a cross-platform Java-based application packaging tool, so it can be used in common Windows and Linux server environments. And as an open-source application packaging solution, the gradle packaging tool itself can support many extensions. Therefore, only a simple encapsulation and transformation of the packaging method of the gradle packaging tool is required. By invoking the gradle packaging tool in the first packaging server and executing the target packaging script through the gradle packaging tool, the packaged application corresponding to the first packaging server can be obtained.

[0097] The embodiment of the present application provides a possible implementation. The packaging server includes a second packaging server, and the second packaging server is used to generate an application with the IOS operating system as the running system; invoking at least one packaging server and executing the target packaging script in at least one packaging server includes:

[0098] Invoke the macOS operating system in the second packaging server, and execute the target packaging script through the macOS operating system to obtain the packaged application corresponding to the second packaging server.

[0099] In the embodiment of the present application, the second packaging server is used to generate an application with the IOS operating system as the running system. The specified second packaging script in the second packaging server relies on the macOS operating system. The macOS operating system is a graphical operating system based on the XNU hybrid kernel. Executing the target packaging script by the macOS operating system can obtain the packaged application corresponding to the second packaging server.

[0100] It should be emphasized that the first packaging server and the second packaging server in the embodiment of the present application can execute the packaging process simultaneously. The two are independent servers, and each generates its own corresponding packaged application.

[0101] The embodiment of the present application provides a possible implementation. After displaying the packaged application, it further includes:

[0102] Determine the application market corresponding to the operating system according to the operating system corresponding to the packaging server, and upload the packaged application to the target market.

[0103] After the embodiment of the present application displays the packaged application program, it can determine the target application market corresponding to the operating system according to the operating system of the packaging server, and upload the packaged application program to the target application market.

[0104] An application market refers to a channel for downloading application programs. After the application program is packaged, the packaged application program is uploaded to the application market, and users can download the packaged application program from the application market to obtain the installation package of the application program.

[0105] After the embodiment of the present application obtains the packaged application program, it stores the packaged application program in a preset directory location, generates corresponding URLs respectively, and uploads the URLs to the application market so that each user can download the application program from the application market.

[0106] Specifically, continuing with the above example, after the first packaging server executes the target packaging script, it obtains the packaged application program corresponding to the first packaging server, generates the first URL corresponding to the packaged application program, and determines the application market corresponding to the operating system according to the operating system of the first packaging server. The application market corresponding to the first packaging server is the Android application market, and the packaged application program can be uploaded to the Android application market.

[0107] After the second packaging server executes the target packaging script, it obtains the packaged application program corresponding to the second packaging server, generates the second URL corresponding to the packaged application program, and determines the application market corresponding to the operating system according to the operating system of the second packaging server. The application market corresponding to the second packaging server is the iOS application market, and the packaged application program can be uploaded to the iOS application market.

[0108] The embodiment of the present application can realize the packaging and publishing of application programs, making the packaging and publishing form a continuous process, and further improving the efficiency.

[0109] The embodiment of the present application provides a possible implementation manner. After executing the target packaging script, it further includes:

[0110] Generate a packaging log and display the packaging log.

[0111] After the embodiment of the present application starts to execute the target packaging script, it also generates a packaging log to monitor the entire packaging process and displays the packaging log for easy maintenance of the product.

[0112] Such as Figure 5As shown in the figure, an embodiment of the present application provides a schematic flowchart corresponding to a specific embodiment of application packaging and release. Assume that the packaging server includes a first server and a second server. The first packaging server is used to generate an application program running on the Android operating system; the second packaging server is used to generate an application program running on the iOS operating system. The entire process of application packaging and release is as follows:

[0113] Step S501, display a first interface; the first interface includes an application packaging control, and the application packaging control corresponds to the application type of the application program one by one;

[0114] Step S502, in response to a trigger operation on the target application control, display an input box, and the input box includes at least one identification information to be selected;

[0115] Step S503, in response to a trigger operation of selecting at least one target identification information from at least one identification information, determine the target application type corresponding to the target application packaging control;

[0116] Step S504, determine a target packaging script corresponding to the target application type from a pre-established packaging script library; the packaging script library includes at least one packaging script, and each packaging script is used to package an application program of a corresponding application type;

[0117] Step S505, input the identification information into the target packaging script;

[0118] Step S506, call the first packaging server and the second packaging server, run the target packaging script in the first packaging server, and obtain a packaged Android application program;

[0119] Step S506’, call the second packaging server, run the target packaging script in the second packaging server, and obtain a packaged iOS application program;

[0120] Step S507, generate a first URL, and upload the first URL to the Android application market corresponding to the operating system of the first server;

[0121] Step S507’, generate a second URL, and upload the second URL to the iOS application market corresponding to the operating system of the second server.

[0122] An embodiment of the present application provides an apparatus for application packaging and release, as Figure 6 shown, the apparatus 60 for application packaging and release may include:

[0123] A display module 610, configured to display a first interface, where the first interface includes at least one application packaging control, and the application packaging controls correspond one-to-one to the application types of application programs;

[0124] A first response module 620, configured to display an input box in response to a trigger operation on a target application packaging control, where the input box includes at least one identification information to be selected;

[0125] A second response module 630, configured to display a packaged application program in response to selecting at least one target identification information from at least one identification information, where the identification information includes at least one of the program name, icon, project package path of the application program, and function plug-ins required by the application program.

[0126] The embodiment of the present application provides an operable first interface, where the first interface includes at least one application packaging control, and the application packaging controls correspond one-to-one to the application types of application programs; in response to a trigger operation on a target application packaging control, an input box is displayed, and the input box includes at least one identification information to be selected; in response to a trigger operation of selecting at least one target identification information from at least one identification information, a packaged application program is displayed, and the identification information includes at least one of the program name, icon, project package path of the application program, and function plug-ins required by the application. The first interface in the embodiment of the present application is a visual interface, enabling ordinary users to perform packaging and publishing operations, with a low operation threshold, easy to operate, and improving the user experience and the efficiency of application promotion.

[0127] The embodiment of the present application provides a possible implementation manner, and the second response module further includes:

[0128] A target application type determination sub-module, configured to determine the target application type corresponding to the target application packaging control;

[0129] A target packaging script determination sub-module, configured to determine a target packaging script corresponding to the target application type from a pre-established packaging script library; where the packaging script library includes at least one packaging script, and each packaging script is used to package an application program of a corresponding application type;

[0130] A packaged application program acquisition sub-module, configured to input the identification information into the target packaging script to obtain the packaged application program output by the target packaging script.

[0131] The embodiment of the present application provides a possible implementation manner, and the packaged application program acquisition sub-module includes:

[0132] An application program acquisition unit corresponding to the packaging server, configured to call at least one packaging server, execute the target packaging script in the at least one packaging server, and obtain the application program corresponding to the packaging server;

[0133] Among them, each packaging server is used to generate an application program that runs a unique operating system.

[0134] An embodiment of the present application provides a possible implementation. The packaging server includes a first packaging server, and the first packaging server is used to generate an application program that runs the android operating system;

[0135] The application obtaining unit corresponding to the packaging server is used to call the gradle packaging tool in the first packaging server, execute the target packaging script through the gradle packaging tool, and obtain the packaged application program corresponding to the first packaging server.

[0136] An embodiment of the present application provides a possible implementation. The packaging server includes a second packaging server, and the second packaging server is used to generate an application program that runs the IOS operating system;

[0137] The application obtaining unit corresponding to the packaging server is further used to call the macOS operating system in the second packaging server, execute the target packaging script through the macOS operating system, and obtain the packaged application program corresponding to the second packaging server.

[0138] An embodiment of the present application provides a possible implementation. The device further includes:

[0139] An upload module, which is used to determine a target application market corresponding to the operating system according to the operating system corresponding to the packaging server, and upload the packaged application program to the target application market.

[0140] An embodiment of the present application provides a possible implementation. The device further includes:

[0141] A packaging log generation module, which is used to generate a packaging log and display the packaging log.

[0142] The device of the embodiment of the present application can execute the method provided by the embodiment of the present application, and its implementation principle is similar. The actions performed by each module in the device of each embodiment of the present application correspond to the steps in the method of each embodiment of the present application. For the detailed function descriptions of the modules of the device, reference can be specifically made to the descriptions in the corresponding methods shown above, and details are not described herein again.

[0143] An embodiment of the present application provides an electronic device (computer device / equipment / system), including a memory, a processor, and a computer program stored on the memory. The processor executes the above computer program to implement the steps of the method for packaging and releasing an application program. Compared with the related art, the following can be achieved: The embodiment of the present application provides an operable first interface, which includes at least one application packaging control, and the application packaging controls correspond one by one to the application types of the application programs; in response to a trigger operation on a target application packaging control, an input box is displayed, and the input box includes at least one identification information to be selected; in response to a trigger operation of selecting at least one target identification information from the at least one identification information, the packaged application program is displayed, and the identification information includes at least one of the program name, icon, project package path of the application program, and function plug-ins required by the application. The first interface in the embodiment of the present application is a visual interface, enabling ordinary users to perform packaging and releasing operations, with a low operation threshold, easy to operate, and improving the user experience and the efficiency of application promotion.

[0144] In an alternative embodiment, an electronic device is provided, as Figure 7 shown Figure 7 The electronic device 7000 shown includes: a processor 7001 and a memory 7003. Among them, the processor 7001 and the memory 7003 are connected, such as through a bus 7002. Optionally, the electronic device 7000 may further include a transceiver 7004, and the transceiver 7004 may be used for data interaction between the electronic device and other electronic devices, such as sending and / or receiving data, etc. It should be noted that in actual applications, the transceiver 7004 is not limited to one, and the structure of the electronic device 7000 does not constitute a limitation to the embodiment of the present application.

[0145] The processor 7001 may be a CPU (Central Processing Unit, central processor), a general-purpose processor, a DSP (Digital Signal Processor, data signal processor), an ASIC (Application Specific Integrated Circuit, application-specific integrated circuit), an FPGA (Field Programmable Gate Array, field programmable gate array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, modules, and circuits described in connection with the disclosure of the present application. The processor 7001 may also be a combination that implements computing functions, such as a combination including one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0146] The bus 7002 may include a path for transmitting information between the above components. The bus 7002 can be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 7002 can be divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity of representation, Figure 7 it is only represented by a thick line in Figure 7 , but it does not mean that there is only one bus or one type of bus.

[0147] The memory 7003 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or it can also be an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, other magnetic storage devices, or any other medium that can be used to carry or store computer programs and can be read by a computer, which is not limited here.

[0148] The memory 7003 is used to store the computer program for implementing the embodiments of the present application and is controlled by the processor 7001 to execute. The processor 7001 is used to execute the computer program stored in the memory 7003 to implement the steps shown in the foregoing method embodiments.

[0149] Among them, the electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc.

[0150] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps and corresponding contents of the foregoing method embodiment can be implemented. Compared with the prior art, the embodiment of the present application provides an operable first interface, which includes at least one application packaging control, and the application packaging controls correspond one by one to the application types of application programs; in response to a trigger operation on a target application packaging control, an input box is displayed, and the input box includes at least one selected identification information; in response to a trigger operation of selecting at least one target identification information from the at least one identification information, the packaged application program is displayed, and the identification information includes at least one of the program name, icon, project package path of the application program, and function plug-ins required by the application. The first interface in the embodiment of the present application is a visual interface, enabling ordinary users to perform packaging and publishing operations, with a low operation threshold, easy to operate, and improving the user experience and the efficiency of application promotion.

[0151] An embodiment of the present application also provides a computer program product, including a computer program. When the computer program is executed by a processor, the steps and corresponding contents of the foregoing method embodiment can be implemented. Compared with the prior art, it can be realized that: the embodiment of the present application provides an operable first interface, which includes at least one application packaging control, and the application packaging controls correspond one by one to the application types of application programs; in response to a trigger operation on a target application packaging control, an input box is displayed, and the input box includes at least one selected identification information; in response to a trigger operation of selecting at least one target identification information from the at least one identification information, the packaged application program is displayed, and the identification information includes at least one of the program name, icon, project package path of the application program, and function plug-ins required by the application. The first interface in the embodiment of the present application is a visual interface, enabling ordinary users to perform packaging and publishing operations, with a low operation threshold, easy to operate, and improving the user experience and the efficiency of application promotion.

[0152] The terms "first", "second", "third", "fourth", "1", "2", etc. (if any) in the specification, claims and drawings of the present application are used to distinguish similar objects and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present application described herein can be implemented in an order other than the illustrated or textually described order.

[0153] It should be understood that although the flowcharts of the embodiments of the present application indicate various operation steps by arrows, the execution order of these steps is not limited to the order indicated by the arrows. Unless there is a clear description in this article, in some implementation scenarios of the embodiments of the present application, the implementation steps in each flowchart can be executed in other orders according to requirements. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on the actual implementation scenario. Some or all of these sub-steps or stages can be executed at the same time, and each sub-step or stage among these sub-steps or stages can also be executed at different times respectively. In the scenario where the execution times are different, the execution order of these sub-steps or stages can be flexibly configured according to requirements, and the embodiments of the present application do not limit this.

[0154] The above are only optional implementation manners of some implementation scenarios of the present application. It should be noted that for those of ordinary skill in the art, without departing from the technical concept of the solution of the present application, using other similar implementation means based on the technical idea of the present application also belongs to the protection scope of the embodiments of the present application.

Claims

1. A method for packaging and releasing an application program, characterized in that, including: displaying a first interface, where the first interface includes at least one application packaging control, and the application packaging controls correspond one-to-one to the application types of application programs; in response to a trigger operation on a target application packaging control, displaying an input box, where the input box includes at least one identification information to be selected; in response to a trigger operation of selecting at least one target identification information from the at least one identification information, displaying the packaged application program, where the identification information includes at least one of the program name, icon, project package path of the application program, and function plug-ins required by the application program; the plug-ins refer to other function plug-ins except for the functions possessed by the application type, such as sharing plug-ins, face recognition plug-ins, behavior analysis plug-ins, and push plug-ins; wherein, before displaying the packaged application program, it further includes: determining the target application type corresponding to the target application packaging control; determining a target packaging script corresponding to the target application type from a pre-established packaging script library; wherein, the packaging script library includes at least one packaging script, and each packaging script is used to package an application program of a corresponding application type; inputting the target identification information into the target packaging script, where placeholders are reserved in the target packaging script for each target identification information to be inserted, and obtaining the packaged application program output by the target packaging script; wherein, inputting the target identification information into the target packaging script and obtaining the packaged application program output by the target packaging script includes: invoking at least one packaging server and executing the target packaging script in the at least one packaging server to obtain an application program corresponding to the packaging server; wherein each packaging server is used to generate an application program for running a unique operating system.

2. The method according to claim 1, characterized in that, The packaging server includes a first packaging server, and the first packaging server is used to generate an application program for running the android operating system; invoking at least one packaging server and executing the target packaging script in the at least one packaging server includes: invoking the gradle packaging tool in the first packaging server and executing the target packaging script through the gradle packaging tool to obtain the packaged application program corresponding to the first packaging server.

3. The method according to claim 1, characterized in that, The packaging server includes a second packaging server, and the second packaging server is used to generate an application program for running the IOS operating system; invoking at least one packaging server and executing the target packaging script in the at least one packaging server includes: invoking the macOS operating system in the second packaging server and executing the target packaging script through the macOS operating system to obtain the packaged application program corresponding to the second packaging server.

4. The method according to claim 1, characterized in that, after displaying the packaged application program, it further includes: determining a target application market corresponding to the operating system according to the operating system corresponding to the packaging server, and uploading the packaged application program to the target application market.

5. The method according to claim 1, characterized in that, after executing the target packaging script, it further includes: Generate a packaging log and display the packaging log.

6. An apparatus for packaging and releasing an application program, characterized in that, Including: A display module for displaying a first interface, where the first interface includes at least one application packaging control, and the application packaging controls correspond one-to-one to the application types of application programs; A first response module for responding to a trigger operation on a target application packaging control and displaying an input box, where the input box includes at least one identification information to be selected; A second response module for responding to selecting at least one target identification information from the at least one identification information and displaying the packaged application program, where the identification information includes at least one of the program name, icon, project package path of the application program, and functional plug-ins required by the application program; the plug-ins refer to other functional plug-ins except for the functions possessed by the application type, and are sharing plug-ins, face recognition plug-ins, behavior analysis plug-ins, and push plug-ins; Wherein, before the second response module displays the packaged application program, it further includes: Determine the target application type corresponding to the target application packaging control; Determine a target packaging script corresponding to the target application type from a pre-established packaging script library; wherein, the packaging script library includes at least one packaging script, and each packaging script is used to package an application program of a corresponding application type; Input the target identification information into the target packaging script, and placeholders are reserved in the target packaging script for each target identification information to be inserted, to obtain the packaged application program output by the target packaging script; Wherein, the second response module inputs the target identification information into the target packaging script and obtains the packaged application program output by the target packaging script, including: Invoke at least one packaging server and execute the target packaging script in the at least one packaging server to obtain an application program corresponding to the packaging server; Wherein, each packaging server is used to generate an application program that runs on a unique operating system.

7. An electronic device, including a memory, a processor, and a computer program stored on the memory, characterized in that, The processor executes the computer program to implement the steps of the method according to any one of claims 1-5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1-5.

9. A computer program product comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Application program generation method and device

    CN103838573A

  • Method and device for cloud packing APP

    CN108089844A

  • Application packaging method and device, computer equipment and storage medium

    CN111459541A