WO2020155776A1 - 一种基于核心模块的应用程序的生成方法及设备 - Google Patents

一种基于核心模块的应用程序的生成方法及设备 Download PDF

Info

Publication number
WO2020155776A1
WO2020155776A1 PCT/CN2019/118570 CN2019118570W WO2020155776A1 WO 2020155776 A1 WO2020155776 A1 WO 2020155776A1 CN 2019118570 W CN2019118570 W CN 2019118570W WO 2020155776 A1 WO2020155776 A1 WO 2020155776A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
program
type
development environment
editing
Prior art date
Application number
PCT/CN2019/118570
Other languages
English (en)
French (fr)
Inventor
陈彩霞
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020155776A1 publication Critical patent/WO2020155776A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Definitions

  • This application belongs to the technical field of software programs, and in particular relates to a method and device for generating an application program based on a core module.
  • the embodiments of the present application provide a method and device for generating an application program based on a core module to solve the existing application program generation technology. If the compilation progress of different functional modules is inconsistent, the development is completed earlier The team needs to wait for the subsequent team’s code to be compiled before they can compile, which results in low development efficiency of application projects and long development cycles.
  • the first aspect of the embodiments of the present application provides a method for generating an application program based on a core module, including:
  • the program description document includes a list of function modules of the application and program types;
  • the program file of the application program is generated according to the access path of the common core module and each of the function modules and the program subfile.
  • the embodiment of the application establishes the core common module of the application program according to the program description information of the application program when developing the program file of the application program, thereby extracting the core part of the application program from each functional module, reducing different functions
  • the degree of coupling between modules achieves the purpose of independence between each functional module; in order to facilitate the independent compilation of different functional modules, the corresponding development environment is also configured according to the module type of each functional module. Developers can Import the source code data of the functional modules into the development environment to generate the program sub-files of the functional modules; then after each functional module is compiled, the program files of the application can be generated according to all program sub-files, access paths and core common modules .
  • the coupling degree between various modules is reduced, the purpose of independent compilation is realized, the compilation efficiency is improved, and the development time is reduced.
  • FIG. 1 is an implementation flowchart of a core module-based application generation method provided by the first embodiment of the present application
  • FIG. 2 is a specific implementation flow chart of a method S104 for generating an application based on a core module provided by the second embodiment of the present application;
  • FIG. 3 is a specific implementation flowchart of a method S105 for generating an application based on a core module provided by the third embodiment of the present application;
  • FIG. 4 is a specific implementation flow chart of a method S106 for generating an application based on a core module provided by the fourth embodiment of the present application;
  • FIG. 5 is a specific implementation flowchart of a core module-based application generation method provided by the fifth embodiment of the present application.
  • FIG. 6 is a structural block diagram of a device for generating an application program based on a core module provided by an embodiment of the present application;
  • Fig. 7 is a schematic diagram of a terminal device provided by another embodiment of the present application.
  • the execution subject of the process is the terminal device.
  • the terminal equipment includes, but is not limited to: servers, computers, smart phones, and tablet computers that can perform application generation operations.
  • Fig. 1 shows an implementation flow chart of a method for generating an application based on a core module provided by the first embodiment of the present application, which is detailed as follows:
  • a program description document of the application program is obtained; the program description document includes a list of function modules and program types of the application program.
  • the developer before developing an application, the developer will write a program description document about the application, which can also be referred to as the requirements document of the application.
  • the program description document records the contents of the application to be developed.
  • the function module list contains at least one module identifier of a function module.
  • the module identifier can be the module name of the function module and/or the description information of the function module. For example, a certain function module can pass through the "real-time video call module".
  • the name of the module is expressed, and the functional module can also be described by the description information of "providing real-time video calls between at least two users".
  • the function module list can be specifically used to limit the list of modules contained in the main menu of the application, that is, when the user opens the main interface of the application, the user can jump directly through the navigation bar on the main interface.
  • Different functional modules can limit the sub-functions of the functional module by configuring the module sub-list, that is, create secondary navigation under the navigation bar of the main interface.
  • Each functional module in the navigation bar of the main interface can be handed over to a development team for development, and the number of sub-modules contained in the functional module can be determined according to the needs of the module, and is not limited here.
  • developers can add program description documents of all applications to be developed into the program development list.
  • the terminal device can select one or more applications with the highest priority as the target application by obtaining the development priority of each application in the program development list, and perform related operations from S101 to S106 on the target application.
  • the developer can also send a program start instruction to the terminal device to actively trigger the application generation process.
  • a target core component matching the program type is selected from a core component library, and a common core module of the application program is constructed according to all the target core components.
  • the terminal device needs to first construct a common core module for the application. After the common core module is created, the subsequent development team compiles the functional modules.
  • the module can directly call the public interface and public thread of the public core module to start the function module and perform related test operations without affecting the compilation operation of other function modules, achieving the purpose of independent development of each module and improving the development of application programs Efficiency, capable of parallel development by multiple development teams.
  • the core components corresponding to different program types are different.
  • webpage type applications it needs to include flash components, domain name resolution components, login components and other core components related to webpage display; and for chat interaction type applications, the core components mainly include TCP protocol resolution components, NAT Conversion components, Socket analysis components, etc.
  • the program type limits the functions provided by the application program, all function modules are auxiliary functions built based on the main function, that is, starting auxiliary functions need to be called when the main function is started. Therefore, the core components included in the main function are the common core modules of the application.
  • the terminal device extracts the program type from the program description document, determines the main function of the application according to the program type, and extracts all target core components required by the main function from the core component library.
  • the terminal device after the terminal device obtains the target core component, it can analyze each target core component, obtain the interface of each target core component, and establish the connection of the interface between each target core component based on the interface function of each interface Relationship, so that all target core components are integrated and packaged based on the connection relationship, thereby generating a common core module of the application.
  • the terminal device can be configured with a core module template, and the terminal device can add each core component to the area corresponding to the core module template.
  • the core module template records the connection relationship of the interfaces between the components and includes all applications. Program inherent components, such as login components, registration components, etc., by importing the target core component into the core module template to achieve the purpose of quickly generating a common core module.
  • a module identifier is configured for each function module in the function module list, and an access path associated with the function module is created in the common core module based on the module identifier.
  • the terminal device can extract the list of function modules from the program description file, determine all the function modules that the application program is expected to contain, and then configure a unique identifier for each function module, that is, the module identifier mentioned above.
  • the identification can be the serial number of the functional module in the functional module list. Based on the serial number and the module name of the functional module, the module identification of the functional module is generated, so that functional modules with the same module name can also be distinguished by the difference in the order in the list .
  • the way of generating the module identifier may be: the function module list records the module description information of each function module.
  • the terminal device can perform semantic analysis on the module description information to extract the module keywords contained in the module description information, count the number of occurrences of each module keyword, select the module keyword with the largest number of occurrences as the core keyword, and then The core keyword is recognized as the module identifier of the functional module.
  • the terminal device will create an access path for the functional module in the common core module based on the module identifier, so that the user can directly jump to the corresponding use of the functional module through the access path on the common core module Interface.
  • the terminal device can add the module identifier of each functional module on the navigation bar, and set a jump link on the string corresponding to the module identifier, that is, the above-mentioned access path.
  • the function module can be directly accessed.
  • each functional module has an independent functional interface, which reduces the degree of mutual coupling, and can all jump on the common core module, which is convenient to access.
  • the module type of each functional module is determined, and the development environment corresponding to the module type is downloaded.
  • the terminal device in order to further improve the construction speed of the application, and to facilitate the selection of database types that are highly compatible with their own functions during the development process of different functional modules, the terminal device will pre-build corresponding database types for different module types.
  • the development environment is to set up corresponding scaffolding components for different functional modules. By downloading the configured development environment, developers do not need to manually set up the environment and construct the data docking path between the development environment and the core public modules, which greatly reduces the workload of developers and increases the speed of application development .
  • a functional module is built based on angular technology, that is, data needs to be stored and processed in the form of angular-related data, while another functional module is built based on react technology.
  • the core technology used by the two functional modules is Where there are differences, in the prior art, it is necessary to build a development environment compatible with the above two technologies to be able to integrate functional modules based on different core technologies. Since S102 and S103 have separated each functional module and removed the core common module, the terminal device can directly build a development environment for the two core technologies without considering the integration of the two development environments.
  • the terminal device can determine the module type of the functional module according to the module description information of the functional module, and the main functions that the functional module needs to provide can be determined by the module type, and the one with the highest degree of association with the module type can be selected.
  • a development environment is used as the development environment of the functional module, and the development environment is downloaded from the environment database.
  • the terminal device can also configure response storage areas for different functional modules, that is, the development data of each functional module is stored in the corresponding storage area, thereby avoiding each function. The data of the module interferes.
  • the source code data of the function module is imported into the development environment, and a program subfile about the function module is generated.
  • a developer can write source code data about functional modules based on the development environment, and when the source code data is written, the source code data can be imported into the development environment for compilation.
  • the function module can call the public interface and the public thread of the public core module. Developers can detect whether each operating parameter of the functional module meets the preset development requirements by importing test cases corresponding to the functional module. If the functional module passes the compilation test and the actual operating parameters of each test case meet the preset development requirements, it is judged that the development of the functional module is completed. At this time, the terminal device will encapsulate the development environment and source code data of the functional module to generate The program subfile of the function module.
  • the program file of the application program is generated according to the access path of the common core module and each of the function modules and the program subfile
  • the terminal device after the terminal device detects that the program subfiles of each functional module are created, it can perform the related operations of S106.
  • the connection relationship between the core public module and the program sub-file is established based on the access path, so that the source code data of the common core module, the program sub-files of all functional modules, and the connection relationship established above are generated to generate the program file of the application.
  • the terminal device can also receive a program creation instruction sent by the developer. Based on this, the terminal device will detect whether each functional module already has a corresponding program subfile. If all functional modules are configured with a corresponding program subfile, then Encapsulate the program sub-files and access paths of the common core module and all functional modules to generate the program file of the application; if any functional module is not configured with a program sub-file, it means that the functional module has not been developed. , The terminal device will hide the module identification of the function module on the core public module, and generate the program file of the application according to the access path and program sub-files of the public core module and the developed function module.
  • the terminal device After the program file is generated, if the development of the above-mentioned unencapsulated function module is completed, the terminal device will redisplay the module identification of the function module on the core public module, and add the program subfile and access path of the function module to In the program file.
  • the method for generating an application program based on a core module establishes the core public module of the application program according to the program description information of the application program when developing the program file of the application program, thereby
  • the core part of the application program is separated from each functional module, reducing the coupling between different functional modules, and achieving the purpose of independence between each functional module; in order to facilitate the independent compilation of different functional modules, it is also based on each
  • the module type of the function module is configured with the corresponding development environment.
  • Developers can import the source code data of the function module into the development environment to generate the program sub-files of the function module; then, after each function module is compiled, it can be based on All program sub-files, access paths, and core public modules generate program files for the application.
  • the coupling degree between various modules is reduced, the purpose of independent compilation is realized, the compilation efficiency is improved, and the development time is reduced.
  • FIG. 2 shows a specific implementation flow chart of a method S104 for generating an application program based on a core module provided by the second embodiment of the present application.
  • a core module-based application generation method S104 provided by this embodiment includes: S1041 to S1044, which are detailed as follows:
  • determining the module type of each of the functional modules and downloading the development environment corresponding to the module type includes:
  • S1041 create a module storage area for the function module in the database, and establish an association relationship between the module storage area and the access path of the function module.
  • the terminal device in order to reduce the degree of coupling between the data of various functional modules and to facilitate the management of the source code data of the functional modules by different development teams, the terminal device will create each function in the database according to the module identification of each functional module The storage area of the module.
  • the development team can store all source code data and module files about the functional module in the storage area.
  • the js folder of the functional module can be created in the database, and all js files about the functional module are stored in the js folder of the functional module.
  • the terminal device may determine the capacity value of the module storage area based on the module type of the functional module.
  • Different functional modules have different requirements for data capacity. For example, for video playback modules, because the video data that needs to be played needs to be cached locally, the module storage area of this type of module has a large demand for data capacity; and For the functional modules for static product display, since each UI control and displayed content are fixed, the amount of data is small, so the capacity of the module storage area initially allocated by the terminal device is small.
  • the terminal device after configuring the module storage area for the function module, the terminal device will obtain the address range of the module storage area and establish the association relationship between the storage address range and the access path, so that the access path can be directly based on the access path. Jump to the module storage area of the function module to realize the purpose of calling the function module.
  • the environment template associated with the module type is extracted from the development environment tripod library.
  • the environment modules of different module types are stored in the development environment tripod library. Based on the module characteristics of different module types, developers can pre-configure environment modules that match the module characteristics, and the environment modules include functional modules.
  • Basic environment parameters such as the database type, system environment, and login interface.
  • the development environment tripod library stores a correspondence table of environmental modules and module types, and the terminal device can extract the environment templates associated with the functional modules by querying the correspondence table.
  • the program description document is parsed, the configuration parameters of the function module are obtained, and the environment template is adjusted based on the configuration parameters to generate the development environment of the function module.
  • the environment module contains at least one custom parameter, and the custom parameter can be assigned to each custom parameter based on the actual configuration parameter of the function module, so that the generated development environment can match the function module.
  • the terminal device will parse the program description document, determine the description segment corresponding to the function module, and extract the configuration parameters of the description segment about the function module, and obtain the self-association of different configuration parameters in the environment template. Define the parameters and set the parameter value of the configuration parameter to the parameter value of the custom parameter, thereby obtaining the development environment of the functional module.
  • the terminal device downloads the development environment of the functional module to the module storage area of the functional module, so as to complete the construction of the development environment.
  • all source code data of the functional module can be stored in the module storage area, which facilitates the selection of storage paths during compilation and improves compilation efficiency.
  • the coupling between functional modules is reduced, and the environment template associated with the functional module is downloaded according to the module type of the functional module, and the configuration parameters of the functional module are Adjust the environment template to realize the purpose of automatically setting up a development environment and improve the efficiency of application development.
  • FIG. 3 shows a specific implementation flow chart of a method S105 for generating an application based on a core module provided by the third embodiment of the present application.
  • a core module-based application generation method S105 provided by this embodiment includes: S1051 to S1053, which are detailed as follows:
  • the importing the source code data of the functional module into the development environment to generate the program sub-file about the functional module includes:
  • an editing request regarding the development environment is received; the editing request includes authorization information and editing type.
  • different functional modules can be handed over to different development teams for development operations, that is, the developers to which the functional modules belong are different. Therefore, in order to facilitate the development team to manage each functional module and avoid criminals on the functional modules
  • the source code data and development environment are maliciously tampered with, and the terminal device can configure corresponding verification information for different functional modules.
  • each developer imports the source code data into the development environment or adjusts the development environment, he needs to upload his own authorization information to the terminal device.
  • an edit request is created.
  • the editing request carries authorization information of the developer, and the authorization information may be the user name and user password of the developer, and may also be an authorization serial number.
  • the editing request also carries the editing type of this editing operation, which includes: source code modification type, source code deletion type, source code addition type, and source code viewing type. Developers can generate edit requests on the local user terminal and send them to the terminal device.
  • S1052 obtain an editing permission list associated with the authorization information, and determine whether the editing type is in the editing permission list.
  • the terminal device after receiving an edit request for a functional module, the terminal device will obtain the registered authorization information of the functional module based on the module identifier of the functional module, and determine whether the authorization information is the authorized information of the functional module. If the registered authorization information is not, it means that the edit request is an illegal edit request, and request failure information is returned; if it is, it means that the edit request is a legal edit request, and the relevant operation of S1052 is performed.
  • the terminal device after determining that the authorization information is the registered authorization information, the terminal device will obtain the editing authority list associated with the authorization information, and the editing authority list records the executable editing operations of the authorization information, and then Check whether the edit type is in the edit permission list, so as to determine whether the edit request is legal. If the editing type is not in the editing permission list, the request failure message is returned; otherwise, if the editing type is in the editing permission list, the relevant operation of S1053 is performed.
  • the terminal device extracts the editing content in the editing request, and imports the editing content into the development environment to complete the editing operation initiated by the developer.
  • the security of editing operations and source code data can be improved, and illegal tampering of the source code data can be avoided.
  • FIG. 4 shows a specific implementation flow chart of a method S106 for generating an application program based on a core module provided by the fourth embodiment of the present application.
  • a core module-based application generation method S106 provided in this embodiment includes: S1061 to S1063, which are detailed as follows:
  • the first data type of the development environment of the function module is acquired, and the second data type of the common core module is acquired.
  • the development environment of different functional modules and the common core module are independent of each other, that is, the data format used by the two modules may be different, and the common core module needs to be relied on when the functional module is started.
  • the common core module needs to be relied on when the functional module is started.
  • a data conversion interface needs to be created. Based on this, the terminal device needs to first determine the data type corresponding to the development environment and the common core module, that is, the aforementioned first data type and second data type.
  • a data conversion interface is generated according to the first data type and the second data type.
  • the terminal device can detect whether the two data types are the same. If the two data types are the same, no data conversion is required. , Direct data interaction; On the contrary, if the two data types are not the same, create a data conversion interface to convert the first data type to the second data type and convert the second data type to the first data type.
  • the start instruction of the data conversion interface is added to the access path, and if it is detected that the access path is clicked, the data conversion interface is activated.
  • the start instruction of the interface can be added to the access path.
  • the data conversion interface will be automatically activated Therefore, the data in the core common module can be converted into a data type that matches the function module, ensuring the data interconnection between the two modules.
  • Fig. 5 shows a specific implementation flowchart of a method for generating an application based on a core module provided by the fifth embodiment of the present application.
  • the method for generating an application based on a core module provided by this embodiment is based on the common core module and the access path of each functional module.
  • the newly-added module can be directly added to the program file of the application program.
  • the terminal device can accept a module addition instruction sent by each developer, and the module addition instruction includes the module identifier of the newly added module to be added.
  • the terminal device can create an access path for the newly added module under the common core module according to the received module identifier of the newly added module, so that the user can directly call the newly added module through the newly added access path.
  • Developers can also directly add the program subfiles of the newly-added module to the storage area corresponding to the newly-added identifier, and associate the relationship between the newly-added storage area and the access path, thereby completing the purpose of function expansion.
  • function expansion by receiving module addition instructions, function expansion can be completed without changing other function modules, which improves the efficiency of function expansion and reduces development difficulty.
  • FIG. 6 shows a structural block diagram of a device for generating an application based on a core module provided by an embodiment of the present application.
  • the device for generating an application based on a core module includes units for executing the embodiment corresponding to FIG. 1 Steps in.
  • FIG. 1 shows a structural block diagram of a device for generating an application based on a core module provided by an embodiment of the present application.
  • the device for generating an application based on a core module includes units for executing the embodiment corresponding to FIG. 1 Steps in.
  • FIG. 1 and FIG. 1 For details, please refer to the related descriptions in the embodiments corresponding to FIG. 1 and FIG. 1. For ease of description, only parts related to this embodiment are shown.
  • the device for generating the application based on the core module includes:
  • a program description document obtaining unit 61 configured to obtain a program description document of an application program; the program description document includes a list of function modules of the application program and a program type;
  • the common core module generating unit 62 is configured to select a target core component matching the program type from a core component library, and construct a common core module of the application program according to all the target core components;
  • the access path creation unit 63 is configured to configure a module identifier for each function module in the function module list, and create an access path associated with the function module in the common core module based on the module identifier;
  • the development environment download unit 64 is configured to determine the module type of each of the functional modules, and download the development environment corresponding to the module type;
  • a program sub-file generating unit 65 configured to import the source code data of the function module into the development environment, and generate a program sub-file about the function module;
  • the program file generating unit 66 is configured to generate a program file of the application program according to the common core module and the access path of each of the function modules and the program subfile.
  • the development environment download unit 64 includes:
  • An association relationship establishment unit configured to create a module storage area for the function module in a database, and establish an association relationship between the module storage area and the access path of the function module;
  • the environment template extraction unit is used to extract the environment template associated with the module type from the development environment tripod library
  • a development environment generation unit configured to parse the program description document, obtain configuration parameters of the function module, and adjust the environment template based on the configuration parameters to generate a development environment of the function module;
  • the development environment packaging unit is used to download the development environment to the module storage area.
  • the program subfile generating unit 65 includes:
  • the editing request receiving unit is configured to receive an editing request regarding the development environment; the editing request includes authorization information and editing type;
  • the editing authority determination unit is configured to obtain an editing authority list associated with the authorization information, and determine whether the editing type is in the editing authority list;
  • the editing execution unit is configured to, if the editing type is in the editing permission list, extract editing content from the editing request, and modify the development environment based on the editing content.
  • the program file generating unit 66 includes:
  • a data type obtaining unit configured to obtain the first data type of the development environment of the function module, and obtain the second data type of the common core module;
  • a data interface creation unit configured to generate a data conversion interface according to the first data type and the second data type
  • the data interface associating unit is used to add the start instruction of the data conversion interface to the access path, and if it is detected that the access path is clicked, the data conversion interface is activated.
  • the device for generating the application program based on the core module further includes:
  • the module adding instruction receiving unit is configured to, if a module adding instruction is received, configure an added identifier for the newly added module corresponding to the module adding instruction;
  • the newly added module creating unit is used to create a newly added access path for the newly added identifier in the common core module.
  • the device for generating applications based on core modules provided by the embodiments of the present application can also reduce the degree of coupling between modules, achieve the purpose of independent compilation, improve compilation efficiency, and reduce development time.
  • Fig. 7 is a schematic diagram of a terminal device provided by another embodiment of the present application.
  • the terminal device 7 of this embodiment includes: a processor 70, a memory 71, and computer-readable instructions 72 stored in the memory 71 and running on the processor 70, such as an application program Generate the program.
  • the processor 70 executes the computer-readable instructions 72
  • the steps in the foregoing embodiments of the method for generating applications based on core modules are implemented, such as S101 to S106 shown in FIG. 1.
  • the processor 70 executes the computer-readable instructions 72
  • the functions of the units in the foregoing device embodiments such as the functions of the modules 61 to 66 shown in FIG. 6, are implemented.
  • the computer-readable instruction 72 may be divided into one or more units, and the one or more units are stored in the memory 71 and executed by the processor 70 to complete the application .
  • the one or more units may be a series of computer-readable instruction instruction segments capable of completing specific functions, and the instruction segment is used to describe the execution process of the computer-readable instructions 72 in the terminal device 7.
  • the computer-readable instructions 72 may be divided into a program description document obtaining unit, a common core module generating unit, an access path creating unit, a development environment downloading unit, a program subfile generating unit, and a program file generating unit. The specific functions of each unit are as described above. Said.
  • the terminal device 7 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the terminal device may include, but is not limited to, a processor 70 and a memory 71.
  • FIG. 7 is only an example of the terminal device 7 and does not constitute a limitation on the terminal device 7. It may include more or less components than shown in the figure, or a combination of certain components, or different components.
  • the terminal device may also include input and output devices, network access devices, buses, etc.
  • the so-called processor 70 may be a central processing unit (Central Processing Unit, CPU), it can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit (ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the memory 71 may be an internal storage unit of the terminal device 7, such as a hard disk or memory of the terminal device 7.
  • the memory 71 may also be an external storage device of the terminal device 7, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), and a secure digital (Secure Digital, SD) equipped on the terminal device 7. Card, Flash Card, etc.
  • the memory 71 may also include both an internal storage unit of the terminal device 7 and an external storage device.
  • the memory 71 is used to store the computer-readable instructions and other programs and data required by the terminal device.
  • the memory 71 can also be used to temporarily store data that has been output or will be output.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
  • Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

