CN112988175A - Cross-platform application installation package generation method, device, medium and electronic equipment - Google Patents

Cross-platform application installation package generation method, device, medium and electronic equipment Download PDF

Info

Publication number
CN112988175A
CN112988175A CN202110349263.3A CN202110349263A CN112988175A CN 112988175 A CN112988175 A CN 112988175A CN 202110349263 A CN202110349263 A CN 202110349263A CN 112988175 A CN112988175 A CN 112988175A
Authority
CN
China
Prior art keywords
application
installation package
environment
platform
application installation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110349263.3A
Other languages
Chinese (zh)
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.)
China Construction Bank Corp
Original Assignee
CCB Finetech 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 CCB Finetech Co Ltd filed Critical CCB Finetech Co Ltd
Priority to CN202110349263.3A priority Critical patent/CN112988175A/en
Publication of CN112988175A publication Critical patent/CN112988175A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses a method, a device, a medium and electronic equipment for generating a cross-platform application installation package. The embodiment of the application relates to the technical field of automatic program design. The method comprises the following steps: acquiring environment information of at least two operating platforms, and determining an environment variable according to the environment information; wherein the environment variable corresponds to environment information of the operating platform; determining a target compiling rule associated with the environment variable according to the environment variable; compiling the application associated information by adopting the target compiling rule, and packaging the application entry file and the application associated information; and generating the application installation package based on the packaging result in response to the generation operation of the application installation package. By executing the scheme, the generation mode of the application installation package compatible with multiple platforms and used for the packaging tool can be realized.

Description

