CN116643749A - Application page development method and device, storage medium and electronic equipment - Google Patents

Application page development method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN116643749A
CN116643749A CN202310756164.6A CN202310756164A CN116643749A CN 116643749 A CN116643749 A CN 116643749A CN 202310756164 A CN202310756164 A CN 202310756164A CN 116643749 A CN116643749 A CN 116643749A
Authority
CN
China
Prior art keywords
page
development
model
event
gateway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310756164.6A
Other languages
Chinese (zh)
Inventor
陆晓东
郭严培
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202310756164.6A priority Critical patent/CN116643749A/en
Publication of CN116643749A publication Critical patent/CN116643749A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses an application page development method, an application page development device, a storage medium and electronic equipment. The method comprises the following steps: obtaining a plurality of model elements of an open source framework, and determining a business flow diagram based on the model elements, wherein the model elements comprise at least one of the following: tasks, gateways, events, connecting lines; generating a definition file for describing a business flow chart according to a preset format, and analyzing the definition file to obtain a plurality of flow sub-models, wherein the flow sub-models correspond to model elements; responding to a development request of a target object on an application page, and creating a form page and a target business process model corresponding to the development request; binding the form page and the target business process model to develop the application page. The application solves the technical problem of low development efficiency caused by the fact that the related process development method cannot adapt to service requirements of different heights.

Description