Landscapes

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

Abstract

一种基于核心模块的应用程序的生成方法及设备,所述方法包括:获取应用程序的程序描述文档(S101);从核心组件库中选取与所述程序类型匹配的目标核心组件,并根据所有所述目标核心组件构建所述应用程序的公共核心模块(S102);为所述功能模块列表内的各个功能模块配置模块标识,并基于所述模块标识在所述公共核心模块内创建所述功能模块关联的访问路径(S103);确定各个所述功能模块的模块类型,下载所述模块类型对应的开发环境(S104);将所述功能模块的源码数据导入到所述开发环境,生成关于所述功能模块的程序子文件(S105);根据所述公共核心模块、以及各个所述功能模块的所述访问路径和所述程序子文件,生成所述应用程序的程序文件(S106)。所述方法减少了各个模块之间的耦合度,实现了独立编译的目的,提高了编译效率以及减少了开发时间。

Description

一种基于核心模块的应用程序的生成方法及设备
本申请申明享有2019年01月28日递交的申请号为201910080019.4、名称为“一种应用程序的生成方法及设备”中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。
技术领域
本申请属于软件程序技术领域,尤其涉及一种基于核心模块的应用程序的生成方法及设备。
背景技术
随着应用程序或网络页面等技术的不断进步,上述应用项目的功能不断增加,往往需要多个开发团队对不同的功能分别开发。然而现有的开发技术,应用项目的编译以及部署需要等待所有功能的代码开发完成后才能执行,若不同功能模块的编译的进度不一致,则较早开发完成的团队需要等待后续团队的代码编写完成后才可以进行编译,从而大大降低了应用项目的开发效率,延长了开发周期。
技术问题
有鉴于此,本申请实施例提供了一种基于核心模块的应用程序的生成方法及设备,以解决现有的应用程序的生成技术,若不同功能模块的编译的进度不一致,则较早开发完成的团队需要等待后续团队的代码编写完成后才可以进行编译,从而导致应用项目的开发效率低,以及开发周期长的问题。
技术解决方案
本申请实施例的第一方面提供了一种基于核心模块的应用程序的生成方法,包括:
获取应用程序的程序描述文档;所述程序描述文档包含所述应用程序的功能模块列表以及程序类型;
从核心组件库中选取与所述程序类型匹配的目标核心组件,并根据所有所述目标核心组件构建所述应用程序的公共核心模块;
为所述功能模块列表内的各个功能模块配置模块标识,并基于所述模块标识在所述公共核心模块内创建所述功能模块关联的访问路径;
确定各个所述功能模块的模块类型,下载所述模块类型对应的开发环境;
将所述功能模块的源码数据导入到所述开发环境,生成关于所述功能模块的程序子文件;
根据所述公共核心模块以及各个所述功能模块的所述访问路径和所述程序子文件,生成所述应用程序的程序文件。
有益效果
本申请实施例通过在开发应用程序的程序文件时,根据应用程序的程序描述信息,建立该应用程序的核心公共模块,从而将应用程序的核心部分从各个功能模块处抽离,减少了不同功能模块之间的耦合度,实现了各个功能模块之间相互独立的目的;为了便于不同功能模块可以独立进行编译,还根据各个功能模块的模块类型配置与之对应的开发环境,开发人员可以将该功能模块的源码数据导入到该开发环境内,生成功能模块的程序子文件;继而在各个功能模块均编译完毕后,可以根据所有程序子文件、访问路径以及核心公共模块,生成应用程序的程序文件。与现有的应用程序的生成技术相比,减少了各个模块之间的耦合度,实现了独立编译的目的,提高了编译效率以及减少了开发时间。
附图说明
图1是本申请第一实施例提供的一种基于核心模块的应用程序的生成方法的实现流程图;
图2是本申请第二实施例提供的一种基于核心模块的应用程序的生成方法S104具体实现流程图;
图3是本申请第三实施例提供的一种基于核心模块的应用程序的生成方法S105具体实现流程图;
图4是本申请第四实施例提供的一种基于核心模块的应用程序的生成方法S106具体实现流程图;
图5是本申请第五实施例提供的一种基于核心模块的应用程序的生成方法具体实现流程图;
图6是本申请一实施例提供的一种基于核心模块的应用程序的生成设备的结构框图;
图7是本申请另一实施例提供的一种终端设备的示意图。
本发明的实施方式
在本申请实施例中,流程的执行主体为终端设备。该终端设备包括但不限于:服务器、计算机、智能手机以及平板电脑等能够执行应用程序的生成操作的设备。图1示出了本申请第一实施例提供的基于核心模块的应用程序的生成方法的实现流程图,详述如下:
在S101中,获取应用程序的程序描述文档;所述程序描述文档包含所述应用程序的功能模块列表以及程序类型。
在本实施例中,开发人员在开发一个应用程序之前,会编写一个关于该应用程序的程序描述文档,也可以称为应用程序的需求文档,该程序描述文档中记载有待开发的应用程序所包含的功能模块列表以及该程序所对应的程序类型。其中,功能模块列表中至少包含一个功能模块的模块标识,该模块标识可以为功能模块的模块名称和/或功能模块的描述信息,例如,某一功能模块可以通过“实时视频通话模块”这一模块名称进行表示,也可以通过“提供至少两个用户之间的实时视频通话”这一描述信息对功能模块进行描述。
可选地,在本实施例中,该功能模块列表可以具体用于限定该应用程序主菜单包含的模块列表,即当用户打开应用程序的主界面时,可以通过主界面上的导航栏直接跳转的模块列表。不同的功能模块可以通过配置模块子列表来限定该功能模块的子功能,即在主界面的导航栏下创建二级导航。主界面的导航栏中的每一个功能模块,可以交由一个开发团队进行开发,而该功能模块下包含的子模块个数可以根据该模块的需求进行确定,在此不做限定。
在本实施例中,开发人员可以将所有待开发的应用程序的程序描述文档添加到程序开发列表内。终端设备可以通过获程序开发列表中各个应用程序的开发优先级,选取优先级最高的一个或多个应用程序作为目标应用程序,并对目标应用程序执行S101至S106的相关操作。当然,开发人员也可以向终端设备发送程序启动指令来主动触发应用程序的生成流程。
在S102中,从核心组件库中选取与所述程序类型匹配的目标核心组件,并根据所有所述目标核心组件构建所述应用程序的公共核心模块。
在本实施例中,为了减少各个功能模块之间的耦合程度,终端设备需要首先构建关于该应用程序的公共核心模块,当公共核心模块创建完成后,后续开发团队在编译功能模块时,各个功能模块可以直接调用公共核心模块的公共接口以及公共线程来启动功能模块,并执行相关的测试操作,而不会影响其他功能模块的编译操作,实现各个模块独立开发的目的,提高了应用程序的开发效率,能够多个开发团队进行并行开发。
在本实施例中,不同的程序类型所对应的核心组件会存在差异。例如对于网页类型的应用程序,则需要包含flash组件、域名解析组件、登录组件等与网页展示相关的核心组件;而对于聊天交互类型的应用程序,则核心组件主要包括有TCP协议解析组件、NAT转换组件、Socket解析组件等。由于程序类型限定了应用程序主要提供的功能,而所有功能模块均是基于该主要功能上的搭建的辅助功能,即启动辅助功能需要在主要功能的启动的状态下调用。因此,主功能所包含的核心组件,即为应用程序的公共核心模块。终端设备从程序描述文档中提取程序类型,并根据程序类型确定应用程序的主要功能,并从核心组件库中提取该主要功能所需的所有目标核心组件。
在本实施例中,终端设备获取了目标核心组件后,可以对各个目标核心组件进行解析,获取各个目标核心组件的接口,并基于各个接口的接口功能,建立各个目标核心组件之间接口的连接关系,从而基于该连接关系对所有目标核心组件进行集成封装,从而生成应用程序的公共核心模块。特别地,终端设备可以配置有一个核心模块模板,终端设备可以将各个核心组件添加到核心模块模板对应的区域内,该核心模块模板记录有各个组件之间接口的连接关系,还包括有所有应用程序固有的组件,例如登录组件、注册组件等,通过将目标核心组件导入核心模块模板,实现快速生成公共核心模块的目的。
在S103中,为所述功能模块列表内的各个功能模块配置模块标识,并基于所述模块标识在所述公共核心模块内创建所述功能模块关联的访问路径。
在本实施例中,终端设备可以从程序描述文档中提取功能模块列表,确定该应用程序预计包含的所有功能模块,继而为每个功能模块配置一个唯一标识符,即上述的模块标识,该模块标识可以为功能模块在功能模块列表中的序号,基于该序号以及功能模块的模块名,生成该功能模块的模块标识,从而对于模块名相同的功能模块,也可以通过列表中排序的不同进行区分。
可选地,生成模块的标识的方式可以为:功能模块列表记录有各个功能模块的模块描述信息。终端设备可以对该模块描述信息进行语义分析,从而提取该模块描述信息包含的模块关键词,统计各个模块关键词的出现次数,选取出现次数最大的一个模块关键词作为核心关键词,并将该核心关键词识别为功能模块的模块标识。
在本实施例中,终端设备会为根据该模块标识,在公共核心模块中创建关于该功能模块的访问路径,以便用户可以在公共核心模块上,通过访问路径直接跳转至功能模块对应的使用界面上。例如,该公共核心模块包含导航栏,则终端设备可以在导航栏上添加各个功能模块的模块标识,并将该模块标识对应的字符串上设置跳转链接,即上述的访问路径,当用户点击该模块标识时,可以直接访问功能模块。通过上述的配置,各个功能模块具有独立的功能界面,减少了相互之间的耦合程度,并且均可在公共核心模块上进行跳转,访问便捷。
在S104中,确定各个所述功能模块的模块类型,下载所述模块类型对应的开发环境。
在本实施例中,为了进一步提高应用程序的搭建速度,并且方便不同功能模块在发开的过程中选取与自身功能匹配度较高的数据库类型,终端设备会为不同的模块类型预先搭建对应的开发环境,即为不同的功能模块设置与之对应的脚手架组件。通过下载已经配置好的开发环境,开发人员无需在手动进行环境搭建,并构建开发环境与核心公共模块之间的数据对接路径,从而大大减少了开发人员的工作量,提高了应用程序的开发速度。
例如,某一功能模块是基于angular技术进行搭建,即需要通过angular关联的数据形式对数据进行存储以及处理,而另一功能模块是基于react技术进行搭建,两个功能模块所使用的核心技术是存在差异的,现有技术中则需要搭建一个兼容上述两个技术的开发环境,才能够整合基于不同核心技术的功能模块。而由于S102以及S103已经将各个功能模块进行分离,并抽离了核心公共模块,因此,终端设备可以直接搭建关于两个核心技术的开发环境即可,无需考虑两个开发环境的融合情况。
在本实施例中,终端设备可以根据该功能模块的模块描述信息,确定该功能模块的模块类型,通过该模块类型可以确定功能模块所需提供的主要功能,并选取与模块类型关联度最高的一个开发环境,作为该功能模块的开发环境,并从环境数据库中下载该开发环境。特别地,为了进一步减少各个功能模块之间的耦合度,终端设备还可以为不同的功能模块配置响应的存储区域,即各个功能模块的开发数据存储于对应的存储区域内,从而避免了各个功能模块的数据进行干扰。
在S105中,将所述功能模块的源码数据导入到所述开发环境,生成关于所述功能模块的程序子文件。
在本实施例中,开发人员可以基于该开发环境,编写关于功能模块的源码数据,当源码数据编写完成后,则可以把该源码数据导入到开发环境中进行编译。在编译的过程中,功能模块可以调用公共核心模块的公共接口以及公共线程。开发人员可以通过导入与该功能模块对应的测试用例来检测功能模块的各个运行参数是否符合预设的开发需求。若功能模块通过编译测试以及各个测试用例的实际运行参数均符合预设的开发需求,则判断该功能模块开发完成,此时,终端设备会将该功能模块的开发环境以及源码数据进行封装,生成该功能模块的程序子文件。
在S106中,根据所述公共核心模块以及各个所述功能模块的所述访问路径和所述程序子文件,生成所述应用程序的程序文件
在本实施例中,终端设备在检测到各个功能模块的程序子文件均创建完成后,则可以执行S106的相关操作。基于访问路径建立核心公共模块与程序子文件之间的连接关系,从而将公共核心模块的源码数据、所有功能模块的程序子文件以及上述建立的连接关系,生成应用程序的程序文件。
可选地,终端设备还可以接收开发人员发送的程序创建指令,基于此,终端设备会检测各个功能模块是否已经具有对应的程序子文件,若所有功能模块均配置有对应的程序子文件,则将公共核心模块以及所有功能模块的程序子文件以及访问路径进行封装,生成应用程序的程序文件;若任一功能模块并未配置有程序子文件,则表示该功能模块并未开发完成,此时,终端设备会在核心公共模块上隐藏关于该功能模块的模块标识,并根据公共核心模块以及已开发完成的功能模块的访问路径以及程序子文件,生成应用程序的程序文件。在程序文件生成完毕后,若上述未封装的功能模块开发完成,则终端设备会在核心公共模块上重新显示关于该功能模块的模块标识,并将该功能模块的程序子文件以及访问路径添加到程序文件内。
以上可以看出,本申请实施例提供的一种基于核心模块的应用程序的生成方法通过在开发应用程序的程序文件时,根据应用程序的程序描述信息,建立该应用程序的核心公共模块,从而将应用程序的核心部分从各个功能模块处抽离,减少了不同功能模块之间的耦合度,实现了各个功能模块之间相互独立的目的;为了便于不同功能模块可以独立进行编译,还根据各个功能模块的模块类型配置与之对应的开发环境,开发人员可以将该功能模块的源码数据导入到该开发环境内,生成功能模块的程序子文件;继而在各个功能模块均编译完毕后,可以根据所有程序子文件、访问路径以及核心公共模块,生成应用程序的程序文件。与现有的应用程序的生成技术相比,减少了各个模块之间的耦合度,实现了独立编译的目的,提高了编译效率以及减少了开发时间。
图2示出了本申请第二实施例提供的一种基于核心模块的应用程序的生成方法S104的具体实现流程图。参见图2,相对于图1所述实施例,本实施例提供的一种基于核心模块的应用程序的生成方法S104包括:S1041~S1044,具体详述如下:
进一步地,所述确定各个所述功能模块的模块类型,下载所述模块类型对应的开发环境,包括:
在S1041中,在数据库内为所述功能模块创建模块存储区域,并建立所述模块存储区域与所述功能模块的所述访问路径的关联关系。
在本实施例中,为了减少各个功能模块数据之间的耦合度,并且便于不同的开发团队对功能模块的源码数据进行管理,终端设备会根据各个功能模块的模块标识,在数据库内创建各个功能模块的存储区域。开发团队可以将关于该功能模块的所有源码数据以及模块文件存储于该存储区域内。特别地,若该功能模块是通过JavaScript语言进行开发,则可以在数据库内创建该功能模块的js文件夹,并将关于该功能模块的所有js文件存储该功能模块的js文件夹内进行存储。
可选地,终端设备可以基于功能模块的模块类型确定所述模块存储区域的容量值。不同的功能模块对于数据容量的需求量存在差异,例如对于视频播放模块,由于需要将所需播放的视频数据进行本地缓存,因此该模块类型的模块存储区域对于数据容量的需求量较大;而对于静态产品展示的功能模块,由于各个UI控件以及展示的内容均是固定的,数据量较小,从而终端设备初始分配的模块存储区域的容量较小。
在本实施例中,终端设备在为功能模块配置模块存储区域后,会获取模块存储区域的地址范围,并建立该存储地址范围与访问路径之间的关联关系,从而可以直接基于该访问路径,跳转至功能模块的模块存储区域,实现功能模块调用的目的。
在S1042中,从开发环境脚架库中提取与所述模块类型关联的环境模板。
在本实施例中,开发环境脚架库内存储有不同模块类型的环境模块,开发人员可以基于不同模块类型的模块特性,预先配置与模块特征相匹配的环境模块,该环境模块中包含功能模块的数据库类型、系统环境、登录接口等基础环境参数。开发环境脚架库中存储有环境模块与模块类型的对应关系表,终端设备可以通过查询该对应关系表,提取得到与功能模块关联的环境模板。
在S1043中,解析所述程序描述文档,获取所述功能模块的配置参数,并基于所述配置参数调整所述环境模板,生成所述功能模块的开发环境。
在本实施例中,环境模块包含有至少一个自定义参数,该自定义参数可以基于功能模块的实际配置参数,对各个自定义参数进行赋值,从而生成的开发环境可以与功能模块相匹配。基于此,终端设备会对程序描述文档进行解析,确定功能模块所对应的描述语段,并提取关于该描述语段关于功能模块的配置参数,并获取不同的配置参数在环境模板内关联的自定义参数,将配置参数的参数值设置为自定义参数的参数值,从而得到功能模块的开发环境。
在S1044中,将所述开发环境下载至所述模块存储区域。
在本实施例中,终端设备会将该功能模块的开发环境下载到该功能模块的模块存储区域内,从而完成开发环境的搭建操作。特别地,该功能模块的所有源码数据均可以在该模块存储区域进行存储,从而便于编译时存储路径的选取,提高了编译效率。
在本申请实施例中,通过为不同的功能模块创建模块存储区域,减少功能模块之间的耦合度,并根据功能模块的模块类型,下载与之关联的环境模板,并根据功能模块的配置参数对环境模板进行调整,实现自动搭建开发环境的目的,提高了应用程序的开发效率。
图3示出了本申请第三实施例提供的一种基于核心模块的应用程序的生成方法S105的具体实现流程图。参见图3,相对于图1所述的实施例,本实施例提供的一种基于核心模块的应用程序的生成方法S105包括:S1051~S1053,具体详述如下:
进一步地,所述将所述功能模块的源码数据导入到所述开发环境,生成关于所述功能模块的程序子文件,包括:
在S1051中,接收关于所述开发环境的编辑请求;所述编辑请求包括授权信息以及编辑类型。
在本实施例中,不同的功能模块可以交由不同的开发团队进行开发操作,即功能模块所属的开发人员存在差异,因此为了便于开发团队对于各个功能模块进行管理以及避免不法分子对功能模块的源码数据以及开发环境进行恶意篡改,终端设备可以为不同的功能模块配置对应的验证信息,各个开发人员导入源码数据至开发环境或调整开发环境时,需要向终端设备上传自身的授权信息。
在本实施例中,开发人员在需要对功能模块的源码数据进行编辑时,会创建一个编辑请求。该编辑请求携带有该开发人员的授权信息,该授权信息可以为开发人员的用户名以及用户密码,还可以为一授权序列号。编辑请求还携带有本次编辑操作编辑类型,该编辑类型包括:源码修改类型、源码删除类型、源码添加类型以及源码查看类型。开发人员可以在本地的用户终端生成编辑请求并发送给终端设备。
在S1052中,获取与所述授权信息关联的编辑权限列表,并判断所述编辑类型是否在所述编辑权限列表内。
在本实施例中,终端设备在接收到关于功能模块的编辑请求后,会基于功能模块的模块标识,获取该功能模块的已登记的授权信息,并判断该授权信息是否为该功能模块的已登记的授权信息,若否,则表示该编辑请求为非法编辑请求,返回请求失败信息;若是,则表示该编辑请求为合法编辑请求,则执行S1052的相关操作。
在本实施例中,终端设备在判断该授权信息为已登记的授权信息后,则会获取该授权信息关联的编辑权限列表,该编辑权限列表记录有该授权信息的可执行的编辑操作,继而检测该编辑类型是否在编辑权限列表内,从而判断本次编辑请求是否合法。若该编辑类型并非在编辑权限列表内,则返回请求失败信息;反之,若该编辑类型在编辑权限列表中,则执行S1053的相关操作。
在S1053中,若所述编辑类型在所述编辑权限列表内,则从所述编辑请求提取编辑内容,基于所述编辑内容修改所述开发环境。
在本实施例中,终端设备会提取编辑请求中的编辑内容,并将编辑内容导入到开发环境中,完成开发人员发起的编辑操作。
在本申请实施例中,通过为不同的功能模块配置对应的权限信息,从而能够提高编辑操作以及源码数据的安全性,避免不法分子对源码数据进行非法篡改。
图4示出了本申请第四实施例提供的一种基于核心模块的应用程序的生成方法S106的具体实现流程图。参见图4,相对于图1至图3所述实施例,本实施例提供的一种基于核心模块的应用程序的生成方法S106包括:S1061~S1063,具体详述如下:
在S1061中,获取所述功能模块的所述开发环境的第一数据类型,以及获取所述公共核心模块的第二数据类型。
在本实施例中,由于不同的功能模块的开发环境与公共核心模块之间是相互独立的,即两个模块所采用的数据格式可能会存在差异,而由于启动功能模块时需要依赖公共核心模块的运行,并调用公共核心模块的接口以及线程,两者之间存在数据交互。为了对实现两个不同的模块之间数据的互通需要创建一个数据转换接口。基于此,终端设备需要首先确定开发环境以及公共核心模块所对应的数据类型,即上述的第一数据类型以及第二数据类型。
在S1062中,根据所述第一数据类型以及所述第二数据类型生成数据转换接口。
在本实施例中,终端设备在确定了开发环境的第一数据类型以及公共核心模块的第二数据类型后,可以检测两个数据类型是否相同,若两个数据类型相同,则无需进行数据转换,直接进行数据交互;反之,若两个数据类型不相同,则创建一个数据转换接口,从而实现将第一数据类型转换至第二数据类型,以及将第二数据类型转换至第一数据类型。
在S1063中,将所述数据转换接口的启动指令添加到所述访问路径,若检测到点击所述访问路径,则激活所述数据转换接口。
在本实施例中,终端设备在创建了实现两个数据类型进行转换的接口后,可以将该接口的启动指令添加到访问路径内,当用户点击该访问路径时,该数据转换接口会自动激活,从而可以将核心公共模块内的数据转换为与功能模块相匹配的数据类型,保证了两个模块之间的数据互联。
在本申请实施例中,通过为不同的功能模块配置数据转换接口,即便两个模块所采用的开发环境不同,也可以保证数据之间的互联,提高了开发的自由度。
图5示出了本申请第五实施例提供的一种基于核心模块的应用程序的生成方法的具体实现流程图。参见图5,相对于图1-图3所述实施例,本实施例提供的一种基于核心模块的应用程序的生成方法在根据所述公共核心模块以及各个所述功能模块的所述访问路径和所述程序子文件,生成所述应用程序的程序文件之后,还包括:S501~S502,具体详述如下:
在S501中,若接收到模块添加指令,则为所述模块添加指令对应的新增模块配置新增标识。
在本实施例中,由于不同的功能模块之间是相互独立的,因此终端设备需要对应用程序进行功能扩展时,可以直接将新增模块添加到应用程序的程序文件内。基于此,终端设备可以接受各个开发人员发送的模块添加指令,该模块添加指令包含有所需添加的新增模块的模块标识。
在S502中,在所述公共核心模块中创建关于所述新增标识的新增访问路径。
在本实施例中,终端设备可以根据接收到的新增模块的模块标识,在公共核心模块下创建关于该新增模块的访问路径,从而用户可以通过该新增访问路径直接调用新增模块。开发人员还可以将新增模块的程序子文件直接添加到该新增标识所对应的存储区域内,并关联新增存储区域与访问路径之间的关联关系,从而完成功能扩展的目的。
在本申请实施例中,通过接收模块添加指令,能够在不对其他功能模块进行变更的情况下,完成功能扩展,提高了功能扩展的效率以及降低了开发难度。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
图6示出了本申请一实施例提供的一种基于核心模块的应用程序的生成设备的结构框图,该基于核心模块的应用程序的生成设备包括的各单元用于执行图1对应的实施例中的各步骤。具体请参阅图1与图1所对应的实施例中的相关描述。为了便于说明,仅示出了与本实施例相关的部分。
参见图6,所述基于核心模块的应用程序的生成设备包括:
程序描述文档获取单元61,用于获取应用程序的程序描述文档;所述程序描述文档包含所述应用程序的功能模块列表以及程序类型;
公共核心模块生成单元62,用于从核心组件库中选取与所述程序类型匹配的目标核心组件,并根据所有所述目标核心组件构建所述应用程序的公共核心模块;
访问路径创建单元63,用于为所述功能模块列表内的各个功能模块配置模块标识,并基于所述模块标识在所述公共核心模块内创建所述功能模块关联的访问路径;
开发环境下载单元64,用于确定各个所述功能模块的模块类型,下载所述模块类型对应的开发环境;
程序子文件生成单元65,用于将所述功能模块的源码数据导入到所述开发环境,生成关于所述功能模块的程序子文件;
程序文件生成单元66,用于根据所述公共核心模块以及各个所述功能模块的所述访问路径和所述程序子文件,生成所述应用程序的程序文件。
可选地,所述开发环境下载单元64包括:
关联关系建立单元,用于在数据库内为所述功能模块创建模块存储区域,并建立所述模块存储区域与所述功能模块的所述访问路径的关联关系;
环境模板提取单元,用于从开发环境脚架库中提取与所述模块类型关联的环境模板;
开发环境生成单元,用于解析所述程序描述文档,获取所述功能模块的配置参数,并基于所述配置参数调整所述环境模板,生成所述功能模块的开发环境;
开发环境封装单元,用于将所述开发环境下载至所述模块存储区域。
可选地,所述程序子文件生成单元65包括:
编辑请求接收单元,用于接收关于所述开发环境的编辑请求;所述编辑请求包括授权信息以及编辑类型;
编辑权限判定单元,用于获取与所述授权信息关联的编辑权限列表,并判断所述编辑类型是否在所述编辑权限列表内;
编辑执行单元,用于若所述编辑类型在所述编辑权限列表内,则从所述编辑请求提取编辑内容,基于所述编辑内容修改所述开发环境。
可选地,所述程序文件生成单元66包括:
数据类型获取单元,用于获取所述功能模块的所述开发环境的第一数据类型,以及获取所述公共核心模块的第二数据类型;
数据接口创建单元,用于根据所述第一数据类型以及所述第二数据类型生成数据转换接口;
数据接口关联单元,用于将所述数据转换接口的启动指令添加到所述访问路径,若检测到点击所述访问路径,则激活所述数据转换接口。
可选地,所述基于核心模块的应用程序的生成设备还包括:
模块添加指令接收单元,用于若接收到模块添加指令,则为所述模块添加指令对应的新增模块配置新增标识;
新增模块创建单元,用于在所述公共核心模块中创建关于所述新增标识的新增访问路径。
因此,本申请实施例提供的基于核心模块的应用程序的生成设备同样可以减少了各个模块之间的耦合度,实现了独立编译的目的,提高了编译效率以及减少了开发时间。
图7是本申请另一实施例提供的一种终端设备的示意图。如图7所示,该实施例的终端设备7包括:处理器70、存储器71以及存储在所述存储器71中并可在所述处理器70上运行的计算机可读指令72,例如应用程序的生成程序。所述处理器70执行所述计算机可读指令72时实现上述各个基于核心模块的应用程序的生成方法实施例中的步骤,例如图1所示的S101至S106。或者,所述处理器70执行所述计算机可读指令72时实现上述各装置实施例中各单元的功能,例如图6所示模块61至66功能。
示例性的,所述计算机可读指令72可以被分割成一个或多个单元,所述一个或者多个单元被存储在所述存储器71中,并由所述处理器70执行,以完成本申请。所述一个或多个单元可以是能够完成特定功能的一系列计算机可读指令指令段,该指令段用于描述所述计算机可读指令72在所述终端设备7中的执行过程。例如,所述计算机可读指令72可以被分割程序描述文档获取单元、公共核心模块生成单元、访问路径创建单元、开发环境下载单元、程序子文件生成单元以及程序文件生成单元,各单元具体功能如上所述。
所述终端设备7可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述终端设备可包括,但不仅限于,处理器70、存储器71。本领域技术人员可以理解,图7仅仅是终端设备7的示例,并不构成对终端设备7的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备还可以包括输入输出设备、网络接入设备、总线等。
所称处理器70可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述存储器71可以是所述终端设备7的内部存储单元,例如终端设备7的硬盘或内存。所述存储器71也可以是所述终端设备7的外部存储设备,例如所述终端设备7上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital, SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器71还可以既包括所述终端设备7的内部存储单元也包括外部存储设备。所述存储器71用于存储所述计算机可读指令以及所述终端设备所需的其他程序和数据。所述存储器71还可以用于暂时地存储已经输出或者将要输出的数据。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一计算机非易失性可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink) DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种基于核心模块的应用程序的生成方法,其特征在于,包括:
    获取应用程序的程序描述文档;所述程序描述文档包含所述应用程序的功能模块列表以及程序类型;
    从核心组件库中选取与所述程序类型匹配的目标核心组件,并根据所有所述目标核心组件构建所述应用程序的公共核心模块;
    为所述功能模块列表内的各个功能模块配置模块标识,并基于所述模块标识在所述公共核心模块内创建所述功能模块关联的访问路径;
    确定各个所述功能模块的模块类型,下载所述模块类型对应的开发环境;
    将所述功能模块的源码数据导入到所述开发环境,生成关于所述功能模块的程序子文件;
    根据所述公共核心模块以及各个所述功能模块的所述访问路径和所述程序子文件,生成所述应用程序的程序文件。
  2. 根据权利要求1所述的生成方法,其特征在于,所述确定各个所述功能模块的模块类型,下载所述模块类型对应的开发环境,包括:
    在数据库内为所述功能模块创建模块存储区域,并建立所述模块存储区域与所述功能模块的所述访问路径的关联关系;
    从开发环境脚架库中提取与所述模块类型关联的环境模板;
    解析所述程序描述文档,获取所述功能模块的配置参数,并基于所述配置参数调整所述环境模板,生成所述功能模块的开发环境;
    将所述开发环境下载至所述模块存储区域。
  3. 根据权利要求1所述的生成方法,其特征在于,所述将所述功能模块的源码数据导入到所述开发环境,生成关于所述功能模块的程序子文件,包括:
    接收关于所述开发环境的编辑请求;所述编辑请求包括授权信息以及编辑类型;
    获取与所述授权信息关联的编辑权限列表,并判断所述编辑类型是否在所述编辑权限列表内;
    若所述编辑类型在所述编辑权限列表内,则从所述编辑请求提取编辑内容,基于所述编辑内容修改所述开发环境。
  4. 根据权利要求1-3任一项所述的生成方法,其特征在于,所述根据所述公共核心模块、所述访问路径以及各个所述功能模块的所述访问路径的和所述子程序文件程序子文件,生成所述应用程序的程序文件,包括:
    获取所述功能模块的所述开发环境的第一数据类型,以及获取所述公共核心模块的第二数据类型;
    根据所述第一数据类型以及所述第二数据类型生成数据转换接口;
    将所述数据转换接口的启动指令添加到所述访问路径,若检测到点击所述访问路径,则激活所述数据转换接口。
  5. 根据权利要求1-3任一项所述的生成方法,其特征在于,在根据所述公共核心模块以及各个所述功能模块的所述访问路径和所述程序子文件,生成所述应用程序的程序文件之后,还包括:
    若接收到模块添加指令,则为所述模块添加指令对应的新增模块配置新增标识;
    在所述公共核心模块中创建关于所述新增标识的新增访问路径。
  6. 一种基于核心模块的应用程序的生成设备,其特征在于,包括:
    程序描述文档获取单元,用于获取应用程序的程序描述文档;所述程序描述文档包含所述应用程序的功能模块列表以及程序类型;
    公共核心模块生成单元,用于从核心组件库中选取与所述程序类型匹配的目标核心组件,并根据所有所述目标核心组件构建所述应用程序的公共核心模块;
    访问路径创建单元,用于为所述功能模块列表内的各个功能模块配置模块标识,并基于所述模块标识在所述公共核心模块内创建所述功能模块关联的访问路径;
    开发环境下载单元,用于确定各个所述功能模块的模块类型,下载所述模块类型对应的开发环境;
    程序子文件生成单元,用于将所述功能模块的源码数据导入到所述开发环境,生成关于所述功能模块的程序子文件;
    程序文件生成单元,用于根据所述公共核心模块以及各个所述功能模块的所述访问路径和所述程序子文件,生成所述应用程序的程序文件。
  7. 根据权利要求6所述的生成设备,其特征在于,所述开发环境下载单元包括:
    关联关系建立单元,用于在数据库内为所述功能模块创建模块存储区域,并建立所述模块存储区域与所述功能模块的所述访问路径的关联关系;
    环境模板提取单元,用于从开发环境脚架库中提取与所述模块类型关联的环境模板;
    开发环境生成单元,用于解析所述程序描述文档,获取所述功能模块的配置参数,并基于所述配置参数调整所述环境模板,生成所述功能模块的开发环境;
    开发环境封装单元,用于将所述开发环境下载至所述模块存储区域。
  8. 根据权利要求6所述的生成设备,其特征在于,所述程序子文件生成单元包括:
    编辑请求接收单元,用于接收关于所述开发环境的编辑请求;所述编辑请求包括授权信息以及编辑类型;
    编辑权限判定单元,用于获取与所述授权信息关联的编辑权限列表,并判断所述编辑类型是否在所述编辑权限列表内;
    编辑执行单元,用于若所述编辑类型在所述编辑权限列表内,则从所述编辑请求提取编辑内容,基于所述编辑内容修改所述开发环境。
  9. 根据权利要求6-8任一项所述的生成设备,其特征在于,所述程序文件生成单元包括:
    数据类型获取单元,用于获取所述功能模块的所述开发环境的第一数据类型,以及获取所述公共核心模块的第二数据类型;
    数据接口创建单元,用于根据所述第一数据类型以及所述第二数据类型生成数据转换接口;
    数据接口关联单元,用于将所述数据转换接口的启动指令添加到所述访问路径,若检测到点击所述访问路径,则激活所述数据转换接口。
  10. 根据权利要求6-8任一项所述的生成设备,其特征在于,所述基于核心模块的应用程序的生成设备还包括:
    模块添加指令接收单元,用于若接收到模块添加指令,则为所述模块添加指令对应的新增模块配置新增标识;
    新增模块创建单元,用于在所述公共核心模块中创建关于所述新增标识的新增访问路径。
  11. 一种终端设备,其特征在于,所述终端设备包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时执行以下步骤:
    获取应用程序的程序描述文档;所述程序描述文档包含所述应用程序的功能模块列表以及程序类型;
    从核心组件库中选取与所述程序类型匹配的目标核心组件,并根据所有所述目标核心组件构建所述应用程序的公共核心模块;
    为所述功能模块列表内的各个功能模块配置模块标识,并基于所述模块标识在所述公共核心模块内创建所述功能模块关联的访问路径;
    确定各个所述功能模块的模块类型,下载所述模块类型对应的开发环境;
    将所述功能模块的源码数据导入到所述开发环境,生成关于所述功能模块的程序子文件;
    根据所述公共核心模块以及各个所述功能模块的所述访问路径和所述程序子文件,生成所述应用程序的程序文件。
  12. 根据权利要求11所述的终端设备,其特征在于,所述确定各个所述功能模块的模块类型,下载所述模块类型对应的开发环境,包括:
    在数据库内为所述功能模块创建模块存储区域,并建立所述模块存储区域与所述功能模块的所述访问路径的关联关系;
    从开发环境脚架库中提取与所述模块类型关联的环境模板;
    解析所述程序描述文档,获取所述功能模块的配置参数,并基于所述配置参数调整所述环境模板,生成所述功能模块的开发环境;
    将所述开发环境下载至所述模块存储区域。
  13. 根据权利要求11所述的中的终端设备,其特征在于,所述将所述功能模块的源码数据导入到所述开发环境,生成关于所述功能模块的程序子文件,包括:
    接收关于所述开发环境的编辑请求;所述编辑请求包括授权信息以及编辑类型;
    获取与所述授权信息关联的编辑权限列表,并判断所述编辑类型是否在所述编辑权限列表内;
    若所述编辑类型在所述编辑权限列表内,则从所述编辑请求提取编辑内容,基于所述编辑内容修改所述开发环境。
  14. 根据权利要求11-13任一项所述的终端设备,其特征在于,所述根据所述公共核心模块、所述访问路径以及各个所述功能模块的所述访问路径的和所述子程序文件程序子文件,生成所述应用程序的程序文件,包括:
    获取所述功能模块的所述开发环境的第一数据类型,以及获取所述公共核心模块的第二数据类型;
    根据所述第一数据类型以及所述第二数据类型生成数据转换接口;
    将所述数据转换接口的启动指令添加到所述访问路径,若检测到点击所述访问路径,则激活所述数据转换接口。
  15. 根据权利要求11-13任一项所述的终端设备,其特征在于,在根据所述公共核心模块以及各个所述功能模块的所述访问路径和所述程序子文件,生成所述应用程序的程序文件之后,所述计算机可读指令被处理器执行时还实现如下步骤:
    若接收到模块添加指令,则为所述模块添加指令对应的新增模块配置新增标识;
    在所述公共核心模块中创建关于所述新增标识的新增访问路径。
  16. 一种计算机非易失性可读存储介质,所述计算机非易失性可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现如下步骤:
    获取应用程序的程序描述文档;所述程序描述文档包含所述应用程序的功能模块列表以及程序类型;
    从核心组件库中选取与所述程序类型匹配的目标核心组件,并根据所有所述目标核心组件构建所述应用程序的公共核心模块;
    为所述功能模块列表内的各个功能模块配置模块标识,并基于所述模块标识在所述公共核心模块内创建所述功能模块关联的访问路径;
    确定各个所述功能模块的模块类型,下载所述模块类型对应的开发环境;
    将所述功能模块的源码数据导入到所述开发环境,生成关于所述功能模块的程序子文件;
    根据所述公共核心模块以及各个所述功能模块的所述访问路径和所述程序子文件,生成所述应用程序的程序文件。
  17. 根据权利要求16所述的计算机非易失性可读存储介质,其特征在于,所述确定各个所述功能模块的模块类型,下载所述模块类型对应的开发环境,包括:
    在数据库内为所述功能模块创建模块存储区域,并建立所述模块存储区域与所述功能模块的所述访问路径的关联关系;
    从开发环境脚架库中提取与所述模块类型关联的环境模板;
    解析所述程序描述文档,获取所述功能模块的配置参数,并基于所述配置参数调整所述环境模板,生成所述功能模块的开发环境;
    将所述开发环境下载至所述模块存储区域。
  18. 根据权利要求16所述的计算机非易失性可读存储介质,其特征在于,所述将所述功能模块的源码数据导入到所述开发环境,生成关于所述功能模块的程序子文件,包括:
    接收关于所述开发环境的编辑请求;所述编辑请求包括授权信息以及编辑类型;
    获取与所述授权信息关联的编辑权限列表,并判断所述编辑类型是否在所述编辑权限列表内;
    若所述编辑类型在所述编辑权限列表内,则从所述编辑请求提取编辑内容,基于所述编辑内容修改所述开发环境。
  19. 根据权利要求16-18任一项所述的计算机非易失性可读存储介质,其特征在于,所述根据所述公共核心模块、所述访问路径以及各个所述功能模块的所述访问路径的和所述子程序文件程序子文件,生成所述应用程序的程序文件,包括:
    获取所述功能模块的所述开发环境的第一数据类型,以及获取所述公共核心模块的第二数据类型;
    根据所述第一数据类型以及所述第二数据类型生成数据转换接口;
    将所述数据转换接口的启动指令添加到所述访问路径,若检测到点击所述访问路径,则激活所述数据转换接口。
  20. 如权利要求16-18任一项所述的计算机非易失性可读存储介质,其特征在于,在根据所述公共核心模块以及各个所述功能模块的所述访问路径和所述程序子文件,生成所述应用程序的程序文件之后,所述计算机可读指令被处理器执行时还实现如下步骤:
    若接收到模块添加指令,则为所述模块添加指令对应的新增模块配置新增标识;
    在所述公共核心模块中创建关于所述新增标识的新增访问路径。
