WO2023040064A1 - OpenHarmony操作系统应用的无代码智能开发系统及其使用方法 - Google Patents

OpenHarmony操作系统应用的无代码智能开发系统及其使用方法 Download PDF

Info

Publication number
WO2023040064A1
WO2023040064A1 PCT/CN2021/135279 CN2021135279W WO2023040064A1 WO 2023040064 A1 WO2023040064 A1 WO 2023040064A1 CN 2021135279 W CN2021135279 W CN 2021135279W WO 2023040064 A1 WO2023040064 A1 WO 2023040064A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
openharmony
code
user
application
Prior art date
Application number
PCT/CN2021/135279
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 WO2023040064A1 publication Critical patent/WO2023040064A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/24Object-oriented
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Definitions

  • the invention relates to the field of code-free intelligent development of OpenHarmony operating system applications, in particular to a code-free intelligent development system for OpenHarmony operating system applications and a method for using the same.
  • OpenHarmony operating system is a new generation of smart terminal operating system in China, which has broad development prospects in the future, but it is still a relatively new technology at present. OpenHarmony has its own api interface and development platform, which makes it difficult for people without relevant experience to obtain the required OpenHarmony applications.
  • the purpose of the present invention is to provide a code-free intelligent development system for OpenHarmony operating system applications and its usage method, so as to solve the problems raised in the above-mentioned background technology.
  • the present invention provides the following technical solutions.
  • a code-free intelligent development system for OpenHarmony operating system applications which adopts a front-end and back-end separation system architecture, wherein,
  • Front-end systems including:
  • the business module is used for the user to obtain and set the ui components and logic flow provided by the project template of the OpenHarmony project according to the required business scenarios;
  • the ui generation module is used to design the UI interface of the OpenHarmony application based on the ui component, and send the parameters required to generate the ui component in the UI interface to the backend in json string format;
  • the process module is used to design the business jump process by using the UI interface and the logical process, obtain the associated logical events, and send the parameters of the associated logical events to the backend in json string format;
  • Backend systems including:
  • the code generation module is used to generate OpenHarmony application code including UI code and business logic code according to ui components and associated logic events.
  • the front-end system adopts the ceremonies framework, built using réelle-cli, webpack is used as a modular management and packaging tool, and element-ui is used to beautify the page.
  • the front-end system also includes a user module, which is used to complete the interaction of the system front-end with the user's personal information.
  • the front-end system also includes an administrator module, which is used to complete the interaction between the system front-end and the administrator management system.
  • the back-end system adopts a micro-service architecture pattern, and also includes a data persistence module, which is used to persist the data generated by the front-end system into the back-end database.
  • the back-end system also includes a distributed file storage module, which is used to save the file uploaded by the user when generating the OpenHarmony application to the distributed file storage system.
  • the back-end system also includes a template parsing module, which is used to parse the templates designed and uploaded by users at the front-end, and persist the template codes to the local code component library.
  • the backend system also includes a third-party API calling module, which is used to call a third-party API to complete service implementation.
  • the backend system also includes a code packaging module, which is used to package the OpenHarmony application code to generate a hap package.
  • the back-end system also includes a code download module, which is used to download the OpenHarmony application code or hap package to the user's local.
  • the back-end system also includes an IDE tool testing module, which is used for the front-end to complete the calling of the OpenHarmony application code in the user's local by the IDE tool.
  • the back-end system also includes a real machine test module, which is used to publish the hap package in the user's local area to the real machine of the OpenHarmony system for business testing through the front-end operation.
  • the back-end system also includes a system status monitoring module, which is used to monitor the running status information of the host where the service is located, monitor the thread stack information, GC information and memory usage of the microservice JVM, and detect the service status.
  • a system status monitoring module which is used to monitor the running status information of the host where the service is located, monitor the thread stack information, GC information and memory usage of the microservice JVM, and detect the service status.
  • the back-end system also includes a system management module, which is used to complete user registration services, user login services, user registration password modification services, user logout services, user prohibition services, and management of user operation authority.
  • the user uses the set OpenHarmony project template to obtain the corresponding ui components and logic flow;
  • the code-free intelligent development framework of the present invention can help users quickly develop OpenHarmony applications with minimal coding knowledge. It is possible to allow users to assemble and configure applications using visual modeling in the graphical interface, so that users can skip all the infrastructure and only focus on the implementation of OpenHarmony application business logic, promoting OpenHarmony application development and popularization are of great significance.
  • Fig. 1 is a schematic diagram of a code-free intelligent development system applied to the OpenHarmony operating system.
  • Figure 2 is a business architecture diagram.
  • Figure 3 is a user flow chart.
  • a code-free intelligent development system for OpenHarmony operating system applications the entire OpenHarmony application code-free intelligent development system adopts a front-end and back-end separation system architecture.
  • the code-free intelligent development system for the application of the entire OpenHarmony operating system adopts a system architecture with front-end and back-end separation.
  • the front end uses réelle-cli to build the system, and the back end builds the system based on spring-boot.
  • the separation of front and back ends is not only a development mode, but also an architecture mode.
  • the front-end and back-end agree on the data interaction interface to realize parallel development and testing; in the operation stage, the front-end and back-end are deployed separately, and HTTP or other communication protocols are used for interactive requests.
  • the front end is mainly responsible for drawing the virtual machine for the user, allowing the user to drag and drop components to the personalized design interface ui of the virtual machine, and drag and drop the ui interface in the business, design associated logic events, form the flow chart of the app, and pass the required parameters to Back-end, the back-end performs business logic processing according to the data from the front-end, generates OpenHarmony application code, and packages it for users to install.
  • the front-end system is built using the réelle framework, including several core functional modules: user module, administrator module, business module, ui generation module, and process module.
  • the user module includes: a login registration module, a personal information editing module, and a personal project management module.
  • the administrator module includes: a platform management module, a user management module, and a rights management module.
  • the service modules include: a service selection module and a service generation module.
  • the ui generation module includes: a virtual machine selection module, a ui component module, a ui preview module, and a code generation module.
  • the process module includes: a process design module, an event binding module, and a flowchart generation module.
  • the front-end system adopts the ceremonies framework and is built with réelle-cli. Webpack is used as a modular management and packaging tool, and element-ui is used to beautify the page.
  • the user module completes the interaction between the front end of the entire system and the user's personal information.
  • the user module includes a login and registration module, a personal information editing module, and a personal project management module.
  • the login and registration module provides a login and registration page for users to perform operations such as login, registration, and password modification to enter the system.
  • the personal information editing module provides a form page for users to modify personal data.
  • the personal project management module allows users to view their own projects, manage them, and view project details.
  • the administrator module completes the interaction between the front end of the entire system and the administrator management system.
  • the administrator module includes a platform management module, a user management module, and a rights management module.
  • the platform management module provides a visual operation panel to display system status information such as system access times, issues, and number of users.
  • User management module which lists all currently registered user information.
  • the authority management module displays the status of current users and projects for administrators to review and perform authority operations such as banning.
  • the business module completes the interaction between the front end of the entire system and the corresponding business items generated by the user.
  • the service modules include a service selection module and a service generation module.
  • the business selection module provides multiple specific business scenarios for users to choose, such as: blog, music player, notepad, shopping platform... .
  • the business generation module after selecting a specific business scenario, will generate some ui components and logic processes encapsulated in the corresponding scenario for users to drag and drop to design applications, so that users will not start designing applications from a blank page without a clue, but choose After the specific scenario you want to apply, the front end of the system provides many templates that are packaged for the business.
  • the ui generation module completes the interaction of the front end of the entire system with user design and generation of app page ui.
  • the ui generation module includes a virtual machine selection module, a ui component module, a ui preview module and a code generation module.
  • the virtual machine selection module provides Huawei virtual machines of different models and resolutions for users to choose, and after selection, the front end generates virtual machines with corresponding resolutions, so that users can design applications compatible with multiple devices.
  • the ui component module provides a variety of basic ui components: buttons, text boxes, pictures... At the same time, according to the specific business selected by the user, the unique packaged and beautified ui component of the business is provided for the user to choose.
  • the ui preview module enables the user to drag and drop the ui component to the virtual machine, and the virtual machine displays the style of the current page in real time, supports the user's basic operations on the ui component, deletes, modifies attributes, etc., and the user modifies the style of the ui component , the virtual machine is displayed in real time, the code generation module is used to communicate with the backend to generate an OpenHarmony application page, store the code of the ui component in the current virtual machine through json, and send the json string of the ui component in the current virtual machine to the backend .
  • the process module completes the interaction of the front end of the entire system to the user design and generation of the OpenHarmony application logic process.
  • the process module includes a process design module, an event binding module, and a flowchart generation module.
  • the process design module is for the user to design a flow chart by dragging and dropping the designed page.
  • the event binding module provides corresponding logical events according to the specific business selected by the user, so that multiple pages designed by the user can be associated.
  • the flowchart generation module is used to communicate with the backend to generate the logic of the OpenHarmony application, and send the directly associated logic events of the page displayed by the flowchart to the backend.
  • the back-end system adopts a microservice system architecture.
  • the microservice advocates dividing a single application program into a group of small services. Each service runs in an independent server, and the services coordinate and cooperate with each other to provide users with Provide the final system application implementation.
  • the registry microservice completes the registration and service discovery of each microservice.
  • the configuration center microservice completes the dynamic management of each microservice configuration file.
  • the business microservice completes the business realization of the entire system.
  • the business micro-service includes a code generation business module, a data persistence module, a distributed file storage module, a template analysis module, a third-party API business call module, a code packaging module, a code download module, an IDE tool test module, and a real machine test module .
  • the code generation service module can realize OpenHarmony application UI code generation and business logic code generation.
  • the code generation process is to pre-place multiple types of OpenHarmony project templates in the service back-end template code base, and these OpenHarmony project templates include basic and general business logic and UI codes.
  • the data persistence module can realize the persistence of the front-end data into the back-end database.
  • the distributed file storage module can save user files in the distributed file storage system and provide convenient file upload and management, wherein the user files refer to the user files that need to be uploaded when using the framework to generate OpenHarmony applications Images, icons, and other necessary files for the application.
  • the template parsing module is used for parsing templates designed and submitted by users who have a certain OpenHarmony application development foundation at the front end, and persisting the template codes to the local code component library.
  • the third-party API calling module can call a third-party API to complete user-specific services.
  • the code packaging module can realize that the user operates through the front-end, and the back-end server automatically completes the packaging of the OpenHarmony application code generated by the code generation module.
  • the code download module on the one hand, can download the OpenHarmony application code generated by the code generation module to the user's local area, and on the other hand, can download the hap package generated by the code packaging module to the user's local area.
  • the IDE tool testing module can realize that the front end completes the IDE tool calling the OpenHarmony application code downloaded by the user under the specified target folder.
  • the real machine test module can implement the operation of the front end to complete the OpenHarmony application hap package downloaded by the user and publish it on the real machine of the OpenHarmony system for business testing.
  • the system status monitoring microservice includes a server status monitoring module, a virtual machine status monitoring module, and a basic service status monitoring module.
  • the server status monitoring module can monitor the running status information of the host where the service is located, such as cpu, memory, and disk usage.
  • the virtual machine state monitoring module can monitor thread stack information, GC information, and memory usage of the microservice JVM.
  • the basic service status monitoring module can detect the status of services such as connection DB, cache server, and MQ service in the service.
  • the system management microservice includes a registration and login business module, a password modification business module, a user management business module, and an authority management business module.
  • the registration and login service module completes user registration and login services.
  • the password modification service module completes the modification service of the user registration password.
  • the user management service module completes services such as user logout and disabling.
  • the authority management module completes the management of user operation authority.
  • a code-free intelligent development system for OpenHarmony operating system applications characterized in that: the steps for users to develop OpenHarmony applications without code are as follows:
  • S1 The user accesses the system through a browser to perform user registration and login;
  • S3 Select the specific business scenario corresponding to the developed application, and enter the project name and the name of the first UI page;
  • S4 The user designs the UI interface of the OpenHarmony application by dragging and dropping UI components, modifying the style of the UI components, and clicking Code Generation, and the backend system automatically generates the UI code of the OpenHarmony application;

Landscapes

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

Abstract

本发明公开了一种OpenHarmony操作系统应用的无代码智能开发系统及其使用方法,该系统采用前后端分离系统架构,前端系统包括:业务模块,用以根据业务场景获取设定OpenHarmony项目工程模板提供的ui组件与逻辑流程;ui生成模块,用以基于ui组件设计OpenHarmony应用的UI界面;流程模块,用以利用UI界面与逻辑流程进行业务跳转流程设计,得到关联逻辑事件;后端系统包括:代码生成模块,用以根据ui组件与关联逻辑事件,生成OpenHarmony应用代码。本发明帮助用户快速开发OpenHarmony应用程序,实现让用户在图形界面中,使用可视化建模的方式来组装和配置应用程序,对OpenHarmony应用开发的推广和普及具有重要的意义。

Description

OpenHarmony操作系统应用的无代码智能开发系统及其使用方法 技术领域
本发明涉及OpenHarmony操作系统应用无代码智能开发领域,具体是一种OpenHarmony操作系统应用的无代码智能开发系统及其使用方法。
背景技术
随着信息化程度的日益深入,对应用开发人员的需求不断增长,不仅需要更多的应用开发人员,而且对应用开发人员的素养要求日益提高。各类系统运行的基础是代码,代码是各类网站、APP、应用系统的基础和核心所在。如何高效、高质量编写代码是学术界研究的热点,更是企业界持续关注的焦点。在此背景下,员工无需培训就可以编写所需应用程序的可信赖平台对绝大部分公司都极具价值。而无代码/低代码技术,自提出之后得到了广泛关注和认可,并在不同行业取得了明显收益。有数据调查预测,无代码开发平台市场将从2017年的38亿美元增长到2022年的212亿美元。这种爆炸性增长证明了一件事,很多公司正在长期认真研究无代码开发,以求通过无代码开发平台解决对软件开发人员的依赖,真正实现无需专业开发人员就完成软件开发的工作。OpenHarmony操作系统是国内新一代智能终端操作系统,在未来拥有广阔的发展前景,但在目前仍是较为新鲜的技术。OpenHarmony拥有自己的api接口和开发平台,这导致没有相关经验的人员很难获得所需要的OpenHarmony应用。
发明内容
本发明的目的在于提供一种OpenHarmony操作系统应用的无代码智能开发系统及其使用方法,以解决上述背景技术中提出的问题。
为实现上述目的,本发明提供如下技术方案。
一种OpenHarmony操作系统应用的无代码智能开发系统,采用前后端分离系统架构,其中,
前端系统,包括:
业务模块,用以用户根据所需的业务场景,获取设定OpenHarmony项目工程模板提供的ui组件与逻辑流程;
ui生成模块,用以基于ui组件,设计OpenHarmony应用的UI界面,并将生成该UI界面中的ui组件所需的参数以json串格式发送给后端;
流程模块,用以利用UI界面与逻辑流程进行业务跳转流程设计,得到关联逻辑事件,并将所述关联逻辑事件的参数以json串格式发送给后端;
后端系统,包括:
代码生成模块,用以根据ui组件与关联逻辑事件,生成包括UI代码及业务逻辑代码的OpenHarmony应用代码。
进一步地,前端系统采用vue框架,使用vue-cli搭建,webpack作为模块化管理和打包工具,使用element-ui美化页面。
进一步地,所述前端系统还包括用户模块,用以完成系统前端对用户个人信息部分的交互。
进一步地,所述前端系统还包括管理员模块,用以完成系统前端对管理员管理系统的交互。
进一步地,所述后端系统采用微服务的架构模式,还包括数据持久化模块,用以实现将前端系统产生的数据持久化到后端数据库中。
进一步地,所述后端系统还包括分布式文件存储模块,用以生成OpenHarmony应用时用户上传的文件,保存到分布式文件存储系统中。
进一步地,所述后端系统还包括模板解析模块,用以解析用户在前端自行设计并上传提交的模板,并将模板代码持久化到本地的代码组件库。
进一步地,所述后端系统还包括第三方API调用模块,用以调用第三方API完成业务实现。
进一步地,所述后端系统还包括代码打包模块,用以对OpenHarmony应用代码进行打包,生成hap包。
进一步地,所述后端系统还包括代码下载模块,用以将OpenHarmony应用代码或hap包下载到用户本地。
进一步地,所述后端系统还包括IDE工具测试模块,用以前端完成IDE工具调用用户本地中的OpenHarmony应用代码。
进一步地,所述后端系统还包括真机测试模块,用以通过前端操作,将用户本地中的hap包发布于OpenHarmony系统真机进行业务测试。
进一步地,所述后端系统还包括系统状态监控模块,用以监控服务所在主机的运行状态信息,监控微服务JVM的线程堆栈信息、GC信息及内存占用情况,检测服务状态。
进一步地,所述后端系统还包括系统管理模块,用以完成用户注册业务、用户登陆业务、用户注册密码的修改业务、用户注销业务、用户禁用业务及对用户操作业务权限的管理。
一种利用上述任一系统的无代码智能开发方法,其步骤包括:
1)用户在系统前端中根据所需的业务场景,利用设定的OpenHarmony项目工程模板,获取相应的ui组件与逻辑流程;
2)基于ui组件,设计的OpenHarmony应用的UI界面;
3)利用UI界面与逻辑流程进行业务跳转流程设计,得到关联逻辑事件;
4)将ui组件与关联逻辑事件的参数以json串格式发送至系统后端,以生成包括UI代码及业务逻辑代码的OpenHarmony应用代码。
与现有技术相比,本发明的无代码智能开发框架,可以帮助用户使用最少的编码知识,来快速开发OpenHarmony应用程序。可以实现让用户在图形界面中,使用可视化建模的方式,来组装和配置应用程序,这样用户可以直接跳过所有的基础架构,只关注于OpenHarmony应用业务逻辑的实现,对OpenHarmony应用开发的推广和普及具有重要的意义。
附图说明
图1为一种OpenHarmony操作系统应用的无代码智能开发系统简图。
图2为业务架构图。
图3为用户使用流程图。
具体实施方式
下面结合本发明实例中的附图1~3,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明的保护范围。
1.本发明实施例中,一种OpenHarmony操作系统应用的无代码智能开发系统,整个OpenHarmony应用的无代码智能开发系统采用前后端分离系统架构。
2.所述整个OpenHarmony操作系统应用的无代码智能开发系统采用前后端分离系统架构。所述前端采用vue-cli搭建系统,所述后端基于spring-boot搭建系统。所述前后端分离,既是一种开发模式,又是一种架构模式。在开发阶段,前后端约定好数据交互接口,实现并行开发与测试;在运行阶段,前后端采用分离部署,使用HTTP或其他通讯协议进行交互请求。前端主要负责为用户绘制虚拟机,让用户拖拽组件到虚拟机个性化设计界面ui,并且对业务内ui界面拖拽,设计关联逻辑事件,形成app的流程图,同时将所需参数传给后端,后端根据前端传来的数据进行业务逻辑处理,生成OpenHarmony应用代码,打包给用户安装。
3.所述前端系统采用vue框架搭建,包括几大核心功能模块:用户模块,管理员模块,业务模块,ui生成模块,流程模块。所述用户模块包括:登录注册模块,个人信息编辑模块,个人项目管理模块。所述管理员模块包括:平台管理模块,用户管理模块,权限管理模块。所述业务模块包括:业务选择模块,业务生成模块。所述ui生成模块包括:虚拟机选择模块,ui组件模块,ui预览模块,代码生成模块。所述流程模块包括:流程设计模块,事件绑定模块,流程图生成模块。
4.所述前端系统采用vue框架,使用vue-cli搭建,webpack作为模块化管理和打包工具,使用element-ui美化页面。
5.所述用户模块完成整个系统前端对用户个人信息部分的交互。所述用户模块包括登录注册模块,个人信息编辑模块,个人项目管理模块。所述登录注册模块,提供登录注册页面供用户进行登陆、注册、修改密码等操作进入系统。所述个人信息编辑模块,提供表单页面供用户修改个人资料。个人项目管理模块,供用户查看属于自己的项目,并进行管理、查看项目详情。
6.所述管理员模块完成整个系统前端对管理员管理系统的交互。所述管理员模块包括平台管理模块,用户管理模块,权限管理模块。所述平台管理模块,提供可视化操作面板,展示系统访问次数,issue,用户数量等系统状态信息。用户管理模块,列表展示当前所以注册的用户信息。权限管理模块,展示当前用户和项目的状态,供管理员审阅,进行封禁等权限操作。
7.所述业务模块完成整个系统前端对用户生成对应业务项目的交互。所述业务模块包括业务选择模块,业务生成模块。所述业务选择模块,提供多种具体业务场景供用户选择,如:博客,音乐播放器,记事本,购物平台……。业务生成模块,在选择具体业务场景后就会生成对应场景封装好的一些ui组件和逻辑流程供用户拖拽设计应用,使得用户不会从一个空白页面毫无头绪的开始设计应用,而是选好自己应用所希望的具体场景后,系统前端就提供许多对应该业务封装好的模板。
8.所述ui生成模块完成整个系统前端对用户设计生成app页面ui的交互。所述ui生成模块模块包括虚拟机选择模块,ui组件模块,ui预览模块,代码生成模块。所述虚拟机选择模块,提供不同型号和分辨率的华为虚拟机供用户选择,选择后前端生成对应分辨率的虚拟机,使得用户可以设计兼容多种设备的应用。所述ui组件模块,提供多种基础ui组件:按钮、文本框、图片……同时根据用户所选具体业务,提供该业务特有的封装好美化后的ui组件供用户选择。所述ui预览模块,实现让用户拖拽ui组件到虚拟机上,虚拟机实时显示当前页面的样式,支持用户对ui组件的基本操作,删除,修改属性等,用户对ui组件样式产生修改后, 虚拟机实时展示,所述代码生成模块,用于与后端通信生成OpenHarmony应用页面,通过json存放当前虚拟机内ui组件的代码,并将当前虚拟机内的ui组件json串发送给后端。
9.所述流程模块完成整个系统前端对用户设计生成OpenHarmony应用逻辑流程的交互。所述流程模块包括流程设计模块,事件绑定模块,流程图生成模块。所述流程设计模块,供用户将设计好的页面通过拖拽设计流程图。事件绑定模块,根据用户所选的具体业务提供对应逻辑事件,让用户设计的多个页面中形成关联。流程图生成模块,用于与后端通信生成OpenHarmony应用的逻辑,将流程图所展示的页面直接的关联逻辑事件发送给后端。
10.所述后端系统采用微服务系统架构,所述微服务提倡将单一应用程序划分成一组小的服务,每个服务运行在独立的服务器中,服务之间互相协调、互相配合,为用户提供最终的系统应用实现。
11.注册中心微服务完成各个微服务的注册和服务发现。
12.配置中心微服务完成各个微服务配置文件的动态管理。
13.所述业务微服务完成整个系统的业务实现。所述业务微服务包括代码生成业务模块、数据持久化模块、分布式文件存储模块、模板解析模块、第三方API业务调用模块、代码打包模块、代码下载模块、IDE工具测试模块、真机测试模块。所述代码生成业务模块,可以实现OpenHarmony应用UI代码生成和业务逻辑代码生成。所述代码生成过程是,在服务后端模板代码库中预先放置多个类型OpenHarmony项目工程模板,在这些OpenHarmony项目工程模板中包含基本和通用的业务逻辑和UI代码。根据前端用户选择的业务场景,将OpenHarmony项目工程模板复制到用户目录下,最后根据用户前端的操作生成补充的UI和业务逻辑代码。所述数据持久化模块,可以实现将前端数据持久化到后端数据库中。所述分布式文件存储模块,可以实现将用户文件保存到分布式文件存储系统中,提供便捷的文件上传和管理,其中所述用户文件是指用户在使用该框架生成OpenHarmony应用时,需要上传的图片、图标等应用必须的文件。所述模板解析模块,用于解析有一定OpenHarmony应用开发基础的用户在前端设计并提交的模板,并将模板代码持久化到本地的代码组件库。所述第三方API调用模块,可以实现调用第三方API完成用户具体业务实现。所述代码打包模块,可以实现用户通过前端操作,后端服务器自动完成对所述代码生成模块生成的OpenHarmony应用代码进行打包。所述代码下载模块,一方面可以实现将所述代码生成模块生成的OpenHarmony应用代码下载到用户本地,另一方面可以实现将所述代码打包模块生成的hap包下载到用户本地。所述IDE工具测试模块,可以实现前端完成IDE工具调用指定目标文件夹下的用户下载的OpenHarmony应用代码。所述真机测试模块,可以实现通过前端操作,完成将用户下载的OpenHarmony应用hap包,发布于OpenHarmony系统真机进行业务测试。
14.所述系统状态监控微服务包括服务器状态监控模块、虚拟机状态监控模块、基础服务状态监控模块。所述服务器状态监控模块,可以监控服务所在主机的运行状态信息,如cpu、内存、磁盘占用。所述虚拟机状态监控模块,可以监控微服务JVM的线程堆栈信息、GC信息、内存占用情况。所述基础服务状态监控模块,可以检测服务内连接DB、缓存服务器、MQ服务等服务的状态。
15.所述系统管理微服务包括注册和登陆业务模块、修改密码业务模块、用户管理业务模块、权限管理业务模块。所述注册和登陆业务模块,完成用户的注册和登陆业务。所述修改密码业务模块,完成用户注册密码的修改业务。所述用户管理业务模块,完成用户的注销、禁用等业务。所述权限管理模块,完成用户操作业务权限的管理。
16.一种OpenHarmony操作系统应用的无代码智能开发系统,其特征在于:用户进行OpenHarmony应用无代码开发的步骤如下:
S1:用户通过浏览器访问系统,进行用户注册和登陆;
S2:用户新建OpenHarmony应用项目工程,选择OpenHarmony系统设备类型和设备型号;
S3:选择所开发应用对应的具体业务场景,输入项目名称和第一个UI页面的名称;
S4:用户通过拖拽UI组件、修改UI组件样式设计OpenHarmony应用的UI界面,点击代码生成,后端系统自动生成OpenHarmony应用的UI代码;
S5:用户点击流程设计,通过拖拽设计好的页面并绑定逻辑事件完成OpenHarmony应用的业务跳转流程设计,点击代码生成,后端系统自动生成OpenHarmony应用的业务逻辑代码;
S6:用户点击代码打包,后端系统自动完成OpenHarmony应用代码打hap包;
S7:用户点击代码下载,可以将hap包和生成的OpenHarmony应用代码下载到本地;
S8:用户点击运行测试,可以将hap包运行到OpenHarmony系统设备进行测试。
尽管参照前述实施例对本发明进行了详细的说明,对于本领域技术人员来说,其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。本发明专利需要对整个系统、实现代码以及架构思想和方法进行保护。

Claims (10)

  1. 一种OpenHarmony操作系统应用的无代码智能开发系统,采用前后端分离系统架构,其特征在于,
    前端系统,包括:
    业务模块,用以用户根据所需的业务场景,获取设定OpenHarmony项目工程模板提供的ui组件与逻辑流程;
    ui生成模块,用以基于ui组件,设计OpenHarmony应用的UI界面,并将生成该UI界面中的ui组件所需的参数以json串格式发送给后端;
    流程模块,用以利用UI界面与逻辑流程进行业务跳转流程设计,得到关联逻辑事件,并将所述关联逻辑事件的参数以json串格式发送给后端;
    后端系统,包括:
    代码生成模块,用以根据ui组件与关联逻辑事件,生成包括UI代码及业务逻辑代码的OpenHarmony应用代码。
  2. 如权利要求1所述的系统,其特征在于,前端系统采用vue框架,使用vue-cli搭建,webpack作为模块化管理和打包工具,使用element-ui美化页面。
  3. 如权利要求1所述的系统,其特征在于,所述前端系统还包括用户模块,用以完成系统前端对用户个人信息部分的交互;所述前端系统还包括管理员模块,用以完成系统前端对管理员管理系统的交互。
  4. 如权利要求1所述的系统,其特征在于,所述后端系统采用微服务的架构模式,还包括数据持久化模块,用以实现将前端系统产生的数据持久化到后端数据库中。
  5. 如权利要求1所述的系统,其特征在于,所述后端系统还包括分布式文件存储模块,用以生成OpenHarmony应用时用户上传的文件,保存到分布式文件存储系统中。
  6. 如权利要求1所述的系统,其特征在于,所述后端系统还包括模板解析模块,用以解析用户在前端自行设计并上传提交的模板,并将模板代码持久化到本地的代码组件库。
  7. 如权利要求1所述的系统,其特征在于,所述后端系统还包括第三方API调用模块,用以调用第三方API完成业务实现。
  8. 如权利要求1所述的系统,其特征在于,所述后端系统还包括代码打包模块,用以对OpenHarmony应用代码进行打包,生成hap包;所述后端系统还包括代码下载模块,用以将OpenHarmony应用代码或hap包下载到用户本地;所述后端系统还包括IDE工具测试模块,用以前端完成IDE工具调用用户本地中的OpenHarmony应用代码;所述后端系统还包括真机 测试模块,用以通过前端操作,将用户本地中的hap包发布于OpenHarmony系统真机进行业务测试。
  9. 如权利要求1所述的系统,其特征在于,所述后端系统还包括系统状态监控模块,用以监控服务所在主机的运行状态信息,监控微服务JVM的线程堆栈信息、GC信息及内存占用情况,检测服务状态;所述后端系统还包括系统管理模块,用以完成用户注册业务、用户登陆业务、用户注册密码的修改业务、用户注销业务、用户禁用业务及对用户操作业务权限的管理。
  10. 一种利用权利要求1-9中任一系统的无代码智能开发方法,其步骤包括:
    1)用户在系统前端中根据所需的业务场景,利用设定的OpenHarmony项目工程模板,获取相应的ui组件与逻辑流程;
    2)基于ui组件,设计的OpenHarmony应用的UI界面;
    3)利用UI界面与逻辑流程进行业务跳转流程设计,得到关联逻辑事件;
    4)将ui组件与关联逻辑事件的参数以json串的格式发送至系统后端,以生成包括UI代码及业务逻辑代码的OpenHarmony应用代码。
PCT/CN2021/135279 2021-09-17 2021-12-03 OpenHarmony操作系统应用的无代码智能开发系统及其使用方法 WO2023040064A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111093641.2A CN113849156B (zh) 2021-09-17 2021-09-17 OpenHarmony操作系统应用的无代码智能开发系统及其使用方法
CN202111093641.2 2021-09-17

Publications (1)

Publication Number Publication Date
WO2023040064A1 true WO2023040064A1 (zh) 2023-03-23

Family

ID=78974603

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/135279 WO2023040064A1 (zh) 2021-09-17 2021-12-03 OpenHarmony操作系统应用的无代码智能开发系统及其使用方法

Country Status (2)

Country Link
CN (1) CN113849156B (zh)
WO (1) WO2023040064A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328463B (zh) * 2022-08-01 2023-07-21 无锡雪浪数制科技有限公司 一种基于可视化业务编排设计系统
CN116501315A (zh) * 2023-04-26 2023-07-28 江苏博云科技股份有限公司 基于DevOps域的低代码软件开发系统、方法及设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306884A (zh) * 2020-11-10 2021-02-02 广州华多网络科技有限公司 程序测试控制、执行方法及其相应的装置、设备、介质
CN112328212A (zh) * 2020-09-08 2021-02-05 中国电子系统技术有限公司 一种基于引擎模式前后端分离的快速开发平台及其使用方法
WO2021041032A1 (en) * 2019-08-30 2021-03-04 Oracle International Corporation Database modularization of pluggable guest languages
CN112835560A (zh) * 2021-03-04 2021-05-25 广州图创计算机软件开发有限公司 Web多终端低代码智能软件开发平台

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160098256A1 (en) * 2014-10-03 2016-04-07 General Motors Llc Visual tool and architecting logical layers of software components
US10922058B2 (en) * 2015-04-30 2021-02-16 Open Methods, Inc. Method, system and apparatus for visual programming of interaction workflows for omni-channel customer contact centers with integrated customer relationship management
US10216493B2 (en) * 2016-11-25 2019-02-26 Sap Se Distributed UI development harmonized as one application during build time
CN109271142A (zh) * 2018-07-24 2019-01-25 武汉空心科技有限公司 基于模板组件的开发云平台
CN110659031A (zh) * 2019-09-24 2020-01-07 深圳传音控股股份有限公司 应用程序的编译方法、装置、电子设备及存储介质
CN112650484B (zh) * 2020-12-29 2022-03-04 中国航发控制系统研究所 一种基于Rhapsody工具的混合编程建模方法
CN112764756A (zh) * 2021-01-15 2021-05-07 广州华多网络科技有限公司 软件资源编译方法及其相应的装置、设备、介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021041032A1 (en) * 2019-08-30 2021-03-04 Oracle International Corporation Database modularization of pluggable guest languages
CN112328212A (zh) * 2020-09-08 2021-02-05 中国电子系统技术有限公司 一种基于引擎模式前后端分离的快速开发平台及其使用方法
CN112306884A (zh) * 2020-11-10 2021-02-02 广州华多网络科技有限公司 程序测试控制、执行方法及其相应的装置、设备、介质
CN112835560A (zh) * 2021-03-04 2021-05-25 广州图创计算机软件开发有限公司 Web多终端低代码智能软件开发平台

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LINING MONA: "HarmonyOS supports low-code development, allowing you to design complex interfaces without HTML knowledge", CSDN BLOG, 2 July 2021 (2021-07-02), XP093048579, Retrieved from the Internet <URL:https://blog.csdn.net/nokiaguy/article/details/118418647> [retrieved on 20230522] *

Also Published As

Publication number Publication date
CN113849156A (zh) 2021-12-28
CN113849156B (zh) 2022-06-28

Similar Documents

Publication Publication Date Title
US11979452B1 (en) Demo recording utility
US10705942B1 (en) Simulated testing of API
CN108292231B (zh) 从数据生成应用的方法和系统
Paterno' et al. MARIA: A universal, declarative, multiple abstraction-level language for service-oriented applications in ubiquitous environments
US9430449B2 (en) Systems, methods, and media for managing editable previews of webpages
US11635974B2 (en) Providing a different configuration of added functionality for each of the stages of predeployment, deployment, and post deployment using a layer of abstraction
WO2023040064A1 (zh) OpenHarmony操作系统应用的无代码智能开发系统及其使用方法
CN104321743B (zh) 用于开发在通信网络上查询内容和服务的应用程序的方法和系统
CN114035773A (zh) 一种基于配置的低代码开发表单方法、系统及装置
WO2019155369A1 (en) Tri-affinity model driven method and platform for authoring, realizing, and analyzing a cross-platform application
CN111045653B (zh) 系统生成方法、装置、计算机可读介质及电子设备
US20080086716A1 (en) Method and apparatus for information display with intermediate datasource access
CN113032708A (zh) 一种无代码Web开发系统
US11733973B2 (en) Interactive graphic design system to enable creation and use of variant component sets for interactive objects
CN113031936A (zh) 一种自动搭建页面并即时发布的方法及系统
EP3025281A2 (en) Automatic configuration of a computer system based on process modeling of an implemented process
CN101976189A (zh) 组件展现方法和装置
US9904452B2 (en) Building user specific user interface instances
WO2016201813A1 (zh) 一种基于Android的动态布局方法及系统
US20110041069A1 (en) User interface for aggregating services in a data processing system
US11663199B1 (en) Application development based on stored data
CN113806596B (zh) 运营数据管理方法及相关装置
Fortuna et al. A framework based on ajax and semiotics to build flexible user interfaces
CN115826949A (zh) 分析模型的生成方法、装置、存储介质及服务器
CN107209674B (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: 21957328

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE