CN116541029A - Method and device for generating application program installation package, electronic equipment and storage medium - Google Patents

Method and device for generating application program installation package, electronic equipment and storage medium Download PDF

Info

Publication number
CN116541029A
CN116541029A CN202310483254.2A CN202310483254A CN116541029A CN 116541029 A CN116541029 A CN 116541029A CN 202310483254 A CN202310483254 A CN 202310483254A CN 116541029 A CN116541029 A CN 116541029A
Authority
CN
China
Prior art keywords
dynamic link
information
candidate
file
file information
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
CN202310483254.2A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202310483254.2A priority Critical patent/CN116541029A/en
Publication of CN116541029A publication Critical patent/CN116541029A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present disclosure provides a method and apparatus for generating an application installation package, an electronic device, and a storage medium, which may be applied to the fields of computer technology, internet technology, and finance. The method for generating the application program installation package comprises the following steps: responding to the received application program installation package generation request, and acquiring a dynamic link library set according to the application program information in the application program installation package generation request, wherein the dynamic link library set at least comprises M first dynamic link libraries and N second dynamic link libraries; determining a general file information set and a differential file information set according to the M first dynamic link libraries and the N second dynamic link libraries; determining association relation information between a plurality of software development kits and a plurality of software development kits according to the universal file information set and the differential file information set; and generating an application program installation package according to the association relation information of the plurality of software development kits.

Description