Cross-platform application installation package generation method, device, medium and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of automatic program design, in particular to a method, a device, a medium and electronic equipment for generating a cross-platform application installation package.
Background
With the rapid development of the technology level, various applications are also in use. Different applications may implement their respective business processing logic based on different code content. At present, as the number of platforms is increased and the requirements of different platforms for using the application programs are similar, how to implement cross-platform installation for the application programs becomes a technical problem for those skilled in the art. At present, a plurality of graphic automatic installation software manufacturing tools exist, and users can conveniently manufacture installation packages of desktop software and system software by using installation programs to manufacture software. However, the current software production tool is not compatible with multiple platforms, the packaged format is the format of Html, and the packaged content does not include a server environment.
Disclosure of Invention
The embodiment of the application installation package generating method and device, the medium and the electronic equipment can realize a generating mode of the application installation package compatible with multiple platforms and used for a packaging tool.
In a first aspect, an embodiment of the present application provides a method for generating a cross-platform application installation package, where the method includes:
acquiring environment information of at least two operating platforms, and determining an environment variable according to the environment information; wherein the environment variable corresponds to environment information of the operating platform;
determining a target compiling rule associated with the environment variable according to the environment variable;
compiling the application associated information by adopting the target compiling rule, and packaging the application entry file and the application associated information;
and generating the application installation package based on the packaging result in response to the generation operation of the application installation package.
Further, acquiring environment information of at least two platforms, and determining an environment variable according to the environment information includes:
setting different compiling rules aiming at different operation platforms through a platform service supporting layer;
determining a target operation platform which is currently used, and determining an environment variable aiming at the target operation platform so as to be used for determining a target compiling rule according to the mapping relation between the environment variable and the compiling rule.
Further, the target compiling rule supports at least one service running environment of chlorine, node.
Further, the method further comprises:
and determining the service configuration of the application installation package in response to the selection operation of the target service running environment.
Further, the method further comprises:
adapting the connection end of the service operation environment through a platform configuration module of an application program service layer; wherein, the link end comprises a front-end client and a back-end server.
Further, the method further comprises:
and compressing the compiled code through a code compression module of the application program service layer.
Further, the method further comprises:
and encrypting the compiled code by adopting a secret key through a safety encryption module of an application program service layer.
Further, after generating the application installation package based on the encapsulation result in response to the generation operation of the application installation package, the method further includes:
and in response to the installation operation of the application installation package, calling the packaged application entry file and the application associated information, and installing the application program.
In a second aspect, an embodiment of the present application provides an apparatus for generating a cross-platform application installation package, where the apparatus includes:
the environment variable determining unit is used for acquiring environment information of at least two operating platforms and determining environment variables according to the environment information; wherein the environment variable corresponds to environment information of the operating platform;
the target compiling rule determining unit is used for determining a target compiling rule associated with the environment variable according to the environment variable;
the packaging unit is used for compiling the application associated information by adopting the target compiling rule and packaging the application entry file and the application associated information;
and the application installation package generating unit is used for responding to the generation operation of the application installation package and generating the application installation package based on the packaging result.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for generating a cross-platform application installation package according to an embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor, when executing the computer program, implements the method for generating the cross-platform application installation package according to the embodiment of the present application.
According to the technical scheme provided by the embodiment of the application, the environment information of at least two operation platforms is obtained, and the environment variable is determined according to the environment information; wherein the environment variable corresponds to environment information of the operating platform; determining a target compiling rule associated with the environment variable according to the environment variable; compiling the application associated information by adopting the target compiling rule, and packaging the application entry file and the application associated information; and generating the application installation package based on the packaging result in response to the generation operation of the application installation package. By executing the technical scheme, the generation mode of the application installation package compatible with multiple platforms and used for the packaging tool can be realized.
Drawings
Fig. 1 is a flowchart of a method for generating a cross-platform application installation package according to an embodiment of the present application;
FIG. 2 is a flowchart of the graphical operation of the packaging tool provided in the second embodiment of the present application;
fig. 3 is a schematic structural diagram of a device for generating a cross-platform application installation package according to a third embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a method for generating a cross-platform application installation package according to an embodiment of the present application, where the method is applicable to a situation where a cross-platform desktop application packaging tool is used, and the method can be executed by a device for generating a cross-platform application installation package according to an embodiment of the present application, where the device can be implemented in a software and/or hardware manner and can be integrated in an electronic device, and the electronic device is used to run the cross-platform desktop application packaging tool.
As shown in fig. 1, the method for generating the cross-platform application installation package includes:
s110, obtaining environment information of at least two operation platforms, and determining an environment variable according to the environment information; wherein the environment variable corresponds to environment information of the operating platform.
The packaging tool used in the scheme can support a plurality of platforms, and the at least two platforms can support the installation of various platforms such as linux, unix and window. It will be appreciated that if cross-platform installation is desired, generation of an application installation package that is capable of supporting a multi-platform, multi-runtime environment must be enabled.
In this scheme, the environment information may be environment parameters of each operating platform, and may be the environment information of the operating platform determined by reading a platform code of the operating platform to be used, and determining the environment variable according to the environment information. Because the languages of different environments are different, environment variables need to be configured and selected for different environments, and the application installation package can be used.
In this scheme, optionally, the target compiling rule supports at least one service operation environment of the chrome, node.
The application packaging tool may include a platform services support layer, an application services layer, an application interface layer, and an application presentation layer. The platform service support layer provides a function of cross-platform compatibility, java development is used, cross-platform operation is supported, and different compilers are configured for different operating systems of different operating platforms. The application service layer provides various service running environments including, but not limited to, service configuration of environments such as a chrome (running front end page), node. The application program interface layer provides a service interface for interaction between the application layer and the service layer, namely, various function sets including, but not limited to, a service configuration detail interface, a security verification interface, a plug-in service interface and the like. The application layer shows the layer GUI (Graphical User Interface), provide the Graphical editing Interface of User, receive the parameter detail that the User disposes. The user above refers to a worker who makes the application installation package. The worker can realize the production of the application installation package through the operation on the packaging tool.
Among them, chrome is a web browser developed by Google initiative. With multiple free rights issues such as BSD licenses and open source code, development of chromaum may begin as early as 2006. Chrome is the engine behind the Chrome browser of Google, with the purpose of creating a secure, stable and fast general-purpose browser.
Js is published in 5 months in 2009, is a JavaScript running environment based on a Chrome V8 engine, uses an event-driven and non-blocking I/O model, enables the JavaScript to run on a development platform of a server, and enables the JavaScript to become a script language which is flush with PHP, Python, Perl, Ruby and other server languages. Js optimizes some special cases and provides a substitute API, so that the V8 can better run in a non-browser environment, the V8 engine has very high Javascript execution speed and very good performance, and a platform established based on Chrome JavaScript running is used for conveniently establishing network application with high response speed and easy expansion.
MySQL is a relational database management system, belonging to the Oracle flag product. MySQL is one of the most popular Relational Database Management systems, and in terms of WEB applications, MySQL is one of the best RDBMS (Relational Database Management System) application software. MySQL is a relational database management system that keeps data in different tables instead of putting all the data in one large repository, which increases speed and flexibility.
The Tomcat server is a free Web application server with open source codes, belongs to a lightweight application server, is commonly used in small and medium-sized systems and occasions where concurrent access users are not many, and is the first choice for developing and debugging JSP programs. For a novice, it can be said that when an Apache server is configured on a machine, it can be used to respond to access requests for HTML (an application in the standard universal markup language) pages. Tomcat is in fact an extension of the Apache server, but it runs independently at runtime, so when you run Tomcat, it actually runs separately as a process independent of Apache.
In this scheme, optionally, the method further includes:
and determining the service configuration of the application installation package in response to the selection operation of the target service running environment.
Namely, the target service operation environment can be determined according to the selection of the staff, and the service configuration can be performed on the application installation package according to the selected result. According to the scheme, on the basis of different operation platforms, different service operation environments can be selected by workers, so that decoupling of the service operation environments and the operation platforms is realized, and packaging of cross-platform desktop application is achieved in the real sense.
And S120, determining a target compiling rule associated with the environment variable according to the environment variable.
Wherein the target compiling rule may be one of a plurality of compilers. According to the scheme, different compilers are configured for different operating systems of different operating platforms, so after the use environment information of the application program is determined, the compiler needs to be determined so as to read and use the compiled code information.
In this scheme, optionally, obtaining environment information of at least two platforms, and determining an environment variable according to the environment information includes:
setting different compiling rules aiming at different operation platforms through a platform service supporting layer;
determining a target operation platform which is currently used, and determining an environment variable aiming at the target operation platform so as to be used for determining a target compiling rule according to the mapping relation between the environment variable and the compiling rule.
The platform service supporting layer is a software level structure of the packaging tool, provides a cross-platform compatibility function, is developed by java, supports cross-platform operation, and configures different compilers for different operating systems of different operating platforms. The compiler is the configuration of the application. Here, several environment parameters are configured for different platforms, and the environment parameters are configured for several platforms. According to the scheme, the software hierarchical structure of the packaging tool is provided, so that the multi-platform application packaging tool can be supported, and the cross-platform packaging of the application installation package is realized.
S130, compiling the application associated information by adopting the target compiling rule, and packaging the application entry file and the application associated information.
The application-related information may be related information for installing and running an application program, for example, a user needs to have an installation program in an installation process, an exe file, and in a running process, running of the program needs support of an internal code thereof, so that a corresponding logic function or an interaction function can be realized. Therefore, the application association information can be compiled using the previously determined target compilation rule. It can be understood that the adopted compiling rules are different for different platforms, so that the obtained compiling results of the application association information are also different.
The application entry file may be an icon file of an application, i.e., a file that may be an entry of an application. The application portal file may be selected by the staff member according to his own preferences or according to the function of the application program.
And S140, responding to the generation operation of the application installation package, and generating the application installation package based on the encapsulation result.
After the encapsulation is completed, the application installation package can be generated according to the generation operation of the application installation package of the staff, or the generated application installation package can be exported according to a fixed path and a format.
In this scheme, optionally, the method further includes:
adapting the connection end of the service operation environment through a platform configuration module of an application program service layer; wherein, the link end comprises a front-end client and a back-end server.
The application program service layer provides different functional modules, including a platform adaptation module, which adapts to the front end platform and the back end platform of the service operation environment, so as to realize the normal operation of the packaging tool.
The application program interface layer also comprises an application program interface, and the service configuration detail interface corresponds to the platform adaptation module and provides an interaction channel in the file transmission process.
In this scheme, optionally, the method further includes:
and compressing the compiled code through a code compression module of the application program service layer.
The application program service layer provides different functional modules, wherein the application program service layer comprises a code compression module, the code compression module compresses codes, and the core is an internal JAR package. According to the scheme, the code can be compressed, the core JAR package of the application program can be obtained, and the application installation package can be packaged.
In this scheme, optionally, the method further includes:
and encrypting the compiled code by adopting a secret key through a safety encryption module of an application program service layer.
The application service layer provides different functional modules, including a security encryption module. The secure encryption module encrypts the written code with a key. The worker uses the KEY to decrypt the language of the application to ensure security.
In this embodiment, optionally, the application program interface layer further includes: a plug-in service interface. By arranging the plug-in service interface, the plug-in adaptive to the platform is provided, and the purpose that plug-ins with different functions are flexibly added into a packaging tool can be achieved.
According to the technical scheme provided by the embodiment, the environment information of at least two operation platforms is obtained, and the environment variable is determined according to the environment information; wherein the environment variable corresponds to environment information of the operating platform; determining a target compiling rule associated with the environment variable according to the environment variable; compiling the application associated information by adopting the target compiling rule, and packaging the application entry file and the application associated information; and generating the application installation package based on the packaging result in response to the generation operation of the application installation package. By executing the technical scheme, multiple platform installations such as linux, unix and window can be supported in a cross-platform mode, the running environments of computer languages such as tomcat, node.
In one possible embodiment, after generating the application installation package based on the encapsulation result in response to the generation operation of the application installation package, the method further includes:
and in response to the installation operation of the application installation package, calling the packaged application entry file and the application associated information, and installing the application program.
In the scheme, the reading and the installation of the encapsulated file on any supported platform by the application installation package can be realized through the arrangement, so that the installation and the use of the application program are realized.
Example two
The present embodiment provides a preferred implementation manner based on the above embodiments. Fig. 2 is a flowchart of the graphical operation of the packaging tool provided in the second embodiment of the present application, and as shown in fig. 2, the flowchart includes:
s210, configuring a target file, and selecting an entry file and a related file directory needing to be packaged.
Wherein the configuration object file may be a program written by a programmer. The file directory may be association information of the application program. The staff member can select the entry file, that is, can select the icon file of the application program.
And S220, configuring operating environments such as tomcat, node.
Various service operating environments are provided, including but not limited to, service configuration of environments such as a chrome (operating front end page), node.
Wherein previously written programs can be identified by the computer by configuring the operating environment.
And S230, configuring an application icon, and configuring the installation process in detail.
The process detail configuration can be to guide the user to run after decompression.
And S240, clicking a button to start generating the application installation package.
Through the arrangement, the scheme can support various platform installations such as linux, unix and window in a cross-platform mode, and supports user-defined installation icons, user-defined installation directories and user-defined installation processes such as character prompting, picture carousel, video playing and installation progress.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a device for generating a cross-platform application installation package according to a third embodiment of the present application. As shown in fig. 3, the apparatus for generating a cross-platform application installation package includes:
an environment variable determining unit 310, configured to obtain environment information of at least two operating platforms, and determine an environment variable according to the environment information; wherein the environment variable corresponds to environment information of the operating platform;
a target compiling rule determining unit 320, configured to determine a target compiling rule associated with the environment variable according to the environment variable;
the packaging unit 330 is configured to compile the application association information by using the target compilation rule, and package the application entry file and the application association information;
an application installation package generating unit 340, configured to generate an application installation package based on the encapsulation result in response to the generation operation of the application installation package.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
A fourth embodiment of the present application further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for generating a cross-platform application installation package, where the method includes:
acquiring environment information of at least two operating platforms, and determining an environment variable according to the environment information; wherein the environment variable corresponds to environment information of the operating platform;
determining a target compiling rule associated with the environment variable according to the environment variable;
compiling the application associated information by adopting the target compiling rule, and packaging the application entry file and the application associated information;
and generating the application installation package based on the packaging result in response to the generation operation of the application installation package.
Storage media refers to any of various types of memory electronics or storage electronics. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the computer system in which the program is executed, or may be located in a different second computer system connected to the computer system through a network (such as the internet). The second computer system may provide the program instructions to the computer for execution. The term "storage medium" may include two or more storage media that may reside in different unknowns (e.g., in different computer systems connected by a network). The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present application is not limited to the above-described generation operation of the cross-platform application installation package, and may also perform related operations in the generation method of the cross-platform application installation package provided in any embodiments of the present application.
EXAMPLE five
An embodiment of the present invention provides an electronic device, where the apparatus for generating a cross-platform application installation package provided in the embodiment of the present application may be integrated in the electronic device, and the electronic device may be configured in a system, or may be a device that executes part or all of functions in the system. Fig. 4 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application. As shown in fig. 4, the present embodiment provides an electronic device 400, which includes: one or more processors 420; the storage device 410 is configured to store one or more programs, and when the one or more programs are executed by the one or more processors 420, the one or more processors 420 implement the method for generating a cross-platform application installation package according to the embodiment of the present application, where the method includes:
acquiring environment information of at least two operating platforms, and determining an environment variable according to the environment information; wherein the environment variable corresponds to environment information of the operating platform;
determining a target compiling rule associated with the environment variable according to the environment variable;
compiling the application associated information by adopting the target compiling rule, and packaging the application entry file and the application associated information;
and generating the application installation package based on the packaging result in response to the generation operation of the application installation package.
Of course, those skilled in the art can understand that the processor 420 also implements the technical solution of the method for generating a cross-platform application installation package provided in any embodiment of the present application.
The electronic device 400 shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 4, the electronic device 400 includes a processor 420, a storage device 410, an input device 430, and an output device 440; the number of the processors 420 in the electronic device may be one or more, and one processor 420 is taken as an example in fig. 4; the processor 420, the storage device 410, the input device 430, and the output device 440 in the electronic apparatus may be connected by a bus or other means, and are exemplified by a bus 450 in fig. 4.
The storage device 410 is a computer-readable storage medium, and can be used to store software programs, computer-executable programs, and module units, such as program instructions corresponding to the method for generating a cross-platform application installation package in the embodiment of the present application.
The storage device 410 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 410 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 410 may further include memory located remotely from processor 420, which may be connected via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 430 may be used to receive input numbers, character information, or voice information, and to generate key signal inputs related to user settings and function control of the electronic device. The output device 440 may include a display screen, speakers, or other electronic equipment.
The electronic equipment provided by the embodiment of the application can realize a generation mode which is compatible with multiple platforms and is used for the application installation package of the packaging tool.
The device, the medium, and the electronic device for generating a cross-platform application installation package provided in the above embodiments may execute the method for generating a cross-platform application installation package provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For technical details that are not described in detail in the above embodiments, reference may be made to a method for generating a cross-platform application installation package provided in any embodiment of the present application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (11)

1. A method for generating a cross-platform application installation package is characterized by comprising the following steps:
acquiring environment information of at least two operating platforms, and determining an environment variable according to the environment information; wherein the environment variable corresponds to environment information of the operating platform;
determining a target compiling rule associated with the environment variable according to the environment variable;
compiling the application associated information by adopting the target compiling rule, and packaging the application entry file and the application associated information;
and generating the application installation package based on the packaging result in response to the generation operation of the application installation package.
2. The method of claim 1, wherein obtaining environmental information for at least two platforms, determining environmental variables from the environmental information, comprises:
setting different compiling rules aiming at different operation platforms through a platform service supporting layer;
determining a target operation platform which is currently used, and determining an environment variable aiming at the target operation platform so as to be used for determining a target compiling rule according to the mapping relation between the environment variable and the compiling rule.
3. The method of claim 1, wherein the target compilation rule supports at least one service runtime environment of chrome, node.
4. The method of claim 3, further comprising:
and determining the service configuration of the application installation package in response to the selection operation of the target service running environment.
5. The method of claim 4, further comprising:
adapting the connection end of the service operation environment through a platform configuration module of an application program service layer; wherein, the link end comprises a front-end client and a back-end server.
6. The method of claim 4, further comprising:
and compressing the compiled code through a code compression module of the application program service layer.
7. The method of claim 4, further comprising:
and encrypting the compiled code by adopting a secret key through a safety encryption module of an application program service layer.
8. The method of claim 1, after generating the application installation package based on the encapsulation result in response to the generation operation of the application installation package, the method further comprising:
and in response to the installation operation of the application installation package, calling the packaged application entry file and the application associated information, and installing the application program.
9. An apparatus for generating a cross-platform application installation package, comprising:
the environment variable determining unit is used for acquiring environment information of at least two operating platforms and determining environment variables according to the environment information; wherein the environment variable corresponds to environment information of the operating platform;
the target compiling rule determining unit is used for determining a target compiling rule associated with the environment variable according to the environment variable;
the packaging unit is used for compiling the application associated information by adopting the target compiling rule and packaging the application entry file and the application associated information;
and the application installation package generating unit is used for responding to the generation operation of the application installation package and generating the application installation package based on the packaging result.
10. A computer-readable storage medium on which a computer program is stored, which, when being executed by a processor, implements a method for generating a cross-platform application installation package according to any one of claims 1 to 8.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for generating a cross-platform application installation package according to any one of claims 1 to 8 when executing the computer program.
CN202110349263.3A 2021-03-31 2021-03-31 Cross-platform application installation package generation method, device, medium and electronic equipment Pending CN112988175A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110349263.3A CN112988175A (en) 2021-03-31 2021-03-31 Cross-platform application installation package generation method, device, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110349263.3A CN112988175A (en) 2021-03-31 2021-03-31 Cross-platform application installation package generation method, device, medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN112988175A true CN112988175A (en) 2021-06-18

