WO2020155775A1 - 一种基于核心开发环境的应用程序的生成方法及设备 - Google Patents

一种基于核心开发环境的应用程序的生成方法及设备 Download PDF

Info

Publication number
WO2020155775A1
WO2020155775A1 PCT/CN2019/118560 CN2019118560W WO2020155775A1 WO 2020155775 A1 WO2020155775 A1 WO 2020155775A1 CN 2019118560 W CN2019118560 W CN 2019118560W WO 2020155775 A1 WO2020155775 A1 WO 2020155775A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
development
program
development environment
type
Prior art date
Application number
PCT/CN2019/118560
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 WO2020155775A1 publication Critical patent/WO2020155775A1/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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • This application belongs to the technical field of software programs, and in particular relates to a method and equipment for generating an application program based on a core development environment.
  • the embodiments of the present application provide a method and device for generating an application program based on a core development environment to solve the existing application program generation technology. If the compilation progress of different functional modules is inconsistent, develop earlier The completed team needs to wait for the subsequent team's code to be compiled before they can compile, which leads to low development efficiency of the application project and long development cycle.
  • the first aspect of the embodiments of the present application provides a method for generating an application program based on a core development environment, including:
  • the program description document includes a list of function modules of the application and program types;
  • Determining the module type of the function module importing the module development component corresponding to the module type to the module development area, and constructing the module development environment of the function module;
  • the program file of the application program is generated according to the core development environment and the program subfiles of each of the functional modules.
  • the embodiment of the application establishes the core development environment 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 the modules achieves the purpose of independence between each functional module; in order to facilitate the independent compilation of different functional modules, the corresponding module development environment is also configured according to the module type of each functional module, and the developer can change
  • the source code data of the functional module is imported into the development environment to generate the program sub-files of the functional module; then after each functional module is compiled, the program files of the application program can be generated according to all the program sub-files and the core development environment.
  • 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 method for generating an application based on a core development environment provided by the first embodiment of the present application;
  • FIG. 2 is a specific implementation flowchart of a method S104 for generating an application based on a core development environment provided by the second embodiment of the present application;
  • FIG. 3 is a specific implementation flow chart of a method S1044 for generating an application program based on a core development environment provided by the third embodiment of the present application;
  • FIG. 4 is a specific implementation flow chart of a method S105 for generating an application program based on a core development environment provided by the fourth embodiment of the present application;
  • FIG. 5 is a specific implementation flow chart of a method S106 for generating an application based on a core development environment provided by the fifth embodiment of the present application;
  • FIG. 6 is a structural block diagram of a device for generating applications based on a core development environment 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 development environment 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 a real-time video call 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.
  • the source code data of the core thread associated with the program type is downloaded, and the core development environment of the application program is built according to the source code data.
  • the terminal device needs to first build the core development environment for the application. After the core development environment is created, the subsequent development team compiles the functional modules.
  • the module can directly call the core thread in the core development environment and the core interface contained in the core thread to start the function module, and perform related test operations, without affecting the compilation operation of other function modules, to achieve the purpose of independent development of each module, and improve In order to improve the efficiency of application development, multiple development teams can develop in parallel.
  • the core threads 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 threads related to webpage display; and for chat interaction type applications, the core threads 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 thread included in the main function can build the core development environment of the application.
  • the terminal device extracts the program type from the program description file, determines the main function of the application program according to the program type, and downloads all core threads corresponding to the main function.
  • the terminal device after the terminal device obtains the source code data of the core thread, it can analyze each source code data to obtain the thread interface contained in each core thread, and establish the relationship between each core thread based on the interface function of each thread interface.
  • the connection relationship of the interface based on the connection relationship, merge the source code data of all core threads, thereby generating the core development environment of the application.
  • a module identifier is configured for each function module in the function module list, and a module development area of each module identifier is created in the core development environment.
  • 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 function module in the common core module based on the module identifier, so that the user can directly jump to the function through the access path on the common core module
  • the corresponding user interface of the module For example, if the common core module includes a navigation bar, 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. When the user clicks When the module is identified, 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 terminal device will create a storage area for each functional module in the database according to the module identification of each functional 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 module type of the function module is determined, the module development component corresponding to the module type is imported into the module development area, and the module development environment of the function module is constructed.
  • 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 module development environment is to set up corresponding scaffolding components for different functional modules.
  • the terminal device can download all the module development components associated with the function module from the component library, and import it into the corresponding module development area of the function module, thus ensuring that the storage areas of different function modules are independent of each other, reducing The mutual influence of the functional modules in the development process, so that all the basic interfaces and basic threads required by the functional modules can be provided according to the development components of all modules. Developers can perform subsequent development operations based on the basic interfaces and basic threads. There is no need to write the basic thread and basic interface for each development, which greatly reduces the workload of development, and only needs to write the source code data related to the features of the functional module.
  • 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 determine the main functions that the functional module needs to provide through the module type, and select the degree of association with the module type to be greater than expected
  • the module development components of the associated thresholds are set, and the module development environment is created in the module development area based on all the module development components.
  • a source code file related to the function module is received, and a program subfile related to the function module is generated according to the source code file and the module development environment.
  • developers can write source code files about functional modules based on the development environment, and when the source code files are written, they can import the source code files 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 function 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 function module is completed. At this time, the terminal device will encapsulate the development environment and source code files of the function module to generate The program subfile of the function module.
  • a program file of the application program is generated according to the core development environment and the program subfiles of each of the function modules
  • 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 terminal device establishes the connection relationship between the core development environment and the program sub-files, thereby encapsulating the source code data of the core development environment and the program sub-files of each functional module to generate the program files of the application program.
  • 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 based on the core development environment establishes the core development environment of the application according to the program description information of the application when the program file of the application is developed.
  • 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,
  • the module type of each functional module is configured with the corresponding module development environment. Developers can import the source code data of the functional module into the development environment to generate the program sub-files of the functional module; then after each functional module is compiled, Can generate application program files according to all program sub-files and the core development environment.
  • 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 based on a core development environment provided by the second embodiment of the present application.
  • the method S104 for generating an application based on a core development environment 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:
  • the module development component associated with the module type is obtained from the component database.
  • the upper server can store different module development components in a database, that is, the component database, and configure one or more associated module types for each module development component. For example, for recording components, real-time communication type functional modules and video recording type functional modules all need to use this component, so one module development component can correspond to multiple module types.
  • the terminal device can extract all module development components related to the module type from the component database as the target development component, and download the source code data of the module development component from the component database.
  • the terminal device first needs to determine the component type of each module development component
  • the component type can specifically be the development language or database type used by the module development component, and a development system compatible with all component types is determined according to the component type of each module development component. For example, a certain module development component can only run under the Android system, and another module development component can run under the IOS system, Windows system and Android system, then the terminal device can select the Android system as the development of the functional module system.
  • the terminal device after the terminal device determines the development system used by the functional module, it can download the system configuration file of the development system from the database, so that the development system can be built locally based on the system configuration file.
  • the terminal device imports the obtained system configuration file into the module development area associated with the function module, and runs the system configuration file in the module development area, and the system configuration file will be updated in the module development area.
  • the entire storage area performs global configuration of data formats and environmental parameters, so as to generate a development system for functional modules, so that developers can perform related compilation operations under the development system.
  • each of the template development components is added to the development system to generate a module development environment for the functional module.
  • each template development component can be added to the development environment, so that the development system contains all the basic interfaces and basic threads required by the function module, so that it can be built on the basis of the function module. Compile in a fully configured state for threads and interfaces.
  • the relationship between the development environment and each component is improved. Compatibility, improve the stability and accuracy of the module development environment.
  • FIG. 3 shows a specific implementation flowchart of a method S1044 for generating an application based on a core development environment provided by the third embodiment of the present application.
  • the method S1044 for generating an application based on the core development environment provided by this embodiment includes: S301 to S304, which are detailed as follows:
  • a configuration page of the development system is displayed; the configuration page includes component identifications of each module development component.
  • the terminal device constructs the development system of the functional module
  • the placement position of the development component of each module can be configured, and then the module page to which the functional module belongs is set. Therefore, the terminal device generates a configuration page of the development system, and the configuration page is marked with the component identifiers of all the module development components associated with the function module.
  • the component identification can be the UI interface of the module development component, or can be identified by a character string or a preset component shape.
  • S302 receive configuration information about each of the template development components fed back by the user based on the configuration page; the configuration information includes display coordinates of each template development component.
  • the user can determine the display coordinates of each module development component by dragging the component identifier.
  • the terminal device detects the configuration completion instruction entered by the user, it generates information about the module development component according to the current drag position of the user. Configuration information; of course, the user can also directly enter the display coordinates of the component.
  • each development system is divided into multiple placement areas in the configuration page, and the user can enter the area identification of the placement area, thereby The area coordinates of the placeable area are used as the display coordinates of the module development component.
  • each of the template development components is added to the configuration page, and a module page about the function module is constructed.
  • the terminal device can add the module development component to the configuration page according to the display coordinates of each module development component, so that according to the display coordinates, the positional relationship between different module development components can be determined, and the difference between each component can be determined. Whether there is occlusion or overlap, etc., if the placement of each development component meets the needs of the developer, a module page about the function module can be generated.
  • the terminal device generates a corresponding start instruction according to the display coordinates of the module development component on the module page, that is, when it detects that the user clicks on the display coordinates in the module page, it starts the module development component and establishes the The association relationship between the start instruction and the source code data of the module development component, thereby generating the development environment for the functional module.
  • the user can configure the display position of each module development component, thereby personalizing the generation of the required module page, and improving the generation efficiency of the module page.
  • FIG. 4 shows a specific implementation flow chart of a method S105 for generating an application program based on a core development environment provided by the third embodiment of the present application.
  • a method S105 for generating an application based on a core development environment 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 module 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. 5 shows a specific implementation flowchart of a method S106 for generating an application based on a core development environment provided by the fourth embodiment of the present application.
  • a method S106 for generating an application based on a core development environment provided by this embodiment includes: S1061 to S1063, which are detailed as follows:
  • the first data type of the module development environment of the function module is acquired, and the second data type of the core development environment is acquired.
  • 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.
  • an access path for the functional module is generated based on the start instruction of the data conversion interface, 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. 6 shows a structural block diagram of a device for generating an application program based on a core development environment provided by an embodiment of the present application.
  • the device for generating an application program includes units for executing each of the devices in the embodiment corresponding to FIG. 1 step.
  • FIG. 1 shows a structural block diagram of a device for generating an application program based on a core development environment provided by an embodiment of the present application.
  • the device for generating an application program includes units for executing each of the devices in the embodiment corresponding to FIG. 1 step.
  • 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 applications based on the core development environment 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 core development environment generating unit 62 is configured to download the source code data of the core thread associated with the program type, and build the core development environment of the application program according to the source code data;
  • the module development area creating unit 63 is configured to configure a module identifier for each function module in the function module list, and create a module development area of each module identifier in the core development environment;
  • the development environment construction unit 64 is configured to determine the module type of the function module, import the module development component corresponding to the module type to the module development area, and construct the module development environment of the function module;
  • the program subfile generating unit 65 is configured to receive the source code file about the function module, and generate the program subfile about the function module according to the source code file and the module development environment;
  • the program file generating unit 66 is configured to generate a program file of the application program according to the core development environment and the program subfiles of each of the functional modules.
  • the development environment construction unit includes:
  • a module development component obtaining unit configured to obtain the module development component associated with the module type from a component database
  • the system configuration file downloading unit is configured to determine a development system compatible with all the component types based on the component type of each of the module development components, and download the system configuration file of the development system;
  • the development system creation unit is configured to run the system configuration file in the module development area, perform global system configuration on the template development area, and establish the development system of the functional module;
  • the module development environment generating unit is used to add each of the template development components in the development system to generate a module development environment for the functional module.
  • the module development environment generating unit includes:
  • a configuration page display unit configured to display the configuration page of the development system; the configuration page includes component identifications about each of the module development components;
  • the component coordinate configuration unit is configured to receive configuration information about each of the template development components fed back by the user based on the configuration page; the configuration information includes the display coordinates of each template development component;
  • the development component adding unit is configured to add each of the template development components to the configuration page based on the display coordinates to construct a module page about the function module;
  • the module page synthesis unit is configured to generate a module development environment for the functional module based on the module page and each module development component.
  • 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 application generation device provided by the embodiments of the present application can also reduce the coupling degree between various 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 above embodiments of the method for generating applications based on the core development environment 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 acquisition unit, a core development environment generation unit, a module development area creation unit, a development environment construction unit, a program subfile generation unit, and a program file generation unit.
  • the specific functions of each unit are As mentioned above.
  • 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日递交的申请号为201910080659.5、名称为“一种应用程序的生成方法及设备”中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。