Application page development method and device, storage medium and electronic equipment
Technical Field
The application relates to the technical field of low-code flow programming, in particular to an application page development method, an application page development device, a storage medium and electronic equipment.
Background
With the vigorous development of computer technology, the browser has more and more powerful functions, and many common software is gradually migrated into the browser and is used by users in the form of websites (i.e. web applications), so that the users can use the software without downloading and installing the software and only inputting an address into the browser. The process development page is used as one of the most important development documents in the product development stage, and the convenience of creation directly influences the progress of product development. With the continuous improvement of the product release speed and the update speed, the creation requirement of the process development page is more and more increased, so a method for rapidly generating the process development page by using the technology is needed.
The most commonly used method at present is to deploy and release an application through a process engine according to the rapid configuration development functions of a data model, a form and a process, namely, the development functions such as data model configuration, form binding configuration, personnel configuration and operation configuration are surrounded by a process model designed as a main core, so as to complete the development of the process application. However, the method is only suitable for a scene with six layers of requirements of definite service form information and a fixed flow model, so that the application range is limited and the flexibility is poor. Meanwhile, the method is difficult to meet complex and changeable business requirements, and after a user is required to additionally edit business processes, the development workload is further increased, the development duration is prolonged, and the development efficiency is reduced.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the application provides an application page development method, an application page development device, a storage medium and electronic equipment, which at least solve the technical problem that the development efficiency is low because the related flow development method cannot adapt to service requirements of different heights.
According to an aspect of an embodiment of the present application, there is provided an application page development method, including: obtaining a plurality of model elements of an open source framework, and determining a business flow diagram based on the model elements, wherein the model elements comprise at least one of the following: tasks, gateways, events, connecting lines; generating a definition file for describing a business flow chart according to a preset format, and analyzing the definition file to obtain a plurality of flow sub-models, wherein the flow sub-models correspond to model elements; responding to a development request of a target object on an application page, and creating a form page and a target business process model corresponding to the development request, wherein the target business process model consists of a plurality of process sub-models; binding the form page and the target business process model to develop the application page.
Optionally, determining the business flow diagram based on the model element includes: determining a rendering toolkit according to the open source framework, and processing model elements in a preset page modeler according to the rendering toolkit to obtain a business flow chart for describing the execution process of the business flow model.
Optionally, the flow chart includes: task configuration information, gateway configuration information, event configuration information and connection line configuration information, wherein the task configuration information comprises at least one of the following components: task ID, task name, task type, wherein the task type includes: service tasks, script tasks, user tasks; the gateway configuration information includes at least one of the following: gateway ID, gateway name, gateway type, wherein the gateway type comprises: an exclusive gateway, a parallel gateway, an event gateway and a containing gateway; the event configuration information includes at least one of the following: event ID, event name, event type, wherein the event type comprises: a start event, an end event, an intermediate event, a message event; the connection line configuration information includes at least one of the following: connection line ID, connection line name, trigger condition, connection line attribute, associated directionality, wherein the connection line attribute includes: default connection lines or conditional connection lines.
Optionally, in response to a development request of the target object for the application page, creating a form page corresponding to the development request includes: determining metadata information and API service settings input by a target object according to a development request, wherein the API service settings comprise: creating API data, creating an add-check-and-prune service interface, setting node attributes and node circulation; determining page interfaces based on the metadata information, and creating page templates based on the page interfaces, wherein each page interface corresponds to a service function; and determining template parameters of the page template according to the API service setting, and creating a form page.
Optionally, determining metadata information input by the target object according to the development request includes: acquiring input information of a target object according to a preset browser, and creating a table, a field and a reference relation by using the input information to obtain metadata information; or, a preset browser is adopted to create a form page, the form page is utilized to acquire the dragging information of the target object on the form page, the page attribute is determined based on the dragging information, and the page attribute is used as metadata information, wherein the form page comprises at least one of the following: input box, drop down list box, check box, radio button, date selector.
Optionally, after determining the metadata information input by the target object according to the development request, the method further includes: and carrying out data creation based on the metadata information, wherein the data creation comprises the following steps: create a table and create a field.
Optionally, in response to a development request of the target object to the application page, determining a target business process model corresponding to the development request includes: and configuring the plurality of process sub-models according to the development request, and obtaining a target business process model based on each configured process sub-model.
According to another aspect of the embodiment of the present application, there is also provided an application page development apparatus, including: the first determining module is used for acquiring a plurality of model elements of the open source framework and determining a business flow chart based on the model elements, wherein the model elements comprise at least one of the following: tasks, gateways, events, connecting lines; the analysis module is used for generating a definition file for describing the business flow chart according to a preset format, and analyzing the definition file to obtain a plurality of flow sub-models, wherein the flow sub-models correspond to the model elements; the second determining module is used for responding to a development request of the target object on the application page, determining a form page corresponding to the development request and a target business process model, wherein the target business process model consists of a plurality of process sub-models; and the development module is used for binding the form page and the target business process model so as to develop the application page.
According to another aspect of the embodiment of the present application, there is also provided a nonvolatile storage medium, where the nonvolatile storage medium includes a stored program, and a device where the nonvolatile storage medium is located executes the application page development method described above by running the program.
According to another aspect of the embodiment of the present application, there is also provided an electronic device including: the system comprises a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the application page development method through the computer program.
In the embodiment of the application, a plurality of model elements of an open source framework are acquired, and a business flow chart is determined based on the model elements, wherein the model elements comprise at least one of the following: tasks, gateways, events, connecting lines; generating a definition file for describing a business flow chart according to a preset format, and analyzing the definition file to obtain a plurality of flow sub-models, wherein the flow sub-models correspond to model elements; responding to a development request of a target object on an application page, and creating a form page and a target business process model corresponding to the development request, wherein the target business process model consists of a plurality of process sub-models; binding the form page and the target business process model to develop the application page.
According to the embodiment, the published development flow model is used for multiplexing, so that the creation of the flow model is reduced, and meanwhile, the system resource is saved; the method has the advantages that the page is customized according to the service demands of users, the node operation buttons of each flow node are configured according to the demands, and the code coding amount of flow development is greatly reduced, so that the technical problem that the development efficiency is low because the related flow development method cannot adapt to the service demands of different heights is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a block diagram of an alternative hardware architecture of a computer terminal for implementing an application page development method in accordance with an embodiment of the present application;
FIG. 2 is a flow diagram of an alternative application page development method according to an embodiment of the application;
FIG. 3 is a schematic diagram of an alternative flow operation interface according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an alternative application page development device according to an embodiment of the present application;
Fig. 5 is a schematic structural view of an alternative electronic device according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and the claims and drawings of the present application are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In addition, the related information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) related to the present application are information and data authorized by the user or sufficiently authorized by each party. For example, an interface is provided between the system and the relevant user or institution, before acquiring the relevant information, the system needs to send an acquisition request to the user or institution through the interface, and acquire the relevant information after receiving the consent information fed back by the user or institution.
Example 1
The related application page development technology is usually to use a rapid configuration development function of a data model, a form and a flow, design a main core by using a flow model, and perform configuration of the data model, binding configuration of the form, personnel configuration, operation configuration and the like around the deployment and release of application by using a flow engine to finish development of the flow application.
In order to solve the above problems, a detailed description and an introduction of an application page development method provided by the embodiment of the present application will be given below through specific embodiments. It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
The method embodiments provided by the embodiments of the present application may be performed in a mobile terminal, a computer terminal, or similar computing device. Fig. 1 shows a hardware block diagram of a computer terminal for implementing an application page development method. As shown in fig. 1, the computer terminal 10 (or mobile device 10) may include one or more (shown as 102a, 102b, … …,102 n) processors 102 (the processors 102 may include, but are not limited to, a microprocessor MCU, a programmable logic device FPGA, etc. processing means), a memory 104 for storing data, and a transmission means 106 for communication functions. In addition, the method may further include: a display, an input/output interface (I/O interface), a Universal Serial BUS (USB) port (which may be included as one of the ports of the BUS), a network interface, a power supply, and/or a camera. It will be appreciated by those of ordinary skill in the art that the configuration shown in fig. 1 is merely illustrative and is not intended to limit the configuration of the electronic device described above. For example, the computer terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors 102 and/or other data processing circuits described above may be referred to generally herein as "data processing circuits. The data processing circuit may be embodied in whole or in part in software, hardware, firmware, or any other combination. Furthermore, the data processing circuitry may be a single stand-alone processing module, or incorporated, in whole or in part, into any of the other elements in the computer terminal 10 (or mobile device). As referred to in embodiments of the application, the data processing circuit acts as a processor control (e.g., selection of the path of the variable resistor termination connected to the interface).
The memory 104 may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the application page development method in the embodiment of the present application, and the processor 102 executes the software programs and modules stored in the memory 104, thereby executing various functional applications and data processing, that is, implementing the application page development method of the application program. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 106 is arranged to receive or transmit data via a network. The specific examples of the network described above may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module for communicating with the internet wirelessly.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computer terminal 10 (or mobile device).
In the above environment, the embodiment of the application also provides an application page development method. Fig. 2 is a schematic flow chart of an alternative application page development method according to an embodiment of the present application, as shown in fig. 2, the method at least includes steps S202 to S208, where:
step S202, a plurality of model elements of the open source framework are obtained, and a business flow chart is determined based on the model elements, wherein the model elements comprise at least one of the following: tasks, gateways, events, connection lines.
In the technical solution provided in step S202, the above development process model may be understood as a graphical model developed by an application page, which describes each process model element and element relationships between the model elements, where the model elements of the development process model include, but are not limited to: tasks, gateways, events, connection lines. In addition, the flow engine may design and develop a business flow chart according to the flow model element, where the flow chart is used to describe the execution process of executing the business flow model.
As an optional implementation manner, in the technical solution provided in step S202, the method may include: determining a rendering toolkit according to the open source framework, and processing model elements in a preset page modeler according to the rendering toolkit to obtain a business flow chart for describing the execution process of the business flow model.
In this embodiment, the flow engine builds a suitable rendering toolkit from an open source framework, such as an open source bpmn. Js framework; creating a file or item in a proper Web page modeler, selecting a proper canvas size, and drawing the whole flow frame, wherein basic shapes (such as rectangle, circle) or custom shapes can be used; model elements are added in the flow chart and are displayed as symbols such as rectangles, diamonds and the like on the chart. Each node should have a name and description so that its meaning is clearly understood; the process nodes are linked according to the relation among the models, and the relation among the process nodes is represented by arrows. The arrow indicates the operation execution direction and makes the whole process more intuitive, thereby obtaining a flowchart.
Among them, the above BPMN (Business Process Model and Notation, business process modeling and representation) is a standard symbol and graphic language for describing business processes, and is widely used in enterprises. BPMN provides a standardized way to represent and analyze various business processes, including flows, tasks, events, etc., and can better assist users in understanding complex business processes and their relationships.
Optionally, the above flowchart includes: task configuration information, gateway configuration information, event configuration information and connection line configuration information, wherein the task configuration information comprises at least one of the following components: task ID, task name, task type, wherein the task type includes: service tasks, script tasks, user tasks; the gateway configuration information includes at least one of the following: gateway ID, gateway name, gateway type, wherein the gateway type comprises: an exclusive gateway, a parallel gateway, an event gateway and a containing gateway; the event configuration information includes at least one of the following: event ID, event name, event type, wherein the event type comprises: a start event, an end event, an intermediate event, a message event; the connection line configuration information includes at least one of the following: connection line ID, connection line name, trigger condition, connection line attribute, associated directionality, wherein the connection line attribute includes: default connection lines or conditional connection lines.
Step S204, a definition file for describing the business flow chart is generated according to a preset format, and the definition file is analyzed to obtain a plurality of flow sub-models, wherein the flow sub-models correspond to the model elements.
In the technical solution provided in step S204, the flow engine may generate a definition file in a format such as SVG, XML, BPMN for describing the flow chart, and pull and parse the definition file to generate an element model that can be identified by the flow engine, where the flow sub-model includes, but is not limited to: task models, gateway models, event models and the like, so that each process sub-model can be deployed according to different service requirements later to obtain a corresponding service process model.
In step S206, in response to the development request of the target object for the application page, a form page corresponding to the development request and a target business process model are created, where the target business process model is composed of a plurality of process sub-models.
In the technical solution provided in step S206, the service requirements corresponding to the development request of the application page corresponding to the target object may be determined according to some common policies, such as one-ticket passing, one-ticket overruling, and proportional passing; after the personalized business requirements are determined, the process engine can determine the task required to be completed by each link and the relation and conditions among different links according to different business requirements of users. Based on these requirements, BPMN elements are used to describe which tasks, gateways and events are included in the overall process, so that a complete business process model (i.e., a target business process model) is built, wherein the various elements in the model represent relationships between each other in sequence, condition or parallel through arrows. And meanwhile, a corresponding form page can be created according to the service requirement of the user.
As an optional implementation manner, in the technical solution provided in step S206, the method may include: determining metadata information and API service settings input by a target object according to a development request, wherein the API service settings comprise: creating API data, creating an add-check-and-prune service interface, setting node attributes and node circulation; determining page interfaces based on the metadata information, and creating page templates based on the page interfaces, wherein each page interface corresponds to a service function; and determining template parameters of the page template according to the API service setting, and creating a form page.
Specifically, the above-described metadata information may be understood as data required for creating a page, and thus, metadata information input by a user may be determined according to a development request of the user. The API service is set as an operation API based on a flow engine, and is configured by selecting an operation button designed by page design, and a common operation interface is shown in fig. 3, including but not limited to: check-in, terminate, reject, recycle, reject, sign-in, etc.
Alternatively, metadata information input by the user may be acquired as follows: acquiring input information of a target object according to a preset browser, and creating a table, a field and a reference relation by using the input information to obtain metadata information; or, a preset browser is adopted to create a form page, the form page is utilized to acquire the dragging information of the target object on the form page, the page attribute is determined based on the dragging information, and the page attribute is used as metadata information, wherein the form page comprises at least one of the following: input box, drop down list box, check box, radio button, date selector.
Specifically, a browser can be preset, a client can display the preset browser, a user can input information in the browser of the client, and a table, a field and a reference relationship are created according to the input information, wherein the table and the field can be table contents and field contents required by common services, and the reference relationship can be a reference relationship between the table and the field. In addition, a form page can be created in a preset browser, wherein the form page contains business components required by various businesses, a user can drag each business component in the form page, then the coordinates of each business component are recorded to obtain page attributes, and the business attributes are used as metadata information, so that the business can be spliced according to the business components selected by the user to form a page meeting the business requirements of the user.
Further, after obtaining the metadata information, data creation may be further performed according to the metadata information, where the data creation includes: create a table and create a field.
As an optional implementation manner, in the technical solution provided in step S206, the method may include: and configuring the plurality of process sub-models according to the development request, and obtaining a target business process model based on each configured process sub-model.
Step S208, binding the page and the target business process model to develop the application page.
In the technical scheme provided in step S208, the page and the target business process model are bound according to the page attribute of the page, that is, the custom attribute associated with the process node is selected in the task configuration column, and the process node is bound with the corresponding form space, and meanwhile, the node information of each process node can be loaded.
Based on the schemes defined in the above steps S202 to S206, it may be known that, in an embodiment, a plurality of model elements of the open source framework are acquired, and a business flow chart is determined based on the model elements, where the model elements include at least one of the following: tasks, gateways, events, connecting lines; generating a definition file for describing a business flow chart according to a preset format, and analyzing the definition file to obtain a plurality of flow sub-models, wherein the flow sub-models correspond to model elements; responding to a development request of a target object on an application page, and creating a form page and a target business process model corresponding to the development request, wherein the target business process model consists of a plurality of process sub-models; binding the form page and the target business process model to develop the application page.
Therefore, through the technical scheme of the embodiment of the application, the published development flow model can be reused, the technical effect of creating the flow model is reduced, and meanwhile, the system resource is saved; the method has the advantages that the page is customized according to the service demands of users, the node operation buttons of each flow node are configured according to the demands, and the code coding amount of flow development is greatly reduced, so that the technical problem that the development efficiency is low because the related flow development method cannot adapt to the service demands of different heights is solved.
Example 2
Based on embodiment 1 of the present application, there is also provided an embodiment of an application page development device, which executes the above application page development method of the above embodiment when running. Fig. 4 is a schematic structural diagram of an alternative application page developing apparatus according to an embodiment of the present application, where, as shown in fig. 4, the application page developing apparatus includes at least a first determining module 41, an analyzing module 42, a second determining module 43, and a developing module 44, where:
a first determining module 41, configured to obtain a plurality of model elements of the open source framework, and determine a business flow chart based on the model elements, where the model elements include at least one of the following: tasks, gateways, events, connection lines.
Optionally, determining a rendering toolkit according to the open source framework; and processing the model elements in a preset page modeler according to the rendering toolkit to obtain a business flow chart for describing the execution process of the business flow model.
In this embodiment, the flow engine builds a suitable rendering toolkit from an open source framework, such as an open source bpmn. Js framework; creating a file or item in a proper Web page modeler, selecting a proper canvas size, and drawing the whole flow frame, wherein basic shapes (such as rectangle, circle) or custom shapes can be used; model elements are added in the flow chart and are displayed as symbols such as rectangles, diamonds and the like on the chart. Each node should have a name and description so that its meaning is clearly understood; the process nodes are linked according to the relation among the models, and the relation among the process nodes is represented by arrows. The arrow indicates the operation execution direction and makes the whole process more intuitive, thereby obtaining a flowchart.
Among them, the above BPMN (Business Process Model and Notation, business process modeling and representation) is a standard symbol and graphic language for describing business processes, and is widely used in enterprises. BPMN provides a standardized way to represent and analyze various business processes, including flows, tasks, events, etc., and can better assist users in understanding complex business processes and their relationships.
Optionally, the above flowchart includes: task configuration information, gateway configuration information, event configuration information and connection line configuration information, wherein the task configuration information comprises at least one of the following components: task ID, task name, task type, wherein the task type includes: service tasks, script tasks, user tasks; the gateway configuration information includes at least one of the following: gateway ID, gateway name, gateway type, wherein the gateway type comprises: an exclusive gateway, a parallel gateway, an event gateway and a containing gateway; the event configuration information includes at least one of the following: event ID, event name, event type, wherein the event type comprises: a start event, an end event, an intermediate event, a message event; the connection line configuration information includes at least one of the following: connection line ID, connection line name, trigger condition, connection line attribute, associated directionality, wherein the connection line attribute includes: default connection lines or conditional connection lines.
The parsing module 42 is configured to define a flow file for describing the business flow chart according to a preset format, and parse the flow file to obtain a plurality of flow sub-models, where the flow sub-models correspond to the model elements.
Specifically, the parsing module 42 may generate a definition file in a format such as SVG, XML, BPMN for describing a flowchart, and pull and parse the definition file to generate an element model that can be identified by a flow engine, where the flow sub-model includes, but is not limited to: task models, gateway models, event models and the like, so that each process sub-model can be deployed according to different service requirements later to obtain a corresponding service process model.
The second determining module 43 is configured to determine, in response to a development request of the target object for the application page, a page corresponding to the development request and a target business process model, where the target business process model is composed of a plurality of process sub-models.
Specifically, the business requirements corresponding to the development requests of the application pages corresponding to the target objects can be determined according to some common strategies, such as one-ticket passing, one-ticket overruling, proportional passing and the like; after the personalized business requirements are determined, the process engine can determine the task required to be completed by each link and the relation and conditions among different links according to different business requirements of users. Based on these requirements, BPMN elements are used to describe which tasks, gateways and events are included in the overall process, so that a complete business process model (i.e., a target business process model) is built, wherein the various elements in the model represent relationships between each other in sequence, condition or parallel through arrows. And meanwhile, a corresponding form page can be created according to the service requirement of the user.
As an alternative embodiment, the second determining module 43 determines metadata information and API service settings input by the target object according to the development request, where the API service settings include: creating API data, creating an add-check-and-prune service interface, setting node attributes and node circulation; determining page interfaces based on the metadata information, and creating page templates based on the page interfaces, wherein each page interface corresponds to a service function; and determining template parameters of the page template according to the API service setting, and creating a form page.
Specifically, the above-described metadata information may be understood as data required for creating a page, and thus, metadata information input by a user may be determined according to a development request of the user. The API service is set as an operation API based on a flow engine, and is configured by selecting an operation button designed by page design, and a common operation interface is shown in fig. 3, including but not limited to: check-in, terminate, reject, recycle, reject, sign-in, etc.
Alternatively, the second determining module 43 may acquire metadata information input by the user as follows: acquiring input information of a target object according to a preset browser, and creating a table, a field and a reference relation by using the input information to obtain metadata information; or, a preset browser is adopted to create a form page, the form page is utilized to acquire the dragging information of the target object on the form page, the page attribute is determined based on the dragging information, and the page attribute is used as metadata information, wherein the form page comprises at least one of the following: input box, drop down list box, check box, radio button, date selector.
Specifically, a browser can be preset, a client can display the preset browser, a user can input information in the browser of the client, and a table, a field and a reference relationship are created according to the input information, wherein the table and the field can be table contents and field contents required by common services, and the reference relationship can be a reference relationship between the table and the field. In addition, a form page can be created in a preset browser, wherein the form page contains business components required by various businesses, a user can drag each business component in the form page, then the coordinates of each business component are recorded to obtain page attributes, and the business attributes are used as metadata information, so that the business can be spliced according to the business components selected by the user to form a page meeting the business requirements of the user.
Further, after obtaining the metadata information, data creation may be further performed according to the metadata information, where the data creation includes: create a table and create a field.
As an optional implementation manner, a plurality of process sub-models can be configured according to the development request, and the target business process model can be obtained based on each configured process sub-model.
And a development module 44, configured to bind the page and the target business process model to develop the application page.
Specifically, the development module 44 binds the page and the target business process model according to the page attribute of the page, that is, selects the custom attribute associated with the process node in the task configuration column, binds the process node with the corresponding form space, and can load the node information of each process node.
It should be noted that, each module in the application page development device in the embodiment of the present application corresponds to each implementation step of the application page development method in embodiment 1 one by one, and since the detailed description has been already made in embodiment 1, part of details not shown in this embodiment may refer to embodiment 1, and will not be repeated here.
The respective modules in the application page development device may be program modules (for example, a set of program instructions for realizing a specific function), or may be hardware modules, and the latter may be expressed in the following form, but are not limited thereto: the expression forms of the modules are all a processor, or the functions of the modules are realized by one processor.
Example 3
According to an embodiment of the present application, there is also provided a nonvolatile storage medium having a program stored therein, wherein the device in which the nonvolatile storage medium is controlled to execute the application page development method in embodiment 1 when the program runs.
Optionally, the device where the nonvolatile storage medium is located performs the following steps by running the program:
step S202, a plurality of model elements of the open source framework are obtained, and a business flow chart is determined based on the model elements, wherein the model elements comprise at least one of the following: tasks, gateways, events, connecting lines;
step S204, defining a flow file for describing the business flow chart according to a preset format, and analyzing the flow file to obtain a plurality of flow sub-models, wherein the flow sub-models correspond to the model elements;
step S206, a form page and a target business process model corresponding to the development request are created in response to the development request of the target object on the application page, wherein the target business process model consists of a plurality of process sub-models;
step S208, binding the form page and the target business process model to develop the application page.
According to an embodiment of the present application, there is also provided a processor for running a program, wherein the program executes the application page development method in embodiment 1 when running.
Optionally, the program execution realizes the following steps:
step S202, a plurality of model elements of the open source framework are obtained, and a business flow chart is determined based on the model elements, wherein the model elements comprise at least one of the following: tasks, gateways, events, connecting lines;
step S204, defining a flow file for describing the business flow chart according to a preset format, and analyzing the flow file to obtain a plurality of flow sub-models, wherein the flow sub-models correspond to the model elements;
step S206, a form page and a target business process model corresponding to the development request are created in response to the development request of the target object on the application page, wherein the target business process model consists of a plurality of process sub-models;
step S208, binding the form page and the target business process model to develop the application page.
There is further provided, in accordance with an embodiment of the present application, an electronic device, where fig. 5 is a schematic structural diagram of an alternative electronic device according to an embodiment of the present application, and as shown in fig. 5, the electronic device includes one or more processors; and a memory for storing one or more programs, which when executed by the one or more processors, cause the one or more processors to implement a method for running the programs, wherein the programs are configured to execute the application page development method in embodiment 1 described above when run.
Optionally, the processor is configured to implement the following steps by computer program execution:
step S202, a plurality of model elements of the open source framework are obtained, and a business flow chart is determined based on the model elements, wherein the model elements comprise at least one of the following: tasks, gateways, events, connecting lines;
step S204, defining a flow file for describing the business flow chart according to a preset format, and analyzing the flow file to obtain a plurality of flow sub-models, wherein the flow sub-models correspond to the model elements;
step S206, a form page and a target business process model corresponding to the development request are created in response to the development request of the target object on the application page, wherein the target business process model consists of a plurality of process sub-models;
step S208, binding the form page and the target business process model to develop the application page.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of units may be a logic function division, and there may be another division manner in actual implementation, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be essentially or a part contributing to the related art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.

Claims (10)

1. An application page development method, comprising:
obtaining a plurality of model elements of an open source framework, and determining a business flow diagram based on the model elements, wherein the model elements comprise at least one of the following: tasks, gateways, events, connecting lines;
generating a definition file for describing the business flow chart according to a preset format, and analyzing the definition file to obtain a plurality of flow sub-models, wherein the flow sub-models correspond to the model elements;
responding to a development request of a target object on an application page, and creating a form page and a target business process model corresponding to the development request, wherein the target business process model consists of a plurality of process sub-models;
binding the form page and the target business process model to develop the application page.
2. The method of claim 1, wherein determining a business flow diagram based on the model element comprises:
determining a rendering tool package according to the open source framework, and processing the model elements in a preset page modeler according to the rendering tool package to obtain the business flow chart for describing the execution process of the business flow model.
3. The method according to claim 1, wherein the flow chart comprises: task configuration information, gateway configuration information, event configuration information, connection configuration information, wherein,
the task configuration information comprises at least one of the following: task ID, task name, task type, wherein the task type comprises: service tasks, script tasks, user tasks;
the gateway configuration information comprises at least one of the following: gateway ID, gateway name, gateway type, wherein the gateway type comprises: an exclusive gateway, a parallel gateway, an event gateway and a containing gateway;
the event configuration information comprises at least one of the following: event ID, event name, event type, wherein the event type comprises: a start event, an end event, an intermediate event, a message event;
the connection line configuration information comprises at least one of the following components: connection line ID, connection line name, triggering condition, connection line attribute, and associated directionality, wherein the connection line attribute comprises: default connection lines or conditional connection lines.
4. The method of claim 1, wherein in response to a development request for an application page by a target object, creating a form page corresponding to the development request comprises:
Determining metadata information and API service settings input by the target object according to the development request, wherein the API service settings comprise: creating API data, creating an add-check-and-prune service interface, setting node attributes and node circulation;
determining a page interface based on the metadata information, and creating a page template based on the page interface, wherein each page interface corresponds to a service function;
and determining template parameters of the page template according to the API service setting, and creating the form page.
5. The method of claim 4, wherein determining metadata information entered by the target object in accordance with the development request comprises:
acquiring input information of the target object according to a preset browser, and creating a table, a field and a reference relation by using the input information to obtain metadata information;
or, creating a form page by adopting the preset browser, acquiring drag information of the target object on the form page by utilizing the form page, and determining a page attribute based on the drag information to take the page attribute as the metadata information, wherein the form page comprises at least one of the following: input box, drop down list box, check box, radio button, date selector.
6. The method of claim 4, wherein after determining metadata information entered by the target object in accordance with the development request, the method further comprises:
and carrying out data creation based on the metadata information, wherein the data creation comprises the following steps: create a table and create a field.
7. The method of claim 1, wherein in response to a development request of an application page by a target object, creating a target business process model corresponding to the development request comprises:
and configuring a plurality of process sub-models according to the development request, and obtaining the target business process model based on each configured process sub-model.
8. An application page development device, comprising:
the first determining module is used for acquiring a plurality of model elements of the open source framework and determining a business flow chart based on the model elements, wherein the model elements comprise at least one of the following: tasks, gateways, events, connecting lines;
the analysis module is used for generating a definition file for describing the business flow chart according to a preset format, and analyzing the definition file to obtain a plurality of flow sub-models, wherein the flow sub-models correspond to the model elements;
The second determining module is used for responding to a development request of a target object on an application page, and creating a form page and a target business process model corresponding to the development request, wherein the target business process model consists of a plurality of process sub-models;
and the development module is used for binding the form page and the target business process model so as to develop the application page.
9. A nonvolatile storage medium, characterized in that the nonvolatile storage medium includes a stored program, wherein a device in which the nonvolatile storage medium is located executes the application page development method according to any one of claims 1 to 7 by running the program.
10. An electronic device, comprising: a memory and a processor, wherein the memory stores a computer program, the processor being configured to execute the application page development method of any one of claims 1 to 7 by the computer program.
CN202310756164.6A 2023-06-25 2023-06-25 Application page development method and device, storage medium and electronic equipment Pending CN116643749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310756164.6A CN116643749A (en) 2023-06-25 2023-06-25 Application page development method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310756164.6A CN116643749A (en) 2023-06-25 2023-06-25 Application page development method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116643749A true CN116643749A (en) 2023-08-25

Family

ID=87623104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310756164.6A Pending CN116643749A (en) 2023-06-25 2023-06-25 Application page development method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116643749A (en)

Similar Documents

Publication Publication Date Title
CN104350518B (en) A kind of method and server and system for configuring advertisement formwork
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
CN111079047B (en) Web-oriented page construction system
US20200057550A1 (en) Method and apparatus for generating customized visualization component
CN112561386A (en) Method, device and equipment for acquiring business process
CN109145034B (en) Resource presentation method and device and computer terminal
CN112800370A (en) Business document processing method and device, computer equipment and storage medium
CN111488148A (en) Webpage source code generation method and device
CN106446283A (en) Page style generating method and device
CN112650487A (en) Hybrid application development method, system, computer device and storage medium
KR101835856B1 (en) Server, method for providing customized application using singular integration application including integrated module and plug-in and layout editor, and record media therefor
WO2024066825A1 (en) Page project development method, apparatus, device, medium and product
CN113391808A (en) Page configuration method and device and electronic equipment
CN107147732A (en) Image processing method, device, client and service end
Sottet et al. Model transformation configuration and variability management for user interface design
JP7014960B2 (en) Information processing equipment, servers, their processing methods and programs
CN116643749A (en) Application page development method and device, storage medium and electronic equipment
US11843679B2 (en) Automated dependency management based on page components
CN113127791A (en) Operation page configuration method, system, device and readable storage medium
CN111158684B (en) System creation method, device, electronic equipment and readable storage medium
US20220206763A1 (en) Information processing system, information processing apparatus information processing method, and program
CN103488477A (en) Visual editing system and visual editing method of JAVA interface
CN113254830A (en) Webpage configuration method and device, electronic equipment and storage medium
US20150288747A1 (en) User interface control and communication
CN112181409A (en) Application construction method, application rendering method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination