WO2019072110A1 - 应用程序的生成方法、装置、系统、设备和介质 - Google Patents

应用程序的生成方法、装置、系统、设备和介质 Download PDF

Info

Publication number
WO2019072110A1
WO2019072110A1 PCT/CN2018/108513 CN2018108513W WO2019072110A1 WO 2019072110 A1 WO2019072110 A1 WO 2019072110A1 CN 2018108513 W CN2018108513 W CN 2018108513W WO 2019072110 A1 WO2019072110 A1 WO 2019072110A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
code
user
configuration information
plug
Prior art date
Application number
PCT/CN2018/108513
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 WO2019072110A1 publication Critical patent/WO2019072110A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Definitions

  • the present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a system, a device, and a computer readable storage medium for generating an application.
  • An application is a computer program that performs a specific task or tasks. It runs on a user terminal and can interact with the user and has a visual user interface.
  • the application can be used online or offline, and the application supports message push, local resource access, retrieval, etc., which makes the application have a better interactive experience.
  • the development of the application has high requirements for the developer.
  • the developer is required to write the interface of the application to generate the source code, and on the other hand, the developer has certain development skills and can generate the interface based on the application.
  • the source code is packaged to build the application.
  • the embodiment of the present application provides a method, an apparatus, a system, a device, and a computer readable storage medium for generating an application, so as to reduce the development difficulty of the application.
  • a method for generating an application includes:
  • Package the generated application based on the application's business code, application configuration information, and package code.
  • a method for generating an application includes:
  • the application-based configuration information returned by the server and the application code generated by the source code business of the application and the application code packaged by the package are packaged.
  • an apparatus for generating an application includes:
  • a first receiving module configured to receive a creation instruction of the application and configuration information of the application
  • a second receiving module configured to receive source code of an application interface written by a user
  • a building module for performing business construction on the source code and generating a business code of the application
  • a packaging module for packaging and generating applications based on application-based business code, application configuration information, and package code.
  • an apparatus for generating an application includes:
  • a first receiving module configured to receive a creation instruction of the application and configuration information of the application
  • a compilation module for providing an interface authoring environment for an application
  • a second receiving module configured to receive program code written by a user in an interface writing environment, and generate source code of the application program
  • a submitting module for submitting the source code of the application to the server
  • the third receiving module is configured to receive the application-based configuration information returned by the server, the service code generated by the source code service of the application, and the application generated by the package code package.
  • an apparatus for generating an application comprising: a memory and a processor; the memory is configured to store executable program code; the processor is configured to read an executable program stored in the memory The code is used to execute the generation method of the above application.
  • a computer readable storage medium having stored thereon computer program instructions for implementing a method of generating the application program when the computer program instructions are executed by a processor.
  • a system for generating an application includes:
  • An application management module configured to receive creation instructions of the application and configuration information of the application
  • An integrated development module for receiving source code of a user-written application interface
  • a business building module for constructing a business of source code and generating a business code of the application
  • An encapsulation and packaging module for building application generated information based on application configuration information, source code business of the application, and packaged code generated application.
  • an application generating method applied to a cloud platform including:
  • the cloud platform receives the creation instruction of the application and the configuration information of the application
  • the cloud platform receives the source code of the application interface written by the user
  • the cloud platform performs business construction on the source code to generate a business code of the application
  • the cloud platform packages the application based on the application's business code, application configuration information, and package code.
  • the method, device, system, device, and computer readable storage medium for generating an application receive configuration instructions of an application and configuration information of an application, and receive source code of an application interface written by a user, The source code is used to build the business, generate the business code of the application, and package and generate the application based on the application code of the application, the configuration information of the application, and the package code.
  • the application generation solution of the embodiment of the present application when the application is generated, the developer only needs to submit the configuration information of the application and the source code of the application interface, and the application can be generated without the developer having high development skills. Reduced development difficulty.
  • the application generation solution of the embodiment of the present application based on the weex technology, packages and packages the business code of the application generated by the business build by using the package code, and not only causes the generated application to have a hypertext markup language (Hyper Text Markup). Language, HTML)
  • HTML Hyper Text Markup
  • the ability to update in real time, and to make the generated application have a native application experience.
  • users can use the same Application Programming Interface (API) to develop applications based on different operating systems to achieve cross-platform development of applications.
  • API Application Programming Interface
  • FIG. 1 is a schematic diagram showing the principle of generating an application based on a cloud platform according to an embodiment of the present application
  • FIG. 2 is a schematic diagram showing the principle of generating an application based on different operating systems according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart diagram of a method for generating an application according to an embodiment of the present application
  • FIG. 4 is a schematic flowchart diagram of a method for generating another application according to an embodiment of the present application
  • FIG. 5 is a schematic flowchart diagram of a method for generating another application according to an embodiment of the present application
  • FIG. 6 is a schematic structural diagram of an apparatus for generating an application according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a generating apparatus of another application according to an embodiment of the present application.
  • FIG. 8 is a block diagram showing an exemplary hardware architecture of a computing device capable of implementing a method and apparatus for generating an application according to an embodiment of the present application;
  • FIG. 9 is a schematic structural diagram of a generation system of an application according to an embodiment of the present application.
  • the embodiment of the present application provides an application generation solution, which includes: receiving an application creation instruction and an application configuration information, Receiving the source code of the application interface written by the user, constructing the business of the source code, generating the business code of the application, and packaging and generating the application based on the business code of the application, the configuration information of the application, and the package code.
  • the application generation solution of the embodiment of the present application when the application is generated, the developer only needs to submit the configuration information of the application and the source code of the application interface, and the application can be generated without the developer having high development skills. Reduced development difficulty.
  • the application generation solution of the embodiment of the present application based on the weex technology, encapsulates the business code of the application generated by the business build and package the application by using the packaged code, so that the generated application not only has the ability of HTML real-time update, but also enables The generated application has a native application experience.
  • users can use the same API to develop applications based on different operating systems to realize cross-platform development of applications.
  • the application generation solution of the embodiment of the present application mainly includes three parts: application information configuration, application generation, and application source code writing, wherein application information configuration and application generation can be executed in a cloud platform or a server, and the application program
  • the source code writing part can be executed in the local integrated development environment (IDE).
  • the application information configuration and the application generation are executed in the cloud platform 10, and the application source code writing portion is executed in the local IDE 11, for example, for the application of the embodiment of the present application.
  • the generation method is explained.
  • receiving the creation instruction of the application and the configuration information of the application means that the cloud platform 10 receives the creation instruction of the application submitted by the user (or the developer) and the configuration information of the application submitted by the user.
  • the cloud platform 10 can present a button or button for triggering the creation of an application to the user in a user local client (eg, a computer, an all-in-one, etc.), when the user clicks a button that triggers the creation of the application or
  • a button is regarded as the creation instruction of the application submitted by the user to the cloud platform 10
  • the cloud platform 10 creates the application, and the cloud platform 10 can request the user to submit the configuration information of the application.
  • the configuration information of the application may include, but is not limited to, an application package name, an icon, and the like.
  • the cloud platform 10 can verify the validity of the user identity when receiving the creation instruction of the application sent by the user. In other words, when the user creates an application in the cloud platform 10, the user needs to log in to the cloud platform 10 to obtain verification and authorization of the cloud platform 10.
  • the user can register to log in to the cloud platform 10 and log in to the cloud platform 10 using their registered account.
  • the cloud platform 10 can also support users to log in using their registered accounts in other applications.
  • the cloud platform 10 may assign a user identifier to each user, and the user identifier is used to uniquely identify a user.
  • the user identifier may be the user's client serial number, the user's login user name, and the like.
  • the cloud platform 10 assigns a user identifier to each user, the association relationship between the user identifier and the application created by the user is recorded when the user creates the application, so that each user can create the user identifier in the cloud platform 10 The application is managed.
  • the cloud platform 10 after the cloud platform 10 receives the creation instruction of the application and the configuration information of the application, the cloud platform 10 sends the creation instruction of the application and the configuration information of the application to the local IDE 11 in the user local client, to Enables the local IDE 11 to provide the user with an interface authoring environment for the created application.
  • the local IDE 11 in the user client needs to establish an association relationship with the cloud platform 10.
  • the cloud platform 10 can provide the user with an integrated development environment as a local IDE 11 in the user client.
  • the local IDE 11 also needs to verify the identity of the user. After the user authorizes the login in the local IDE 11, the local IDE 11 obtains a list of applications created by the user in the cloud platform 10 for the user to select the desired application. The application, after the local IDE 11 determines the application selected by the user, provides the user with an interface authoring environment for selecting the application. Of course, if the user creates only one application in the cloud platform 10, the local IDE 11 can directly provide the interface writing environment of the application.
  • the local IDE 11 receives the creation instruction of the application and the configuration information of the application sent by the cloud platform 10, and the local IDE 11 may, according to the configuration information of the application, Partially pre-configured framework code is added to the interface environment of the provided application to further reduce development difficulty.
  • the user can request the local IDE 11 to provide the interface writing environment of the application at any time, and the local IDE 11 can save the user.
  • the program code written For example, the local IDE 11 can save the program code written by the user in the local client, or save the program code written by the user in the cloud platform 10, and of course, can also be saved in the local client and the cloud at the same time.
  • platform 10 In platform 10.
  • the user can receive the program code written by the user in the interface writing environment, and generate the source of the application according to the received program code written by the user. Code.
  • the business code of the application generated by the business build is packaged and packaged to generate an application by using the package code, and the weex technology follows the web standard and supports the syntax of réelle.js. Therefore, when the user writes the program code in the interface writing environment provided by the local IDE 11, the user can use Rax or Vue as the template language, or can be written in other languages, for example, written in the Java language, which is not limited in this application.
  • the cloud platform 10 can also provide compiling software or preview debugging software to the local IDE 11 to facilitate the user to compile or debug the program code written by the user.
  • the local IDE 11 may present a button or button for triggering the submission of the application source code to the user, the application that the local IDE 11 will generate when the user clicks a button or button for triggering the submission of the application source code.
  • the source code of the program is submitted to the cloud platform 10.
  • the cloud platform 10 can perform business construction on the source code submitted by the local IDE 11 to generate the business code of the application. For example, the source code submitted by the local IDE 11 is built for business, and the bundle.js file is generated.
  • pages or components can be written using the ⁇ template>, ⁇ style>, and ⁇ script> tags, and then converted to JS bundles for deployment in the generated In the application.
  • the server returns to the user's local client JS bundle, the JS bundle is processed by the client's JavaScript engine, and manages to render the native view, calling the native API and user interaction, thus making The generated application has a native application experience.
  • the cloud platform 10 may package and generate the application based on the business code of the application, the configuration information of the application, and the package code.
  • the package code includes standard package code preset for different operating systems.
  • the package code is a standardized execution environment of the application interface and behavior, and supports the application code of the application according to certain rules, and provides a certain interface open mode to help development. Implement an extension based on native capabilities.
  • the package code includes standard package code preset for different operating systems
  • the application when the application is packaged and generated based on the application code, the configuration information of the application, and the package code, the application may be based on the application.
  • different operating systems may include, but are not limited to, an iOS operating system, an Android operating system, and a World Wide Web (web) operating system.
  • the package code may include, but is not limited to, standard package code preset for the iOS operating system, standard package code preset for the Android operating system, and standard package code preset for the web operating system.
  • the Android operating system is taken as an example, and may be first based on The type of the operating system is obtained by obtaining the application platform certificate and the packaging script corresponding to the operating system, that is, obtaining the application platform certificate and the packaging script corresponding to the Android operating system. Then, the package code of the Android operating system is extracted from the standard package code, and is generated according to the preset rule based on the package code of the Android operating system, the business code of the application, the configuration information of the application, and the application platform certificate corresponding to the Android operating system. The project directory of the Android operating system. Finally, the package directory of the Android operating system is executed for the project directory of the Android operating system, and an application based on the Android operating system is generated.
  • application platform certificates and packaging scripts corresponding to different operating systems may be pre-stored in the cloud platform 10, and are directly obtained for use when packaged and generated for each operating system application.
  • the application platform certificate and the package script corresponding to different operating systems may also be stored in a memory communicatively connected to the cloud platform 10.
  • the application platform certificates and package scripts corresponding to different operating systems are stored in a database connected to the cloud platform 10, and are directly obtained from the database when the application for each operating system is packaged and generated.
  • the preset rules may include, but are not limited to, some operation rules when generating the project directory.
  • the preset rules may be file replacement operations, information change replacement operations, and the like.
  • the rules preset by different operating systems can be different.
  • an application based on an iOS operating system is packaged and an application based on an Android operating system is packaged and generated, and an application based on different operating systems is packaged and generated in detail.
  • the storage location of the application platform certificate and the package script is first stored (for example, : Database)
  • the information and the application platform certificate corresponding to the iOS operating system are generated according to the rules preset for the iOS operating system, and the packaged script of the iOS operating system is executed by the package service to the project directory of the iOS operating system, and the generation is based on the packaged script.
  • An application for the iOS operating system that is, an application with a file extension of .ipa.
  • the business build after receiving the configuration information of the application, after the business build generates the business code of the application, when generating the application based on the Android operating system, first store the storage location of the application platform certificate and the package script (for example, a database). Obtain the application platform certificate and packaging script corresponding to the Android operating system, and extract the package code of the Android operating system from the standard package code, and then based on the package code of the Android operating system, the business code of the application, the configuration information of the application, and Android.
  • the application platform certificate and the package script for example, a database
  • the application platform certificate corresponding to the operating system generates a project directory of the Android operating system according to the rules preset for the Android operating system, and executes a package script corresponding to the Android operating system by using the package service to the project directory of the Android operating system, and generates an Android operating system.
  • the application which is an application that generates a file suffix named .apk.
  • the application is packaged and generated based on the service code of the application, the configuration information of the application, and the standard package code preset by different operating systems.
  • the package When the application-based business code, the configuration information of the application, and the standard package code preset by different operating systems, the package generates an application of the same type as the application included in the application configuration information.
  • the user can be based on the application code of the application, the configuration information of the application, and the package code, when the package is generated, the user can be based on the capability extension mechanism of the weex technology, allowing the user to add a pre-configured plugin to the application. The ability to extend the application.
  • the user may configure a plug-in addition request in the configuration information of the application, and the plug-in identifier is included in the plug-in add request, and the cloud platform 10 is packaged based on the service code of the application, the configuration information of the application, and the package code.
  • the application is generated, it can be checked whether the plug-in addition request is included in the configuration information of the application. If the configuration information of the application includes a plug-in addition request, the plug-in corresponding to the plug-in identifier included in the plug-in add request is determined, and the application-based Business code, application configuration information, package code, and determined plug-ins, package generation application.
  • adding a pre-configured plug-in to the application not only expands the functionality of the application, but also allows the user to request the pre-configured plug-in directly during the development of the application by pre-configuring the plug-in.
  • the user then writes the implementation code of the plugin, which further reduces the development difficulty.
  • the cloud platform 10 is pre-configured with three plug-ins, namely plug-in A, plug-in B, and plug-in C
  • the user includes a plug-in add request in the submitted application configuration information
  • the plug-in add request includes plug-in A and plug-in B.
  • the cloud platform 10 packages the application code based on the service code of the application, the configuration information of the application, and the package code, and packages the application code based on the application, the configuration information of the application, the package code, the plug-in A, and the plug-in B. Generate an application.
  • the plug-in add request in the configuration information of the application when the user writes the program code of the application in the local IDE 11, the program code of the calling plug-in needs to be added, if the program code written by the user does not include the call.
  • the plugin's program code, the plugin added in the application will not take effect.
  • the user can first upload the customized plugin to the cloud platform 10, and then configure the plugin add request in the application configuration information, and the plugin adds the request. It includes the plugin identifier assigned by the cloud platform 10 to the custom plugin.
  • the user can upload the plug-in 1 to the cloud platform 10, and the cloud platform 10 can rename the plug-in.
  • the cloud platform 10 uploads the plug-in uploaded by the user. 1 Renamed as plugin D
  • Plugin ID which adds plugin D to the plugin add request.
  • the above example is still used. After the user uploads the plug-in 1 to the cloud platform 10, the user can also share the plug-in 1 to other users.
  • one or more pre-configured plugins may be provided in the cloud platform 10.
  • Pre-configured plugins include plugins built on client technology and/or plugins built on client technology and cloud services technology.
  • a plug-in built on client-side technology may include a plug-in that invokes the hardware resources of the terminal where the application is located;
  • a plug-in built based on the client technology and the cloud service technology may include a sharing plug-in that interacts with the user.
  • the pre-configured plug-in includes any one or more of the following: a function plug-in that implements a preset function, an interface plug-in, a device plug-in, and an interactive plug-in.
  • the function plug-in that implements the preset function may include, but is not limited to, a storage plug-in that implements a storage function, a payment plug-in that implements a payment function, and a login plug-in that implements a login function.
  • Interface plugins which can include, but are not limited to, selector plugins, map plugins, and chart plugins.
  • Device plugins can include, but are not limited to, accessing network plugins, calling gyroscope plugins, and calling camera plugins.
  • Interactive plugins which can include, but are not limited to, share plugins, reload plugins, like plugins, and message notification plugins.
  • the cloud platform 10 can return the packaged generated application to the local IDE 11 or to the user after the package is generated by the application.
  • the file of the application can be directly returned to the local IDE 11 or the user, or the link for accessing the storage location of the application file can be returned to the local IDE 11 or the user, which is not limited in this application.
  • the application generation method 300 may include the following steps:
  • Step S301 receiving a creation instruction of the application and configuration information of the application.
  • Step S302 receiving source code of an application interface written by a user.
  • Step S303 performing business construction on the source code to generate a service code of the application.
  • Step S304 package and generate an application based on the service code of the application, the configuration information of the application, and the package code.
  • receiving the creation instruction of the application and the configuration information of the application receiving the source code generated by the interface of the user writing the application, performing business construction on the source code, and generating the business code of the application, based on the application Business code, application configuration information and package code, package generation application.
  • the application generation scheme of the embodiment of the present application when the application is generated, the developer only needs to submit the configuration information of the application and the source code of the application, so that the application can be generated without the developer having high development skills and reducing The difficulty of development.
  • the application generation scheme of the embodiment of the present application based on the weex technology, encapsulates the business code of the application generated by the business build and package the application by using the package code, not only enables the generated application to have the ability of HTML real-time update, but also generates the generated
  • the application has a native application experience.
  • users can use the same API to develop applications based on different operating systems to realize cross-platform development of applications.
  • the application generating method 400 may include the following steps:
  • Step S401 the cloud platform receives the creation instruction of the application and the configuration information of the application.
  • step S402 the cloud platform receives the source code of the application interface written by the user.
  • Step S403 the cloud platform performs business construction on the source code, and generates a service code of the application.
  • Step S404 the cloud platform packages and generates an application based on the service code of the application, the configuration information of the application, and the package code.
  • the application generation method 500 may include the following steps:
  • Step S501 receiving a creation instruction of the application and configuration information of the application.
  • Step S502 providing an interface writing environment of the application.
  • Step S503 receiving program code written by the user in the interface writing environment, and generating source code of the application.
  • Step S504 submit the source code of the application to the server.
  • Step S505 receiving the application-based configuration information returned by the server and the application code generated by the source code service construction of the application and the package code generated by the package.
  • the step S504 may be to submit the source code of the application to the cloud platform, and the step S505 may be to receive the application based on the cloud platform.
  • the configuration information and application source code business builds the generated business code and the packaged code packaged generated application.
  • the method for generating an application in the above embodiment may be implemented by an application generating device.
  • the application generating apparatus 600 may include:
  • the first receiving module 601 is configured to receive a creation instruction of the application and configuration information of the application.
  • the second receiving module 602 is configured to receive source code of the application interface written by the user.
  • the building module 603 is configured to perform business construction on the source code and generate a business code of the application.
  • the packaging module 604 is configured to package and generate an application based on the application code of the application, the configuration information of the application, and the package code.
  • the package code includes standard package code preset for different operating systems; the package module 604 is specifically configured to: application-based service code, application configuration information, and standard package code preset by different operating systems. , package to generate applications based on different operating systems.
  • the packaging module 604 is specifically configured to: obtain an application platform certificate and a packaging script corresponding to the operating system according to the type of the operating system; extract the operating system packaging code from the standard package code, and package the operating system based on the operating system.
  • the code, the service code, the configuration information, and the application platform certificate corresponding to the operating system generate a project directory of each operating system according to a preset rule; execute a package script corresponding to the operating system of the operating system's project directory, and generate a different operating system based on the operating system application.
  • the configuration information includes a type of the application; the packaging module 604 is specifically configured to: package and generate an application of the same type as the application based on the application code of the application, the configuration information of the application, and the package code. .
  • the packaging module 604 is specifically configured to: package the generated application based on the application code of the application, the configuration information of the application, the package code, and the pre-configured plug-in added in response to the user request.
  • the packaging module 604 is specifically configured to: receive a plug-in submitted by the user for adding in the application; and package generation based on the application service code, the configuration information of the application, the package code, and the plug-in submitted by the user. application.
  • the plugin includes a plugin built on client technology and/or a plugin built on client technology and cloud service technology.
  • the plug-in includes any one or more of the following: a function plug-in that implements a preset function, an interface plug-in, a device plug-in, and an interactive plug-in.
  • the second receiving module 602 is specifically configured to: receive source code generated by the user in the local integrated development environment IDE, using Rax or Vue as an interface of the application language in the template language.
  • the source code is written and written by the user after authorizing the login in the local IDE.
  • the device further includes: an identifier assignment module 605, configured to assign a user identifier to each user; an association relationship establishing module 606, configured to record the user identifier and user creation of the user for each user who creates the application The relationship between the applications.
  • the application generating apparatus 700 may include:
  • the first receiving module 701 is configured to receive a creation instruction of the application and configuration information of the application.
  • the compiling module 702 is configured to provide an interface writing environment of the application.
  • the second receiving module 703 is configured to receive program code written by the user in the interface writing environment, and generate source code of the application.
  • the submitting module 704 is configured to submit the source code to the server.
  • the third receiving module 705 is configured to receive the application-based configuration information returned by the server, the service code generated by the source code service of the application, and the application generated by the package code package.
  • the third receiving module 705 is specifically configured to: receive the application-based configuration information returned by the server, and generate the service code, the package code, and the plug-in added in response to the user request, according to the source code service of the application. Package the generated application.
  • the plug-in added in response to the user request includes: a pre-configured plug-in in the server, and/or a plug-in submitted by the user to the server.
  • the plugin includes a plugin built on client technology and/or a plugin built on client technology and cloud service technology.
  • the plug-in includes any one or more of the following: a function plug-in that implements a preset function, an interface plug-in, a device plug-in, and an interactive plug-in.
  • the second receiving module 703 is specifically configured to: receive program code written by the user using Rax or Vue as a template language.
  • the second receiving module 703 is specifically configured to: receive program code written by the user in an interface writing environment after authorizing the login.
  • computing device 800 includes input device 801, input interface 802, central processor 803, memory 804, output interface 805, and output device 806.
  • the input interface 802, the central processing unit 803, the memory 804, and the output interface 805 are connected to each other through a bus 810.
  • the input device 801 and the output device 806 are connected to the bus 810 through the input interface 802 and the output interface 805, respectively, and the computing device 800.
  • the other components are connected.
  • input device 801 receives input information from the outside and transmits the input information to central processor 803 via input interface 802; central processor 803 processes the input information based on computer executable instructions stored in memory 804 to generate an output Information, the output information is temporarily or permanently stored in memory 804, and the output information is then communicated to output device 806 via output interface 805; output device 806 outputs the output information to the outside of computing device 800 for use by the user.
  • the computing device shown in FIG. 8 can also be implemented as a generating device of an application
  • the generating device of the application can include: a memory storing computer executable instructions; and a processor executing the computer
  • the method and apparatus for generating the application described in connection with FIGS. 1-7 can be implemented when the instructions are executable.
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer program product or a computer readable storage medium.
  • the computer program product or computer readable storage medium includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)) or the like.
  • a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
  • an optical medium eg, a DVD
  • a semiconductor medium eg, a solid state disk (SSD)
  • the embodiment of the present application may be implemented by providing a computer readable storage medium.
  • the computer readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, the method for generating any one of the above embodiments is implemented.
  • the embodiment of the present application further provides an application generating system 900, including:
  • the application management module 901 is configured to receive a creation instruction of the application and configuration information of the application.
  • the integrated development module 902 is configured to receive source code of a user-written application interface.
  • the business building module 903 is configured to perform business construction on the source code and generate a business code of the application.
  • the package packaging module 904 is configured to package the generated application code based on the application configuration information, the generated source code business of the application, and the package code.
  • the application generation system 900 can further include a test adaptation module 905 for testing the performance of the generated application and determining the type of terminal that the generated application is adapted to.
  • test adaptation module 905 can simulate the operation of the generated application in either terminal to test the performance of the generated application, while also determining the type of terminal that the generated application is adapted by the simulation run.
  • the application generation system 900 may further include a function extension module 906 for adding a user-submitted plug-in in the generated application or adding a pre-configured plug-in to the application in response to a user request.
  • a function extension module 906 for adding a user-submitted plug-in in the generated application or adding a pre-configured plug-in to the application in response to a user request.
  • the plugin includes a plugin built on client technology and/or a plugin built on client technology and cloud service technology.
  • the plug-in includes any one or more of the following: a function plug-in that implements a preset function, an interface plug-in, a device plug-in, and an interactive plug-in.
  • the application generation system 900 may further include: an operation and maintenance analysis module 907, configured to count the indicator values of the plurality of preset indicators of the application, and maintain the application based on the plurality of statistically obtained indicator values.
  • an operation and maintenance analysis module 907 configured to count the indicator values of the plurality of preset indicators of the application, and maintain the application based on the plurality of statistically obtained indicator values.
  • the plurality of preset indicators may include, but are not limited to, the number of terminals that install the application, the way the application is installed, and the retention time of the application in the terminal.
  • the user can help the user maintain the application based on the plurality of statistical values obtained by the statistics.
  • the application management module 901 is further configured to: assign a user identifier to each user, and record an association relationship between the user identifier of the user and the user-created application for each user who creates the application.

Landscapes

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

Abstract

本申请实施例公开了一种应用程序的生成方法、装置、系统、设备和介质,以降低应用程序的开发难度。所述应用程序的生成方法,包括:接收应用程序的创建指令和所述应用程序的配置信息;接收用户编写的所述应用程序界面的源代码;对所述源代码进行业务构建,生成所述应用程序的业务代码;基于所述业务代码、所述配置信息及封装代码,打包生成所述应用程序。

Description

应用程序的生成方法、装置、系统、设备和介质
本申请要求2017年10月11日递交的申请号为201710943799.1、发明名称为“应用程序的生成方法、装置、系统、设备和介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,尤其涉及一种应用程序的生成方法、装置、系统、设备和计算机可读存储介质。
背景技术
应用程序,是指为完成某项或多项特定工作的计算机程序,它运行在用户终端,可以和用户进行交互,具有可视的用户界面。
应用程序可以在线使用,也可以离线使用,同时应用程序支持消息推送、本地资源访问、调取等功能,这使得应用程序具有较好的交互体验。但是,应用程序的开发对开发者具有较高的要求,一方面要求开发者能够编写应用程序的界面生成源代码,另一方面要求开发者具备一定的开发技巧,能够基于编写应用程序的界面生成的源代码打包生成应用程序。
综上所述,目前应用程序的开发对开发者具有较高的要求,开发难度大。
发明内容
本申请实施例提供了一种应用程序的生成方法、装置、系统、设备和计算机可读存储介质,以降低应用程序的开发难度。
根据本申请实施例的第一方面,提供一种应用程序的生成方法,方法包括:
接收应用程序的创建指令和应用程序的配置信息;
接收用户编写的应用程序界面的源代码;
对源代码进行业务构建,生成应用程序的业务代码;
基于应用程序的业务代码、应用程序的配置信息及封装代码,打包生成应用程序。
根据本申请实施例的第二方面,提供一种应用程序的生成方法,方法包括:
接收应用程序的创建指令和应用程序的配置信息;
提供应用程序的界面编写环境;
接收用户在界面编写环境中编写的程序代码,生成应用程序的源代码;
提交应用程序的源代码给服务器;
接收服务器返回的基于应用程序的配置信息和应用程序的源代码业务构建生成的业务代码及封装代码打包生成的应用程序。
根据本申请实施例的第三方面,提供一种应用程序的生成装置,包括:
第一接收模块,用于接收应用程序的创建指令和应用程序的配置信息;
第二接收模块,用于接收用户编写的应用程序界面的源代码;
构建模块,用于对源代码进行业务构建,生成应用程序的业务代码;
打包模块,用于基于应用程序的业务代码、应用程序的配置信息及封装代码,打包生成应用程序。
根据本申请实施例的第四方面,提供一种应用程序的生成装置,包括:
第一接收模块,用于接收应用程序的创建指令和应用程序的配置信息;
编译模块,用于提供应用程序的界面编写环境;
第二接收模块,用于接收用户在界面编写环境中编写的程序代码,生成应用程序的源代码;
提交模块,用于提交应用程序的源代码给服务器;
第三接收模块,用于接收服务器返回的基于应用程序的配置信息和应用程序的源代码业务构建生成的业务代码及封装代码打包生成的应用程序。
根据本申请实施例的第五方面,提供一种应用程序的生成设备,包括:存储器和处理器;该存储器用于储存有可执行程序代码;该处理器用于读取存储器中存储的可执行程序代码以执行上述应用程序的生成方法。
根据本申请实施例的第六方面,提供一种计算机可读存储介质,其上存储有计算机程序指令,当计算机程序指令被处理器执行时实现上述应用程序的生成方法。
根据本申请实施例的第七方面,提供一种应用程序的生成系统,包括:
应用管理模块,用于接收应用程序的创建指令和应用程序的配置信息;
集成开发模块,用于接收用户编写的应用程序界面的源代码;
业务构建模块,用于对源代码进行业务构建,生成应用程序的业务代码;
封装打包模块,用于基于应用程序的配置信息、应用程序的源代码业务构建生成的业务代码及封装代码打包生成的应用程序。
根据本申请实施例的第八方面,提供一种应用于云端平台的应用程序生成方法,包 括:
云端平台接收应用程序的创建指令和应用程序的配置信息;
云端平台接收用户编写的应用程序界面的源代码;
云端平台对源代码进行业务构建,生成应用程序的业务代码;
云端平台基于应用程序的业务代码、应用程序的配置信息及封装代码,打包生成应用程序。
根据本申请实施例中的应用程序的生成方法、装置、系统、设备和计算机可读存储介质,接收应用程序的创建指令和应用程序的配置信息,接收用户编写的应用程序界面的源代码,对源代码进行业务构建,生成应用程序的业务代码,基于应用程序的业务代码、应用程序的配置信息及封装代码,打包生成应用程序。本申请实施例的应用程序生成方案,在生成应用程序时,只需开发者提交应用程序的配置信息和应用程序界面的源代码,即可生成应用程序,无需开发者具备较高的开发技巧,降低了开发难度。
另外,本申请实施例的应用程序生成方案,基于weex技术,利用封装代码将业务构建生成的应用程序的业务代码封装打包生成应用程序,不仅使得生成的应用程序拥有超文本标记语言(Hyper Text Markup Language,HTML)实时更新的能力,而且使得生成的应用程序具有原生应用程序的使用体验。同时使得用户能够使用相同的应用程序编程接口(Application Programming Interface,API)开发基于不同操作系统的应用程序,实现跨平台开发应用程序。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1示出了根据本申请实施例的基于云端平台生成应用程序的原理示意图;
图2示出了根据本申请实施例的生成基于不同操作系统的应用程序的原理示意图;
图3示出了根据本申请实施例的一种应用程序的生成方法的流程示意图;
图4示出了根据本申请实施例的另一应用程序的生成方法的流程示意图;
图5示出了根据本申请实施例的又一应用程序的生成方法的流程示意图;
图6示出了根据本申请实施例的一种应用程序的生成装置的结构示意图;
图7示出了根据本申请实施例的另一应用程序的生成装置的结构示意图;
图8示出了能够实现根据本申请实施例的应用程序的生成方法和装置的计算设备的示例性硬件架构的结构图;
图9示出了根据本申请实施例的一种应用程序的生成系统的结构示意图。
具体实施方式
下面将详细描述本申请的各个方面的特征和示例性实施例,为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细描述。应理解,此处所描述的具体实施例仅被配置为解释本申请,并不被配置为限定本申请。对于本领域技术人员来说,本申请可以在不需要这些具体细节中的一些细节的情况下实施。下面对实施例的描述仅仅是为了通过示出本申请的示例来提供对本申请更好的理解。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
鉴于传统应用程序的开发对开发者具有较高的要求,开发难度大的问题,本申请实施例提供了一种应用程序的生成方案,包括:接收应用程序的创建指令和应用程序的配置信息,接收用户编写的应用程序界面的源代码,对源代码进行业务构建,生成应用程序的业务代码,基于应用程序的业务代码、应用程序的配置信息及封装代码,打包生成应用程序。本申请实施例的应用程序生成方案,在生成应用程序时,只需开发者提交应用程序的配置信息和应用程序界面的源代码,即可生成应用程序,无需开发者具备较高的开发技巧,降低了开发难度。
另外,本申请实施例的应用程序生成方案,基于weex技术,利用封装代码将业务构建生成的应用程序的业务代码封装打包生成应用程序,不仅使得生成的应用程序拥有HTML实时更新的能力,而且使得生成的应用程序具有原生应用程序的使用体验。同时使得用户能够使用相同的API开发基于不同操作系统的应用程序,实现跨平台开发应用程序。
本申请实施例的应用程序生成方案,主要包括应用程序信息配置、应用程序生成及应用程序源代码编写三部分,其中,应用程序信息配置和应用程序生成可以在云端平台或者服务器中执行,应用程序源代码编写部分可以在本地集成开发环境(Integrated Development Environment,IDE)执行。
在一个示例中,如图1所示,以应用程序信息配置和应用程序生成在云端平台10中执行,应用程序源代码编写部分在本地IDE 11中执行为例,对本申请实施例的应用程序的生成方法进行说明。
在一个实施方式中,接收应用程序的创建指令和应用程序的配置信息,是指云端平台10接收用户(或者开发者)提交的应用程序的创建指令和用户提交的应用程序的配置信息。
在一个示例中,云端平台10可以在用户本地客户端(例如:电脑、一体机等)中向用户展示用于触发创建应用程序的按键或者按钮,在用户点击用于触发创建应用程序的按键或者按钮时,视为用户向云端平台10提交的应用程序的创建指令,则云端平台10创建应用程序,同时云端平台10可以请求用户提交应用程序的配置信息。其中,应用程序的配置信息可以包括但不限于:应用包名、图标等。
在一个实施方式中,云端平台10在接收用户发送的应用程序的创建指令时,可以验证用户身份的合法性。换句话说,用户在云端平台10中创建应用程序时,需要先登录云端平台10,取得云端平台10的验证和授权。
在一个示例中,用户可以注册登录云端平台10的账号,并使用其注册的账号登录云端平台10。当然,云端平台10也可以支持用户使用其在其它应用程序中已注册的账号进行登录。
在一个实施方式中,用户登录云端平台10创建应用程序时,为了便于管理和区分不同用户创建的应用程序,云端平台10可以为每一用户分配用户标识,该用户标识用于唯一标识一个用户。举例来说,用户标识可以是用户的客户端序列号、用户的登录用户名等。云端平台10为每一用户分配用户标识之后,即可在用户创建应用程序时,记录用户标识与用户创建的应用程序之间的关联关系,以方便每一用户在云端平台10中对其创建的应用程序进行管理。
在一个实施方式中,云端平台10接收应用程序的创建指令和应用程序的配置信息之后,云端平台10向用户本地客户端中的本地IDE 11发送应用程序的创建指令和应用程序的配置信息,以使本地IDE 11向用户提供已创建应用程序的界面编写环境。
当然,用户客户端中的本地IDE 11需要与云端平台10建立关联关系。在一个示例中,云端平台10可以向用户提供集成开发环境作为用户客户端中的本地IDE 11。
在一个示例中,本地IDE 11同样需要对用户进行身份合法性的验证,用户在本地IDE11中授权登录之后,本地IDE 11获取用户在云端平台10中创建的应用程序列表,供用户选择其所要编写的应用程序,本地IDE 11确定用户选择的应用程序之后,向用户提供其选择应用程序的界面编写环境。当然,若用户在云端平台10中仅创建一个应用程序,则本地IDE 11可以直接提供该应用程序的界面编写环境。
在一个实施方式中,以用户已创建一个应用程序为例,本地IDE 11接收云端平台10发送的该应用程序的创建指令和应用程序的配置信息之后,本地IDE 11可以根据应用程序的配置信息,在提供的应用程序的界面编写环境中加入部分预先配置的框架程序代码,以进一步降低开发难度。
在一个实施方式中,用户在云端平台10中提交应用程序的创建指令和应用程序的配置信息之后,用户可以随时请求本地IDE 11提供该应用程序的界面编写环境,而且本地IDE 11可以保存用户以编写的程序代码。举例来说,本地IDE 11可以将用户已编写的程序代码保存在本地客户端中,也可以将用户已编写的程序代码保存在云端平台10中,当然,也可以同时保存在本地客户端和云端平台10中。
在一个实施方式中,本地IDE 11向用户提供应用程序的界面编写环境之后,即可接收用户在界面编写环境中编写的程序代码,并根据用户编写的接收到的程序代码,生成应用程序的源代码。
在一个实施方式中,由于本申请实施例基于weex技术,利用封装代码将业务构建生成的应用程序的业务代码封装打包生成应用程序,而weex技术遵循web标准,同时支持vue.js的语法。因此,用户在本地IDE 11提供的界面编写环境中编写程序代码时,可以采用Rax或者Vue作为模版语言编写,也可以采用其它语言编写,例如,使用Java语言编写,本申请对此不做限定。
在一个实施方式中,云端平台10还可以向本地IDE 11提供编译软件或者预览调试软件,以方便用户对其编写的程序代码进行编译或者调试。
在一个实施方式中,本地IDE 11可以向用户展示用于触发提交应用程序源代码的按键或者按钮,在用户点击用于触发提交应用程序源代码的按键或者按钮时,本地IDE 11将生成的应用程序的源代码提交至云端平台10。
在一个实施方式中,云端平台10接收本地IDE 11提交的应用程序的源代码之后, 即可对本地IDE 11提交的源代码进行业务构建,生成应用程序的业务代码。举例来说,对本地IDE 11提交的源代码进行业务构建,生成bundle.js文件。
在一个示例中,在对源代码进行业务构建时,在weex代码中,可以使用<template>、<style>和<script>标签编写页面或组件,然后将它们转换为JS bundle以部署在生成的应用程序中。在用户安装生成的应用程序使用时,当服务器返回给用户本地客户端JS bundle时,JS bundle会被客户端的JavaScript引擎处理,并管理渲染原生(native)视图,调用原生API和用户交互,从而使得生成的应用程序具有原生应用程序的使用体验。
在一个实施方式中,云端平台10在对应用程序的源代码业务构建生成应用程序的业务代码之后,可以基于应用程序的业务代码、应用程序的配置信息及封装代码,打包生成应用程序。其中,封装代码包括针对不同操作系统预设的标准封装代码,封装代码是一个应用程序界面及行为的标准化执行环境,支持按一定规则加载应用程序的业务代码,同时提供一定的接口开放方式帮助开发者实现基于原生能力的扩展。
在一个实施方式中,由于封装代码中包括针对不同操作系统预设的标准封装代码,因此,在基于应用程序的业务代码、应用程序的配置信息及封装代码,打包生成应用程序时,可以基于应用程序的业务代码、应用程序的配置信息及不同操作系统预设的标准封装代码,打包生成基于不同操作系统的应用程序。
在一个示例中,不同操作系统可以包括但不限于:iOS操作系统、Android操作系统、全球广域网(World Wide Web,web)操作系统。在封装代码中可以包括但不限于:针对iOS操作系统预设的标准封装代码、针对Android操作系统预设的标准封装代码、针对web操作系统预设的标准封装代码。
在一个实施方式中,基于应用程序的业务代码、应用程序的配置信息及不同操作系统预设的标准封装代码,打包生成基于不同操作系统的应用程序时,以Android操作系统为例,可以首先根据操作系统的类型,获取操作系统对应的应用平台证书和打包脚本,也即获取Android操作系统对应的应用平台证书和打包脚本。然后从标准封装代码中取出Android操作系统的封装代码,并基于Android操作系统的封装代码、应用程序的业务代码、应用程序的配置信息及Android操作系统对应的应用平台证书,按照预置的规则生成Android操作系统的工程目录。最后对Android操作系统的工程目录执行Android操作系统对应的打包脚本,生成基于Android操作系统的应用程序。
在一个示例中,不同操作系统对应的应用平台证书和打包脚本可以预先存储在云端平台10中,在打包生成针对每个操作系统的应用程序时,直接获取使用。当然,不同操 作系统对应的应用平台证书和打包脚本,也可以存储在与云端平台10通信连接的存储器中。举例来说,不同操作系统对应的应用平台证书和打包脚本存储在与云端平台10连接的数据库中,在打包生成针对每个操作系统的应用程序时,直接从数据库中获取使用。
在一个示例中,按照预置的规则生成Android操作系统的工程目录时,预置的规则可以包括但不限于:生成工程目录时的一些操作规则。举例来说,预置的规则可以为文件替换操作、信息变更替换操作等。当然,不同操作系统预置的规则可以是不同的。
在一个示例中,如图2所示,以打包生成基于iOS操作系统的应用程序和打包生成基于Android操作系统的应用程序为例,对打包生成基于不同操作系统的应用程序进行详细说明。
如图2所示,在接收应用程序的配置信息,业务构建生成应用程序的业务代码之后,在生成基于iOS操作系统的应用程序时,首先从预先存储应用平台证书和打包脚本的存储位置(例如:数据库)处获取iOS操作系统对应的应用平台证书和打包脚本,并从标准封装代码中取出iOS操作系统的封装代码,然后基于iOS操作系统的封装代码、应用程序的业务代码、应用程序的配置信息及iOS操作系统对应的应用平台证书,按照针对iOS操作系统预置的规则生成iOS操作系统的工程目录,并通过打包服务对iOS操作系统的工程目录执行iOS操作系统对应的打包脚本,生成基于iOS操作系统的应用程序,也即生成文件后缀名为.ipa的应用程序。
同样地,在接收应用程序的配置信息,业务构建生成应用程序的业务代码之后,在生成基于Android操作系统的应用程序时,首先从预先存储应用平台证书和打包脚本的存储位置(例如:数据库)处获取Android操作系统对应的应用平台证书和打包脚本,并从标准封装代码中取出Android操作系统的封装代码,然后基于Android操作系统的封装代码、应用程序的业务代码、应用程序的配置信息及Android操作系统对应的应用平台证书,按照针对Android操作系统预置的规则生成Android操作系统的工程目录,并通过打包服务对Android操作系统的工程目录执行Android操作系统对应的打包脚本,生成基于Android操作系统的应用程序,也即生成文件后缀名为.apk的应用程序。
在一个实施方式中,若用户提交的应用程序的配置信息中包括应用程序的类型,则基于应用程序的业务代码、应用程序的配置信息及不同操作系统预设的标准封装代码,打包生成应用程序时,基于应用程序的业务代码、应用程序的配置信息及不同操作系统预设的标准封装代码,打包生成与应用程序配置信息中包括的应用程序类型相同的应用程序。
在一个实施方式中,基于应用程序的业务代码、应用程序的配置信息及封装代码,打包生成应用程序时,可以基于weex技术的能力扩展机制,允许用户在应用程序中添加预先配置的插件,以扩展应用程序的能力。
在一个实施方式中,用户可以在应用程序的配置信息中配置需要添加插件添加请求,插件添加请求中包含插件标识,云端平台10基于应用程序的业务代码、应用程序的配置信息及封装代码,打包生成应用程序时,可以查看应用程序的配置信息中是否包含插件添加请求,若应用程序的配置信息中包含插件添加请求,则确定插件添加请求中包含的插件标识对应的插件,并基于应用程序的业务代码、应用程序的配置信息、封装代码及确定出的插件,打包生成应用程序。
在打包生成应用程序时,在应用程序中添加预先配置的插件,不仅能够扩展应用程序的功能,而且通过预先配置插件,使得用户在开发应用程序的过程中可以直接请求使用预先配置的插件,无需用户再编写插件的实现代码,进一步降低了开发难度。
举例来说,若云端平台10中预先配置有三个插件,分别为插件A、插件B和插件C,用户在提交的应用程序配置信息中包括插件添加请求,插件添加请求中包括插件A和插件B,则云端平台10基于应用程序的业务代码、应用程序的配置信息及封装代码,打包生成应用程序时,基于应用程序的业务代码、应用程序的配置信息、封装代码、插件A及插件B,打包生成应用程序。
当然,需要说明的是,应用程序的配置信息中插件添加请求时,用户在本地IDE 11中编写应用程序的程序代码时,需要加入调用插件的程序代码,若用户编写的程序代码中不包含调用插件的程序代码,则应用程序中添加的插件也无法生效。
在一个实施方式中,若用户需要在应用程序中添加自定义的插件,则用户可以先将自定义的插件上传至云端平台10,然后在应用程序的配置信息中配置插件添加请求,插件添加请求中包括云端平台10为自定义插件分配的插件标识。
举例来说,若用户需要在应用程序中添加自定义的插件1,则用户可以将插件1上传至云端平台10,云端平台10可以对插件进行重命名,例如,云端平台10将用户上传的插件1重命名为插件D,则若用户需要在应用程序中添加自定义的插件1,可以在应用程序的配置信息中配置插件添加请求,并在插件添加请求中添加插件1在云端平台10中的插件标识,也即在插件添加请求中添加插件D。
在一个实施方式中,仍沿用上例,用户将插件1上传至云端平台10之后,用户还可以将插件1分享给其它用户使用。
在一个示例中,云端平台10中可以提供一个或多个预先配置的插件。预先配置的插件包括基于客户端技术构建的插件,和/或基于客户端技术与云服务技术构建的插件。举例来说,基于客户端技术构建的插件,可以包括调用应用程序所在终端硬件资源的插件;基于客户端技术与云服务技术构建的插件,可以包括与用户进行互动的分享插件。具体地,预先配置的插件,包括以下任意一种或多种:实现预设功能的功能插件、界面插件、设备插件、互动插件。
在一个示例中,实现预设功能的功能插件,可以包括但不限于:实现存储功能的存储插件、实现支付功能的支付插件、实现登录功能的登录插件。
界面插件,可以包括但不限于:选择器插件、地图插件、图表插件。
设备插件,可以包括但不限于:访问网络插件、调用陀螺仪插件、调用摄像头插件。
互动插件,可以包括但不限于:分享插件、转载插件、点赞插件、消息通知插件。
在一个实施方式中,云端平台10在打包生成应用程序之后,即可向本地IDE 11或者向用户返回打包生成的应用程序。举例来说,可以直接向本地IDE 11或者向用户返回应用程序的文件,也可以向本地IDE 11或者向用户返回用于访问应用程序文件存储位置的链接,本申请对此不做限定。
下面结合具体的系统处理流程对上述应用程序的生成方法的执行过程进行说明,然而,值得注意的是,该具体实施例仅是为了更好地说明本申请,并不构成对本申请的不当限定。
在云端平台侧或者服务器侧,从整体流程而言,如图3所示,应用程序的生成方法300,可以包括以下步骤:
步骤S301,接收应用程序的创建指令和应用程序的配置信息。
步骤S302,接收用户编写的应用程序界面的源代码。
步骤S303,对源代码进行业务构建,生成应用程序的业务代码。
步骤S304,基于应用程序的业务代码、应用程序的配置信息及封装代码,打包生成应用程序。
在本申请实施例中,接收应用程序的创建指令和应用程序的配置信息,接收用户编写应用程序的界面所生成的源代码,对源代码进行业务构建,生成应用程序的业务代码,基于应用程序的业务代码、应用程序的配置信息及封装代码,打包生成应用程序。本申请实施例的应用程序生成方案,在生成应用程序时,只需开发者提交应用程序的配置信息和应用程序的源代码,即可生成应用程序,无需开发者具备较高的开发技巧,降低了 开发难度。
本申请实施例的应用程序生成方案,基于weex技术,利用封装代码将业务构建生成的应用程序的业务代码封装打包生成应用程序,不仅使得生成的应用程序拥有HTML实时更新的能力,而且使得生成的应用程序具有原生应用程序的使用体验。同时使得用户能够使用相同的API开发基于不同操作系统的应用程序,实现跨平台开发应用程序。
具体若由云端平台执行,从整体流程而言,如图4所示,应用程序的生成方法400,可以包括以下步骤:
步骤S401,云端平台接收应用程序的创建指令和应用程序的配置信息。
步骤S402,云端平台接收用户编写的应用程序界面的源代码。
步骤S403,云端平台对源代码进行业务构建,生成应用程序的业务代码。
步骤S404,云端平台基于应用程序的业务代码、应用程序的配置信息及封装代码,打包生成应用程序。
在本地IDE侧,从整体流程而言,如图5所示,应用程序的生成方法500,可以包括以下步骤:
步骤S501,接收应用程序的创建指令和应用程序的配置信息。
步骤S502,提供应用程序的界面编写环境。
步骤S503,接收用户在界面编写环境中编写的程序代码,生成应用程序的源代码。
步骤S504,提交应用程序的源代码给服务器。
步骤S505,接收服务器返回的基于应用程序的配置信息和应用程序的源代码业务构建生成的业务代码及封装代码打包生成的应用程序。
需要说明的是,若在云端平台中执行本申请实施例提供的应用程序的生成方案,则步骤S504可以为提交应用程序的源代码给云端平台,步骤S505可以为接收云端平台返回的基于应用程序的配置信息和应用程序的源代码业务构建生成的业务代码及封装代码打包生成的应用程序。
在云端平台侧或者服务器侧,在实现的时候,上述实施例中的应用程序的生成方法可以通过应用程序的生成装置来实现。如图6所示,应用程序的生成装置600,可以包括:
第一接收模块601,用于接收应用程序的创建指令和应用程序的配置信息。
第二接收模块602,用于接收用户编写的应用程序界面的源代码。
构建模块603,用于对源代码进行业务构建,生成应用程序的业务代码。
打包模块604,用于基于应用程序的业务代码、应用程序的配置信息及封装代码,打包生成应用程序。
在一个实施方式中,封装代码包括针对不同操作系统预设的标准封装代码;打包模块604,具体用于:基于应用程序的业务代码、应用程序的配置信息及不同操作系统预设的标准封装代码,打包生成基于不同操作系统的应用程序。
在一个实施方式中,打包模块604,具体用于:根据操作系统的类型,获取操作系统对应的应用平台证书和打包脚本;从标准封装代码中取出操作系统的封装代码,并基于操作系统的封装代码、业务代码、配置信息及操作系统对应的应用平台证书,按照预置的规则生成每个操作系统的工程目录;对操作系统的工程目录执行操作系统对应的打包脚本,生成基于不同操作系统的应用程序。
在一个实施方式中,配置信息中包括应用程序的类型;打包模块604,具体用于:基于应用程序的业务代码、应用程序的配置信息及封装代码,打包生成与应用程序的类型相同的应用程序。
在一个实施方式中,打包模块604,具体用于:基于应用程序的业务代码、应用程序的配置信息、封装代码及响应于用户请求添加的预先配置的插件,打包生成应用程序。
在一个实施方式中,打包模块604,具体用于:接收用户提交的用于添加在应用程序中的插件;基于应用程序业务代码、应用程序的配置信息、封装代码及用户提交的插件,打包生成应用程序。
在一个实施方式中,插件包括基于客户端技术构建的插件,和/或基于客户端技术与云服务技术构建的插件。
在一个实施方式中,插件包括以下任意一种或多种:实现预设功能的功能插件、界面插件、设备插件、互动插件。
在一个实施方式中,第二接收模块602,具体用于:接收用户在本地集成开发环境IDE中,采用Rax或者Vue作为模版语言编写应用程序的界面所生成的源代码。
在一个实施方式中,源代码是用户在本地IDE中授权登录之后所编写生成的。
在一个实施方式中,装置还包括:标识分配模块605,用于为每一用户分配用户标识;关联关系建立模块606,用于针对每一创建应用程序的用户,记录用户的用户标识与用户创建应用程序之间的关联关系。
在本地IDE侧,在实现的时候,上述实施例中的应用程序的生成方法可以通过应用程序的生成装置来实现。如图7所示,应用程序的生成装置700,可以包括:
第一接收模块701,用于接收应用程序的创建指令和应用程序的配置信息。
编译模块702,用于提供应用程序的界面编写环境。
第二接收模块703,用于接收用户在界面编写环境中编写的程序代码,生成应用程序的源代码。
提交模块704,用于提交源代码给服务器。
第三接收模块705,用于接收服务器返回的基于应用程序的配置信息和应用程序的源代码业务构建生成的业务代码及封装代码打包生成的应用程序。
在一个实施方式中,第三接收模块705,具体用于:接收服务器返回的基于应用程序的配置信息和应用程序的源代码业务构建生成的业务代码、封装代码及响应于用户请求添加的插件,打包生成的应用程序。
在一个实施方式中,响应于用户请求添加的插件,包括:服务器中预先配置的插件,和/或用户提交到服务器中的插件。
在一个实施方式中,插件包括基于客户端技术构建的插件,和/或基于客户端技术与云服务技术构建的插件。
在一个实施方式中,插件包括以下任意一种或多种:实现预设功能的功能插件、界面插件、设备插件、互动插件。
在一个实施方式中,第二接收模块703,具体用于:接收用户采用Rax或者Vue作为模版语言编写的程序代码。
在一个实施方式中,第二接收模块703,具体用于:接收用户在授权登录之后在界面编写环境中编写的程序代码。
图8示出了能够实现根据本申请实施例的应用程序的生成方法和装置的计算设备的示例性硬件架构的结构图。如图8所示,计算设备800包括输入设备801、输入接口802、中央处理器803、存储器804、输出接口805、以及输出设备806。其中,输入接口802、中央处理器803、存储器804、以及输出接口805通过总线810相互连接,输入设备801和输出设备806分别通过输入接口802和输出接口805与总线810连接,进而与计算设备800的其他组件连接。
具体地,输入设备801接收来自外部的输入信息,并通过输入接口802将输入信息传送到中央处理器803;中央处理器803基于存储器804中存储的计算机可执行指令对输入信息进行处理以生成输出信息,将输出信息临时或者永久地存储在存储器804中,然后通过输出接口805将输出信息传送到输出设备806;输出设备806将输出信息输出 到计算设备800的外部供用户使用。
也就是说,图8所示的计算设备也可以被实现为应用程序的生成设备,该应用程序的生成设备可以包括:存储有计算机可执行指令的存储器;以及处理器,该处理器在执行计算机可执行指令时可以实现结合图1-图7描述的应用程序的生成方法和装置。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品或计算机可读存储介质的形式实现。所述计算机程序产品或计算机可读存储介质包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如,红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如,固态硬盘Solid State Disk(SSD))等。
另外,结合上述实施例中的应用程序的生成方法,本申请实施例可提供一种计算机可读存储介质来实现。该计算机可读存储介质上存储有计算机程序指令;该计算机程序指令被处理器执行时实现上述实施例中的任意一种应用程序的生成方法。
基于与本申请实施例提供的应用程序的生成方法相同的构思,如图9所示,本申请实施例还提供了一种应用程序的生成系统900,包括:
应用管理模块901,用于接收应用程序的创建指令和应用程序的配置信息。
集成开发模块902,用于接收用户编写的应用程序界面的源代码。
业务构建模块903,用于对源代码进行业务构建,生成应用程序的业务代码。
封装打包模块904,用于基于应用程序的配置信息、应用程序的源代码业务构建生成的业务代码及封装代码打包生成的应用程序。
在一个实施方式中,应用程序的生成系统900还可以包括:测试适配模块905,用于测试生成的应用程序的性能,并确定生成的应用程序适配的终端类型。
在一个示例中,测试适配模块905可以模拟生成的应用程序在任一终端中的运行情 况,以测试生成的应用程序的性能,同时也可以通过模拟运行确定生成的应用程序适配的终端类型。
在一个实施方式中,应用程序的生成系统900还可以包括:功能扩展模块906,用于在生成的应用程序中添加用户提交的插件,或者响应于用户请求在应用程序中添加预先配置的插件。
在一个实施方式中,插件包括基于客户端技术构建的插件,和/或基于客户端技术与云服务技术构建的插件。
在一个实施方式中,插件包括以下任意一种或多种:实现预设功能的功能插件、界面插件、设备插件、互动插件。
在一个实施方式中,应用程序的生成系统900还可以包括:运维分析模块907,用于统计应用程序多个预设指标的指标值,并基于统计得到的多个指标值维护应用程序。
在一个示例中,多个预设指标可以包括但不限于:安装应用程序的终端数量、安装应用程序的途径、应用程序在终端中的留存时间。
通过统计应用程序多个预设指标的指标值,能够帮助用户基于统计得到的多个指标值维护应用程序。
在一个实施方式中,应用管理模块901,还用于:为每一用户分配用户标识,并针对每一创建应用程序的用户,记录用户的用户标识与用户创建应用程序之间的关联关系。
需要明确的是,本申请并不局限于上文所描述并在图中示出的特定配置和处理。为了简明起见,这里省略了对已知方法的详细描述。在上述实施例中,描述和示出了若干具体的步骤作为示例。但是,本申请的方法过程并不限于所描述和示出的具体步骤,本领域的技术人员可以在领会本申请的精神后,作出各种改变、修改和添加,或者改变步骤之间的顺序。
还需要说明的是,本申请中提及的示例性实施例,基于一系列的步骤或者装置描述一些方法或系统。但是,本申请不局限于上述步骤的顺序,也就是说,可以按照实施例中提及的顺序执行步骤,也可以不同于实施例中的顺序,或者若干步骤同时执行。
以上所述,仅为本申请的具体实施方式,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的系统、模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。应理解,本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。

Claims (32)

  1. 一种应用程序的生成方法,其特征在于,所述方法包括:
    接收应用程序的创建指令和所述应用程序的配置信息;
    接收用户编写的所述应用程序界面的源代码;
    对所述源代码进行业务构建,生成所述应用程序的业务代码;
    基于所述业务代码、所述配置信息及封装代码,打包生成所述应用程序。
  2. 根据权利要求1所述的方法,其特征在于,所述封装代码包括针对不同操作系统预设的标准封装代码;
    所述基于所述业务代码、所述配置信息及封装代码,打包生成所述应用程序,包括:
    基于所述业务代码、所述配置信息及不同操作系统预设的标准封装代码,打包生成基于不同操作系统的应用程序。
  3. 根据权利要求2所述的方法,其特征在于,所述基于所述业务代码、所述配置信息及不同操作系统预设的标准封装代码,打包生成基于不同操作系统的应用程序,包括:
    根据所述操作系统的类型,获取所述操作系统对应的应用平台证书和打包脚本;
    从所述标准封装代码中取出所述操作系统的封装代码,并基于所述操作系统的封装代码、所述业务代码、所述配置信息及所述操作系统对应的应用平台证书,按照预置的规则生成每个操作系统的工程目录;
    对所述操作系统的工程目录执行所述操作系统对应的打包脚本,生成基于不同操作系统的应用程序。
  4. 根据权利要求1所述的方法,其特征在于,所述配置信息中包括所述应用程序的类型;
    所述基于所述业务代码、所述配置信息及封装代码,打包生成所述应用程序,包括:
    基于所述业务代码、所述配置信息及封装代码,打包生成与所述应用程序的类型相同的应用程序。
  5. 根据权利要求1所述的方法,其特征在于,所述基于所述业务代码、所述配置信息及封装代码,打包生成所述应用程序,包括:
    基于所述业务代码、所述配置信息、所述封装代码及响应于用户请求添加的预先配置的插件,打包生成所述应用程序。
  6. 根据权利要求1所述的方法,其特征在于,所述基于所述业务代码、所述配置信息及封装代码,打包生成所述应用程序,包括:
    接收用户提交的用于添加在所述应用程序中的插件;
    基于所述业务代码、所述配置信息、所述封装代码及所述用户提交的插件,打包生成所述应用程序。
  7. 根据权利要求5或6所述的方法,其特征在于,所述插件包括基于客户端技术构建的插件,和/或基于客户端技术与云服务技术构建的插件。
  8. 根据权利要求5或6所述的方法,其特征在于,所述插件包括以下任意一种或多种:实现预设功能的功能插件、界面插件、设备插件、互动插件。
  9. 根据权利要求1所述的方法,其特征在于,所述接收用户编写的所述应用程序界面的源代码,包括:
    接收用户在本地集成开发环境IDE中,采用Rax或者Vue作为模版语言编写的所述应用程序界面的源代码。
  10. 根据权利要求9所述的方法,其特征在于,所述源代码是所述用户在本地IDE中授权登录之后所编写的。
  11. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    为每一用户分配用户标识;
    针对每一创建应用程序的用户,记录所述用户的用户标识与所述用户创建应用程序之间的关联关系。
  12. 一种应用程序的生成方法,其特征在于,所述方法包括:
    接收应用程序的创建指令和所述应用程序的配置信息;
    提供所述应用程序的界面编写环境;
    接收用户在所述界面编写环境中编写的程序代码,生成所述应用程序的源代码;
    提交所述源代码给服务器;
    接收所述服务器返回的基于所述配置信息和所述源代码业务构建生成的业务代码及封装代码打包生成的所述应用程序。
  13. 根据权利要求12所述的方法,其特征在于,所述接收所述服务器返回的基于所述配置信息和所述源代码业务构建生成的业务代码及封装代码打包生成的所述应用程序,包括:
    接收所述服务器返回的基于所述配置信息和所述源代码业务构建生成的业务代码、所述封装代码及响应于用户请求添加的插件,打包生成的所述应用程序。
  14. 根据权利要求13所述的方法,其特征在于,所述响应于用户请求添加的插件, 包括:所述服务器中预先配置的插件,和/或所述用户提交到所述服务器中的插件。
  15. 根据权利要求13或14所述的方法,其特征在于,所述插件包括基于客户端技术构建的插件,和/或基于客户端技术与云服务技术构建的插件。
  16. 根据权利要求13或14所述的方法,其特征在于,所述插件包括以下任意一种或多种:实现预设功能的功能插件、界面插件、设备插件、互动插件。
  17. 根据权利要求12所述的方法,其特征在于,所述接收用户在所述界面编写环境中编写的程序代码,包括:
    接收所述用户采用Rax或者Vue作为模版语言编写的程序代码。
  18. 根据权利要求12所述的方法,其特征在于,所述接收用户在所述界面编写环境中编写的程序代码,包括:
    接收用户在授权登录之后在所述界面编写环境中编写的程序代码。
  19. 一种应用程序的生成装置,其特征在于,所述装置包括:
    第一接收模块,用于接收应用程序的创建指令和所述应用程序的配置信息;
    第二接收模块,用于接收用户编写的所述应用程序界面的源代码;
    构建模块,用于对所述源代码进行业务构建,生成所述应用程序的业务代码;
    打包模块,用于基于所述业务代码、所述配置信息及封装代码,打包生成所述应用程序。
  20. 一种应用程序的生成装置,其特征在于,所述装置包括:
    第一接收模块,用于接收应用程序的创建指令和所述应用程序的配置信息;
    编译模块,用于提供所述应用程序的界面编写环境;
    第二接收模块,用于接收用户在所述界面编写环境中编写的程序代码,生成所述应用程序的源代码;
    提交模块,用于提交所述源代码给服务器;
    第三接收模块,用于接收所述服务器返回的基于所述配置信息和所述源代码业务构建生成的业务代码及封装代码打包生成的所述应用程序。
  21. 一种应用程序的生成设备,其特征在于,包括存储器和处理器;所述存储器用于储存有可执行程序代码;所述处理器用于读取所述存储器中存储的可执行程序代码以执行权利要求1-11中任意一项所述的方法。
  22. 一种计算机可读存储介质,其上存储有计算机程序指令,其特征在于,当所述计算机程序指令被处理器执行时实现如权利要求1-11中任一项所述的方法。
  23. 一种应用程序的生成设备,其特征在于,包括存储器和处理器;所述存储器用于储存有可执行程序代码;所述处理器用于读取所述存储器中存储的可执行程序代码以执行权利要求12-18中任意一项所述的方法。
  24. 一种计算机可读存储介质,其上存储有计算机程序指令,其特征在于,当所述计算机程序指令被处理器执行时实现如权利要求12-18中任一项所述的方法。
  25. 一种应用程序的生成系统,其特征在于,所述系统包括:
    应用管理模块,用于接收应用程序的创建指令和所述应用程序的配置信息;
    集成开发模块,用于接收用户编写的所述应用程序界面的源代码;
    业务构建模块,用于对所述源代码进行业务构建,生成所述应用程序的业务代码;
    封装打包模块,用于基于所述配置信息、所述源代码业务构建生成的业务代码及封装代码打包生成的所述应用程序。
  26. 根据权利要求25所述的系统,其特征在于,所述系统还包括:
    测试适配模块,用于测试所述应用程序的性能,并确定所述应用程序适配的终端类型。
  27. 根据权利要求25所述的系统,其特征在于,所述系统还包括:
    功能扩展模块,用于在所述应用程序中添加用户提交的插件,或者响应于用户请求在所述应用程序中添加预先配置的插件。
  28. 根据权利要求27所述的系统,其特征在于,所述插件包括基于客户端技术构建的插件,和/或基于客户端技术与云服务技术构建的插件。
  29. 根据权利要求27所述的系统,其特征在于,所述插件包括以下任意一种或多种:实现预设功能的功能插件、界面插件、设备插件、互动插件。
  30. 根据权利要求25所述的系统,其特征在于,所述系统还包括:
    运维分析模块,用于统计所述应用程序多个预设指标的指标值,并基于统计得到的多个指标值维护所述应用程序。
  31. 根据权利要求25所述的系统,其特征在于,所述应用管理模块,还用于:
    为每一用户分配用户标识;
    针对每一创建应用程序的用户,记录所述用户的用户标识与所述用户创建应用程序之间的关联关系。
  32. 一种应用于云端平台的应用程序生成方法,其特征在于,包括:
    所述云端平台接收应用程序的创建指令和所述应用程序的配置信息;
    所述云端平台接收用户编写的所述应用程序界面的源代码;
    所述云端平台对所述源代码进行业务构建,生成所述应用程序的业务代码;
    所述云端平台基于所述业务代码、所述配置信息及封装代码,打包生成所述应用程序。
PCT/CN2018/108513 2017-10-11 2018-09-29 应用程序的生成方法、装置、系统、设备和介质 WO2019072110A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710943799.1 2017-10-11
CN201710943799.1A CN109656538B (zh) 2017-10-11 2017-10-11 应用程序的生成方法、装置、系统、设备和介质

Publications (1)

Publication Number Publication Date
WO2019072110A1 true WO2019072110A1 (zh) 2019-04-18

Family

ID=66100368

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/108513 WO2019072110A1 (zh) 2017-10-11 2018-09-29 应用程序的生成方法、装置、系统、设备和介质

Country Status (3)

Country Link
CN (1) CN109656538B (zh)
TW (1) TW201915850A (zh)
WO (1) WO2019072110A1 (zh)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083341A (zh) * 2019-04-19 2019-08-02 上海上湖信息技术有限公司 一种前端开发平台、前端开发方法及页面显示方法
CN110851114A (zh) * 2019-10-24 2020-02-28 山东中创软件工程股份有限公司 一种业务系统开发方法、装置及电子设备和存储介质
CN111008007A (zh) * 2019-11-06 2020-04-14 贝壳技术有限公司 组件开发方法、系统、存储介质及处理器
CN111008009A (zh) * 2019-11-05 2020-04-14 贝壳技术有限公司 基于Flutter的业务组件化方法及系统
CN111258565A (zh) * 2020-01-21 2020-06-09 深圳乐信软件技术有限公司 小程序的生成方法、系统、服务器及存储介质
CN111324394A (zh) * 2020-01-23 2020-06-23 北京恒华伟业科技股份有限公司 系统集成的方法和装置
CN111459810A (zh) * 2020-03-25 2020-07-28 南阳柯丽尔科技有限公司 构建应用程序的方法、编程设备和计算机可读存储介质
CN112035112A (zh) * 2020-09-02 2020-12-04 北京思明启创科技有限公司 应用程序开发方法、系统、介质和电子设备
CN112112638A (zh) * 2019-06-19 2020-12-22 中国石油化工股份有限公司 一种用于创建测井数据分析系统的方法及装置
CN112506529A (zh) * 2020-11-26 2021-03-16 杭州讯酷科技有限公司 一种使用插件快速构建兼容系统的方法
CN112559026A (zh) * 2020-12-23 2021-03-26 南方电网深圳数字电网研究院有限公司 基于api接口的原生能力拓展方法、设备及存储介质
CN112804246A (zh) * 2021-01-27 2021-05-14 上海淇玥信息技术有限公司 一种本地能力权限开放和控制方法、装置和电子设备
CN113204393A (zh) * 2021-04-25 2021-08-03 随锐科技集团股份有限公司 原生与js交互的消息处理方法
CN113282851A (zh) * 2020-02-18 2021-08-20 北京沃东天骏信息技术有限公司 一种应用集成系统和应用集成方法
CN113296790A (zh) * 2020-02-21 2021-08-24 阿里巴巴集团控股有限公司 生成应用数据包的方法、设备以及计算机可读介质
CN113360141A (zh) * 2021-06-04 2021-09-07 北京京东振世信息技术有限公司 一种vue文件转换方法、装置、电子设备及存储介质
CN113377354A (zh) * 2021-05-31 2021-09-10 北京沃东天骏信息技术有限公司 移动端应用的组件化开发系统
CN113836039A (zh) * 2021-10-25 2021-12-24 四川虹美智能科技有限公司 自动化冒烟测试方法和系统
CN115328442A (zh) * 2022-10-13 2022-11-11 北京帮安迪信息科技股份有限公司 基于低代码平台构建的危化品企业安全风险管控平台
CN115409194A (zh) * 2021-05-28 2022-11-29 合肥本源量子计算科技有限责任公司 量子程序的生成系统及量子计算机操作系统

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035095A (zh) * 2019-06-03 2020-12-04 北京沃东天骏信息技术有限公司 应用处理方法、应用处理装置、计算机设备和介质
CN110333868B (zh) * 2019-06-12 2023-12-19 创新先进技术有限公司 用于生成子应用的安装包的方法和系统
CN110231965B (zh) * 2019-06-19 2022-05-10 京东方科技集团股份有限公司 一种云端设备、应用程序处理方法及电子设备
CN112114789B (zh) * 2019-06-20 2024-02-06 腾讯科技(深圳)有限公司 一种业务开发方法及设备
CN112650522A (zh) * 2019-09-26 2021-04-13 北京国双科技有限公司 平台动态配置的方法、装置、存储介质及设备
CN111209010A (zh) * 2019-12-27 2020-05-29 天阳宏业科技股份有限公司 一种平台及其实现方法
CN111209035A (zh) * 2020-01-15 2020-05-29 深圳壹账通智能科技有限公司 软件开发的配置方法及配置系统
CN111290737B (zh) * 2020-01-20 2023-03-21 北京字节跳动网络技术有限公司 用于应用程序开发的方法、装置及电子设备
CN111813393A (zh) * 2020-03-20 2020-10-23 北京四维智联科技有限公司 一种应用程序开发方法及装置
CN113448574A (zh) * 2020-03-27 2021-09-28 比亚迪股份有限公司 应用程序发布方法、装置、存储介质及计算机设备
CN111596949B (zh) * 2020-04-09 2021-06-04 北京五八信息技术有限公司 一种开发应用程序的方法及装置
CN113741951B (zh) * 2020-05-29 2024-06-18 北京沃东天骏信息技术有限公司 本地打包方法和装置
CN111694402B (zh) * 2020-06-11 2021-10-01 翱捷科技股份有限公司 单芯片异构系统的控制方法和可穿戴设备
CN111796802B (zh) * 2020-06-30 2023-09-12 北京字节跳动网络技术有限公司 功能包生成方法、装置和电子设备
CN111880799A (zh) * 2020-07-30 2020-11-03 浪潮云信息技术股份公司 取号客户端程序的生成方法、装置及可读介质
CN112558944B (zh) * 2021-02-26 2021-05-18 武汉木仓信息技术有限公司 一种app生成方法、装置、处理设备及计算机可读存储介质
CN112862349B (zh) * 2021-03-04 2024-04-16 北京同邦卓益科技有限公司 基于abs业务数据的数据处理方法、装置和设备
CN112989324B (zh) * 2021-03-10 2024-07-19 中国民航信息网络股份有限公司 数据交互的方法、装置、电子设备及存储介质
CN113485686B (zh) * 2021-07-22 2023-10-20 苏州万戈软件科技有限公司 信息系统程序的生成方法、装置、电子设备及存储介质
TWI795009B (zh) * 2021-10-01 2023-03-01 王世華 應用程式介面(api)生成與管理系統
CN113971021A (zh) * 2021-11-25 2022-01-25 上海禾骋科技有限公司 一种服务于第三方开发者的云平台系统及开发方法
CN114064040A (zh) * 2021-11-30 2022-02-18 上海汇付数据服务有限公司 一种基于可视化界面的终端代码自动生成方法和平台
CN114756302A (zh) * 2022-04-25 2022-07-15 中国建设银行股份有限公司 一种信息处理方法、装置、设备和介质
CN114995830B (zh) * 2022-08-03 2022-11-11 浙江口碑网络技术有限公司 一种代码编译方法及装置
CN116560756B (zh) * 2023-07-12 2024-04-16 鹏城实验室 服务编排方法、电子设备、计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110088011A1 (en) * 2009-10-14 2011-04-14 Vermeg Sarl Automated Enterprise Software Development
CN103838573A (zh) * 2014-01-03 2014-06-04 浙江宇天科技股份有限公司 应用程序生成方法及装置
CN106354542A (zh) * 2016-08-27 2017-01-25 乐视控股(北京)有限公司 应用程序生成方法及装置
CN107087004A (zh) * 2017-05-17 2017-08-22 深圳乐信软件技术有限公司 源文件处理方法及装置、源文件获取方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8397223B2 (en) * 2000-03-17 2013-03-12 Gutenberg Printing Llc Web application generator
CN102693121A (zh) * 2011-03-24 2012-09-26 叶盛誉 一种跨平台手机应用的自动开发制作系统及实现方法
CN105956830A (zh) * 2016-05-11 2016-09-21 中煤电气有限公司 一种基于j2ee框架的企业级可视化应用开发平台

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110088011A1 (en) * 2009-10-14 2011-04-14 Vermeg Sarl Automated Enterprise Software Development
CN103838573A (zh) * 2014-01-03 2014-06-04 浙江宇天科技股份有限公司 应用程序生成方法及装置
CN106354542A (zh) * 2016-08-27 2017-01-25 乐视控股(北京)有限公司 应用程序生成方法及装置
CN107087004A (zh) * 2017-05-17 2017-08-22 深圳乐信软件技术有限公司 源文件处理方法及装置、源文件获取方法及装置

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083341A (zh) * 2019-04-19 2019-08-02 上海上湖信息技术有限公司 一种前端开发平台、前端开发方法及页面显示方法
CN112112638A (zh) * 2019-06-19 2020-12-22 中国石油化工股份有限公司 一种用于创建测井数据分析系统的方法及装置
CN112112638B (zh) * 2019-06-19 2024-05-03 中国石油化工股份有限公司 一种用于创建测井数据分析系统的方法及装置
CN110851114A (zh) * 2019-10-24 2020-02-28 山东中创软件工程股份有限公司 一种业务系统开发方法、装置及电子设备和存储介质
CN111008009A (zh) * 2019-11-05 2020-04-14 贝壳技术有限公司 基于Flutter的业务组件化方法及系统
CN111008009B (zh) * 2019-11-05 2023-02-24 贝壳技术有限公司 基于Flutter的业务组件化方法及系统
CN111008007A (zh) * 2019-11-06 2020-04-14 贝壳技术有限公司 组件开发方法、系统、存储介质及处理器
CN111008007B (zh) * 2019-11-06 2023-03-28 贝壳技术有限公司 组件开发方法、系统、存储介质及处理器
CN111258565B (zh) * 2020-01-21 2023-06-06 深圳乐信软件技术有限公司 小程序的生成方法、系统、服务器及存储介质
CN111258565A (zh) * 2020-01-21 2020-06-09 深圳乐信软件技术有限公司 小程序的生成方法、系统、服务器及存储介质
CN111324394A (zh) * 2020-01-23 2020-06-23 北京恒华伟业科技股份有限公司 系统集成的方法和装置
CN111324394B (zh) * 2020-01-23 2023-05-12 北京恒华伟业科技股份有限公司 系统集成的方法和装置
CN113282851A (zh) * 2020-02-18 2021-08-20 北京沃东天骏信息技术有限公司 一种应用集成系统和应用集成方法
CN113296790B (zh) * 2020-02-21 2023-12-29 阿里巴巴集团控股有限公司 生成应用数据包的方法、设备以及计算机可读介质
CN113296790A (zh) * 2020-02-21 2021-08-24 阿里巴巴集团控股有限公司 生成应用数据包的方法、设备以及计算机可读介质
CN111459810A (zh) * 2020-03-25 2020-07-28 南阳柯丽尔科技有限公司 构建应用程序的方法、编程设备和计算机可读存储介质
CN112035112A (zh) * 2020-09-02 2020-12-04 北京思明启创科技有限公司 应用程序开发方法、系统、介质和电子设备
CN112035112B (zh) * 2020-09-02 2024-04-05 北京思明启创科技有限公司 应用程序开发方法、系统、介质和电子设备
CN112506529B (zh) * 2020-11-26 2024-03-26 杭州讯酷科技有限公司 一种使用插件快速构建兼容系统的方法
CN112506529A (zh) * 2020-11-26 2021-03-16 杭州讯酷科技有限公司 一种使用插件快速构建兼容系统的方法
CN112559026B (zh) * 2020-12-23 2024-05-14 南方电网数字平台科技(广东)有限公司 基于api接口的原生能力拓展方法、设备及存储介质
CN112559026A (zh) * 2020-12-23 2021-03-26 南方电网深圳数字电网研究院有限公司 基于api接口的原生能力拓展方法、设备及存储介质
CN112804246A (zh) * 2021-01-27 2021-05-14 上海淇玥信息技术有限公司 一种本地能力权限开放和控制方法、装置和电子设备
CN112804246B (zh) * 2021-01-27 2023-07-28 上海淇玥信息技术有限公司 一种本地能力权限开放和控制方法、装置和电子设备
CN113204393A (zh) * 2021-04-25 2021-08-03 随锐科技集团股份有限公司 原生与js交互的消息处理方法
CN115409194A (zh) * 2021-05-28 2022-11-29 合肥本源量子计算科技有限责任公司 量子程序的生成系统及量子计算机操作系统
CN113377354B (zh) * 2021-05-31 2024-04-05 北京沃东天骏信息技术有限公司 移动端应用的组件化开发系统
CN113377354A (zh) * 2021-05-31 2021-09-10 北京沃东天骏信息技术有限公司 移动端应用的组件化开发系统
CN113360141A (zh) * 2021-06-04 2021-09-07 北京京东振世信息技术有限公司 一种vue文件转换方法、装置、电子设备及存储介质
CN113360141B (zh) * 2021-06-04 2024-04-16 北京京东振世信息技术有限公司 一种vue文件转换方法、装置、电子设备及存储介质
CN113836039A (zh) * 2021-10-25 2021-12-24 四川虹美智能科技有限公司 自动化冒烟测试方法和系统
CN115328442A (zh) * 2022-10-13 2022-11-11 北京帮安迪信息科技股份有限公司 基于低代码平台构建的危化品企业安全风险管控平台
CN115328442B (zh) * 2022-10-13 2023-01-10 北京帮安迪信息科技股份有限公司 基于低代码平台构建的危化品企业安全风险管控平台

Also Published As

Publication number Publication date
TW201915850A (zh) 2019-04-16
CN109656538A (zh) 2019-04-19
CN109656538B (zh) 2022-09-27

Similar Documents

Publication Publication Date Title
WO2019072110A1 (zh) 应用程序的生成方法、装置、系统、设备和介质
CN108415832B (zh) 接口自动化测试方法、装置、设备及存储介质
US9959198B1 (en) Simulated testing of API
US10452407B2 (en) Adapter configuration
US10135936B1 (en) Systems and methods for web analytics testing and web development
US9218269B2 (en) Testing multiple target platforms
KR102243793B1 (ko) 코드 가상화 및 원격 프로세스 호출 생성을 위한 방법 및 장치
CN111083225A (zh) 在物联网平台中的数据处理方法、装置及物联网平台
US11561889B2 (en) Orchestration for automated performance testing
US9529648B2 (en) Generic declaration of bindings between events and event handlers regardless of runtime structure
CN108228228B (zh) 应用软件发布方法及装置
CN102023856A (zh) 根据用户的需求格式化输出及操作伺服端业务数据的方法
CN110955409B (zh) 在云平台上创建资源的方法和装置
CN112104709A (zh) 智能合约的处理方法、装置、介质及电子设备
CN110750243A (zh) 项目代码开发方法和系统
Rattanapoka et al. An MQTT-based IoT cloud platform with flow design by Node-RED
Rajput Hands-On Microservices–Monitoring and Testing: A performance engineer’s guide to the continuous testing and monitoring of microservices
CN113778897B (zh) 接口的自动测试方法、装置、设备及存储介质
CN108595656B (zh) 一种数据的处理方法及系统
Pillai Software architecture with Python
CN113238739A (zh) 一种插件开发和数据获取方法、装置、电子设备及介质
CN116841543A (zh) 基于Flutter动态生成跨平台多端应用的开发方法
Costa et al. Google Cloud Cookbook
US10453019B1 (en) Business activity resource modeling system and method
CN108170557B (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: 18866144

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

Country of ref document: EP

Kind code of ref document: A1