技术领域
本申请属于软件程序技术领域,尤其涉及一种基于核心开发环境的应用程序的生成方法及设备。
背景技术
随着应用程序或网络页面等技术的不断进步,上述应用项目的功能不断增加,往往需要多个开发团队对不同的功能分别开发。然而现有的开发技术,应用项目的编译以及部署需要等待所有功能的代码开发完成后才能执行,若不同功能模块的编译的进度不一致,则较早开发完成的团队需要等待后续团队的代码编写完成后才可以进行编译,从而大大降低了应用项目的开发效率,延长了开发周期。
技术问题
有鉴于此,本申请实施例提供了一种基于核心开发环境的应用程序的生成方法及设备,以解决现有的应用程序的生成技术,若不同功能模块的编译的进度不一致,则较早开发完成的团队需要等待后续团队的代码编写完成后才可以进行编译,从而导致应用项目的开发效率低,以及开发周期长的问题。
技术解决方案
本申请实施例的第一方面提供了一种基于核心开发环境的应用程序的生成方法,包括:
获取应用程序的程序描述文档;所述程序描述文档包含所述应用程序的功能模块列表以及程序类型;
下载与所述程序类型关联的核心线程的源码数据,并根据所述源码数据搭建所述应用程序的核心开发环境;
为所述功能模块列表内的各个功能模块配置模块标识,并在所述核心开发环境下创建各个所述模块标识的模块开发区域;
确定所述功能模块的模块类型,将所述模块类型对应的模块开发组件导入至所述模块开发区域,构建所述功能模块的模块开发环境;
接收关于所述功能模块的源码文件,并根据所述源码文件以及所述模块开发环境,生成关于所述功能模块的程序子文件;
根据所述核心开发环境以及各个所述功能模块的所述程序子文件,生成所述应用程序的程序文件。
有益效果
本申请实施例通过在开发应用程序的程序文件时,根据应用程序的程序描述信息,建立该应用程序的核心开发环境,从而将应用程序的核心部分从各个功能模块处抽离,减少了不同功能模块之间的耦合度,实现了各个功能模块之间相互独立的目的;为了便于不同功能模块可以独立进行编译,还根据各个功能模块的模块类型配置与之对应的模块开发环境,开发人员可以将该功能模块的源码数据导入到该开发环境内,生成功能模块的程序子文件;继而在各个功能模块均编译完毕后,可以根据所有程序子文件以及核心开发环境,生成应用程序的程序文件。与现有的应用程序的生成技术相比,减少了各个模块之间的耦合度,实现了独立编译的目的,提高了编译效率以及减少了开发时间。
附图说明
图1是本申请第一实施例提供的一种基于核心开发环境的应用程序的生成方法的实现流程图;
图2是本申请第二实施例提供的一种基于核心开发环境的应用程序的生成方法S104具体实现流程图;
图3是本申请第三实施例提供的一种基于核心开发环境的应用程序的生成方法S1044具体实现流程图;
图4是本申请第四实施例提供的一种基于核心开发环境的应用程序的生成方法S105具体实现流程图;
图5是本申请第五实施例提供的一种基于核心开发环境的应用程序的生成方法S106具体实现流程图;
图6是本申请一实施例提供的一种基于核心开发环境的应用程序的生成设备的结构框图;
图7是本申请另一实施例提供的一种终端设备的示意图。
本发明的实施方式
在本申请实施例中,流程的执行主体为终端设备。该终端设备包括但不限于:服务器、计算机、智能手机以及平板电脑等能够执行应用程序的生成操作的设备。图1示出了本申请第一实施例提供的基于核心开发环境的应用程序的生成方法的实现流程图,详述如下:
在S101中,获取应用程序的程序描述文档;所述程序描述文档包含所述应用程序的功能模块列表以及程序类型。
在本实施例中,开发人员在开发一个应用程序之前,会编写一个关于该应用程序的程序描述文档,也可以称为应用程序的需求文档,该程序描述文档中记载有待开发的应用程序所包含的功能模块列表以及该程序所对应的程序类型。其中,功能模块列表中至少包含一个功能模块的模块标识,该模块标识可以为功能模块的模块名称和/或功能模块的描述信息,例如,某一功能模块可以通过“实时视频通话模块”这一模块名称进行表示,也可以通过“提供至少两个用户之间的实时视频通话”这一描述信息对功能模块进行描述。
可选地,在本实施例中,该功能模块列表可以具体用于限定该应用程序主菜单包含的模块列表,即当用户打开应用程序的主界面时,可以通过主界面上的导航栏直接跳转的模块列表。不同的功能模块可以通过配置模块子列表来限定该功能模块的子功能,即在主界面的导航栏下创建二级导航。主界面的导航栏中的每一个功能模块,可以交由一个开发团队进行开发,而该功能模块下包含的子模块个数可以根据该模块的需求进行确定,在此不做限定。
在本实施例中,开发人员可以将所有待开发的应用程序的程序描述文档添加到程序开发列表内。终端设备可以通过获程序开发列表中各个应用程序的开发优先级,选取优先级最高的一个或多个应用程序作为目标应用程序,并对目标应用程序执行S101至S106的相关操作。当然,开发人员也可以向终端设备发送程序启动指令来主动触发应用程序的生成流程。
在S102中,下载与所述程序类型关联的核心线程的源码数据,并根据所述源码数据搭建所述应用程序的核心开发环境。
在本实施例中,为了减少各个功能模块之间的耦合程度,终端设备需要首先构建关于该应用程序的核心开发环境,当核心开发环境创建完成后,后续开发团队在编译功能模块时,各个功能模块可以直接调用核心开发环境内核心线程以及核心线程所包含的核心接口来启动功能模块,并执行相关的测试操作,而不会影响其他功能模块的编译操作,实现各个模块独立开发的目的,提高了应用程序的开发效率,能够多个开发团队进行并行开发。
在本实施例中,不同的程序类型所对应的核心线程会存在差异。例如对于网页类型的应用程序,则需要包含flash组件、域名解析组件、登录组件等与网页展示相关的核心线程;而对于聊天交互类型的应用程序,则核心线程主要包括有TCP协议解析组件、NAT转换组件、Socket解析组件等。由于程序类型限定了应用程序主要提供的功能,而所有功能模块均是基于该主要功能上的搭建的辅助功能,即启动辅助功能需要在主要功能的启动的状态下调用。因此,主功能所包含的核心线程,即可以构建关于应用程序的核心开发环境。终端设备从程序描述文档中提取程序类型,并根据程序类型确定应用程序的主要功能,并下载与该主要功能对应的所有核心线程。
在本实施例中,终端设备获取了核心线程的源码数据后,可以对各个源码数据进行解析,获取各个核心线程所包含的线程接口,并基于各个线程接口的接口功能,建立各个核心线程之间接口的连接关系,从而基于该连接关系对所有核心线程的源码数据进行合并,从而生成应用程序的核心开发环境。
在S103中,为所述功能模块列表内的各个功能模块配置模块标识,并在所述核心开发环境下创建各个所述模块标识的模块开发区域。
在本实施例中,终端设备可以从程序描述文档中提取功能模块列表,确定该应用程序预计包含的所有功能模块,继而为每个功能模块配置一个唯一标识符,即上述的模块标识,该模块标识可以为功能模块在功能模块列表中的序号,基于该序号以及功能模块的模块名,生成该功能模块的模块标识,从而对于模块名相同的功能模块,也可以通过列表中排序的不同进行区分。
可选地,生成模块的标识的方式可以为:功能模块列表记录有各个功能模块的模块描述信息。终端设备可以对该模块描述信息进行语义分析,从而提取该模块描述信息包含的模块关键词,统计各个模块关键词的出现次数,选取出现次数最大的一个模块关键词作为核心关键词,并将该核心关键词识别为功能模块的模块标识。
可选地,在本实施例中,终端设备会为根据该模块标识,在公共核心模块中创建关于该功能模块的访问路径,以便用户可以在公共核心模块上,通过访问路径直接跳转至功能模块对应的使用界面上。例如,该公共核心模块包含导航栏,则终端设备可以在导航栏上添加各个功能模块的模块标识,并将该模块标识对应的字符串上设置跳转链接,即上述的访问路径,当用户点击该模块标识时,可以直接访问功能模块。通过上述的配置,各个功能模块具有独立的功能界面,减少了相互之间的耦合程度,并且均可在公共核心模块上进行跳转,访问便捷。
终端设备会根据各个功能模块的模块标识,在数据库内创建各个功能模块的存储区域。开发团队可以将关于该功能模块的所有源码数据以及模块文件存储于该存储区域内。特别地,若该功能模块是通过JavaScript语言进行开发,则可以在数据库内创建该功能模块的js文件夹,并将关于该功能模块的所有js文件存储该功能模块的js文件夹内进行存储。
可选地,终端设备可以基于功能模块的模块类型确定所述模块存储区域的容量值。不同的功能模块对于数据容量的需求量存在差异,例如对于视频播放模块,由于需要将所需播放的视频数据进行本地缓存,因此该模块类型的模块存储区域对于数据容量的需求量较大;而对于静态产品展示的功能模块,由于各个UI控件以及展示的内容均是固定的,数据量较小,从而终端设备初始分配的模块存储区域的容量较小。
在本实施例中,终端设备在为功能模块配置模块存储区域后,会获取模块存储区域的地址范围,并建立该存储地址范围与访问路径之间的关联关系,从而可以直接基于该访问路径,跳转至功能模块的模块存储区域,实现功能模块调用的目的。
在S104中,确定所述功能模块的模块类型,将所述模块类型对应的模块开发组件导入至所述模块开发区域,构建所述功能模块的模块开发环境。
在本实施例中,为了进一步提高应用程序的搭建速度,并且方便不同功能模块在发开的过程中选取与自身功能匹配度较高的数据库类型,终端设备会为不同的模块类型预先搭建对应的模块开发环境,即为不同的功能模块设置与之对应的脚手架组件。终端设备可以从组件库中,下载与功能模块关联的所有模块开发组件,并导入到该功能模块相应的模块开发区域内,从而确保了不同的功能模块所存储的区域是相互独立的,减少了功能模块在开发过程之中的相互影响,从而根据所有模块开发组件,可以提供该功能模块的所需的所有基础接口以及基础线程,开发人员可以基于该基础接口以及基础线程进行后续的开发操作,从而无需每次开发都需要对基础线程以及基础接口进行编写,大大减少了开发的工作量,只需编写与功能模块特性相关的源码数据即可。
例如,某一功能模块是基于angular技术进行搭建,即需要通过angular关联的数据形式对数据进行存储以及处理,而另一功能模块是基于react技术进行搭建,两个功能模块所使用的核心技术是存在差异的,现有技术中则需要搭建一个兼容上述两个技术的开发环境,才能够整合基于不同核心技术的功能模块。而由于S102以及S103已经将各个功能模块进行分离,并抽离了核心公共模块,因此,终端设备可以直接搭建关于两个核心技术的开发环境即可,无需考虑两个开发环境的融合情况。
在本实施例中,终端设备可以根据该功能模块的模块描述信息,确定该功能模块的模块类型,通过该模块类型可以确定功能模块所需提供的主要功能,并选取与模块类型关联度大于预设的关联阈值的各个模块开发组件,基于所有模块开发组件建立在模块开发区域创建模块开发环境。
在S105中,接收关于所述功能模块的源码文件,并根据所述源码文件以及所述模块开发环境,生成关于所述功能模块的程序子文件。
在本实施例中,开发人员可以基于该开发环境,编写关于功能模块的源码文件,当源码文件编写完成后,则可以把该源码文件导入到开发环境中进行编译。在编译的过程中,功能模块可以调用公共核心模块的公共接口以及公共线程。开发人员可以通过导入与该功能模块对应的测试用例来检测功能模块的各个运行参数是否符合预设的开发需求。若功能模块通过编译测试以及各个测试用例的实际运行参数均符合预设的开发需求,则判断该功能模块开发完成,此时,终端设备会将该功能模块的开发环境以及源码文件进行封装,生成该功能模块的程序子文件。
在S106中,根据所述核心开发环境以及各个所述功能模块的所述程序子文件,生成所述应用程序的程序文件
在本实施例中,终端设备在检测到各个功能模块的程序子文件均创建完成后,则可以执行S106的相关操作。终端设备建立核心开发环境与程序子文件之间的连接关系,从而将核心开发环境的源码数据以及各个功能模块的程序子文件进行封装,生成应用程序的程序文件。
可选地,终端设备还可以接收开发人员发送的程序创建指令,基于此,终端设备会检测各个功能模块是否已经具有对应的程序子文件,若所有功能模块均配置有对应的程序子文件,则将公共核心模块以及所有功能模块的程序子文件以及访问路径进行封装,生成应用程序的程序文件;若任一功能模块并未配置有程序子文件,则表示该功能模块并未开发完成,此时,终端设备会在核心公共模块上隐藏关于该功能模块的模块标识,并根据公共核心模块以及已开发完成的功能模块的访问路径以及程序子文件,生成应用程序的程序文件。在程序文件生成完毕后,若上述未封装的功能模块开发完成,则终端设备会在核心公共模块上重新显示关于该功能模块的模块标识,并将该功能模块的程序子文件以及访问路径添加到程序文件内。
以上可以看出,本申请实施例提供的一种基于核心开发环境的应用程序的生成方法通过在开发应用程序的程序文件时,根据应用程序的程序描述信息,建立该应用程序的核心开发环境,从而将应用程序的核心部分从各个功能模块处抽离,减少了不同功能模块之间的耦合度,实现了各个功能模块之间相互独立的目的;为了便于不同功能模块可以独立进行编译,还根据各个功能模块的模块类型配置与之对应的模块开发环境,开发人员可以将该功能模块的源码数据导入到该开发环境内,生成功能模块的程序子文件;继而在各个功能模块均编译完毕后,可以根据所有程序子文件以及核心开发环境,生成应用程序的程序文件。与现有的应用程序的生成技术相比,减少了各个模块之间的耦合度,实现了独立编译的目的,提高了编译效率以及减少了开发时间。
图2示出了本申请第二实施例提供的一种基于核心开发环境的应用程序的生成方法S104的具体实现流程图。参见图2,相对于图1所述实施例,本实施例提供的一种基于核心开发环境的应用程序的生成方法S104包括:S1041~S1044,具体详述如下:
进一步地,所述确定各个所述功能模块的模块类型,下载所述模块类型对应的开发环境,包括:
在S1041中,从组件数据库获取与所述模块类型关联的所述模块开发组件。
在本实施例中,上位服务器可以将不同的模块开发组件存储于一数据库内,即组件数据库,并为每个模块开发组件配置关联的一个或多个与之关联的模块类型。例如,对于录音组件,实时通信类型的功能模块以及视频录像类型的功能模块都需要用到该组件,因此一个模块开发组件可以对应多个模块类型。终端设备可以从组件数据库中提取与该模块类型相关的所有模块开发组件作为目标开发组件,并从组件数据库中下载该模块开发组件的源码数据。
在S1042中,基于各个所述模块开发组件的组件类型,确定与所有所述组件类型兼容的开发系统,并下载所述开发系统的系统配置文件。
在本实施例中,由于搭建关于功能模块的模块开发环境需要兼容各个模块开发组件,即各个模块开发组件需要在模块开发环境下运行,基于此,终端设备首先需要确定各个模块开发组件的组件类型,该组件类型具体可以为该模块开发组件所使用的开发语言,或数据库类型,并根据各个模块开发组件的组件类型,确定能够兼容所有组件类型的开发系统。举例性地,某一模块开发组件只能在Android系统下运行,而另一模块开发组件则可以在IOS系统、Windows系统以及Android系统下运行,则终端设备可以选取Android系统作为该功能模块的开发系统。
在本实施例中,终端设备在确定了功能模块所使用的开发系统后,则可以从数据库下载该开发系统的系统配置文件,从而可以基于系统配置文件在本地搭建开发系统。
在S1043中,在模块开发区域内运行所述系统配置文件,对所述模板开发区域进行全局系统配置,建立所述功能模块的所述开发系统。
在本实施例中,终端设备将获取得到的系统配置文件导入到功能模块关联的模块开发区域,并在该模块开发区域中运行该系统配置文件,该系统配置文件会在该模块开发区域内对整个存储区域进行数据格式以及环境参数的全局配置,从而能够生成关于功能模块的开发系统,从而开发人员可以在该开发系统下进行相关的编译操作。
在S1044中,在所述开发系统内添加各个所述模板开发组件,生成关于所述功能模块的模块开发环境。
在本实施例中,在开发系统构建完成后,可以将各个模板开发组件添加到开发环境内,从而开发系统内包含了功能模块所需的所有基础接口以及基础线程,从而能够在功能模块的基础线程以及接口均配置完备的状态下进行编译。
在本申请实施例中,通过确定各个模块开发组件的组件类型,并选取与各个组件类型匹配的开发系统,并基于该开发系统构建功能模块的开发环境,从而提高了开发环境与各个组件之间的兼容性,提高模块开发环境搭建的稳定性以及准确性。
图3示出了本申请第三实施例提供的一种基于核心开发环境的应用程序的生成方法S1044的具体实现流程图。参见图3,相对于图1所述的实施例,本实施例提供的一种基于核心开发环境的应用程序的生成方法S1044包括:S301~S304,具体详述如下:
在S301中,显示所述开发系统的配置页面;所述配置页面包含关于各个所述模块开发组件的组件标识。
在本实施例中,终端设备在构建了功能模块的开发系统后,可以配置各个模块开发组件的放置位置,则设置功能模块所属的模块页面。因此,终端设备生成开发系统的配置页面,该配置页面上标记有该功能模块所有关联的模块开发组件的组件标识。该组件标识可以为模块开发组件的UI界面,也可以为通过字符串或预设的组件形状进行标识。
在S302中,接收用户基于所述配置页面反馈的关于各个所述模板开发组件的配置信息;所述配置信息包含有各个模板开发组件的显示坐标。
在本实施例中,用户可以通过拖动组件标识来确定各个模块开发组件的显示坐标,当终端设备检测到用户输入的配置完成指令,则根据用户当前拖动的位置,生成关于模块开发组件的配置信息;当然,用户也可以直接输入关于该组件的显示坐标,可选地,配置页面中将各个开发系统划分了多个可放置区域,则用户可以输入可放置区域的区域标识,从而将该可放置区域的区域坐标作为该模块开发组件的显示坐标。
在S303中,基于所述显示坐标,将各个所述模板开发组件添加到所述配置页面,构建关于所述功能模块的模块页面。
在本实施例中,终端设备可以根据各个模块开发组件的显示坐标,将模块开发组件添加到配置页面内,从而根据该显示坐标,可以确定不同模块开发组件之间的位置关系,判断各个组件之间是否存在遮挡或重叠等情况,若各个开发组件的放置位置符合开发员的需求,则可以生成关于功能模块的模块页面。
在S304中,基于所述模块页面以及各个模块开发组件,生成关于所述功能模块的模块开发环境。
在本实施例中,终端设备根据模块开发组件在模块页面的显示坐标,生成对应的启动指令,即当检测到用户点击该模块页面内的显示坐标时,则启动该模块开发组件,并建立该启动指令与模块开发组件的源码数据之间的关联关系,从而生成关于该功能模块的开发环境。
在本申请实施例中,用户可以配置各个模块开发组件的显示位置,从而个性化生成所需的模块页面,提高了模块页面的生成效率。
图4示出了本申请第三实施例提供的一种基于核心开发环境的应用程序的生成方法S105的具体实现流程图。参见图4,相对于图1-图3所述的实施例,本实施例提供的一种基于核心开发环境的应用程序的生成方法S105包括:S1051~S1053,具体详述如下:
进一步地,所述将所述功能模块的源码数据导入到所述开发环境,生成关于所述功能模块的程序子文件,包括:
在S1051中,接收关于所述模块开发环境的编辑请求;所述编辑请求包括授权信息以及编辑类型。
在本实施例中,不同的功能模块可以交由不同的开发团队进行开发操作,即功能模块所属的开发人员存在差异,因此为了便于开发团队对于各个功能模块进行管理以及避免不法分子对功能模块的源码数据以及开发环境进行恶意篡改,终端设备可以为不同的功能模块配置对应的验证信息,各个开发人员导入源码数据至开发环境或调整开发环境时,需要向终端设备上传自身的授权信息。
在本实施例中,开发人员在需要对功能模块的源码数据进行编辑时,会创建一个编辑请求。该编辑请求携带有该开发人员的授权信息,该授权信息可以为开发人员的用户名以及用户密码,还可以为一授权序列号。编辑请求还携带有本次编辑操作编辑类型,该编辑类型包括:源码修改类型、源码删除类型、源码添加类型以及源码查看类型。开发人员可以在本地的用户终端生成编辑请求并发送给终端设备。
在S1052中,获取与所述授权信息关联的编辑权限列表,并判断所述编辑类型是否在所述编辑权限列表内。
在本实施例中,终端设备在接收到关于功能模块的编辑请求后,会基于功能模块的模块标识,获取该功能模块的已登记的授权信息,并判断该授权信息是否为该功能模块的已登记的授权信息,若否,则表示该编辑请求为非法编辑请求,返回请求失败信息;若是,则表示该编辑请求为合法编辑请求,则执行S1052的相关操作。
在本实施例中,终端设备在判断该授权信息为已登记的授权信息后,则会获取该授权信息关联的编辑权限列表,该编辑权限列表记录有该授权信息的可执行的编辑操作,继而检测该编辑类型是否在编辑权限列表内,从而判断本次编辑请求是否合法。若该编辑类型并非在编辑权限列表内,则返回请求失败信息;反之,若该编辑类型在编辑权限列表中,则执行S1053的相关操作。
在S1053中,若所述编辑类型在所述编辑权限列表内,则从所述编辑请求提取编辑内容,基于所述编辑内容修改所述模块开发环境。
在本实施例中,终端设备会提取编辑请求中的编辑内容,并将编辑内容导入到开发环境中,完成开发人员发起的编辑操作。
在本申请实施例中,通过为不同的功能模块配置对应的权限信息,从而能够提高编辑操作以及源码数据的安全性,避免不法分子对源码数据进行非法篡改。
图5示出了本申请第四实施例提供的一种基于核心开发环境的应用程序的生成方法S106的具体实现流程图。参见图5,相对于图1至图3所述实施例,本实施例提供的一种基于核心开发环境的应用程序的生成方法S106包括:S1061~S1063,具体详述如下:
在S1061中,获取所述功能模块的所述模块开发环境的第一数据类型,以及获取所述核心开发环境的第二数据类型。
在本实施例中,由于不同的功能模块的开发环境与公共核心模块之间是相互独立的,即两个模块所采用的数据格式可能会存在差异,而由于启动功能模块时需要依赖公共核心模块的运行,并调用公共核心模块的接口以及线程,两者之间存在数据交互。为了对实现两个不同的模块之间数据的互通需要创建一个数据转换接口。基于此,终端设备需要首先确定开发环境以及公共核心模块所对应的数据类型,即上述的第一数据类型以及第二数据类型。
在S1062中,根据所述第一数据类型以及所述第二数据类型生成数据转换接口。
在本实施例中,终端设备在确定了开发环境的第一数据类型以及公共核心模块的第二数据类型后,可以检测两个数据类型是否相同,若两个数据类型相同,则无需进行数据转换,直接进行数据交互;反之,若两个数据类型不相同,则创建一个数据转换接口,从而实现将第一数据类型转换至第二数据类型,以及将第二数据类型转换至第一数据类型。
在S1063中,基于所述数据转换接口的启动指令生成关于所述功能模块的访问路径,若检测到点击所述访问路径,则激活所述数据转换接口。
在本实施例中,终端设备在创建了实现两个数据类型进行转换的接口后,可以将该接口的启动指令添加到访问路径内,当用户点击该访问路径时,该数据转换接口会自动激活,从而可以将核心公共模块内的数据转换为与功能模块相匹配的数据类型,保证了两个模块之间的数据互联。
在本申请实施例中,通过为不同的功能模块配置数据转换接口,即便两个模块所采用的开发环境不同,也可以保证数据之间的互联,提高了开发的自由度。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
图6示出了本申请一实施例提供的一种基于核心开发环境的应用程序的生成设备的结构框图,该应用程序的生成设备包括的各单元用于执行图1对应的实施例中的各步骤。具体请参阅图1与图1所对应的实施例中的相关描述。为了便于说明,仅示出了与本实施例相关的部分。
参见图6,所述基于核心开发环境的应用程序的生成设备包括:
程序描述文档获取单元61,用于获取应用程序的程序描述文档;所述程序描述文档包含所述应用程序的功能模块列表以及程序类型;
核心开发环境生成单元62,用于下载与所述程序类型关联的核心线程的源码数据,并根据所述源码数据搭建所述应用程序的核心开发环境;
模块开发区域创建单元63,用于为所述功能模块列表内的各个功能模块配置模块标识,并在所述核心开发环境下创建各个所述模块标识的模块开发区域;
开发环境构建单元64,用于确定所述功能模块的模块类型,将所述模块类型对应的模块开发组件导入至所述模块开发区域,构建所述功能模块的模块开发环境;
程序子文件生成单元65,用于接收关于所述功能模块的源码文件,并根据所述源码文件以及所述模块开发环境,生成关于所述功能模块的程序子文件;
程序文件生成单元66,用于根据所述核心开发环境以及各个所述功能模块的所述程序子文件,生成所述应用程序的程序文件。
可选地,所述开发环境构建单元包括:
模块开发组件获取单元,用于从组件数据库获取与所述模块类型关联的所述模块开发组件;
系统配置文件下载单元,用于基于各个所述模块开发组件的组件类型,确定与所有所述组件类型兼容的开发系统,并下载所述开发系统的系统配置文件;
开发系统创建单元,用于在模块开发区域内运行所述系统配置文件,对所述模板开发区域进行全局系统配置,建立所述功能模块的所述开发系统;
模块开发环境生成单元,用于在所述开发系统内添加各个所述模板开发组件,生成关于所述功能模块的模块开发环境。
可选地,所述模块开发环境生成单元包括:
配置页面显示单元,用于显示所述开发系统的配置页面;所述配置页面包含关于各个所述模块开发组件的组件标识;
组件坐标配置单元,用于接收用户基于所述配置页面反馈的关于各个所述模板开发组件的配置信息;所述配置信息包含有各个模板开发组件的显示坐标;
开发组件添加单元,用于基于所述显示坐标,将各个所述模板开发组件添加到所述配置页面,构建关于所述功能模块的模块页面;
模块页面合成单元,用于基于所述模块页面以及各个模块开发组件,生成关于所述功能模块的模块开发环境。
可选地,所述程序子文件生成单元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. 根据权利要求2所述的生成方法,其特征在于,所述在所述开发系统内添加各个所述模板开发组件,生成关于所述功能模块的模块开发环境,包括:
    显示所述开发系统的配置页面;所述配置页面包含关于各个所述模块开发组件的组件标识;
    接收用户基于所述配置页面反馈的关于各个所述模板开发组件的配置信息;所述配置信息包含有各个模板开发组件的显示坐标;
    基于所述显示坐标,将各个所述模板开发组件添加到所述配置页面,构建关于所述功能模块的模块页面;
    基于所述模块页面以及各个模块开发组件,生成关于所述功能模块的模块开发环境。
  4. 根据权利要求1-3所述的生成方法,其特征在于,所述接收关于所述功能模块的源码文件,并根据所述源码文件以及所述模块开发环境,生成关于所述功能模块的程序子文件,包括:
    接收关于所述模块开发环境的编辑请求;所述编辑请求包括授权信息以及编辑类型;
    获取与所述授权信息关联的编辑权限列表,并判断所述编辑类型是否在所述编辑权限列表内;
    若所述编辑类型在所述编辑权限列表内,则从所述编辑请求提取编辑内容,基于所述编辑内容修改所述模块开发环境。
  5. 根据权利要求1-3任一项所述的生成方法,其特征在于,所述根据所述核心开发环境以及各个所述功能模块的所述程序子文件,生成所述应用程序的程序文件,包括:
    获取所述功能模块的所述模块开发环境的第一数据类型,以及获取所述核心开发环境的第二数据类型;
    根据所述第一数据类型以及所述第二数据类型生成数据转换接口;
    基于所述数据转换接口的启动指令生成关于所述功能模块的访问路径,若检测到点击所述访问路径,则激活所述数据转换接口。
  6. 一种基于核心开发环境的应用程序的生成设备,其特征在于,包括:
    程序描述文档获取单元,用于获取应用程序的程序描述文档;所述程序描述文档包含所述应用程序的功能模块列表以及程序类型;
    核心开发环境生成单元,用于下载与所述程序类型关联的核心线程的源码数据,并根据所述源码数据搭建所述应用程序的核心开发环境;
    模块开发区域创建单元,用于为所述功能模块列表内的各个功能模块配置模块标识,并在所述核心开发环境下创建各个所述模块标识的模块开发区域;
    开发环境构建单元,用于确定所述功能模块的模块类型,将所述模块类型对应的模块开发组件导入至所述模块开发区域,构建所述功能模块的模块开发环境;
    程序子文件生成单元,用于接收关于所述功能模块的源码文件,并根据所述源码文件以及所述模块开发环境,生成关于所述功能模块的程序子文件;
    程序文件生成单元,用于根据所述核心开发环境以及各个所述功能模块的所述程序子文件,生成所述应用程序的程序文件。
  7. 根据权利要求6所述的生成设备,其特征在于,所述开发环境构建单元包括:
    模块开发组件获取单元,用于从组件数据库获取与所述模块类型关联的所述模块开发组件;
    系统配置文件下载单元,用于基于各个所述模块开发组件的组件类型,确定与所有所述组件类型兼容的开发系统,并下载所述开发系统的系统配置文件;
    开发系统创建单元,用于在模块开发区域内运行所述系统配置文件,对所述模板开发区域进行全局系统配置,建立所述功能模块的所述开发系统;
    模块开发环境生成单元,用于在所述开发系统内添加各个所述模板开发组件,生成关于所述功能模块的模块开发环境。
  8. 根据权利要求7所述的生成设备,其特征在于,所述模块开发环境生成单元包括:
    配置页面显示单元,用于显示所述开发系统的配置页面;所述配置页面包含关于各个所述模块开发组件的组件标识;
    组件坐标配置单元,用于接收用户基于所述配置页面反馈的关于各个所述模板开发组件的配置信息;所述配置信息包含有各个模板开发组件的显示坐标;
    开发组件添加单元,用于基于所述显示坐标,将各个所述模板开发组件添加到所述配置页面,构建关于所述功能模块的模块页面;
    模块页面合成单元,用于基于所述模块页面以及各个模块开发组件,生成关于所述功能模块的模块开发环境。
  9. 根据权利要求6-8任一项所述的生成设备,其特征在于,所述程序子文件生成单元包括:
    编辑请求接收单元,用于接收关于所述开发环境的编辑请求;所述编辑请求包括授权信息以及编辑类型;
    编辑权限判定单元,用于获取与所述授权信息关联的编辑权限列表,并判断所述编辑类型是否在所述编辑权限列表内;
    编辑执行单元,用于若所述编辑类型在所述编辑权限列表内,则从所述编辑请求提取编辑内容,基于所述编辑内容修改所述开发环境。
  10. 根据权利要求6-8任一项所述的生成设备,其特征在于,所述程序文件生成单元包括:
    数据类型获取单元,用于获取所述功能模块的所述开发环境的第一数据类型,以及获取所述公共核心模块的第二数据类型;
    数据接口创建单元,用于根据所述第一数据类型以及所述第二数据类型生成数据转换接口;
    数据接口关联单元,用于将所述数据转换接口的启动指令添加到所述访问路径,若检测到点击所述访问路径,则激活所述数据转换接口。
  11. 一种终端设备,其特征在于,所述终端设备包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时执行以下步骤:
    获取应用程序的程序描述文档;所述程序描述文档包含所述应用程序的功能模块列表以及程序类型;
    下载与所述程序类型关联的核心线程的源码数据,并根据所述源码数据搭建所述应用程序的核心开发环境;
    为所述功能模块列表内的各个功能模块配置模块标识,并在所述核心开发环境下创建各个所述模块标识的模块开发区域;
    确定所述功能模块的模块类型,将所述模块类型对应的模块开发组件导入至所述模块开发区域,构建所述功能模块的模块开发环境;
    接收关于所述功能模块的源码文件,并根据所述源码文件以及所述模块开发环境,生成关于所述功能模块的程序子文件;
    根据所述核心开发环境以及各个所述功能模块的所述程序子文件,生成所述应用程序的程序文件。
  12. 根据权利要求11所述的终端设备,其特征在于,所述确定所述功能模块的模块类型,将所述模块类型对应的模块开发组件导入至所述模块开发区域,构建所述功能模块的模块开发环境,包括:
    从组件数据库获取与所述模块类型关联的所述模块开发组件;
    基于各个所述模块开发组件的组件类型,确定与所有所述组件类型兼容的开发系统,并下载所述开发系统的系统配置文件;
    在模块开发区域内运行所述系统配置文件,对所述模板开发区域进行全局系统配置,建立所述功能模块的所述开发系统;
    在所述开发系统内添加各个所述模板开发组件,生成关于所述功能模块的模块开发环境。
  13. 根据权利要求12所述的中的终端设备,其特征在于,所述在所述开发系统内添加各个所述模板开发组件,生成关于所述功能模块的模块开发环境,包括:
    显示所述开发系统的配置页面;所述配置页面包含关于各个所述模块开发组件的组件标识;
    接收用户基于所述配置页面反馈的关于各个所述模板开发组件的配置信息;所述配置信息包含有各个模板开发组件的显示坐标;
    基于所述显示坐标,将各个所述模板开发组件添加到所述配置页面,构建关于所述功能模块的模块页面;
    基于所述模块页面以及各个模块开发组件,生成关于所述功能模块的模块开发环境。
  14. 根据权利要求11-13任一项所述的终端设备,其特征在于,所述接收关于所述功能模块的源码文件,并根据所述源码文件以及所述模块开发环境,生成关于所述功能模块的程序子文件,包括:
    接收关于所述模块开发环境的编辑请求;所述编辑请求包括授权信息以及编辑类型;
    获取与所述授权信息关联的编辑权限列表,并判断所述编辑类型是否在所述编辑权限列表内;
    若所述编辑类型在所述编辑权限列表内,则从所述编辑请求提取编辑内容,基于所述编辑内容修改所述模块开发环境。
  15. 根据权利要求11-13任一项所述的终端设备,其特征在于,所述根据所述核心开发环境以及各个所述功能模块的所述程序子文件,生成所述应用程序的程序文件,包括:
    获取所述功能模块的所述模块开发环境的第一数据类型,以及获取所述核心开发环境的第二数据类型;
    根据所述第一数据类型以及所述第二数据类型生成数据转换接口;
    基于所述数据转换接口的启动指令生成关于所述功能模块的访问路径,若检测到点击所述访问路径,则激活所述数据转换接口。
  16. 一种计算机非易失性可读存储介质,所述计算机非易失性可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现如下步骤:
    获取应用程序的程序描述文档;所述程序描述文档包含所述应用程序的功能模块列表以及程序类型;
    下载与所述程序类型关联的核心线程的源码数据,并根据所述源码数据搭建所述应用程序的核心开发环境;
    为所述功能模块列表内的各个功能模块配置模块标识,并在所述核心开发环境下创建各个所述模块标识的模块开发区域;
    确定所述功能模块的模块类型,将所述模块类型对应的模块开发组件导入至所述模块开发区域,构建所述功能模块的模块开发环境;
    接收关于所述功能模块的源码文件,并根据所述源码文件以及所述模块开发环境,生成关于所述功能模块的程序子文件;
    根据所述核心开发环境以及各个所述功能模块的所述程序子文件,生成所述应用程序的程序文件。
  17. 根据权利要求16所述的计算机非易失性可读存储介质,其特征在于,所述确定所述功能模块的模块类型,将所述模块类型对应的模块开发组件导入至所述模块开发区域,构建所述功能模块的模块开发环境,包括:
    从组件数据库获取与所述模块类型关联的所述模块开发组件;
    基于各个所述模块开发组件的组件类型,确定与所有所述组件类型兼容的开发系统,并下载所述开发系统的系统配置文件;
    在模块开发区域内运行所述系统配置文件,对所述模板开发区域进行全局系统配置,建立所述功能模块的所述开发系统;
    在所述开发系统内添加各个所述模板开发组件,生成关于所述功能模块的模块开发环境。
  18. 根据权利要求17所述的计算机非易失性可读存储介质,其特征在于,所述在所述开发系统内添加各个所述模板开发组件,生成关于所述功能模块的模块开发环境,包括:
    显示所述开发系统的配置页面;所述配置页面包含关于各个所述模块开发组件的组件标识;
    接收用户基于所述配置页面反馈的关于各个所述模板开发组件的配置信息;所述配置信息包含有各个模板开发组件的显示坐标;
    基于所述显示坐标,将各个所述模板开发组件添加到所述配置页面,构建关于所述功能模块的模块页面;
    基于所述模块页面以及各个模块开发组件,生成关于所述功能模块的模块开发环境。
  19. 根据权利要求16-18任一项所述的计算机非易失性可读存储介质,其特征在于,所述接收关于所述功能模块的源码文件,并根据所述源码文件以及所述模块开发环境,生成关于所述功能模块的程序子文件,包括:
    接收关于所述模块开发环境的编辑请求;所述编辑请求包括授权信息以及编辑类型;
    获取与所述授权信息关联的编辑权限列表,并判断所述编辑类型是否在所述编辑权限列表内;
    若所述编辑类型在所述编辑权限列表内,则从所述编辑请求提取编辑内容,基于所述编辑内容修改所述模块开发环境。
  20. 如权利要求16-18任一项所述的计算机非易失性可读存储介质,其特征在于,所述根据所述核心开发环境以及各个所述功能模块的所述程序子文件,生成所述应用程序的程序文件,包括:
    获取所述功能模块的所述模块开发环境的第一数据类型,以及获取所述核心开发环境的第二数据类型;
    根据所述第一数据类型以及所述第二数据类型生成数据转换接口;
    基于所述数据转换接口的启动指令生成关于所述功能模块的访问路径,若检测到点击所述访问路径,则激活所述数据转换接口。
PCT/CN2019/118560 2019-01-28 2019-11-14 一种基于核心开发环境的应用程序的生成方法及设备 WO2020155775A1 (zh)

Applications Claiming Priority (2)

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

Publications (1)

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

Family

ID=66960921

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/118560 WO2020155775A1 (zh) 2019-01-28 2019-11-14 一种基于核心开发环境的应用程序的生成方法及设备

Country Status (2)

Country Link
CN (1) CN109918055B (zh)
WO (1) WO2020155775A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377354A (zh) * 2021-05-31 2021-09-10 北京沃东天骏信息技术有限公司 移动端应用的组件化开发系统

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918055B (zh) * 2019-01-28 2023-10-31 平安科技(深圳)有限公司 一种应用程序的生成方法及设备
CN110781425B (zh) * 2019-10-25 2022-09-20 北京创鑫旅程网络技术有限公司 移动端h5页面的显示方法、装置、设备及存储介质
CN111258555A (zh) * 2020-01-15 2020-06-09 上海知白智能科技有限公司 软件实现装置
CN111290737B (zh) * 2020-01-20 2023-03-21 北京字节跳动网络技术有限公司 用于应用程序开发的方法、装置及电子设备
CN112035104B (zh) * 2020-08-28 2024-03-22 重庆长安汽车股份有限公司 一种移动应用动态更改功能配置的建模方法
CN112380188B (zh) * 2020-11-12 2023-12-05 海光信息技术股份有限公司 工作环境及代码数据库的构建方法、电子设备、存储介质
CN112306543B (zh) * 2020-11-13 2023-08-29 成都中科大旗软件股份有限公司 一种ios系统衍生项目的管理方法
CN113467772B (zh) * 2021-07-12 2022-06-14 工银科技有限公司 项目模板生成方法及装置、电子设备和存储介质
CN113625999B (zh) * 2021-08-10 2024-04-09 北京阅见未来网络科技有限公司 应用程序的生成方法、装置、设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201481A (zh) * 2016-06-30 2016-12-07 传线网络科技(上海)有限公司 应用程序开发系统中的组件管理方法和装置
US20170052765A1 (en) * 2015-08-17 2017-02-23 Pai-Tsung Lee Method and system for creating app
CN106547553A (zh) * 2016-10-26 2017-03-29 安徽扬远信息科技有限公司 一种建立待开发对象的软件开发环境方法
CN107748662A (zh) * 2017-11-17 2018-03-02 深圳市泉眼网络科技有限公司 应用程序开发方法、终端及计算机可读存储介质
CN108733368A (zh) * 2017-05-16 2018-11-02 研祥智能科技股份有限公司 机器视觉通用软件开发系统
CN109918055A (zh) * 2019-01-28 2019-06-21 平安科技(深圳)有限公司 一种应用程序的生成方法及设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368987B (zh) * 2012-03-27 2017-02-08 百度在线网络技术(北京)有限公司 云服务器、应用程序的审核认证及管理系统和方法
JP2017091070A (ja) * 2015-11-06 2017-05-25 ルネサスエレクトロニクス株式会社 実行可能コード生成プログラムおよび実行可能コード生成装置
CN108132802B (zh) * 2017-12-07 2020-12-08 鞍钢集团自动化有限公司 一种配置模型在系统开发中的应用方法
CN108681473A (zh) * 2018-05-18 2018-10-19 广州酷狗计算机科技有限公司 应用程序生成、运行方法、装置、计算机设备和存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170052765A1 (en) * 2015-08-17 2017-02-23 Pai-Tsung Lee Method and system for creating app
CN106201481A (zh) * 2016-06-30 2016-12-07 传线网络科技(上海)有限公司 应用程序开发系统中的组件管理方法和装置
CN106547553A (zh) * 2016-10-26 2017-03-29 安徽扬远信息科技有限公司 一种建立待开发对象的软件开发环境方法
CN108733368A (zh) * 2017-05-16 2018-11-02 研祥智能科技股份有限公司 机器视觉通用软件开发系统
CN107748662A (zh) * 2017-11-17 2018-03-02 深圳市泉眼网络科技有限公司 应用程序开发方法、终端及计算机可读存储介质
CN109918055A (zh) * 2019-01-28 2019-06-21 平安科技(深圳)有限公司 一种应用程序的生成方法及设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377354A (zh) * 2021-05-31 2021-09-10 北京沃东天骏信息技术有限公司 移动端应用的组件化开发系统
CN113377354B (zh) * 2021-05-31 2024-04-05 北京沃东天骏信息技术有限公司 移动端应用的组件化开发系统