Method and device for generating application program installation package, electronic equipment and storage medium
Technical Field
The present disclosure relates to the fields of computer technology, internet technology, and finance, and more particularly, to a method and apparatus for generating an application program installation package, an electronic device, a computer-readable storage medium, and a computer program product.
Background
With the development of computer technology, users' demands for various application software are increasing. To accommodate the different needs of users, unity technology has grown.
Several resource files can be built as a Unity-based software development kit (Software Development Kit, SDK) through Unity technology. The types of resource files may include pictures, audio-video, text, or other content that may be presented in a computer.
In the process of implementing the disclosed concept, the inventor finds that at least the following problems exist in the related art: since the mutual call between the operating system and the software development kit is easy to have conflict, the applicability of the software development kit based on Unity cannot be ensured.
Disclosure of Invention
In view of this, the present disclosure provides a computer technology, internet technology, and financial domain methods and apparatus, electronic devices, computer-readable storage media, and computer program products.
According to one aspect of the present disclosure, there is provided a method for generating an application installation package, including:
responding to a received application program installation package generation request, and acquiring a dynamic link library set according to application program information in the application program installation package generation request, wherein the dynamic link library set at least comprises M first dynamic link libraries obtained through a first development tool and N second dynamic link libraries obtained through a second development tool, and M and N are positive integers;
Determining a general file information set and a differential file information set according to the M first dynamic link libraries and the N second dynamic link libraries;
determining association relation information between a plurality of software development kits and the plurality of software development kits according to the general file information set and the distinguishing file information set; and
and generating an application program installation package according to the association relation information of the plurality of software development kits.
According to an embodiment of the present disclosure, the application information includes development platform information and function requirement information.
According to an embodiment of the present disclosure, in response to receiving an application installation package generation request, obtaining a dynamic link library set according to application information in the application installation package generation request includes:
in response to receiving the application program installation package generation request, determining P candidate dynamic link library identifications according to the development platform information;
according to the function requirement information, Q dynamic link library identifications are determined in the P candidate dynamic link library identifications, wherein P is greater than or equal to Q; and
and acquiring the M first dynamic link libraries and the N second dynamic link libraries according to the Q dynamic link library identifications, wherein Q=M+N.
According to an embodiment of the present disclosure, the above-mentioned function requirement information includes at least first function requirement sub-information and second function requirement sub-information.
According to an embodiment of the present disclosure, determining Q dynamic link library identifications among the P candidate dynamic link library identifications according to the function requirement information includes:
determining M dynamic link library identifications from the P candidate dynamic link library identifications according to the first function requirement sub-information; and
and determining N dynamic link library identifications from the P candidate dynamic link library identifications according to the second function requirement sub-information.
According to an embodiment of the present disclosure, the obtaining the M first dynamic link libraries and the N second dynamic link libraries according to the Q dynamic link library identifications includes:
acquiring the M first dynamic link libraries according to the M dynamic link library identifications; and
and acquiring the N second dynamic link libraries according to the N dynamic link library identifications.
According to an embodiment of the present disclosure, the first function requirement sub-information and the second function requirement sub-information each include one of: a login function, a virtual digital person function, a virtual business hall function, a payment function and an information push function.
According to an embodiment of the present disclosure, each of the M first dynamic link libraries includes at least one first candidate file identifier and first candidate file information corresponding to each of the at least one first candidate file identifier.
According to an embodiment of the present disclosure, each of the N second dynamic link libraries includes at least one second candidate file identifier and second candidate file information corresponding to each of the at least one second candidate file identifier.
According to an embodiment of the present disclosure, determining the common file information set and the differential file information set according to the M first dynamic link libraries and the N second dynamic link libraries includes:
for each first candidate file identifier in the at least one first candidate file identifier, respectively matching the first candidate file identifier with the at least one second candidate file identifier to obtain a matching result;
storing the first candidate file identifier and first candidate file information corresponding to the first candidate file identifier in association with the general file information set under the condition that the matching result indicates that a second candidate file identifier matched with the first candidate file identifier exists in the at least one second candidate file identifier;
Storing the first candidate file identifier and first candidate file information corresponding to the first candidate file identifier in a correlated manner to the differential file information set under the condition that the matching result indicates that the second candidate file identifier matched with the first candidate file identifier does not exist in the at least one second candidate file identifier; and
and storing the second candidate file identifier and second candidate file information corresponding to the second candidate file identifier in an associated manner to the differential file information set.
According to an embodiment of the present disclosure, the set of common file information includes at least one common file information and a common file identifier corresponding to each of the at least one common file information, and the set of differential file information includes at least one differential file information and a differential file identifier corresponding to each of the at least one differential file information.
According to an embodiment of the present disclosure, the determining association information between a plurality of software development kits and the plurality of software development kits according to the common file information set and the differential file information set includes:
generating a software development kit corresponding to the universal file identifier according to the universal file information aiming at each piece of the at least one piece of universal file information;
Generating a software development kit corresponding to the identification of the differential file according to the differential file information aiming at each differential file information in the at least one differential file information; and
and determining the association relation information according to the universal file identifier corresponding to the universal file information and the differential file identifier corresponding to the differential file information.
According to an embodiment of the present disclosure, the method for generating an application installation package further includes:
determining a system development environment corresponding to the development platform information according to the development platform information; and
based on the system development environment, an initial development project is created.
According to an embodiment of the present disclosure, the generating an application installation package according to the association information between the plurality of software development kits and the plurality of software development kits includes:
integrating the plurality of software development kits into the initial development project according to the association relation information among the plurality of software development kits to obtain a target development project; and
compiling the target project engineering to obtain the application program installation package.
According to another aspect of the present disclosure, there is provided an apparatus for generating an application installation package, including:
The system comprises an acquisition module, a storage module and a storage module, wherein the acquisition module is used for responding to a received application program installation package generation request, acquiring a dynamic link library set according to application program information in the application program installation package generation request, wherein the dynamic link library set at least comprises M first dynamic link libraries obtained through a first development tool and N second dynamic link libraries obtained through a second development tool, and M and N are positive integers;
the first determining module is used for determining a general file information set and a differential file information set according to the M first dynamic link libraries and the N second dynamic link libraries;
the second determining module is used for determining a plurality of software development kits and association relation information among the plurality of software development kits according to the universal file information set and the differential file information set; and
and the generation module is used for generating an application program installation package according to the association relation information among the plurality of software development tool packages.
According to another aspect of the present disclosure, there is provided an electronic device including:
one or more processors;
a memory for storing one or more instructions,
wherein the one or more instructions, when executed by the one or more processors, cause the one or more processors to implement a method as described in the present disclosure.
According to another aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to implement a method as described in the present disclosure.
According to another aspect of the present disclosure, there is provided a computer program product comprising computer executable instructions which, when executed, are adapted to carry out the method as described in the present disclosure.
According to the embodiment of the disclosure, since the M first dynamic link libraries are obtained through the first development tool, the N second dynamic link libraries are obtained through the second development tool, and the universal file information set and the differential file information set are determined according to the M first dynamic link libraries and the N second dynamic link libraries, and the association relation information between the plurality of software development kits and the plurality of software development kits is determined according to the universal file information set and the differential file information set, the technical problem that the mutual calling between an operating system and the software development kits is easy to have conflict in the related art is at least partially overcome, and the applicability of the software development kits based on different development tools is ensured. On the basis, the application program installation package is generated according to the association relation information among the plurality of software development tool packages, so that the integration of the software development tool packages based on different development tools is realized, and the capability of the application program installation package for adapting to different scenes is improved.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments thereof with reference to the accompanying drawings in which:
FIG. 1 schematically illustrates a system architecture to which a method of generation of an application installation package may be applied, according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of a method of generating an application installation package according to an embodiment of the disclosure;
FIG. 3A schematically illustrates a flowchart of a method for acquiring a set of dynamic link libraries from application information in an application installation package generation request in response to receiving the application installation package generation request, according to an embodiment of the present disclosure;
FIG. 3B schematically illustrates an example schematic diagram of a process of acquiring a set of dynamic link libraries from application information in an application installation package generation request in response to receiving the application installation package generation request, according to an embodiment of the present disclosure;
FIG. 4 schematically illustrates an example schematic diagram of a process of determining a common set of file information and a differential set of file information from M first dynamically linked libraries and N second dynamically linked libraries according to an embodiment of the present disclosure;
FIG. 5 schematically illustrates an example schematic diagram of a process of determining association information between a plurality of software development kits and a plurality of software development kits from a common set of file information and a differential set of file information according to an embodiment of the present disclosure;
FIG. 6 schematically illustrates an example schematic diagram of a generation process of an application installation package according to an embodiment of the disclosure;
FIG. 7 schematically illustrates a block diagram of an application installation package generating apparatus according to an embodiment of the present disclosure; and
fig. 8 schematically illustrates a block diagram of an electronic device adapted to implement a method of generating an application installation package, according to an embodiment of the disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where expressions like at least one of "A, B and C, etc. are used, the expressions should generally be interpreted in accordance with the meaning as commonly understood by those skilled in the art (e.g.," a system having at least one of A, B and C "shall include, but not be limited to, a system having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a formulation similar to at least one of "A, B or C, etc." is used, in general such a formulation should be interpreted in accordance with the ordinary understanding of one skilled in the art (e.g. "a system with at least one of A, B or C" would include but not be limited to systems with a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the related personal information of the user all conform to the regulations of related laws and regulations, necessary security measures are taken, and the public order harmony is not violated.
In the technical scheme of the disclosure, the authorization or consent of the user is obtained before the personal information of the user is obtained or acquired.
Android items and/or iOS (Internetworking Operating System-Cisco) items may be generated based on Unity technology. Android items and/or iOS items have an applicable Unity scenario. A Scene (i.e., scene) may refer to an item, a building, a person, a background, sound, special effects, etc. in a certain environment. A Unity scene may be understood as a view through which images, sounds, text, etc., that a user can receive, may be edited, arranged, etc. The Unity SDK may refer to a cross-platform software development kit for developing virtual reality, augmented reality, and three-dimensional web applications.
But is not limited to. Since the mutual call between the operating system and the software development kit is easy to have conflict, the applicability of the software development kit based on Unity cannot be ensured.
In order to at least partially solve the technical problems in the related art, the present disclosure provides a method and apparatus for generating an application installation package, an electronic device, and a storage medium, which can be applied to the fields of computer technology, internet technology, and finance. The method for generating the application program installation package comprises the following steps: responding to a received application program installation package generation request, and acquiring a dynamic link library set according to application program information in the application program installation package generation request, wherein the dynamic link library set at least comprises M first dynamic link libraries obtained through a first development tool and N second dynamic link libraries obtained through a second development tool, and M and N are positive integers; determining a general file information set and a differential file information set according to the M first dynamic link libraries and the N second dynamic link libraries; determining association relation information between a plurality of software development kits and a plurality of software development kits according to the universal file information set and the differential file information set; and generating an application program installation package according to the association relation information of the plurality of software development kits.
It should be noted that, the method and the device for generating the application program installation package provided in the embodiments of the present disclosure may be used in the fields of computer technology, internet technology and finance, for example, in the field of software technology. The method and the device for generating the application program installation package provided by the embodiment of the disclosure can also be applied to any field except the fields of computer technology, internet technology and finance, such as the field of metauniverse technology. The application fields of the method and the device for generating the application program installation package provided by the embodiment of the disclosure are not limited.
Fig. 1 schematically illustrates a system architecture to which a method of generating an application installation package may be applied according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a system architecture to which embodiments of the present disclosure may be applied to assist those skilled in the art in understanding the technical content of the present disclosure, but does not mean that embodiments of the present disclosure may not be used in other devices, systems, environments, or scenarios.
As shown in fig. 1, a system architecture 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is a medium used to provide a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 through the network 104 using at least one of the first terminal device 101, the second terminal device 102, the third terminal device 103, to receive or send messages, etc. Various communication client applications, such as a shopping class application, a web browser application, a search class application, an instant messaging tool, a mailbox client, social platform software, etc. (by way of example only) may be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103.
The first terminal device 101, the second terminal device 102, the third terminal device 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (by way of example only) providing support for websites browsed by the user using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as the user request, and feed back the processing result (e.g., the web page, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that, the method for generating the application installation package provided in the embodiments of the present disclosure may be generally executed by the server 105. Accordingly, the generation apparatus of the application installation package provided by the embodiments of the present disclosure may be generally disposed in the server 105. The method for generating an application installation package provided by the embodiments of the present disclosure may also be performed by a server or a server cluster that is different from the server 105 and is capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and/or the server 105. Accordingly, the generating device of the application installation package provided by the embodiment of the present disclosure may also be provided in a server or a server cluster that is different from the server 105 and is capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and/or the server 105.
Alternatively, the method for generating the application installation package provided by the embodiment of the present disclosure may be performed by the first terminal device 101, the second terminal device 102, or the third terminal device 103, or may be performed by another terminal device different from the first terminal device 101, the second terminal device 102, or the third terminal device 103. Accordingly, the generating device of the application installation package provided in the embodiment of the present disclosure may also be provided in the first terminal device 101, the second terminal device 102, or the third terminal device 103, or in other terminal devices different from the first terminal device 101, the second terminal device 102, or the third terminal device 103.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
It should be noted that the sequence numbers of the respective operations in the following methods are merely representative of the operations for the purpose of description, and should not be construed as representing the order of execution of the respective operations. The method need not be performed in the exact order shown unless explicitly stated.
Fig. 2 schematically illustrates a flowchart of a method of generating an application installation package according to an embodiment of the present disclosure.
As shown in fig. 2, the method 200 of generating an application installation package includes operations S210 to S240.
In operation S210, in response to receiving the application installation package generation request, a dynamic link library set is obtained according to application information in the application installation package generation request, where the dynamic link library set includes at least M first dynamic link libraries obtained through a first development tool and N second dynamic link libraries obtained through a second development tool, and M and N are positive integers.
In operation S220, a common file information set and a differential file information set are determined according to the M first dynamic link libraries and the N second dynamic link libraries.
In operation S230, association information between the plurality of software development kits and the plurality of software development kits is determined according to the common file information set and the differential file information set.
In operation S240, an application installation package is generated according to association relationship information between the plurality of software development kits.
According to embodiments of the present disclosure, an application installation package (i.e., an instrumentation pack) may refer to a collection that is capable of decompressing files on its own. The application installation package may include all files for the software installation. All files of the software can be released to the hard disk by running the application installation package to accomplish the tasks of modifying the registry, modifying the system settings, creating shortcuts, etc.
According to an embodiment of the present disclosure, a script that generates an application installation package generation request may be stored in advance in a client. In response to detecting a user-initiated application installation package generation operation for a target application, the client may obtain application information corresponding to the target application. And generating an application program installation package generation request according to the application program information. The client may send an application installation package generation request to the server to facilitate the server to obtain a set of dynamic link libraries (Dynamic Link Library, DLLs) from the application installation package generation request.
According to embodiments of the present disclosure, the program installation package generation request may include development platform information and functional requirement information. Development platform information may be used to characterize a mobile operating system corresponding to an application. The development platform information may include at least one of: android (Android) platforms and iOS (Internetworking Operating System-Cisco) platforms. The functional requirement information may be used to characterize functional requirements corresponding to the application. The functional requirement information may include at least one of: a login function, a virtual digital person function, a virtual business hall function, a payment function and an information push function.
According to embodiments of the present disclosure, after receiving a program installation package generation request, at least one dynamic link library identification may be determined from development platform information and functional requirement information. Dynamic link library identification may be used to identify different dynamic link libraries. The dynamic link library may be based on different development tools. The set of dynamic link libraries may be obtained based on at least one dynamic link library identification.
For example, the at least one dynamic link library identification may comprise at least M first dynamic link library identifications and N second dynamic link library identifications. The first dynamic link library corresponding to each of the M first dynamic link library identifications may be derived based on the first development tool. The first development tool may refer to a first Unity engine. The second dynamic link library corresponding to each of the N second dynamic link library identifications may be derived based on a second development tool. The second development tool may refer to a second Unity engine.
According to the embodiment of the disclosure, the acquisition mode of the dynamic link library set may be set according to actual service requirements, which is not limited herein. For example, the dynamic link library set may be acquired through real-time acquisition, that is, the dynamic link library set input by the user via the application installation package generating operation may be acquired. Alternatively, the dynamically linked library sets may be obtained from a data source. The data source may include at least one of: local databases, cloud databases, and network resources. For example, a data interface may be invoked, with which a set of dynamically linked libraries is obtained from a data source. Alternatively, the set of dynamic link libraries may be received from other terminal devices.
According to an embodiment of the present disclosure, each dynamic link library may include at least one file identifier and file information corresponding to each of the at least one file identifier. For example, each of the M first dynamic link libraries may each include at least one first candidate file identification and first candidate file information corresponding to each of the at least one first candidate file identification. Each of the N second dynamic link libraries may each include at least one second candidate file identification and second candidate file information corresponding to each of the at least one second candidate file identification.
According to an embodiment of the present disclosure, after obtaining the dynamically linked library set, for each of the at least one first candidate file identifier, in a case where it is determined that there is a second candidate file identifier matching the first candidate file identifier in the at least one second candidate file identifier, a general file information set may be constructed according to the first candidate file identifier and the first candidate file information.
According to an embodiment of the present disclosure, after obtaining the dynamically linked library set, for each of the at least one first candidate file identifier, in a case where it is determined that there is no second candidate file identifier matching the first candidate file identifier in the at least one second candidate file identifier, a differential file information set may be constructed according to the first candidate file identifier, the first candidate file information, the second candidate file identifier, and the second candidate file information.
According to the embodiment of the disclosure, after the universal file information set and the differential file information set are obtained, a software development kit corresponding to the universal file information set may be generated according to the universal file information set. And generating a software development kit corresponding to the distinguishing file information set according to the distinguishing file information set. The association information may be used to characterize an association of the plurality of software development kits with one another.
According to the embodiment of the disclosure, after the association relationship between the plurality of software development kits and the plurality of software development kits is obtained, the plurality of software development kits can be associated according to the association relationship between the plurality of software development kits, so as to obtain the application installation package.
According to the embodiment of the disclosure, since the M first dynamic link libraries are obtained through the first development tool, the N second dynamic link libraries are obtained through the second development tool, and the universal file information set and the differential file information set are determined according to the M first dynamic link libraries and the N second dynamic link libraries, and the association relation information between the plurality of software development kits and the plurality of software development kits is determined according to the universal file information set and the differential file information set, the technical problem that the mutual calling between an operating system and the software development kits is easy to have conflict in the related art is at least partially overcome, and the applicability of the software development kits based on different development tools is ensured. On the basis, the application program installation package is generated according to the association relation information among the plurality of software development tool packages, so that the integration of the software development tool packages based on different development tools is realized, and the capability of the application program installation package for adapting to different scenes is improved.
The method 200 for generating an application installation package according to an embodiment of the present invention is further described below with reference to fig. 3A, 3B, 4, 5, and 6.
The method 200 of generating an application installation package may further include the following operations according to embodiments of the present disclosure.
And determining a system development environment corresponding to the development platform information according to the development platform information. Based on the system development environment, an initial development project is created.
According to embodiments of the present disclosure, a system development environment (Software Development Environment, SDE) may refer to software used to support the engineering development and maintenance of system software and application software, on the basis of basic hardware and digital software. The system development environment corresponding to the development platform information may be determined according to the development platform information. An initial development project may be created based on the system development environment. For example, in the case where the development platform information is an android platform, an android system development environment corresponding to the android platform may be determined. Alternatively, in the case where the development platform information is an iOS platform, an iOS system development environment corresponding to the iOS platform may be determined.
Fig. 3A schematically illustrates a flowchart of a method for acquiring a set of dynamic link libraries from application information in an application installation package generation request in response to receiving the application installation package generation request, according to an embodiment of the present disclosure.
As shown in fig. 3A, operation S210 may include operations S311 to S313.
In operation S311, P candidate dynamic link library identifications are determined according to the development platform information in response to receiving the application installation package generation request.
In operation S312, Q dynamic link library identifications are determined from the P candidate dynamic link library identifications according to the function requirement information, wherein P is greater than or equal to Q.
In operation S313, M first dynamic link libraries and N second dynamic link libraries are obtained according to Q dynamic link library identifications, where q=m+n.
According to embodiments of the present disclosure, the application information may include development platform information and functional requirement information.
According to embodiments of the present disclosure, development platform information may be used to characterize a mobile operating system corresponding to an application. The development platform information may include at least one of: android platform and iOS platform. The functional requirement information may be used to characterize functional requirements corresponding to the application. The functional requirement information may include at least one of: a login function, a virtual digital person function, a virtual business hall function, a payment function and an information push function.
According to the embodiment of the disclosure, after receiving an application program installation package generation request, at least one candidate dynamic link library identifier may be screened for the first time according to development platform information, so as to obtain P candidate dynamic link library identifiers corresponding to the development platform information. After obtaining the P candidate dynamic link library identifications, the P candidate dynamic link library identifications can be screened again according to the function requirement information to obtain Q dynamic link library identifications corresponding to the function requirement information.
According to embodiments of the present disclosure, Q dynamically linked libraries may be included in the identification of the dynamically linked libraries through different development tools. For example, in the case of q=m+n, M first dynamic link libraries and N second dynamic link libraries may be obtained according to Q dynamic link library identifications. Alternatively, in the case of q=a+b+c, a third dynamic link library, B fourth dynamic link library, and C fifth dynamic link library may be obtained according to Q dynamic link library identifications. A. B and C are positive integers. The third dynamic link library may be obtained by a third development tool. The fourth dynamic link library may be obtained by a fourth issuing tool. The fifth dynamic link library may be obtained by a fifth development tool.
According to an embodiment of the present disclosure, operation S312 may include the following operations.
And determining M dynamic link library identifications among the P candidate dynamic link library identifications according to the first function requirement sub-information. And determining N dynamic link library identifications from the P candidate dynamic link library identifications according to the second function requirement sub-information.
According to an embodiment of the present disclosure, operation S313 may include the following operations.
And obtaining M first dynamic link libraries according to the M dynamic link library identifications. And acquiring N second dynamic link libraries according to the N dynamic link library identifications.
According to an embodiment of the present disclosure, the function requirement information may include at least first function requirement sub-information and second function requirement sub-information.
According to an embodiment of the present disclosure, the first function requirement sub-information and the second function requirement sub-information each include one of: a login function, a virtual digital person function, a virtual business hall function, a payment function and an information push function.
According to an embodiment of the present disclosure, for example, in a case where the first function requirement sub-information includes a virtual digital person function and the second function requirement sub-information includes a virtual business hall function, M dynamic link library identifications for implementing the virtual digital person function may be determined among the P candidate dynamic link library identifications. N dynamic link library identifications for realizing the virtual business hall function are determined from the P candidate dynamic link library identifications.
Alternatively, in the case where the third function requirement sub-information includes a login function, the fourth function requirement sub-information includes a payment function, and the fifth function requirement sub-information includes an information push function, a dynamic link library identification for implementing the login function may be determined from among P candidate dynamic link library identifications according to an embodiment of the present disclosure. B dynamic link library identifications for realizing the payment function are determined from the P candidate dynamic link library identifications. C dynamic link library identifications for realizing the information push function are determined from the P candidate dynamic link library identifications.
According to the embodiment of the disclosure, Q dynamic link library identifications are determined from P candidate dynamic link library identifications according to the function requirement information, and P candidate dynamic link library identifications are determined according to the development platform information, so that dynamic link libraries corresponding to the Q dynamic link library identifications can integrate different application scenarios. On the basis, M first dynamic link libraries and N second dynamic link libraries are acquired according to Q dynamic link library identifications, so that different functional requirements of the subsequently generated application program installation package can be realized, and the capability of the application program installation package for adapting to different scenes is improved.
FIG. 3B schematically illustrates an example schematic diagram of a process of acquiring a set of dynamically linked libraries from application information in an application installation package generation request in response to receiving the application installation package generation request, according to an embodiment of the disclosure.
As shown in fig. 3B, in 300B, in response to receiving the application installation package generation request 301, the application installation package generation request 301 may include development platform information 301_1 and functional requirement information. P candidate dynamic link library identifications 302 can be determined from the development platform information 301_1 in the application installation package generation request 301.
The function requirement information may include at least first function requirement sub-information 303 and second function requirement sub-information 304. M dynamically linked library identifications 305 may be determined from the P candidate dynamically linked library identifications 302 based on the first functional requirement sub-information 303. On this basis, M first dynamic link libraries 306 may be obtained according to M dynamic link library identifications 305.
N dynamically linked library identifications 307 may be determined from the P candidate dynamically linked library identifications 302 based on the second functional requirement sub-information 304. On this basis, N second dynamic link libraries 308 may be obtained according to N dynamic link library identifications 307.
According to an embodiment of the present disclosure, operation S220 may include the following operations.
And respectively matching the first candidate file identifier with at least one second candidate file identifier aiming at each first candidate file identifier in the at least one first candidate file identifier to obtain a matching result. And under the condition that the matching result represents that the second candidate file identification matched with the first candidate file identification exists in the at least one second candidate file identification, storing the first candidate file identification and the first candidate file information corresponding to the first candidate file identification in a correlated mode to the universal file information set. And under the condition that the matching result represents that the second candidate file identification matched with the first candidate file identification does not exist in the at least one second candidate file identification, storing the first candidate file identification and the first candidate file information corresponding to the first candidate file identification in a correlated mode to the differential file information set. And storing the second candidate file identification and the second candidate file information corresponding to the second candidate file identification in an associated mode to the differential file information set.
According to an embodiment of the present disclosure, each of the M first dynamic link libraries may each include at least one first candidate file identification and first candidate file information corresponding to each of the at least one first candidate file identification.
According to an embodiment of the present disclosure, each of the N second dynamic link libraries may each include at least one second candidate file identification and second candidate file information corresponding to each of the at least one second candidate file identification.
According to an embodiment of the present disclosure, the first candidate file information and the second candidate file information may each have a file type. For example, the file type may include at least one of: code files, resource files, and library files (e.g.,. Dll. Files and. So. Files).
According to embodiments of the present disclosure, a generic set of file information may be used to store matching file information in dynamically linked libraries obtained through different development tools. For example, in the case that there is a second candidate file identification matching the first candidate file identification in the at least one second candidate file identification, the first candidate file identification and the first candidate file information corresponding to the first candidate file identification may be stored in association to the common file information set.
According to embodiments of the present disclosure, a set of distinct file information may be used to store unmatched file information in a dynamic link library obtained through different development tools. For example, in the case where there is no second candidate file identifier matching the first candidate file identifier in the at least one second candidate file identifier, the first candidate file identifier and the first candidate file information corresponding to the first candidate file identifier, the second candidate file identifier and the second candidate file information corresponding to the second candidate file identifier may be respectively associated and stored to the differential file information set.
Fig. 4 schematically illustrates an example schematic diagram of a process of determining a common set of file information and distinguishing a set of file information according to M first dynamically linked libraries and N second dynamically linked libraries according to an embodiment of the present disclosure.
As shown in fig. 4, in 400, each first dynamic link library 401 of the M first dynamic link libraries may each include at least one first candidate file identification 401_1 and first candidate file information 401_2 corresponding to each of the at least one first candidate file identification 401_1. Each of the N second dynamic link libraries 402 may each include at least one second candidate file identification 402_1 and second candidate file information 402_2 corresponding to each of the at least one second candidate file identification 402_1.
For each first candidate file identifier 401_1 of the at least one first candidate file identifier 401_1, the first candidate file identifier 401_1 and the at least one second candidate file identifier 402_1 may be respectively matched, so as to obtain a matching result 403. After the matching result 403 is obtained, operation S410 may be performed.
In operation S410, the matching result characterizes that there is a second candidate file identification matching the first candidate file identification among the at least one second candidate file identification?
If so, the first candidate file identifier 401_1 and the first candidate file information 401_2 corresponding to the first candidate file identifier 401_1 may be stored in association with the common file information set 404.
If not, the first candidate file identifier 401_1 and the first candidate file information 401_2 corresponding to the first candidate file identifier 401_1 may be stored in association with the differential file information set 405. The second candidate file identifier 402_1 and the second candidate file information 402_2 corresponding to the second candidate file identifier 402_1 are stored in association with the differential file information set 405.
According to an embodiment of the present disclosure, operation S230 may include the following operations.
And generating a software development kit corresponding to the universal file identifier according to the universal file information aiming at each piece of universal file information in the at least one piece of universal file information. And generating a software development kit corresponding to the identification of the distinguishing file according to the distinguishing file information aiming at each piece of distinguishing file information in the at least one piece of distinguishing file information. And determining association relation information according to the universal file identifier corresponding to the universal file information and the differential file identifier corresponding to the differential file information.
According to an embodiment of the present disclosure, the set of general file information may include at least one general file information and general file identifications corresponding to each of the at least one general file information. The differential file information set includes at least one differential file information and differential file identifications corresponding to each of the at least one differential file information.
According to embodiments of the present disclosure, the extracted dynamic link library may be exported as a software development kit. For example, a software development kit corresponding to the generic file identification may be generated from the generic file information. A software development kit corresponding to the distinguishing file identification may be generated based on the distinguishing file information.
According to the embodiment of the present disclosure, after a plurality of software development kits are obtained, the association relationship information may be determined according to the general file identification corresponding to the general file information and the differential file identification corresponding to the differential file information. The association relationship information may be used to characterize call relationships between multiple software development kits.
For example, where the universal file identification includes T 1 Distinguishing file identifications from each other includes Q 1 And Q 2 In the case of (a), the general file identification may be included with T 1 The corresponding software development kit is placed in the main program and is identified with the distinguishing file Q 1 The corresponding software development kit is placed into the first calling program and is identified with the distinguishing file Q 2 The corresponding software development kit is placed into the second caller, in which case the running catalog may be configured according to the host program, the first caller, and the second caller.
Fig. 5 schematically illustrates an example schematic diagram of a process of determining association relationship information between a plurality of software development kits and a plurality of software development kits according to a general file information set and a differential file information set according to an embodiment of the present disclosure.
As shown in fig. 5, in 500, the common file information set 501 may include at least one common file information 501_1 and a common file identification 501_2 corresponding to each of the at least one common file information 501_1. The set of differential file information 503 may include at least one differential file information 503_1 and differential file identifications 503_2 corresponding to the at least one differential file information 503_1, respectively.
For each of the at least one generic file information 501_1, a software development kit 502 corresponding to the generic file identification 501_2 may be generated from the generic file information 501_1.
For each of the at least one differential file information 503_1, a software development kit 504 corresponding to the differential file identification 503_2 may be generated according to the differential file information 503_1.
The association relationship information 505 may be determined from the common file identifier 501_2 corresponding to the common file information 501_1 and the differential file identifier 503_2 corresponding to the differential file information 503_1.
According to an embodiment of the present disclosure, operation S240 may include the following operations.
And integrating the plurality of software development kits into an initial development project according to the association relation information of the plurality of software development kits to obtain a target development project. And compiling the target project engineering to obtain the application program installation package.
According to the embodiment of the disclosure, after the association relationship information is obtained, the plurality of software development kits can be respectively integrated to the target positions in the initial development project according to the association relationship information among the plurality of software development kits, so as to obtain the target development project. The target project may be compiled (i.e., complete) to obtain an application installation package. Compilation may refer to the process of engineering a target project written in a source language into a target application using a compiler.
Fig. 6 schematically illustrates an example schematic diagram of a generation process of an application installation package according to an embodiment of the present disclosure.
As shown in fig. 6, in response to receiving the application installation package generation request 601, a system development environment 602 corresponding to the development platform information 601_2 may be determined according to the development platform information 601_2 in the application installation package generation request 601 in 600. Based on the system development environment 602, an initial development project 603 is created.
The set of dynamic link libraries 604 may be obtained from the application information 601_1 in the application installation package generation request 601. The set of dynamic link libraries 604 may include at least M first dynamic link libraries 604_1 obtained through a first development tool and N second dynamic link libraries 604_2 obtained through a second development tool.
The common set of file information 605 and the differential set of file information 606 may be determined from the M first dynamically linked libraries 604_1 and the N second dynamically linked libraries 604_2.
The association relationship information 608 between the plurality of software development kits 607 and the plurality of software development kits 607 can be determined from the common file information set 605 and the differential file information set 606.
The plurality of software development kits 607 may be integrated into the initial development project 603 according to the association relationship information 608 between the plurality of software development kits 607 to obtain the target development project 609. The target project 609 may be compiled to obtain an application installation package 610.
The foregoing is only an exemplary embodiment, but not limited thereto, and other methods for generating an application installation package known in the art may be included, as long as the applicability of the software development kit based on different development tools can be ensured, and the capability of the application installation package to adapt to different scenarios can be improved.
Fig. 7 schematically illustrates a block diagram of an application installation package generating apparatus according to an embodiment of the present disclosure.
As shown in fig. 7, the apparatus 700 for generating an application installation package may include an acquisition module 710, a first determination module 720, a second determination module 730, and a generation module 740.
And the obtaining module 710 is configured to obtain, in response to receiving the application installation package generation request, a dynamic link library set according to application information in the application installation package generation request, where the dynamic link library set includes at least M first dynamic link libraries obtained by the first development tool and N second dynamic link libraries obtained by the second development tool, and M and N are positive integers.
The first determining module 720 is configured to determine a common file information set and a differential file information set according to the M first dynamic link libraries and the N second dynamic link libraries.
The second determining module 730 is configured to determine association information between the plurality of software development kits and the plurality of software development kits according to the common file information set and the differential file information set.
The generating module 740 is configured to generate an application installation package according to association relationship information between the plurality of software development kits.
According to an embodiment of the present disclosure, the application information includes development platform information and functional requirement information.
According to an embodiment of the present disclosure, the acquisition module 710 may include a first determination unit, a second determination unit, and an acquisition unit.
And the first determining unit is used for determining P candidate dynamic link library identifications according to the development platform information in response to receiving the application program installation package generation request.
And the second determining unit is used for determining Q dynamic link library identifications from the P candidate dynamic link library identifications according to the function requirement information, wherein P is greater than or equal to Q.
And the acquisition unit is used for acquiring M first dynamic link libraries and N second dynamic link libraries according to the Q dynamic link library identifications, wherein Q=M+N.
According to an embodiment of the present disclosure, the function requirement information includes at least first function requirement sub-information and second function requirement sub-information.
According to an embodiment of the present disclosure, the second determination unit may include a first determination subunit and a second determination subunit.
And the first determining subunit is used for determining M dynamic link library identifications among the P candidate dynamic link library identifications according to the first function requirement sub-information.
And the second determining subunit is used for determining N dynamic link library identifications from the P candidate dynamic link library identifications according to the second function requirement sub-information.
According to an embodiment of the present disclosure, the acquisition unit may include a first acquisition subunit and a second acquisition subunit.
The first acquisition subunit is configured to acquire M first dynamic link libraries according to the M dynamic link library identifiers.
And the second acquisition subunit is used for acquiring N second dynamic link libraries according to the N dynamic link library identifications.
According to an embodiment of the present disclosure, the first function requirement sub-information and the second function requirement sub-information each include one of: a login function, a virtual digital person function, a virtual business hall function, a payment function and an information push function.
According to an embodiment of the present disclosure, each of the M first dynamic link libraries includes at least one first candidate file identification and first candidate file information corresponding to each of the at least one first candidate file identification.
According to an embodiment of the present disclosure, each of the N second dynamic link libraries includes at least one second candidate file identification and second candidate file information corresponding to each of the at least one second candidate file identification.
According to an embodiment of the present disclosure, the first determining module 720 may include a matching unit, a first storage unit, a second storage unit, and a third storage unit.
And the matching unit is used for respectively matching the first candidate file identifier with at least one second candidate file identifier aiming at each first candidate file identifier in the at least one first candidate file identifiers to obtain a matching result.
And the first storage unit is used for storing the first candidate file identifier and the first candidate file information corresponding to the first candidate file identifier in a correlated manner to the general file information set under the condition that the matching result represents that the second candidate file identifier matched with the first candidate file identifier exists in the at least one second candidate file identifier.
And the second storage unit is used for storing the first candidate file identifier and the first candidate file information corresponding to the first candidate file identifier in a correlated manner to the differential file information set under the condition that the matching result indicates that the second candidate file identifier matched with the first candidate file identifier does not exist in the at least one second candidate file identifier.
And the third storage unit is used for storing the second candidate file identification and the second candidate file information corresponding to the second candidate file identification in a correlated manner to the differential file information set.
According to an embodiment of the present disclosure, the common file information set includes at least one common file information and a common file identifier corresponding to each of the at least one common file information, and the differential file information set includes at least one differential file information and a differential file identifier corresponding to each of the at least one differential file information.
According to an embodiment of the present disclosure, the second determining module 730 may include a first generating unit, a second generating unit, and a third determining unit.
The first generation unit is used for generating a software development kit corresponding to the universal file identification according to the universal file information aiming at each piece of universal file information in the at least one piece of universal file information.
And the second generation unit is used for generating a software development kit corresponding to the identification of the distinguishing file according to the distinguishing file information aiming at each piece of distinguishing file information in the at least one piece of distinguishing file information.
And the third determining unit is used for determining the association relation information according to the universal file identifier corresponding to the universal file information and the distinguishing file identifier corresponding to the distinguishing file information.
The generation apparatus 700 of the application installation package may further include a third determination module and a creation module according to an embodiment of the present disclosure.
And the third determining module is used for determining a system development environment corresponding to the development platform information according to the development platform information.
The creation module is used for creating initial development engineering based on the system development environment.
According to an embodiment of the present disclosure, the generation module 740 may include an integration unit and a compiling unit.
And the integration unit is used for integrating the plurality of software development kits into the initial development project according to the association relation information among the plurality of software development kits to obtain the target development project.
And the compiling unit is used for compiling the target project engineering to obtain the application program installation package.
Any number of modules, sub-modules, units, sub-units, or at least some of the functionality of any number of the sub-units according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented as split into multiple modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system-on-chip, a system-on-substrate, a system-on-package, an Application Specific Integrated Circuit (ASIC), or in any other reasonable manner of hardware or firmware that integrates or encapsulates the circuit, or in any one of or a suitable combination of three of software, hardware, and firmware. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be at least partially implemented as computer program modules, which when executed, may perform the corresponding functions.
For example, any of the acquisition module 710, the first determination module 720, the second determination module 730, and the generation module 740 may be combined in one module/unit/sub-unit or any of them may be split into a plurality of modules/units/sub-units. Alternatively, at least some of the functionality of one or more of these modules/units/sub-units may be combined with at least some of the functionality of other modules/units/sub-units and implemented in one module/unit/sub-unit. According to embodiments of the present disclosure, at least one of the acquisition module 710, the first determination module 720, the second determination module 730, and the generation module 740 may be implemented at least in part as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable way of integrating or packaging circuitry, or in any one of or a suitable combination of three of software, hardware, and firmware. Alternatively, at least one of the acquisition module 710, the first determination module 720, the second determination module 730, and the generation module 740 may be at least partially implemented as a computer program module, which when executed may perform the respective functions.
It should be noted that, in the embodiment of the present disclosure, the generating device portion of the application installation package corresponds to the generating method portion of the application installation package in the embodiment of the present disclosure, and the description of the generating device portion of the application installation package specifically refers to the generating method portion of the application installation package, which is not described herein again.
Fig. 8 schematically illustrates a block diagram of an electronic device adapted to implement a method of generating an application installation package, according to an embodiment of the disclosure. The electronic device shown in fig. 8 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 8, a computer electronic device 800 according to an embodiment of the present disclosure includes a processor 801 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage section 809 into a Random Access Memory (RAM) 803. The processor 801 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. The processor 801 may also include on-board memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing the different actions of the method flows according to embodiments of the disclosure.
In the RAM 803, various programs and data required for the operation of the electronic device 800 are stored. The processor 801, the ROM802, and the RAM 803 are connected to each other by a bus 804. The processor 801 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM802 and/or the RAM 803. Note that the program may be stored in one or more memories other than the ROM802 and the RAM 803. The processor 801 may also perform various operations of the method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, the electronic device 800 may also include an input/output (I/O) interface 805, the input/output (I/O) interface 805 also being connected to the bus 804. The electronic device 800 may also include one or more of the following components connected to an input/output (I/O) interface 805: an input portion 806 including a keyboard, mouse, etc.; an output portion 807 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 808 including a hard disk or the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. The drive 810 is also connected to an input/output (I/O) interface 805 as needed. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as needed so that a computer program read out therefrom is mounted into the storage section 808 as needed.
According to embodiments of the present disclosure, the method flow according to embodiments of the present disclosure may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section 809, and/or installed from the removable media 811. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 801. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples may include, but are not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 802 and/or RAM 803 and/or one or more memories other than ROM 802 and RAM 803 described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program comprising program code for performing the methods provided by the embodiments of the present disclosure, the program code for causing an electronic device to implement the methods of generating an application installation package provided by the embodiments of the present disclosure when the computer program product is run on the electronic device.
The above-described functions defined in the system/apparatus of the embodiments of the present disclosure are performed when the computer program is executed by the processor 801. The systems, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed, and downloaded and installed in the form of a signal on a network medium, and/or from a removable medium 811 via a communication portion 809. The computer program may include program code that may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
According to embodiments of the present disclosure, program code for performing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, such computer programs may be implemented in high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. Programming languages include, but are not limited to, such as Java, c++, python, "C" or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be combined in various combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (12)

1. A method for generating an application installation package, comprising:
responding to a received application program installation package generation request, and acquiring a dynamic link library set according to application program information in the application program installation package generation request, wherein the dynamic link library set at least comprises M first dynamic link libraries obtained through a first development tool and N second dynamic link libraries obtained through a second development tool, and M and N are positive integers;
determining a general file information set and a differential file information set according to the M first dynamic link libraries and the N second dynamic link libraries;
Determining a plurality of software development kits and association relation information among the plurality of software development kits according to the universal file information set and the differential file information set; and
and generating an application program installation package according to the association relation information of the plurality of software development kits.
2. The method of claim 1, wherein the application information includes development platform information and functional requirement information;
the responding to the receiving of the application program installation package generation request, the obtaining of the dynamic link library set according to the application program information in the application program installation package generation request comprises the following steps:
in response to receiving the application program installation package generation request, determining P candidate dynamic link library identifications according to the development platform information;
according to the function requirement information, Q dynamic link library identifications are determined in the P candidate dynamic link library identifications, wherein P is greater than or equal to Q; and
and acquiring the M first dynamic link libraries and the N second dynamic link libraries according to the Q dynamic link library identifications, wherein Q=M+N.
3. The method of claim 2, wherein the function requirement information includes at least first and second function requirement sub-information;
The determining Q dynamic link library identifications among the P candidate dynamic link library identifications according to the function requirement information includes:
determining M dynamic link library identifications among the P candidate dynamic link library identifications according to the first function requirement sub-information; and
according to the second function requirement sub-information, N dynamic link library identifications are determined in the P candidate dynamic link library identifications;
the obtaining the M first dynamic link libraries and the N second dynamic link libraries according to the Q dynamic link library identifications includes:
acquiring M first dynamic link libraries according to the M dynamic link library identifications; and
and acquiring the N second dynamic link libraries according to the N dynamic link library identifications.
4. The method of claim 2, wherein the first and second functional requirement sub-information each comprise one of: a login function, a virtual digital person function, a virtual business hall function, a payment function and an information push function.
5. The method of any of claims 1-4, wherein each of the M first dynamic link libraries each comprises at least one first candidate file identification and first candidate file information corresponding to each of the at least one first candidate file identification;
Each of the N second dynamic link libraries includes at least one second candidate file identifier and second candidate file information corresponding to the at least one second candidate file identifier;
the determining the universal file information set and the differential file information set according to the M first dynamic link libraries and the N second dynamic link libraries comprises:
for each of the at least one first candidate file identification,
respectively matching the first candidate file identifier with the at least one second candidate file identifier to obtain a matching result;
under the condition that the matching result characterizes that a second candidate file identifier matched with the first candidate file identifier exists in the at least one second candidate file identifier, the first candidate file identifier and first candidate file information corresponding to the first candidate file identifier are stored in a correlated mode to the general file information set;
storing the first candidate file identification and first candidate file information corresponding to the first candidate file identification in a correlated manner to the differential file information set under the condition that the matching result characterizes that a second candidate file identification matched with the first candidate file identification does not exist in the at least one second candidate file identification; a kind of electronic device with a high-performance liquid crystal display
And storing the second candidate file identification and second candidate file information corresponding to the second candidate file identification in a correlated mode to the differential file information set.
6. The method of any of claims 1 to 4, wherein the set of common file information comprises at least one common file information and a common file identification corresponding to each of the at least one common file information, and the set of differential file information comprises at least one differential file information and a differential file identification corresponding to each of the at least one differential file information;
the determining, according to the common file information set and the differential file information set, association relationship information between a plurality of software development kits and the plurality of software development kits includes:
for each of the at least one generic file information,
generating a software development kit corresponding to the universal file identifier according to the universal file information;
for each of the at least one differential file information,
generating a software development kit corresponding to the distinguishing file identification according to the distinguishing file information; a kind of electronic device with a high-performance liquid crystal display
And determining the association relation information according to the universal file identifier corresponding to the universal file information and the distinguishing file identifier corresponding to the distinguishing file information.
7. The method of claim 2, further comprising:
determining a system development environment corresponding to the development platform information according to the development platform information; and
based on the system development environment, an initial development project is created.
8. The method of claim 7, wherein the generating an application installation package according to the plurality of software development kits and the association information of the plurality of software development kits with each other comprises:
integrating the plurality of software development kits into the initial development project according to the association relation information among the plurality of software development kits to obtain a target development project; and
and compiling the target project engineering to obtain the application program installation package.
9. An application installation package generating apparatus, comprising:
the system comprises an acquisition module, a storage module and a storage module, wherein the acquisition module is used for responding to a received application program installation package generation request, acquiring a dynamic link library set according to application program information in the application program installation package generation request, wherein the dynamic link library set at least comprises M first dynamic link libraries obtained through a first development tool and N second dynamic link libraries obtained through a second development tool, and M and N are positive integers;
The first determining module is used for determining a general file information set and a differential file information set according to the M first dynamic link libraries and the N second dynamic link libraries;
the second determining module is used for determining a plurality of software development kits and association relation information among the plurality of software development kits according to the universal file information set and the differential file information set; and
and the generation module is used for generating an application program installation package according to the association relation information among the plurality of software development tool packages.
10. An electronic device, comprising:
one or more processors;
a memory for storing one or more instructions,
wherein the one or more instructions, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1 to 8.
11. A computer readable storage medium having stored thereon executable instructions which when executed by a processor cause the processor to implement the method of any of claims 1 to 8.
12. A computer program product comprising computer executable instructions for implementing the method of any one of claims 1 to 8 when executed.
CN202310483254.2A 2023-04-28 2023-04-28 Method and device for generating application program installation package, electronic equipment and storage medium Pending CN116541029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310483254.2A CN116541029A (en) 2023-04-28 2023-04-28 Method and device for generating application program installation package, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310483254.2A CN116541029A (en) 2023-04-28 2023-04-28 Method and device for generating application program installation package, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116541029A true CN116541029A (en) 2023-08-04

Family

ID=87444667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310483254.2A Pending CN116541029A (en) 2023-04-28 2023-04-28 Method and device for generating application program installation package, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116541029A (en)

Similar Documents

Publication Publication Date Title
GB2589658A (en) Method and apparatus for running an applet
CN110865889A (en) Method and apparatus for transferring events between components
CN113961919B (en) Malicious software detection method and device
CN111427579A (en) Plug-in, application program implementing method and system, computer system and storage medium
CN109582317B (en) Method and apparatus for debugging hosted applications
CN115982491A (en) Page updating method and device, electronic equipment and computer readable storage medium
CN113434241A (en) Page skipping method and device
CN115357761A (en) Link tracking method and device, electronic equipment and storage medium
CN113515271B (en) Service code generation method and device, electronic equipment and readable storage medium
CN114116509A (en) Program analysis method, program analysis device, electronic device, and storage medium
CN112965916B (en) Page testing method, page testing device, electronic equipment and readable storage medium
CN112416303B (en) Software development kit hot repair method and device and electronic equipment
CN113407165A (en) SDK generation and self-upgrade method, device, readable medium and equipment
CN113176907A (en) Interface data calling method and device, computer system and readable storage medium
WO2020221090A1 (en) Method for use in combined operation of guest applications, and device
CN111414154A (en) Method and device for front-end development, electronic equipment and storage medium
CN116483888A (en) Program evaluation method and device, electronic equipment and computer readable storage medium
CN112988604B (en) Object testing method, testing system, electronic device and readable storage medium
CN111124523A (en) Method and apparatus for initializing applications
CN116541029A (en) Method and device for generating application program installation package, electronic equipment and storage medium
CN114780361A (en) Log generation method, device, computer system and readable storage medium
CN112068814A (en) Method, device, system and medium for generating executable file
CN112015394B (en) Android function module development method and device, computer system and storage medium
CN107862038B (en) Data mining platform for decoupling WEB client and big data mining analysis and implementation method
CN113515326B (en) Data conversion method, device, electronic equipment 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