Family

ID=76338686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110349263.3A Pending CN112988175A (en) 2021-03-31 2021-03-31 Cross-platform application installation package generation method, device, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112988175A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535227A (en) * 2021-09-07 2021-10-22 深圳市云中鹤科技股份有限公司 Deployment method and device of digital technology architecture
CN114706590A (en) * 2022-05-05 2022-07-05 北京万昇智能科技有限公司 PLC application package generation method, PLC application execution method, and related device and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535227A (en) * 2021-09-07 2021-10-22 深圳市云中鹤科技股份有限公司 Deployment method and device of digital technology architecture
CN114706590A (en) * 2022-05-05 2022-07-05 北京万昇智能科技有限公司 PLC application package generation method, PLC application execution method, and related device and system

Similar Documents

Publication Publication Date Title
EP3605324B1 (en) Application development method and tool, and storage medium thereof
US9311284B2 (en) Methods and systems for enabling the provisioning and execution of a platform-independent application
WO2018228211A1 (en) Application conversion method, apparatus and device
US8615750B1 (en) Optimizing application compiling
US10209968B2 (en) Application compiling
KR102218995B1 (en) Method and apparatus for code virtualization and remote process call generation
KR102077360B1 (en) Generating native code from intermediate language code for an application
US20130167123A1 (en) Application debugging
US20030195923A1 (en) Presentation server
US20210096825A1 (en) Systems, methods, and apparatuses for local web components development within a cloud based computing environment
RU2459238C2 (en) Managed execution environment for software application interfacing
US8359574B1 (en) Offline mode in IDE for seamless service-oriented-architecture-based application development
CN111740948B (en) Data packet issuing method, dynamic updating method, device, equipment and medium
CN111026439B (en) Application program compatibility method, device, equipment and computer storage medium
CN111338623A (en) Method, device, medium and electronic equipment for developing user interface
CN112988175A (en) Cross-platform application installation package generation method, device, medium and electronic equipment
CN111913741B (en) Object interception method, device, medium and electronic equipment
CN108170430B (en) Interface display method and system
CN113778897B (en) Automatic test method, device and equipment for interface and storage medium
US20040157593A1 (en) Modularization for J2ME platform implementation
CN112631563A (en) System development method and device based on framework, computer equipment and storage medium
WO2022078057A1 (en) Method and apparatus for publishing application package, method and apparatus for applying application package, and medium, server and device
CN112181408A (en) Method and device for displaying view list on front page of application program
KR20140049824A (en) System for remotely debugging an application programming and controlling method therefor
CN111488286A (en) Method and device for independently developing Android module

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220909

Address after: 25 Financial Street, Xicheng District, Beijing 100033

Applicant after: CHINA CONSTRUCTION BANK Corp.

Address before: 12 / F, 15 / F, 99 Yincheng Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai, 200120

Applicant before: Jianxin Financial Science and Technology Co.,Ltd.