Also Published As

Publication number Publication date
CN109918055A (zh) 2019-06-21
CN109918055B (zh) 2023-10-31

Similar Documents

Publication Publication Date Title
WO2020155776A1 (zh) 一种基于核心模块的应用程序的生成方法及设备
WO2020155775A1 (zh) 一种基于核心开发环境的应用程序的生成方法及设备
US11467891B2 (en) Kernel event triggers for content item security
US9904537B2 (en) Providing a hybrid application
JP6092249B2 (ja) 埋込まれたプロセス通信のための仮想チャネル
WO2021184725A1 (zh) 用户界面测试方法、装置、存储介质及计算机设备
WO2020238858A1 (zh) 数据迁移方法、装置、及计算机可读存储介质
WO2017020459A1 (zh) 一种为宿主配置插件包的方法与装置
WO2022095518A1 (zh) 接口自动化测试方法、装置、计算机设备及存储介质
US20190102369A1 (en) Maintaining multiple versions of a collection of content items
JP2016066355A (ja) Webアプリケーション生成システム、Webアプリケーション生成システムの制御方法、Webアプリケーション生成システムのプログラム、Webアプリケーション生成装置、Webアプリケーション生成装置の制御方法、およびWebアプリケーション生成装置のプログラム
US8448244B1 (en) Methods and systems for fused files comprising logic and content data
US10579374B2 (en) Method for converting application and computing device
WO2022099913A1 (zh) 界面配置方法、装置、设备及介质
WO2021232860A1 (zh) 通信方法、装置及系统
EP2972666B1 (en) Visualization interface for information object system
WO2021174756A1 (zh) 应用系统部署方法、装置、计算机设备及存储介质
WO2023082032A1 (zh) 一种云平台参数适配方法、装置、终端设备及储存介质
CN116127427B (zh) 一种办公文档处理方法及系统
CN117032638A (zh) 基于iOS的框架生成方法、装置、计算机设备及存储介质
CN116805077A (zh) 信贷管理流程中相关文档的服务提供方法、装置及设备
CN117081845A (zh) 一种数据获取请求的拦截方法及相关装置
CN114138374A (zh) 一种可信计算任务执行方法以及可信计算系统
CN115136120A (zh) 数据库同步测试方法、装置、计算机设备及存储介质
CN117806840A (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: 19914169

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: 19914169

Country of ref document: EP

Kind code of ref document: A1