PCT/CN2019/118570 2019-01-28 2019-11-14 一种基于核心模块的应用程序的生成方法及设备 WO2020155776A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910080019.4A CN109885311B (zh) 2019-01-28 2019-01-28 一种应用程序的生成方法及设备
CN201910080019.4 2019-01-28

Publications (1)

Publication Number Publication Date
WO2020155776A1 true WO2020155776A1 (zh) 2020-08-06

Family

ID=66927042

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/118570 WO2020155776A1 (zh) 2019-01-28 2019-11-14 一种基于核心模块的应用程序的生成方法及设备

Country Status (2)

Country Link
CN (1) CN109885311B (zh)
WO (1) WO2020155776A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230920A (zh) * 2020-10-19 2021-01-15 深圳市中农网有限公司 页面模块组合的方法及装置、存储介质及计算机设备
CN112817601A (zh) * 2021-02-24 2021-05-18 深圳壹账通智能科技有限公司 可配置化的程序生成方法、装置、电子设备及存储介质
CN114168111A (zh) * 2021-12-07 2022-03-11 北京五八信息技术有限公司 组件化路由实现方法、设备、产品及存储介质

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885311B (zh) * 2019-01-28 2023-09-29 平安科技(深圳)有限公司 一种应用程序的生成方法及设备
CN110377275A (zh) * 2019-07-18 2019-10-25 中汇信息技术(上海)有限公司 自动创建应用程序的方法和存储介质
CN110737426B (zh) * 2019-09-06 2022-05-06 未鲲(上海)科技服务有限公司 程序块创建方法、装置、计算机设备和存储介质
CN110688112A (zh) * 2019-09-25 2020-01-14 上海创功通讯技术有限公司 多项目共线开发代码的自动入库的方法及系统
CN112667274A (zh) * 2019-10-15 2021-04-16 北京地平线机器人技术研发有限公司 生成应用程序编程接口文档的方法、装置及电子设备
CN111240689B (zh) * 2020-01-13 2023-08-01 广州虎牙科技有限公司 应用程序的构建方法、装置、设备及存储介质
CN111290737B (zh) * 2020-01-20 2023-03-21 北京字节跳动网络技术有限公司 用于应用程序开发的方法、装置及电子设备
CN111258571A (zh) * 2020-02-11 2020-06-09 达闼科技(北京)有限公司 机器人应用程序开发方法、系统、装置及存储介质
CN111352618A (zh) * 2020-03-30 2020-06-30 北京思特奇信息技术股份有限公司 应用程序组装方法、装置、电子设备及存储介质
CN112835647B (zh) * 2021-02-24 2023-07-25 珠海优特电力科技股份有限公司 应用软件配置方法、配置装置、存储介质及电子装置
CN113535492B (zh) * 2021-07-20 2022-04-08 深圳市博辰智控有限公司 设备的开发方法、装置、设备及存储介质
CN113535132B (zh) * 2021-07-26 2024-05-07 中移(杭州)信息技术有限公司 设备接入方法、装置、终端设备以及存储介质
CN113625999B (zh) * 2021-08-10 2024-04-09 北京阅见未来网络科技有限公司 应用程序的生成方法、装置、设备及存储介质
CN113760300B (zh) * 2021-09-13 2023-10-27 武汉联影智融医疗科技有限公司 软件持续集成方法、装置、计算机设备和存储介质
CN114826919B (zh) * 2022-03-21 2023-09-22 浪潮思科网络科技有限公司 一种基于sdn的负载均衡软件纳管方法、装置、设备及介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450929A (zh) * 2017-08-10 2017-12-08 武汉斗鱼网络科技有限公司 页面开发方法及装置
CN107748662A (zh) * 2017-11-17 2018-03-02 深圳市泉眼网络科技有限公司 应用程序开发方法、终端及计算机可读存储介质
CN108681473A (zh) * 2018-05-18 2018-10-19 广州酷狗计算机科技有限公司 应用程序生成、运行方法、装置、计算机设备和存储介质
CN109885311A (zh) * 2019-01-28 2019-06-14 平安科技(深圳)有限公司 一种应用程序的生成方法及设备

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8707253B2 (en) * 2010-11-05 2014-04-22 Dee Gee Holdings, Llc Method and computer program product for creating a questionnaire interface program
CN103176774A (zh) * 2011-12-21 2013-06-26 中国移动通信集团广东有限公司 应用程序的编译方法、装置以及系统
CN103543993B (zh) * 2012-07-11 2017-07-28 深圳市华高软件科技有限公司 应用程序构建方法和系统
CN104239114A (zh) * 2013-11-12 2014-12-24 新华瑞德(北京)网络科技有限公司 应用程序的编译处理方法及装置
CN105022630B (zh) * 2015-06-30 2019-01-22 中标软件有限公司 一种组件管理系统及组件管理方法
CN106897072B (zh) * 2017-02-28 2022-01-07 北京三快在线科技有限公司 业务工程调用方法、装置及电子设备
CN107273126B (zh) * 2017-06-15 2021-02-09 中国银行股份有限公司 应用开发方法和装置
CN108363587B (zh) * 2018-03-07 2022-02-01 平安普惠企业管理有限公司 应用程序运行监控方法、装置、计算机设备和存储介质
CN109146251A (zh) * 2018-07-24 2019-01-04 武汉空心科技有限公司 基于组件的开发方法和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450929A (zh) * 2017-08-10 2017-12-08 武汉斗鱼网络科技有限公司 页面开发方法及装置
CN107748662A (zh) * 2017-11-17 2018-03-02 深圳市泉眼网络科技有限公司 应用程序开发方法、终端及计算机可读存储介质
CN108681473A (zh) * 2018-05-18 2018-10-19 广州酷狗计算机科技有限公司 应用程序生成、运行方法、装置、计算机设备和存储介质
CN109885311A (zh) * 2019-01-28 2019-06-14 平安科技(深圳)有限公司 一种应用程序的生成方法及设备

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230920A (zh) * 2020-10-19 2021-01-15 深圳市中农网有限公司 页面模块组合的方法及装置、存储介质及计算机设备
CN112817601A (zh) * 2021-02-24 2021-05-18 深圳壹账通智能科技有限公司 可配置化的程序生成方法、装置、电子设备及存储介质
CN114168111A (zh) * 2021-12-07 2022-03-11 北京五八信息技术有限公司 组件化路由实现方法、设备、产品及存储介质
CN114168111B (zh) * 2021-12-07 2024-04-05 北京五八信息技术有限公司 组件化路由实现方法、设备、产品及存储介质

Also Published As

Publication number Publication date
CN109885311B (zh) 2023-09-29
CN109885311A (zh) 2019-06-14

Similar Documents

Publication Publication Date Title
WO2020155776A1 (zh) 一种基于核心模块的应用程序的生成方法及设备
WO2020155775A1 (zh) 一种基于核心开发环境的应用程序的生成方法及设备
US11281457B2 (en) Deployment of infrastructure in pipelines
JP6876790B2 (ja) カーネルイベントトリガ
WO2020173128A1 (zh) 软件开发工具包的生成方法、装置及终端设备
JP6634188B1 (ja) ユーザインタフェース拡張器
US8713530B2 (en) Test framework of visual components in a multitenant database environment
WO2020238858A1 (zh) 数据迁移方法、装置、及计算机可读存储介质
US11941021B2 (en) Automatic creation of blockchain network infrastructures
WO2017129016A1 (zh) 一种资源访问方法、装置及系统
WO2022252637A1 (zh) 基于浏览器的rpa实现方法、装置、设备及介质
US9374275B2 (en) Rapid application development using a content management system
WO2016073452A1 (en) Opening local applications from browsers
WO2018039875A1 (zh) 应用升级包获取方法及装置
WO2021258951A1 (zh) 一种镜像文件生成方法、装置和计算机可读存储介质
US9513762B1 (en) Static content updates
WO2022095518A1 (zh) 接口自动化测试方法、装置、计算机设备及存储介质
US10592595B2 (en) Maintaining multiple versions of a collection of content items
WO2022141703A1 (zh) 基于区块链平台的智能合约部署和调用方法及相关设备
CN116166278A (zh) 一种应用管理方法及相关系统
CN108156009B (zh) 一种服务调用方法及装置
US9300760B2 (en) Machine-specific instruction set translation
US10579374B2 (en) Method for converting application and computing device
WO2022099913A1 (zh) 界面配置方法、装置、设备及介质
WO2021232860A1 (zh) 通信方法、装置及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19913155

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19913155

Country of ref document: EP

Kind code of ref document: A1