CN109343871A - Method, apparatus, equipment and the storage medium that application program is packaged - Google Patents
Method, apparatus, equipment and the storage medium that application program is packaged Download PDFInfo
- Publication number
- CN109343871A CN109343871A CN201811502314.6A CN201811502314A CN109343871A CN 109343871 A CN109343871 A CN 109343871A CN 201811502314 A CN201811502314 A CN 201811502314A CN 109343871 A CN109343871 A CN 109343871A
- Authority
- CN
- China
- Prior art keywords
- application program
- packaged
- configuration data
- remote server
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
This application involves method, apparatus, equipment and storage mediums that a kind of application program is packaged, applied to program development techniques field, in the scheme of the application, the configuration data for the application program to be packaged that will acquire is sent on remote server and is packaged, then installation kit is downloaded from remote server, not it is packaged locally, slow problem is run so as to avoid local machine, during remote server is packaged, local machine can also run other tasks, development efficiency is improved, also, non-technical developer can also operate.
Description
Technical field
This application involves program development techniques fields, and in particular to a kind of method, apparatus that application program is packaged, equipment and
Storage medium.
Background technique
In the related technology, it after IOS application development, needs to be packaged application program, provides application for user
The installation kit of program.It is answered since IOS application developer and non-developer need to compile different IOS for different situations
With the installation kit of program, and the compiling of installation kit is more time-consuming, during being compiled, can occupy a large amount of system resources,
Lead to machine operation slowly, other work can not be carried out, reduce development efficiency.
Summary of the invention
In view of this, the application's aims to overcome that the deficiencies in the prior art, a kind of side that application program is packaged is provided
Method, device, equipment and storage medium.
In order to achieve the above object, the application adopts the following technical scheme that
The application's in a first aspect, provide a kind of method that application program is packaged, comprising:
Obtain the configuration data of application program to be packaged;
It is sent to remote server and is packaged instruction, carry the configuration data in the packing instruction, so that described long-range
Server executes the packing instruction, automatically generates the application program based on the configuration data being packaged in instruction
Installation kit;
The installation kit of the application program is downloaded from the remote server.
Optionally, before the configuration data for obtaining application program to be packaged, the method further include:
Display management interface;The administration interface includes the input frame of the configuration data of the application program;
The configuration data for obtaining application program to be packaged, comprising:
Receive the configuration data for the application program added by the administration interface.
Optionally, the configuration data of the application program includes the icon of application program, the developer of application program, source journey
Sequence code store path.
Optionally, the configuration data of the application program further includes following one or more: classification information, application program
Description information, picture resource configuration information, the one or more in official documents and correspondence resource allocation information.
Optionally, the administration interface further includes download link icon;It is described from the remote server downloading described in answer
With the installation kit of program, comprising:
When receiving the input operation for the download link icon, journey is applied from remote server downloading is described
The installation kit of sequence.
Optionally, the method further include:
If being packaged failure, the display reminding information on the administration interface.
Optionally, the display management interface, comprising: be based on JavaScript language, display management interface.
The second aspect of the application, improves a kind of device that application program is packaged, and described device includes:
Module is obtained, for obtaining the configuration data of application program to be packaged;
Sending module is packaged instruction for sending to remote server, carries the configuration data in the packing instruction,
So that the remote server executes the packing instruction, institute is automatically generated based on the configuration data being packaged in instruction
State the installation kit of application program;
The third aspect of the application provides a kind of equipment that application program is packaged, comprising:
Processor, and the memory being connected with the processor;
The memory is for storing computer program;
The processor is for calling and executing the computer program in the memory, to execute such as any of the above
Method described in.
The fourth aspect of the application, provides a kind of storage medium, and the storage medium is stored with computer program, the meter
When calculation machine program is executed by processor, each step in the method as described in any of the above item is realized.
The application uses above technical scheme, may be implemented it is following the utility model has the advantages that
The configuration data for the application program to be packaged that will acquire is sent on remote server and is packaged, then from remote
Installation kit is downloaded on journey server, is not packaged locally, slow problem is run so as to avoid local machine, remote
During journey server is packaged, local machine can also run other tasks, improve development efficiency, also, non-technical
Developer can also operate.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the flow chart for the method that a kind of application program that the application one embodiment provides is packaged.
Fig. 2 is the structure chart for the device that a kind of application program that another embodiment of the application provides is packaged.
Fig. 3 is the structure chart for the equipment that a kind of application program that another embodiment of the application provides is packaged.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, the technical solution of the application will be carried out below
Detailed description.Obviously, described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Base
Embodiment in the application, those of ordinary skill in the art are obtained all without making creative work
Other embodiment belongs to the range that the application is protected.
Fig. 1 is the flow chart for the method that a kind of application program provided by the embodiments of the present application is packaged.
As shown in Figure 1, the method for the present embodiment includes:
Step 11, the configuration data for obtaining application program to be packaged;
Step 12 sends packing instruction to remote server, is packaged in instruction and carries configuration data, so that remote server
It executes and is packaged instruction, the installation kit of application program is automatically generated based on the configuration data being packaged in instruction;
Good application can be uploaded by storage medium (such as USB flash disk) or network mode in advance by user in remote server
Program is packaged required source program code.
Step 13, the installation kit that application program is downloaded from remote server.
In the present embodiment, the configuration data for the application program to be packaged that will acquire is sent on remote server and is beaten
Packet, then downloads installation kit from remote server, is not packaged locally, slow so as to avoid local machine operation
The problem of, during remote server is packaged, local machine can also run other tasks, development efficiency is improved,
Also, non-technical developer can also operate.
For convenient for operation, optionally, before the configuration data for obtaining application program to be packaged, method further include: it is aobvious
Show administration interface;The information of application program to be packaged is obtained, it is specific: to receive the application program added by administration interface
Information.Wherein, the configuration data of application program includes the icon of application program, the developer of application program, and source program code is deposited
Store up path.This is the content that must include in configuration data.In order to keep the information of application program more abundant, more clear body
It can also include following one or more: classification information, application in the configuration data of application program now the case where application program
The description information of program, picture resource configuration information, the one or more in official documents and correspondence resource allocation information.On administration interface
Picture resource configuration information and official documents and correspondence resource allocation information are set, the figure in application program more quickly can be configured and modify
Piece and text.Wherein, it is which kind of that classification information, which can help user to understand application program, convenient for searching, specifically, may be used also
To carry out first-level class, secondary classification, etc..The description information of application program can help user to understand the function of application program
Deng.
It is explained in more detail below with reference to scheme of the specific application scenarios to the application.
In the present embodiment, administration interface includes the first interface, second contact surface and third interface.
Based on this, firstly, display management interface, specific:
Show the first interface;First interface includes the icon of application program, title, developer, source program code storage road
Diameter Git url, first-level class, secondary classification, description information input frame, first submit task button.In addition to this it is possible to
Including picture resource configuration information, the icon of addition configuration is shown on the first display interface, the information that can be configured includes: sequence
Number, title, title is wide (pixel), high (pixel), picture.It is selected when adding the icon configured, one group can be added.With figure
The corresponding position of piece resource allocation information also shows the handle icon for deleting configuration.It can also include official documents and correspondence resource allocation information,
The icon of addition configuration, the information that can be configured are shown on the first display interface, comprising: serial number, title, title, type are write from memory
Recognize value.When the icon of addition configuration is selected, one group can be added.Position corresponding with official documents and correspondence resource allocation information, it is also aobvious
Show the handle icon for deleting configuration.
When detecting that the first submission task button is selected, storage configuration data, and show second contact surface.Second contact surface
It include: the input frame of common parameter, for example, task names, Dataeye, track ID, App ID, App KEY input frame,
Xcode version option;It can also include UI skin, the version option of SDK core library, such as standard edition, 001 edition, etc..Wherein,
Task names are used to help user and identify packing task.Dataeye is used to carry out data statistics to the user used.track ID
Installation data for counting user.The address of App ID application program for identification.APP KEY is that developer carries out software
The password of parameter setting.
By two above interface, it is available be packaged to application program required for configuration data, then can be into
Row task has submitted.
When detecting that the second task submitting button is selected, storage configuration data show third interface;Third interface includes
It is packaged the list of application program;List includes the task names being packaged, creation time, completion status, error message, download link
Icon.
Based on this, optionally, from the installation kit of remote server downloading application program, specific implementation, which may is that, to be connect
When receiving the input operation for download link icon, from the installation kit of remote server downloading application program.
When being packaged failure, it can also be prompted, optionally, if the method for the present embodiment can also include: to beat
Packet failure, the display reminding information on administration interface.Specifically, in one column display reminding information of error message.
Optionally, above-mentioned display management interface, comprising: be based on JavaScript language, display management interface.
JavaScript voice is a kind of high-level language, allows the tool based on this programme compatible in the computer of different operating system
Operation.
It should be noted that the specific setting position of each input frame shown on administration interface etc., display format this
Place is not specifically limited.
Fig. 2 is the structure chart for the device that a kind of application program that another embodiment of the application provides is packaged.
Another embodiment of the application provides a kind of device that application program is packaged, as shown in Fig. 2, device includes:
Module 201 is obtained, for obtaining the configuration data of application program to be packaged;
Sending module 202 is packaged instruction for sending to remote server, is packaged in instruction and carries configuration data, so that
Remote server, which executes, is packaged instruction, and the installation kit of application program is automatically generated based on the configuration data being packaged in instruction;
Download module 203, for the installation kit from remote server downloading application program.
The method that the application program that the specific implementation of the present embodiment may refer to previous embodiment record is packaged is implemented
Related description in example, details are not described herein again.
Fig. 3 is the structure chart for the equipment that a kind of application program that another embodiment of the application provides is packaged.
As shown in figure 3, the embodiment of the present application provides a kind of equipment that application program is packaged, comprising:
Processor 301, and the memory 302 being connected with processor 301;
Memory 302 is for storing computer program;
Processor 301 is for calling and executing the computer program in memory, to execute such as any of the above embodiment
Method.
The method that the application program that the specific implementation of the present embodiment may refer to previous embodiment record is packaged is implemented
Related description in example, details are not described herein again.
Another embodiment of the application also provides a kind of storage medium, and storage medium is stored with computer program, computer
When program is executed by processor, each step in the method such as any of the above embodiment is realized.
The method that the application program that the specific implementation of the present embodiment may refer to previous embodiment record is packaged is implemented
Related description in example, details are not described herein again.
It is understood that same or similar part can mutually refer in the various embodiments described above, in some embodiments
Unspecified content may refer to the same or similar content in other embodiments.
It should be noted that term " first ", " second " etc. are used for description purposes only in the description of the present application, without
It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present application, unless otherwise indicated, the meaning of " multiple "
Refer at least two.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
Although embodiments herein has been shown and described above, it is to be understood that above-described embodiment is example
Property, it should not be understood as the limitation to the application, those skilled in the art within the scope of application can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.
Claims (10)
1. a kind of method that application program is packaged characterized by comprising
Obtain the configuration data of application program to be packaged;
It is sent to remote server and is packaged instruction, the configuration data is carried in the packing instruction, so that the remote service
Device executes the packing instruction, and the installation of the application program is automatically generated based on the configuration data being packaged in instruction
Packet;
The installation kit of the application program is downloaded from the remote server.
2. the method according to claim 1, wherein the configuration data for obtaining application program to be packaged it
Before, the method further include:
Display management interface;The administration interface includes the input frame of the configuration data of the application program;
The configuration data for obtaining application program to be packaged, comprising:
Receive the configuration data for the application program added by the administration interface.
3. according to the method described in claim 2, it is characterized in that, the configuration data of the application program includes application program
Icon, the developer of application program, source program code store path.
4. according to the method described in claim 3, it is characterized in that, the configuration data of the application program further includes with the next item down
It is or multinomial: classification information, the description information of application program, picture resource configuration information, one in official documents and correspondence resource allocation information
Item is multinomial.
5. according to the method described in claim 2, it is characterized in that, the administration interface further includes download link icon;It is described
The installation kit of the application program is downloaded from the remote server, comprising:
When receiving the input operation for the download link icon, the application program is downloaded from the remote server
Installation kit.
6. according to the method described in claim 2, it is characterized in that, the method further include:
If being packaged failure, the display reminding information on the administration interface.
7. according to the method described in claim 2, it is characterized in that, the display management interface, comprising: be based on JavaScript
Language, display management interface.
8. the device that a kind of application program is packaged, which is characterized in that described device includes:
Module is obtained, for obtaining the configuration data of application program to be packaged;
Sending module is packaged instruction for sending to remote server, carries the configuration data in the packing instruction, so that
The remote server executes the packing instruction, automatically generates described answer based on the configuration data being packaged in instruction
With the installation kit of program;
Download module, for downloading the installation kit of the application program from the remote server.
9. the equipment that a kind of application program is packaged characterized by comprising
Processor, and the memory being connected with the processor;
The memory is for storing computer program;
The processor is for calling and executing the computer program in the memory, to execute such as claim 1-7
Described in any item methods.
10. a kind of storage medium, which is characterized in that the storage medium is stored with computer program, the computer program quilt
When processor executes, each step in the method according to claim 1 to 7 is realized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811502314.6A CN109343871A (en) | 2018-12-07 | 2018-12-07 | Method, apparatus, equipment and the storage medium that application program is packaged |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811502314.6A CN109343871A (en) | 2018-12-07 | 2018-12-07 | Method, apparatus, equipment and the storage medium that application program is packaged |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109343871A true CN109343871A (en) | 2019-02-15 |
Family
ID=65303584
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811502314.6A Pending CN109343871A (en) | 2018-12-07 | 2018-12-07 | Method, apparatus, equipment and the storage medium that application program is packaged |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109343871A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112685048A (en) * | 2021-01-05 | 2021-04-20 | 南方电网深圳数字电网研究院有限公司 | Application program packaging method, electronic device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634356A (en) * | 2012-08-24 | 2014-03-12 | 百度在线网络技术(北京)有限公司 | Method and system for packing downloading of a plurality of application programs, and apparatuses |
CN104516738A (en) * | 2014-12-15 | 2015-04-15 | 北京金和软件股份有限公司 | Integrated implementing method for development and release of APP |
CN105607992A (en) * | 2015-09-29 | 2016-05-25 | 网易(杭州)网络有限公司 | Application program test method, device and system |
EP3274897A1 (en) * | 2015-11-06 | 2018-01-31 | Huawei International Pte. Ltd. | System and method for managing installation of an application package requiring high-risk permission access |
CN107741844A (en) * | 2016-08-22 | 2018-02-27 | 腾讯科技(深圳)有限公司 | The generation method and device of a kind of application installation package |
-
2018
- 2018-12-07 CN CN201811502314.6A patent/CN109343871A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634356A (en) * | 2012-08-24 | 2014-03-12 | 百度在线网络技术(北京)有限公司 | Method and system for packing downloading of a plurality of application programs, and apparatuses |
CN104516738A (en) * | 2014-12-15 | 2015-04-15 | 北京金和软件股份有限公司 | Integrated implementing method for development and release of APP |
CN105607992A (en) * | 2015-09-29 | 2016-05-25 | 网易(杭州)网络有限公司 | Application program test method, device and system |
EP3274897A1 (en) * | 2015-11-06 | 2018-01-31 | Huawei International Pte. Ltd. | System and method for managing installation of an application package requiring high-risk permission access |
CN107741844A (en) * | 2016-08-22 | 2018-02-27 | 腾讯科技(深圳)有限公司 | The generation method and device of a kind of application installation package |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112685048A (en) * | 2021-01-05 | 2021-04-20 | 南方电网深圳数字电网研究院有限公司 | Application program packaging method, electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3433732B1 (en) | Converting visual diagrams into code | |
Bruneliere et al. | Modisco: A model driven reverse engineering framework | |
US8756593B2 (en) | Map generator for representing interrelationships between app features forged by dynamic pointers | |
US11210072B2 (en) | System for generating a map illustrating bindings | |
US10235221B2 (en) | Registry for mapping names to component instances using configurable input and output links | |
CN110244977A (en) | Customized software generation method, system, electronic equipment and storage medium | |
CN107609004B (en) | Application program embedding method and device, computer equipment and storage medium | |
US20130276000A1 (en) | Central registry for binding features using dynamic pointers | |
CN105335132B (en) | Method, device and system for customizing application program function | |
KR102071236B1 (en) | USER INTERFACE PROVIDING METHOD USING IoT PLATFORM FOR SERVICE DEVELOPMENT AND IoT PLATFORM APPARATUS | |
US20170039298A1 (en) | Model driven computational platform for integrated design of products, materials and manufacturing processes | |
CN114064024A (en) | Method, apparatus, device, storage medium, and program product for developing micro-application | |
CN113268243B (en) | Memory prediction method and device, storage medium and electronic equipment | |
MacLean et al. | Pro Android 5 | |
CN110020370B (en) | Method and device for realizing animation in client application and framework of animation script | |
US10042638B2 (en) | Evaluating documentation coverage | |
CN109634758A (en) | Method and middleware platform based on JSON document control event and behavior | |
CN109343871A (en) | Method, apparatus, equipment and the storage medium that application program is packaged | |
CN108804088A (en) | Protocol processes method and apparatus | |
CN112068895B (en) | Code configuration method, device, video playing equipment and storage medium | |
CN113610242A (en) | Data processing method and device and server | |
CN109597845B (en) | Report configuration method, report configuration device, computer equipment and storage medium | |
CN107589978B (en) | Method and device for refreshing page in Flash | |
Iglesias | Hands-On Microservices with Kotlin: Build reactive and cloud-native microservices with Kotlin using Spring 5 and Spring Boot 2.0 | |
WO2023155487A1 (en) | Code refactoring method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190215 |
|
RJ01 | Rejection of invention patent application after publication |