CN109725912B - Application program configuration method, device, terminal, server and readable storage medium - Google Patents

Application program configuration method, device, terminal, server and readable storage medium Download PDF

Info

Publication number
CN109725912B
CN109725912B CN201811510881.6A CN201811510881A CN109725912B CN 109725912 B CN109725912 B CN 109725912B CN 201811510881 A CN201811510881 A CN 201811510881A CN 109725912 B CN109725912 B CN 109725912B
Authority
CN
China
Prior art keywords
installation script
application program
module
module installation
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811510881.6A
Other languages
Chinese (zh)
Other versions
CN109725912A (en
Inventor
蒋宏伟
张天翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Chengshi Wanglin Information Technology Co Ltd
Original Assignee
Beijing Chengshi Wanglin Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Chengshi Wanglin Information Technology Co Ltd filed Critical Beijing Chengshi Wanglin Information Technology Co Ltd
Priority to CN201811510881.6A priority Critical patent/CN109725912B/en
Publication of CN109725912A publication Critical patent/CN109725912A/en
Application granted granted Critical
Publication of CN109725912B publication Critical patent/CN109725912B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an application program configuration method, which is applied to an application program configuration terminal and comprises the following steps: when an installation script of an application program is created, acquiring a basic module source code set and a functional module source code set of the application program to generate a corresponding basic module installation script and a corresponding functional module installation script; sending the installation script of the application program to a server, wherein the installation script of the application program comprises: the basic module installation script and the functional module installation script. The invention also discloses an application program configuration device, a terminal, a server and a computer readable storage medium, which can effectively improve the development management efficiency of different modules of the application program for a development team, and realize that the server issues a basic module installation script and/or a functional module installation script corresponding to the installation script request according to the installation script request sent by the user terminal.

Description

Application program configuration method, device, terminal, server and readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a terminal, a server, and a computer-readable storage medium for configuring an application.
Background
With the rapid development of computer devices (e.g., mobile terminals), application programs installed in the computer devices have also gained rapid popularity. The existing application program can be updated only by auditing the application market and downloading by a user, so that the problem of long update period of the application program is caused. The conventional cross-platform mobile application development framework React Native framework provides a mode for updating an application program by using dynamic scripting language JavaScript, and the problems that the update period of the application program is long and the application program cannot be updated in time are solved. However, as applications developed based on the fact Native become more complex, the original scheme encounters two problems:
first, when a plurality of technical teams develop the same application program developed based on the read Native, development conflicts are easily generated.
Second, the complicated script resources of the application developed based on the real Native will increase in volume, and the download time will also increase.
Disclosure of Invention
The invention provides an application program configuration method, an application program configuration device, a terminal, a server and a computer readable storage medium, which are used for solving the problems that the development complexity of an application program installation file is too high and the volume of the installation file is too large in the prior art.
The technical scheme adopted by the invention is to provide an application program configuration method, which is applied to an application program configuration terminal and comprises the following steps:
when an installation script of an application program is created, acquiring a basic module source code set and a functional module source code set of the application program to generate a corresponding basic module installation script and a corresponding functional module installation script;
sending the installation script of the application program to a server, wherein the installation script of the application program comprises: the basic module installation script and the functional module installation script.
Optionally, when the number of the function module installation scripts is multiple, the obtaining a base module source code set and a function module source code set of the application program to generate corresponding base module installation scripts and function module installation scripts includes:
and packaging the basic module source code sets acquired in the basic module code warehouse of the application program into a basic module installation script, and respectively packaging the function module source code sets acquired in each function module code warehouse of the application program into a function module installation script.
Optionally, in a case that the number of the basic module installation scripts is multiple, the packing the basic module source code sets acquired in the basic module code repository of the application program into a basic module installation foot includes:
acquiring the basic module source code set in each basic module code warehouse of the application program and the type identification corresponding to the basic module source code set;
acquiring the identifier of the application program in a preset packaging record, or creating the identifier of the application program under the condition that the identifier of the application program does not exist in the preset packaging record;
and based on the type identifier corresponding to each basic module source code set, packaging each obtained basic module source code set into a basic module installation script, and setting a corresponding basic module installation script identifier and the identifier of the application program for each basic module installation script.
Optionally, the respectively packaging the function module source code sets acquired in each function module code repository of the application program into one function module installation script includes:
acquiring the function module source code set in each function module code warehouse of the application program and the type identification corresponding to the function module source code set;
acquiring the identifier of the application program in a preset packaging record, or creating the identifier of the application program under the condition that the identifier of the application program does not exist in the preset packaging record;
deleting the entry execution function of each function module source code set based on the type identifier corresponding to each function module source code set;
and packaging each function module source code set of the deleted entry execution function into a function module installation script, and setting a corresponding function module installation script identifier and an identifier of the application program for each function module installation script.
The invention also provides an application program configuration method, which is applied to a server and comprises the following steps:
storing the received installation script of the application program sent by the application program configuration terminal; wherein the installation script of the application program comprises: a basic module installation script and a functional module installation script;
and when an installation script request of the application program sent by a user terminal is received, sending a basic module installation script and/or a functional module installation script corresponding to the installation script request to the user terminal so that the user terminal can load and execute the received basic module installation script and/or functional module installation script.
Optionally, when receiving an installation script request of the application sent by a user terminal, sending a basic module installation script and/or a functional module installation script corresponding to the installation script request to the user terminal includes:
when receiving an installation script request of the application program sent by a user terminal, analyzing the installation script request to obtain an identifier of the application program carried by the installation script request, and a basic module installation script identifier and/or a functional module installation script identifier;
determining all basic module installation scripts and functional module installation scripts provided with the application program identification according to the application program identification;
determining a basic module installation script provided with the basic module installation script identification and/or a functional module installation script provided with the functional module installation script identification in all the basic module installation scripts and the functional module installation scripts provided with the application program identification;
and sending the determined basic module installation script provided with the basic module installation script identification and/or the determined functional module installation script provided with the functional module installation script identification to the user terminal.
The invention also provides an application program configuration device, which is arranged on the application program configuration terminal, and the device comprises:
the generating module is used for acquiring a basic module source code set and a functional module source code set of the application program when the installation script of the application program is created so as to generate a corresponding basic module installation script and a corresponding functional module installation script;
a sending module, configured to send an installation script of the application to a server, where the installation script of the application includes: the basic module installation script and the functional module installation script.
Optionally, when the number of the functional module installation scripts is multiple, the generating module is specifically configured to:
and packaging the basic module source code sets acquired in the basic module code warehouse of the application program into a basic module installation script, and respectively packaging the function module source code sets acquired in each function module code warehouse of the application program into a function module installation script.
Optionally, in a case that the number of the base module installation scripts is multiple, the generating module includes:
the first obtaining module is used for obtaining the basic module source code set in each basic module code warehouse of the application program and the type identification corresponding to the basic module source code set;
the first query module is used for acquiring the identifier of the application program in a preset packaging record, or creating the identifier of the application program under the condition that the identifier of the application program does not exist in the preset packaging record;
and the first packaging module is used for packaging each acquired basic module source code set into a basic module installation script based on the type identifier corresponding to each basic module source code set, and setting a corresponding basic module installation script identifier and the identifier of the application program for each basic module installation script.
Optionally, the generating module includes:
a second obtaining module, configured to obtain the function module source code set in each function module code repository of the application program and a type identifier corresponding to the function module source code set;
the second query module is used for acquiring the identifier of the application program in a preset packaging record, or creating the identifier of the application program under the condition that the identifier of the application program does not exist in the preset packaging record;
the second packing module is used for deleting the entry execution function of each function module source code set based on the type identifier corresponding to each function module source code set; and packaging each function module source code set of the deleted entry execution function into a function module installation script, and setting a corresponding function module installation script identifier and an identifier of the application program for each function module installation script.
The invention also provides an application program configuration device, which is arranged on the server and comprises:
the storage module is used for storing the received installation script of the application program sent by the application program configuration terminal; wherein the installation script of the application program comprises: a basic module installation script and a functional module installation script;
and the feedback module is used for sending the basic module installation script and/or the functional module installation script corresponding to the installation script request to the user terminal when receiving the installation script request of the application program sent by the user terminal so as to load and execute the received basic module installation script and/or functional module installation script by the user terminal.
Optionally, the feedback module includes:
the analysis module is used for analyzing the installation script request to obtain the identification of the application program carried by the installation script request, and the basic module installation script identification and/or the functional module installation script identification when the installation script request of the application program sent by the user terminal is received;
the first determining module is used for determining all basic module installation scripts and functional module installation scripts provided with the identification of the application program according to the identification of the application program;
a second determining module, configured to determine, among all the basic module installation scripts and the functional module installation scripts provided with the identifier of the application program, a basic module installation script provided with the identifier of the basic module installation script, and/or a functional module installation script provided with the identifier of the functional module installation script;
and the sending module is used for sending the determined basic module installation script provided with the basic module installation script identification and/or the function module installation script provided with the function module installation script identification to the user terminal.
The invention also provides an application program configuration terminal, which comprises a processor and a memory; the processor is used for executing the application program configuration program stored in the memory so as to realize the steps of the application program configuration method applied to the application program configuration terminal.
The invention also provides a server, which comprises a processor and a memory; the processor is used for executing the application program configuration program stored in the memory so as to realize the steps of the application program configuration method applied to the server.
The present invention also provides a computer-readable storage medium storing an application configuration program; wherein the application configuration program is executable by one or more processors to implement the steps of the application configuration method applied to the application configuration terminal.
The present invention also provides a computer-readable storage medium storing an application configuration program; wherein the application configuration program is executable by one or more processors to implement the steps of the application configuration method applied to the server.
By adopting the technical scheme, the invention at least has the following advantages:
the application configuration method, the device, the terminal, the server and the computer readable storage medium can effectively improve the development management efficiency of different modules of the application by a development team, realize that the server issues the basic module installation script and/or the functional module installation script corresponding to the installation script request according to the installation script request sent by the user terminal, avoid the defects that the installation script file of the application is downloaded by the user terminal for too long time and too large flow cost because the installation script file of the application is too large in size and the server sends the complete installation script of the application to the user terminal, and realize the downloading of the installation script file of the application as required.
Drawings
FIG. 1 is a flowchart of an application configuration method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of an application configuration method according to a second embodiment of the present invention;
FIG. 3 is a flowchart of an application configuration method according to a fifth embodiment of the present invention;
FIG. 4 is a flowchart of a method for configuring an application according to a sixth embodiment of the present invention;
FIG. 5 is a block diagram illustrating an application configuration apparatus according to a seventh embodiment of the present invention;
fig. 6 is a schematic structural diagram of an application configuration apparatus according to an eighth embodiment of the present invention;
fig. 7 is a schematic structural diagram of an application configuration terminal according to a ninth embodiment of the present invention;
fig. 8 is a schematic diagram of a server according to a tenth embodiment of the present invention.
Detailed Description
To further explain the technical means and effects of the present invention adopted to achieve the intended purpose, the present invention will be described in detail with reference to the accompanying drawings and preferred embodiments.
A first embodiment of the present invention provides an application configuration method, which is applied to an application configuration terminal, and as shown in fig. 1, the method includes the following specific steps:
step S101, when creating the installation script of the application program, obtaining the basic module source code set and the functional module source code set of the application program to generate the corresponding basic module installation script and the corresponding functional module installation script.
In this embodiment, the manner of obtaining the base module source code set and the function module source code set is not specifically limited, and may be obtaining a configured base module source code set and a configured function module source code set in a preset code warehouse, or obtaining the base module source code set in the base module code warehouse, and obtaining the function module source code set in the function module code warehouse.
In this embodiment, the obtaining a base module source code set and a function module source code set of an application program to generate corresponding base module installation scripts and function module installation scripts specifically includes:
acquiring a basic module source code set and a functional module source code set of an application program;
and packaging the basic module source code set of the application program into a basic module installation script, and packaging the functional module source code set of the application program into a functional module installation script.
In this embodiment, the number of the basic module installation scripts is not specifically limited, and may be one or more; the number of the function module installation scripts is not particularly limited, and may be one or more.
In this embodiment, the basic module installation script is used for installing a basic module of an application program in the user terminal by executing in the user terminal, wherein the basic module may include a basic function module of the application program, and may also include a basic function module of the application program, and one or more additional function modules of which the download frequency of the user terminal is higher than a set threshold.
The method comprises the steps that corresponding basic module installation scripts are generated according to obtained basic module source code sets, and corresponding function module installation scripts are generated according to the obtained function module source code sets, so that each module code set is automatically obtained, and each module code set is automatically packaged to generate a module installation script corresponding to each module code set; the development management efficiency of different functional modules of the application program by the development teams is effectively improved, the problem that all codes of the application program are wrong due to the fact that all code sets of the application program are maintained asynchronously or synchronously by the different development teams respectively is avoided, further disordered application program development is caused, and the development efficiency of the application program is reduced. For example, when multiple development teams develop the same read Native application, the communication and coordination costs between the development teams are very high; and one read Native application program only corresponds to one code warehouse. When a plurality of development teams have code modification, packaging and online permissions for a code warehouse of the same application program, the development teams are difficult to clearly divide responsibility, and further development conflict of installation scripts of the application program is caused.
And step S102, sending the installation script of the application program to a server.
The installation script of the application program comprises the following steps: a base module installation script and a function module installation script.
The basic module installation script and the functional module installation script are sent to the server, so that the server sends the basic module installation script and/or the functional module installation script corresponding to the installation script request to the user terminal based on the received installation script request of the application program sent by the user terminal, the user terminal downloads the basic module installation script and/or the functional module installation script stored on the server according to the requirement, and the defects that when the terminal installs the application program, the installation script containing all basic modules and all functional modules needs to be downloaded from the server, the downloading time is too long, and the flow is too large due to the downloading of the installation script are avoided; the efficiency of downloading and/or updating the application program is effectively improved.
The application program configuration method provided by the first embodiment of the invention can effectively improve the development management efficiency of different modules of the application program by the development team, and avoids the defects that a plurality of development teams have code modification, packaging and online permissions on a code warehouse of the same application program, and the development conflicts of application program installation scripts are caused because the development teams are difficult to clearly divide the responsibilities.
A second embodiment of the present invention provides an application configuration method, which is applied to an application configuration terminal, and as shown in fig. 2, the method includes the following specific steps:
step S201, when creating an installation script of an application program, packing a basic module source code set obtained in a basic module code repository of the application program into the basic module installation script, and packing a function module source code set obtained in each function module code repository of the application program into one function module installation script respectively.
Wherein, the quantity of function module installation script is a plurality of.
In this embodiment, the number of the base module installation scripts is not particularly limited, and may be one or more.
By respectively managing the development of the basic module and the functional modules, the development management efficiency of different functional modules of the application program by the development teams is effectively improved, the problem that all codes of the application program are wrong due to the fact that all code sets of the application program are respectively asynchronously or synchronously maintained by different development teams is avoided, further disordered and disordered application program development is caused, and the development efficiency of the application program is reduced. For example, when multiple development teams develop the same read Native application, the communication and coordination costs between the development teams are very high; and one read Native application program only corresponds to one code warehouse. When a plurality of development teams have code modification, packaging and online permissions for a code warehouse of the same application program, the development teams are difficult to clearly divide responsibility, and further development conflict of installation scripts of the application program is caused.
Step S202, the installation script of the application program is sent to the server.
The installation script of the application program comprises the following steps: a base module installation script and a function module installation script.
The application configuration method according to the second embodiment of the present invention manages the development of the installation scripts of the basic module and the plurality of functional modules, so as to effectively improve the development management efficiency of the development teams for different modules of the application, and avoid the disadvantage that the development conflicts of the installation scripts of the application are caused by the fact that the development teams have code modification, packaging and online permissions for the code warehouse of the same application, and the responsibility between the development teams is difficult to clearly divide.
A third embodiment of the present invention provides an application configuration method, which is applied to an application configuration terminal, and as shown in fig. 2, the method includes the following specific steps:
step S201, when creating an installation script of an application program, packing a basic module source code set obtained in a basic module code repository of the application program into the basic module installation script, and packing a function module source code set obtained in each function module code repository of the application program into one function module installation script respectively.
Wherein, the quantity of function module installation script is a plurality of.
In this embodiment, when the number of the base module installation scripts is multiple, the manner of packaging the base module source code sets acquired in the base module code repository of the application program into the base module installation legs includes, but is not limited to:
acquiring a basic module source code set in each basic module code warehouse of the application program and a type identifier corresponding to the basic module source code set;
acquiring an identifier of an application program in a preset packaging record, or creating the identifier of the application program under the condition that the identifier of the application program does not exist in the preset packaging record;
and based on the type identifier corresponding to each basic module source code set, packaging each obtained basic module source code set into a basic module installation script, and setting a corresponding basic module installation script identifier and an application program identifier for each basic module installation script.
By acquiring the basic module source code sets in each basic module code warehouse of the application program and the type identifications corresponding to the basic module source code sets, the acquired basic module source code sets are packaged into a basic module installation script, the packaging efficiency of the basic module installation script is effectively improved, the high communication and coordination cost among development teams is avoided when a plurality of development teams develop the same application program, and one application program only corresponds to one code warehouse. When a plurality of development teams have code modification, packaging and online permissions for a code warehouse of the same application program, the development teams are difficult to clearly divide responsibility, and further development conflict of installation scripts of the application program is caused.
In this embodiment, the base module installation script identifier includes, but is not limited to, a version identifier of the base module installation script; the identification of the application program includes but is not limited to the version identification of the application program; by setting corresponding basic module installation script identification and identification of an application program for each basic module installation script, the ordered management of the basic module installation scripts is realized, and chaotic versions of the basic module installation scripts caused by the fact that a development team maintains the basic module installation scripts is avoided.
The corresponding basic module installation script identification and the identification of the application program are set through each basic module installation script, so that the user terminal can quickly inquire the required basic module installation script and/or functional module installation script, and the speed and the efficiency of acquiring the required basic module installation script and/or functional module installation script by the user terminal are improved.
For example, when the number of the basic module installation scripts is multiple, the manner of packaging the basic module source code sets acquired in the basic module code repository of the application program into the basic module installation legs specifically includes:
acquiring a base module source code set in each base module code warehouse of the application program and a type identifier corresponding to the base module source code set according to the base module code warehouse address;
traversing a preset packaging record to determine whether the identifier of the application program exists in the packaging record; if the identifier of the application program exists in the packaging record, acquiring the identifier of the application program in the packaging record; if the identifier of the application program does not exist in the packaging record, creating the identifier of the application program;
based on the type identifier corresponding to each basic module source code set, calling a React Native packaging command through a customized packaging tool to package each obtained basic module source code set into a basic module JavaScript installation script, and setting a corresponding basic module installation script identifier and an identifier of an application program for each basic module JavaScript installation script.
Step S202, the installation script of the application program is sent to the server.
The installation script of the application program comprises the following steps: a base module installation script and a function module installation script.
According to the application program configuration method provided by the third embodiment of the invention, the development of the plurality of basic module installation scripts is respectively managed, so that the development management efficiency of the development team on the different basic module installation scripts of the application program can be effectively improved, and the development, packaging and online of the different basic module installation scripts can be realized without mutual dependence by the plurality of development teams. The method avoids the defects that a plurality of development teams have code modification, packaging and online permissions on a code warehouse of the same application program, and responsibility among the development teams is difficult to clearly divide, so that development conflict of installation scripts of the application program is caused.
A fourth embodiment of the present invention provides an application configuration method, which is applied to an application configuration terminal, and as shown in fig. 2, the method includes the following specific steps:
step S201, when creating an installation script of an application program, packing a basic module source code set obtained in a basic module code repository of the application program into the basic module installation script, and packing a function module source code set obtained in each function module code repository of the application program into one function module installation script respectively.
Wherein, the quantity of function module installation script is a plurality of.
In this embodiment, when the number of the base module installation scripts is multiple, the manner of packaging the base module source code sets acquired in the base module code repository of the application program into the base module installation legs includes, but is not limited to:
acquiring a basic module source code set in each basic module code warehouse of the application program and a type identifier corresponding to the basic module source code set;
acquiring an identifier of an application program in a preset packaging record, or creating the identifier of the application program under the condition that the identifier of the application program does not exist in the preset packaging record;
and based on the type identifier corresponding to each basic module source code set, packaging each obtained basic module source code set into a basic module installation script, and setting a corresponding basic module installation script identifier and an application program identifier for each basic module installation script.
In this embodiment, the ways of respectively packaging the function module source code sets acquired from each function module code repository of the application program into one function module installation script include, but are not limited to:
acquiring a function module source code set in each function module code warehouse of the application program and a type identifier corresponding to the function module source code set;
acquiring an identifier of an application program in a preset packaging record, or creating the identifier of the application program under the condition that the identifier of the application program does not exist in the preset packaging record;
deleting the entry execution function of each function module source code set based on the type identifier corresponding to each function module source code set;
and packaging each function module source code set of the deleted entry execution function into a function module installation script, and setting a corresponding function module installation script identifier and an application program identifier for each function module installation script.
For example, the method for respectively packaging the function module source code sets acquired from each function module code repository of the application program into a function module installation script specifically includes:
acquiring a function module source code set in each function module code warehouse of the application program and a type identifier corresponding to the function module source code set according to the address of the function module code warehouse;
traversing a preset packaging record to determine whether the identifier of the application program exists in the packaging record; if the identifier of the application program exists in the packaging record, acquiring the identifier of the application program in the packaging record; if the identifier of the application program does not exist in the packaging record, creating the identifier of the application program;
deleting the entry execution function of each function module source code set based on the type identifier corresponding to each function module source code set;
and calling a React Native packaging command by a customized packaging tool to package each function module source code set of which the entry execution function is deleted into a function module JavaScript installation script, and setting a corresponding function module JavaScript installation script identifier and an application program identifier for each function module installation script.
By acquiring the function module source code sets in each function module code warehouse of the application program and the type identifications corresponding to the function module source code sets, the acquired function module source code sets are packaged into a function module installation script, the packaging efficiency of the function module installation script is effectively improved, and the problems that when a plurality of development teams develop the same application program, the communication and coordination cost among the development teams is very high, and one application program only corresponds to one code warehouse are avoided. When a plurality of development teams have code modification, packaging and online permissions for a code warehouse of the same application program, the development teams are difficult to clearly divide responsibility, and further development conflict of installation scripts of the application program is caused.
In this embodiment, the function module installation script identifier includes, but is not limited to, a version identifier of the function module installation script; the identification of the application program includes but is not limited to the version identification of the application program; the corresponding function module installation script identification is set for each function module installation script, and the identification of the application program is set, so that the ordered management of the function module installation scripts is realized, and the disorder of the versions of the function module installation scripts caused by the maintenance process of the function module installation scripts by a development team is avoided.
The corresponding function module installation script identification and the identification of the application program are set through each function module installation script, so that the user terminal can quickly inquire the required function module installation script and/or function module installation script, and the speed and the efficiency of acquiring the required function module installation script and/or function module installation script by the user terminal are improved.
Step S202, the installation script of the application program is sent to the server.
The installation script of the application program comprises the following steps: a base module installation script and a function module installation script.
According to the application program configuration method provided by the fourth embodiment of the invention, the development and management efficiency of the development team on the installation scripts of different functional modules of the application program can be effectively improved by respectively managing the development of the installation scripts of the functional modules, and the development, packaging and online of the installation scripts of the different functional modules can be realized without mutual dependence by a plurality of development teams. The method avoids the defects that a plurality of development teams have code modification, packaging and online permissions on a code warehouse of the same application program, and responsibility among the development teams is difficult to clearly divide, so that development conflict of installation scripts of the application program is caused.
A fifth embodiment of the present invention provides an application configuration method, which is applied to a server, and as shown in fig. 3, the method includes the following specific steps:
step S501, storing the received installation script of the application program sent by the application program configuration terminal.
The installation script of the application program comprises the following steps: a base module installation script and a function module installation script.
In this embodiment, the number of the basic module installation scripts is not specifically limited, and may be one or multiple; the number of the function module installation scripts is not particularly limited, and may be one or a plurality of.
In this embodiment, the manner of storing the received installation script of the application program sent by the application program configuration terminal includes, but is not limited to:
and storing the received installation script of the application program transmitted by the application program configuration terminal into a setting storage medium.
In this embodiment, the storage medium is not particularly limited, and the storage medium includes but is not limited to: volatile Memory (Volatile Memory), such as Random Access Memory (RAM); a Non-Volatile Memory (Non-Volatile Memory), such as a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, HDD), or a Solid-State Drive (SSD); combinations of the above categories of memory may also be included.
The basic module installation script and the functional module installation script are stored respectively, so that the basic module installation script and the functional module installation script are managed respectively, and the management orderliness and convenience of the basic module installation script and the functional module installation script are improved.
Step S502, when receiving an installation script request of an application program sent by a user terminal, sending a basic module installation script and/or a functional module installation script corresponding to the installation script request to the user terminal, so that the user terminal can load and execute the received basic module installation script and/or functional module installation script.
The method comprises the steps that based on an installation script request of an application program sent by a user terminal, a basic module installation script and/or a functional module installation script corresponding to the installation script request is sent to the user terminal so that the user terminal can load and execute the received basic module installation script and/or functional module installation script, the basic module installation script and/or the functional module installation script can be obtained according to the requirement of the user terminal, and the defects that when the application program is installed by the terminal, the installation script containing the basic module and all functional modules needs to be downloaded from a server, the downloading time is too long, and the flow is too large due to the downloading of the installation script are avoided; the efficiency of downloading and/or updating the application program is effectively improved.
The application program configuration method according to the fifth embodiment of the present invention can download the basic module installation script and/or the functional module installation script according to the requirement of the user terminal, thereby avoiding the disadvantages that the downloading time is too long and the flow is too large due to downloading the installation script when the terminal needs to download the installation script including the basic module and all the functional modules from the server when the terminal installs the application program; the efficiency of downloading and/or updating the application program is effectively improved.
A sixth embodiment of the present invention provides an application configuration method, which is applied to a server, and as shown in fig. 4, the method includes the following specific steps:
step S601, storing the received installation script of the application program sent by the application program configuration terminal.
The installation script of the application program comprises the following steps: a base module installation script and a function module installation script.
Step S602, when receiving an installation script request of an application program sent by a user terminal, obtaining an identifier of the application program carried by the installation script request, and an installation script identifier of a basic module and/or an installation script identifier of a functional module by analyzing the installation script request.
By analyzing the installation script request, the identification of the application program carried by the installation script request, the identification of the basic module installation script and/or the identification of the functional module installation script are obtained, the application program required by the user terminal, the basic module installation script and/or the functional module installation script corresponding to the application program can be determined quickly by analyzing the installation script request, and the obtaining efficiency and precision of the basic module installation script and/or the functional module installation script are effectively improved.
Step S603, determining all basic module installation scripts and functional module installation scripts provided with the identifier of the application program according to the identifier of the application program.
By determining all basic module installation scripts and functional module installation scripts provided with the application program identifiers according to the application program identifiers, all basic module installation scripts and functional module installation scripts of the application programs required by the user terminal can be quickly determined in the basic module installation scripts and the functional module installation scripts which are massively stored in the server, and the accuracy and the efficiency of inquiring all basic module installation scripts and functional module installation scripts of the required application programs in the server are effectively improved.
Step S604, determining the basic module installation script with the basic module installation script identifier and/or the functional module installation script with the functional module installation script identifier, among all the basic module installation scripts and functional module installation scripts with the application program identifier.
The method comprises the steps of determining a basic module installation script provided with a basic module installation script identifier and/or a functional module installation script provided with a functional module installation script identifier in all basic module installation scripts and functional module installation scripts provided with application program identifiers, further improving the accuracy and efficiency of inquiring the basic module installation script and/or the functional module installation script required by a target terminal in a server, and avoiding the defects of overlong inquiry time and low inquiry efficiency caused by the fact that inquiry is performed in sequence in the basic module installation scripts and the functional module installation scripts of massive application programs stored in the server.
Step S605, sending the determined basic module installation script provided with the basic module installation script identifier and/or the function module installation script provided with the function module installation script identifier to the user terminal, so that the user terminal loads and executes the received basic module installation script and/or function module installation script.
The method comprises the steps that based on an installation script request of an application program sent by a user terminal, a basic module installation script and/or a functional module installation script corresponding to the installation script request is sent to the user terminal so that the user terminal can load and execute the received basic module installation script and/or functional module installation script, the basic module installation script and/or the functional module installation script can be obtained according to the requirement of the user terminal, and the defects that when the application program is installed by the terminal, the installation script containing the basic module and all functional modules needs to be downloaded from a server, the downloading time is too long, and the flow is too large due to the downloading of the installation script are avoided; the efficiency of downloading and/or updating the application program is effectively improved.
In the application configuration method according to the sixth embodiment of the present invention, based on the identifier of the application carried in the installation script request and the identifier of the basic module installation script and/or the identifier of the functional module installation script, the basic module installation script and/or the functional module installation script required by the user terminal can be quickly determined, and the speed and the accuracy of obtaining the required basic module installation script and/or the required functional module installation script in the server by the user terminal are improved; the method can acquire the basic module installation script and/or the functional module installation script according to the requirements of the user terminal, and avoids the defects that when the terminal installs the application program, the installation script containing the basic module and all the functional modules needs to be downloaded from the server, so that the downloading time is too long, and the flow is too large due to the downloading of the installation script; the efficiency of downloading and/or updating the application program is effectively improved.
In a seventh embodiment of the present invention, an application configuration apparatus is disposed in an application configuration terminal, and as shown in fig. 5, the apparatus includes the following components:
the generating module 100 is configured to, when creating an installation script of an application program, obtain a base module source code set and a function module source code set of the application program to generate a corresponding base module installation script and a corresponding function module installation script.
In this embodiment, the generating module 100 is specifically configured to: when the installation script of the application program is created, the basic module source code sets acquired in the basic module code warehouse of the application program are packaged into the basic module installation script, and the function module source code sets acquired in each function module code warehouse of the application program are respectively packaged into one function module installation script.
In this embodiment, the number of the basic module installation scripts is not specifically limited, and may be one or more; the number of the function module installation scripts is not particularly limited, and may be one or more.
Optionally, the generating module 100 includes:
a first obtaining module 101, configured to obtain a base module source code set in each base module code repository of an application program, and a type identifier corresponding to the base module source code set;
the first query module 102 is configured to acquire an identifier of an application program in a preset package record, or create an identifier of the application program when the identifier of the application program does not exist in the preset package record;
the first packing module 103 is configured to pack each obtained base module source code set into one base module installation script based on the type identifier corresponding to each base module source code set, and set a corresponding base module installation script identifier and an identifier of an application program for each base module installation script.
Optionally, the generating module 100 further includes:
a second obtaining module 104, configured to obtain a function module source code set in each function module code repository of the application program, and a type identifier corresponding to the function module source code set;
a second query module 105, configured to obtain an identifier of the application program in the preset package record, or create the identifier of the application program when the identifier of the application program does not exist in the preset package record;
a second packing module 106, configured to delete the entry execution function of each function module source code set based on the type identifier corresponding to each function module source code set; and packaging each function module source code set of the deleted entry execution function into a function module installation script, and setting a corresponding function module installation script identifier and an application program identifier for each function module installation script.
In this embodiment, the basic module installation script is used for installing a basic module of an application program in the user terminal by executing in the user terminal, wherein the basic module may include a basic function module of the application program, and may also include a basic function module of the application program, and one or more additional function modules of which the download frequency of the user terminal is higher than a set threshold.
The method comprises the steps that corresponding basic module installation scripts are generated according to obtained basic module source code sets, and corresponding function module installation scripts are generated according to the obtained function module source code sets, so that each module code set is automatically obtained, and each module code set is automatically packaged to generate a module installation script corresponding to each module code set; the development management efficiency of different functional modules of the application program by the development teams is effectively improved, the problem that all codes of the application program are wrong due to the fact that all code sets of the application program are maintained asynchronously or synchronously by the different development teams respectively is avoided, further disordered application program development is caused, and the development efficiency of the application program is reduced. For example, when multiple development teams develop the same read Native application, the communication and coordination costs between the development teams are very high; and one read Native application program only corresponds to one code warehouse. When a plurality of development teams have code modification, packaging and online permissions for a code warehouse of the same application program, the development teams are difficult to clearly divide responsibility, and further development conflict of installation scripts of the application program is caused.
A sending module 200, configured to send the installation script of the application to the server.
The installation script of the application program comprises the following steps: a base module installation script and a function module installation script.
The basic module installation script and the functional module installation script are sent to the server, so that the server sends the basic module installation script and/or the functional module installation script corresponding to the installation script request to the user terminal based on the received installation script request of the application program sent by the user terminal, the user terminal downloads the basic module installation script and/or the functional module installation script stored on the server according to the requirement, and the defects that when the terminal installs the application program, the installation script containing all basic modules and all functional modules needs to be downloaded from the server, the downloading time is too long, and the flow is too large due to the downloading of the installation script are avoided; the efficiency of downloading and/or updating the application program is effectively improved.
The application configuration device according to the seventh embodiment of the present invention can effectively improve the development management efficiency of different modules of an application by a development team, and avoid the disadvantages that a plurality of development teams have code modification, packaging and online permissions for a code warehouse of the same application, and the development conflicts of application installation scripts are caused by difficulty in clearly dividing the responsibilities among the development teams.
In an eighth embodiment of the present invention, an application configuring apparatus is provided in a server, and as shown in fig. 6, the apparatus includes the following components:
and the storage module 10 is used for storing the received installation script of the application program sent by the application program configuration terminal.
The installation script of the application program comprises the following steps: a base module installation script and a function module installation script.
In this embodiment, the number of the basic module installation scripts is not specifically limited, and may be one or multiple; the number of the function module installation scripts is not particularly limited, and may be one or a plurality of.
In this embodiment, the manner of storing the received installation script of the application program sent by the application program configuration terminal includes, but is not limited to:
and storing the received installation script of the application program transmitted by the application program configuration terminal into a setting storage medium.
In this embodiment, the storage medium is not particularly limited, and the storage medium includes but is not limited to: volatile Memory (Volatile Memory), such as Random Access Memory (RAM); a Non-Volatile Memory (Non-Volatile Memory), such as a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, HDD), or a Solid-State Drive (SSD); combinations of the above categories of memory may also be included.
The basic module installation script and the functional module installation script are stored respectively, so that the basic module installation script and the functional module installation script are managed respectively, and the management orderliness and convenience of the basic module installation script and the functional module installation script are improved.
The feedback module 20 is configured to, when receiving an installation script request of an application sent by a user terminal, send a basic module installation script and/or a functional module installation script corresponding to the installation script request to the user terminal, so that the user terminal loads and executes the received basic module installation script and/or functional module installation script.
In this embodiment, the feedback module 20 specifically includes:
the parsing module 21 is configured to, when receiving an installation script request of an application sent by a user terminal, parse the installation script request to obtain an identifier of the application carried in the installation script request, and an identifier of a basic module installation script and/or an identifier of a functional module installation script.
And a first determining module 22, configured to determine, according to the identifier of the application program, all the basic module installation scripts and the functional module installation scripts provided with the identifier of the application program.
The second determining module 23 is configured to determine, among all the basic module installation scripts and the functional module installation scripts provided with the identifier of the application program, a basic module installation script provided with an identifier of the basic module installation script, and/or a functional module installation script provided with an identifier of the functional module installation script.
And a sending module 24, configured to send the determined basic module installation script with the basic module installation script identifier and/or the function module installation script with the function module installation script identifier to the user terminal.
The method comprises the steps that based on an installation script request of an application program sent by a user terminal, a basic module installation script and/or a functional module installation script corresponding to the installation script request is sent to the user terminal so that the user terminal can load and execute the received basic module installation script and/or functional module installation script, the basic module installation script and/or the functional module installation script can be obtained according to the requirement of the user terminal, and the defects that when the application program is installed by the terminal, the installation script containing the basic module and all functional modules needs to be downloaded from a server, the downloading time is too long, and the flow is too large due to the downloading of the installation script are avoided; the efficiency of downloading and/or updating the application program is effectively improved.
The application program configuration device according to the eighth embodiment of the present invention can download the basic module installation script and/or the functional module installation script according to the requirement of the user terminal, thereby avoiding the disadvantages that when the terminal installs the application program, the installation script including the basic module and all the functional modules needs to be downloaded from the server, which results in an excessively long download time and an excessively large flow rate due to the downloading of the installation script; the efficiency of downloading and/or updating the application program is effectively improved.
A ninth embodiment of the present invention provides an application configuration terminal, as shown in fig. 7, including the following components:
a processor 501 and a memory 502. In some embodiments of the invention, the processor 501 and the memory 502 may be connected by a bus or other means.
Processor 501 may be a general-purpose Processor, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention. Wherein, the memory 502 is used for storing executable instructions of the processor 501;
a memory 502 for storing program code and transferring the program code to the processor 501. Memory 502 may include Volatile Memory (Volatile Memory), such as Random Access Memory (RAM); the Memory 502 may also include a Non-Volatile Memory (Non-Volatile Memory), such as a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, HDD), or a Solid-State Drive (SSD); the memory 502 may also comprise a combination of memories of the kind described above.
The processor 501 is configured to call the program code management code stored in the memory 502, and perform some or all of the steps in any of the first embodiment to the fourth embodiment of the present invention.
The application configuration terminal according to the ninth embodiment of the present invention can effectively improve the development management efficiency of the development team on the installation scripts of different function modules of the application by respectively managing the development of the installation scripts of the plurality of function modules, and realize that the plurality of development teams can develop, package, and bring on-line the installation scripts of different function modules without mutual dependency. The method avoids the defects that a plurality of development teams have code modification, packaging and online permissions on a code warehouse of the same application program, and responsibility among the development teams is difficult to clearly divide, so that development conflict of installation scripts of the application program is caused.
A tenth embodiment of the present invention is a server, as shown in fig. 8, including the following components:
a processor 601 and a memory 602. In some embodiments of the invention, the processor 601 and the memory 602 may be connected by a bus or other means.
Processor 601 may be a general-purpose Processor, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention. Wherein, the memory 602 is used for storing executable instructions of the processor 601;
a memory 602 for storing the program code and transferring the program code to the processor 601. The Memory 602 may include Volatile Memory (Volatile Memory), such as Random Access Memory (RAM); the Memory 602 may also include a Non-Volatile Memory (Non-Volatile Memory), such as a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, HDD), or a Solid-State Drive (SSD); the memory 602 may also comprise a combination of memories of the kind described above.
The processor 601 is configured to call the program code management code stored in the memory 602, and perform some or all of the steps in any of the fifth embodiment to the sixth embodiment of the present invention.
The server according to the tenth embodiment of the present invention can download the basic module installation script and/or the functional module installation script according to the requirement of the user terminal, thereby avoiding the disadvantages that when the terminal installs the application program, the installation script including the basic module and all the functional modules needs to be downloaded from the server, which results in an excessively long download time, and the flow is excessively large due to the downloading of the installation script; the efficiency of downloading and/or updating the application program is effectively improved.
An eleventh embodiment of the present invention is a computer-readable storage medium.
The computer storage media may be RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage media known in the art.
The computer readable storage medium stores one or more programs which are executable by one or more processors to implement some or all of the steps in any of the first to fourth embodiments of the present invention.
The computer-readable storage medium according to the eleventh embodiment of the present invention manages development of a plurality of function module installation scripts respectively, and thus can effectively improve development management efficiency of a development team on installation scripts of different function modules of an application program, and enables a plurality of development teams to develop, package, and bring on-line different function module installation scripts without depending on each other. The method avoids the defects that a plurality of development teams have code modification, packaging and online permissions on a code warehouse of the same application program, and responsibility among the development teams is difficult to clearly divide, so that development conflict of installation scripts of the application program is caused.
A twelfth embodiment of the present invention is a computer-readable storage medium.
The computer storage media may be RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage media known in the art.
The computer readable storage medium stores one or more programs, which are executable by one or more processors, to implement some or all of the steps in any of the fifth embodiment to the sixth embodiment of the present invention.
The computer-readable storage medium according to the twelfth embodiment of the present invention can download the basic module installation script and/or the functional module installation script according to the requirement of the user terminal, thereby avoiding the disadvantages that when the terminal installs the application program, the installation script including the basic module and all the functional modules needs to be downloaded from the server, which results in an excessively long download time and an excessively large flow due to the downloading of the installation script; the efficiency of downloading and/or updating the application program is effectively improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1. An application configuration method is applied to an application configuration terminal, and the method comprises the following steps:
when an installation script of an application program is created, acquiring a basic module source code set and a functional module source code set of the application program to generate a corresponding basic module installation script and a corresponding functional module installation script;
sending the installation script of the application program to a server, wherein the installation script of the application program comprises: the basic module installation script and the functional module installation script;
under the condition that the number of the function module installation scripts is multiple, respectively packaging the function module source code sets acquired in each function module code warehouse of the application program into one function module installation script, wherein the method comprises the following steps:
acquiring the function module source code set in each function module code warehouse of the application program and the type identification corresponding to the function module source code set;
acquiring the identifier of the application program in a preset packaging record, or creating the identifier of the application program under the condition that the identifier of the application program does not exist in the preset packaging record;
deleting the entry execution function of each function module source code set based on the type identifier corresponding to each function module source code set;
and packaging each function module source code set of the deleted entry execution function into a function module installation script, and setting a corresponding function module installation script identifier and an identifier of the application program for each function module installation script.
2. The method according to claim 1, wherein in a case where the number of the base module installation scripts is plural, the packing the base module source code sets obtained in the base module code repository of the application program into a base module installation foot comprises:
acquiring the basic module source code set in each basic module code warehouse of the application program and the type identification corresponding to the basic module source code set;
acquiring the identifier of the application program in a preset packaging record, or creating the identifier of the application program under the condition that the identifier of the application program does not exist in the preset packaging record;
and based on the type identifier corresponding to each basic module source code set, packaging each obtained basic module source code set into a basic module installation script, and setting a corresponding basic module installation script identifier and the identifier of the application program for each basic module installation script.
3. An application configuration method applied to a server, the method comprising:
storing the received installation script of the application program sent by the application program configuration terminal; wherein the installation script of the application program comprises: a basic module installation script and a functional module installation script;
when an installation script request of the application program sent by a user terminal is received, sending a basic module installation script and/or a functional module installation script corresponding to the installation script request to the user terminal so that the user terminal can load and execute the received basic module installation script and/or functional module installation script;
wherein, when the number of the function module installation scripts is multiple, the application configuration terminal respectively packages the function module source code sets acquired in each function module code warehouse of the application into one function module installation script, including:
acquiring the function module source code set in each function module code warehouse of the application program and the type identifier corresponding to the function module source code set;
acquiring the identifier of the application program in a preset packaging record, or creating the identifier of the application program under the condition that the identifier of the application program does not exist in the preset packaging record;
deleting the entry execution function of each function module source code set based on the type identifier corresponding to each function module source code set;
and packaging each function module source code set of the deleted entry execution function into a function module installation script, and setting a corresponding function module installation script identifier and an identifier of the application program for each function module installation script.
4. The method according to claim 3, wherein when receiving an installation script request of the application program sent by a user terminal, sending a basic module installation script and/or a functional module installation script corresponding to the installation script request to the user terminal, comprises:
when receiving an installation script request of the application program sent by a user terminal, analyzing the installation script request to obtain an identifier of the application program carried by the installation script request, and a basic module installation script identifier and/or a functional module installation script identifier;
determining all basic module installation scripts and functional module installation scripts provided with the application program identification according to the application program identification;
determining a basic module installation script provided with the basic module installation script identification and/or a functional module installation script provided with the functional module installation script identification in all the basic module installation scripts and the functional module installation scripts provided with the application program identification;
and sending the determined basic module installation script provided with the basic module installation script identification and/or the determined functional module installation script provided with the functional module installation script identification to the user terminal.
5. An application configuration device, provided in an application configuration terminal, the device comprising:
the generating module is used for acquiring a basic module source code set and a functional module source code set of the application program when the installation script of the application program is created so as to generate a corresponding basic module installation script and a corresponding functional module installation script;
a sending module, configured to send an installation script of the application to a server, where the installation script of the application includes: the basic module installation script and the functional module installation script;
when the number of the functional module installation scripts is multiple, the generating module is specifically configured to: respectively packaging the function module source code sets acquired from each function module code warehouse of the application program into a function module installation script, wherein the generation module comprises:
a second obtaining module, configured to obtain the function module source code set in each function module code repository of the application program and a type identifier corresponding to the function module source code set;
the second query module is used for acquiring the identifier of the application program in a preset packaging record, or creating the identifier of the application program under the condition that the identifier of the application program does not exist in the preset packaging record;
the second packing module is used for deleting the entry execution function of each function module source code set based on the type identifier corresponding to each function module source code set;
and packaging each function module source code set of the deleted entry execution function into a function module installation script, and setting a corresponding function module installation script identifier and an identifier of the application program for each function module installation script.
6. The apparatus of claim 5, wherein in the case that the number of the base module installation scripts is plural, the generating module comprises:
a first obtaining module, configured to obtain the base module source code set in each base module code repository of the application program, and a type identifier corresponding to the base module source code set;
the first query module is used for acquiring the identifier of the application program in a preset packaging record, or creating the identifier of the application program under the condition that the identifier of the application program does not exist in the preset packaging record;
and the first packaging module is used for packaging each acquired basic module source code set into a basic module installation script based on the type identifier corresponding to each basic module source code set, and setting a corresponding basic module installation script identifier and the identifier of the application program for each basic module installation script.
7. An apparatus for configuring an application program, provided in a server, the apparatus comprising:
the storage module is used for storing the received installation script of the application program sent by the application program configuration terminal; wherein the installation script of the application program comprises: a basic module installation script and a functional module installation script;
the feedback module is used for sending a basic module installation script and/or a functional module installation script corresponding to an installation script request to the user terminal when the installation script request of the application program sent by the user terminal is received, so that the user terminal can load and execute the received basic module installation script and/or functional module installation script;
wherein, when the number of the function module installation scripts is multiple, the application configuration terminal respectively packages the function module source code sets acquired in each function module code warehouse of the application into one function module installation script, including:
acquiring the function module source code set in each function module code warehouse of the application program and the type identification corresponding to the function module source code set;
acquiring the identifier of the application program in a preset packaging record, or creating the identifier of the application program under the condition that the identifier of the application program does not exist in the preset packaging record;
deleting the entry execution function of each function module source code set based on the type identifier corresponding to each function module source code set;
and packaging each function module source code set of the deleted entry execution function into a function module installation script, and setting a corresponding function module installation script identifier and an identifier of the application program for each function module installation script.
8. The apparatus of claim 7, wherein the feedback module comprises:
the analysis module is used for analyzing the installation script request to obtain the identification of the application program carried by the installation script request, and the basic module installation script identification and/or the functional module installation script identification when the installation script request of the application program sent by the user terminal is received;
the first determining module is used for determining all basic module installation scripts and functional module installation scripts provided with the identification of the application program according to the identification of the application program;
a second determining module, configured to determine, among all the basic module installation scripts and the functional module installation scripts provided with the identifier of the application program, a basic module installation script provided with the identifier of the basic module installation script, and/or a functional module installation script provided with the identifier of the functional module installation script;
and the sending module is used for sending the determined basic module installation script provided with the basic module installation script identification and/or the functional module installation script provided with the functional module installation script identification to the user terminal.
9. An application configuration terminal, characterized in that the application configuration terminal comprises a processor and a memory;
the processor is used for executing the application program configuration program stored in the memory so as to realize the steps of the application program configuration method according to any one of claims 1-2.
10. A server, wherein the server comprises a processor and a memory;
the processor is used for executing the application program configuration program stored in the memory so as to realize the steps of the application program configuration method according to any one of claims 3-4.
11. A computer-readable storage medium, wherein the computer-readable storage medium stores an application configuration program;
wherein the application configuration program is executable by one or more processors to implement the steps of the application configuration method according to any one of claims 1-2.
12. A computer-readable storage medium, wherein the computer-readable storage medium stores an application configuration program;
wherein the application configuration program is executable by one or more processors to implement the steps of the application configuration method according to any one of claims 3 to 4.
CN201811510881.6A 2018-12-11 2018-12-11 Application program configuration method, device, terminal, server and readable storage medium Active CN109725912B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811510881.6A CN109725912B (en) 2018-12-11 2018-12-11 Application program configuration method, device, terminal, server and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811510881.6A CN109725912B (en) 2018-12-11 2018-12-11 Application program configuration method, device, terminal, server and readable storage medium

Publications (2)

Publication Number Publication Date
CN109725912A CN109725912A (en) 2019-05-07
CN109725912B true CN109725912B (en) 2022-05-31

Family

ID=66295636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811510881.6A Active CN109725912B (en) 2018-12-11 2018-12-11 Application program configuration method, device, terminal, server and readable storage medium

Country Status (1)

Country Link
CN (1) CN109725912B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112711445B (en) * 2019-10-26 2023-12-12 广州星际悦动股份有限公司 Application program management method and system
CN113032035B (en) * 2019-12-24 2022-07-12 Oppo广东移动通信有限公司 Configuration file processing method and device and electronic equipment
CN111475230B (en) * 2020-04-15 2023-03-14 望海康信(北京)科技股份公司 Application function configuration method and device and electronic equipment
CN112416425B (en) * 2020-11-20 2023-03-24 微医云(杭州)控股有限公司 APP construction method and device, computer equipment and storage medium
CN112579098B (en) * 2020-12-25 2024-02-06 平安银行股份有限公司 Software release method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107589949A (en) * 2016-07-07 2018-01-16 北京京东尚科信息技术有限公司 The distribution of application program installation kit and installation method and corresponding intrument
CN107894891A (en) * 2017-11-17 2018-04-10 深圳市泉眼网络科技有限公司 Program packaging method and device and program installation method and device
US10007501B1 (en) * 2017-05-19 2018-06-26 Central South University Method of deploying applications rapidly based on customized android platform
CN108897571A (en) * 2018-06-29 2018-11-27 北京金山数字娱乐科技有限公司 Program is packaged dispositions method, device, system, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107589949A (en) * 2016-07-07 2018-01-16 北京京东尚科信息技术有限公司 The distribution of application program installation kit and installation method and corresponding intrument
US10007501B1 (en) * 2017-05-19 2018-06-26 Central South University Method of deploying applications rapidly based on customized android platform
CN107894891A (en) * 2017-11-17 2018-04-10 深圳市泉眼网络科技有限公司 Program packaging method and device and program installation method and device
CN108897571A (en) * 2018-06-29 2018-11-27 北京金山数字娱乐科技有限公司 Program is packaged dispositions method, device, system, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《React Native 拆分业务包 bundle拆包 分包 携程方案》;大灰狼的小绵羊哥哥;《https://blog.csdn.net/sinat_17775997/article/details/75067159》;20170713;第1-9页 *

Also Published As

Publication number Publication date
CN109725912A (en) 2019-05-07

Similar Documents

Publication Publication Date Title
CN109725912B (en) Application program configuration method, device, terminal, server and readable storage medium
US10834234B2 (en) Automatic interdependency resolution for micro-service deployments
WO2017084266A1 (en) Method and device for customizing multi-channel installation package
KR102281052B1 (en) Mobile terminal application update method and apparatus
CN104111855A (en) Method for dynamic update of iOS (Iphone Operation System) client based on Lua
CN111399840B (en) Module development method and device
CN112769706B (en) Componentized routing method and system
CN111625260A (en) Method and system based on mixed mobile application program upgrading
CN111124480A (en) Application package generation method and device, electronic equipment and storage medium
CN108845800B (en) Method, device, equipment and storage medium for realizing component extension function
CN110851151B (en) Method, device, terminal, server and storage medium for pre-installing application
CN113064630A (en) Mobile terminal APP automatic packaging method and system, electronic device and storage medium
US20170308368A1 (en) Preview and publishing of mobile applications
CN110413292B (en) Light application installation method of application program, mobile terminal and storage medium
CN109857374B (en) Development method and device of mobile application
CN114879976A (en) Version environment deployment method and device and electronic equipment
CN112527459A (en) Log analysis method and device based on Kubernetes cluster
CN111857881A (en) Repo-based manifest warehouse loading method and device and storage medium
CN113515269B (en) Application package processing method and device, computer equipment and storage medium
CN115840598A (en) Micro front-end architecture system, development method, device and medium based on application market
CN111443920B (en) Frame migration method and device
CN114816816A (en) Collapse stack information processing method, device, equipment and storage medium
CN110502251B (en) Application installation method and device
CN113641389A (en) Software upgrading method, device and equipment based on OpenCPU
CN112241286A (en) Resource package configuration method and device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant