CN118519627A - Application zero code development method, device, storage medium and system - Google Patents
Application zero code development method, device, storage medium and system Download PDFInfo
- Publication number
- CN118519627A CN118519627A CN202410616058.2A CN202410616058A CN118519627A CN 118519627 A CN118519627 A CN 118519627A CN 202410616058 A CN202410616058 A CN 202410616058A CN 118519627 A CN118519627 A CN 118519627A
- Authority
- CN
- China
- Prior art keywords
- page
- application
- source
- application software
- preset
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 238000011161 development Methods 0.000 title claims abstract description 31
- 238000003860 storage Methods 0.000 title claims abstract description 14
- 238000009877 rendering Methods 0.000 claims abstract description 30
- 230000008569 process Effects 0.000 claims abstract description 14
- 238000004806 packaging method and process Methods 0.000 claims abstract description 13
- 230000006870 function Effects 0.000 claims description 59
- 238000004590 computer program Methods 0.000 claims description 26
- 238000012986 modification Methods 0.000 claims description 11
- 230000004048 modification Effects 0.000 claims description 11
- 238000012795 verification Methods 0.000 claims description 9
- 238000004519 manufacturing process Methods 0.000 abstract description 20
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 238000009776 industrial production Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Stored Programmes (AREA)
Abstract
The application relates to an application zero code development method, a computer device, a computer readable storage medium and a system. The method comprises the following steps: responding to the drag operation of the page component, and generating a functional page according to the page component included in the current page; rendering the functional page into a source page based on a preset template; the source page is stored in a preset database; packaging the application public page by using a software development kit to obtain an application data packet; receiving application identification information, and generating application software by combining the application identification information, an application data packet and an operation link of a source page stored in a preset database; and releasing the application software to a preset website. By adopting the method, the application software related to the business can be quickly built by utilizing the zero code capability, so that non-information technicians can develop the application software according to the actual production control process and business flow, the development cost of production and manufacture informatization and digitization is reduced, and the development efficiency of the industrial application software is improved.
Description
Technical Field
The present application relates to the field of software development technologies, and in particular, to an application zero code development method, a computer device, a computer readable storage medium, and a system.
Background
Along with the development of industrial and intelligent manufacturing production, manufacturing enterprises gradually transform to informatization and digitalization. Industrial application software (APP) is an important link in industrial intelligence, and needs to bear knowledge and experience in the production and manufacturing process. Typically, the application software is performed by information technicians, who may develop application software that does not match the actual requirements due to the lack of industrial manufacturing experience. And the personnel who possess industrial production manufacturing experience have low programming level and low development efficiency. Therefore, the development cost of the production and manufacture informatization and digitalization is high at present.
Disclosure of Invention
Based on the above, it is necessary to provide an application zero code development method, a computer device, a computer readable storage medium and a system, which can quickly build application software related to a service by using zero code capability, reduce development cost of production and manufacture informatization and digitalization, and promote development efficiency of industrial application software.
In a first aspect, the present application provides an application zero code development method, including:
responding to the drag operation of the page component, and generating a functional page according to the page component included in the current page;
Rendering the functional page into a source page based on a preset template;
the source page is stored in a preset database;
Packaging the application public page by using a software development kit to obtain an application data packet;
Receiving application identification information, and generating application software by combining the application identification information, an application data packet and an operation link of a source page stored in a preset database;
And releasing the application software to a preset website.
In one embodiment, the method is applied to a server, which integrates system core code and native components of the terminal device; rendering the functional page as a source page based on a preset template, including:
and running system core codes, and rendering the functional pages into source pages through the native components based on a preset template.
In one embodiment, the method further comprises:
And under the condition that a downloading request is received based on a preset website, sending the application software to terminal equipment corresponding to the downloading request so as to instruct the terminal equipment to install the application software, and running a source page based on a running link through a webview component in the running process of the application software.
In one embodiment, the method further comprises:
Receiving an access request of terminal equipment, wherein the access request carries an operation link;
acquiring a corresponding source page from a preset database according to the operation link;
and sending the source page to the terminal equipment to instruct the terminal equipment to run the source page through the webview component.
In one embodiment, the access request also carries a token; after receiving the access request of the terminal device, the method further comprises:
Verifying the validity of the terminal equipment according to the token;
After the verification is passed, the step of acquiring the corresponding source page from the preset database according to the operation link is executed.
In one embodiment, the preset database stores source pages corresponding to multiple functions; combining the application identification information, the application data packet and the running link of the source page stored in the preset database to generate application software, wherein the method comprises the following steps:
Determining a function combination corresponding to the application software, wherein the function combination comprises a plurality of target functions;
acquiring operation links of source pages corresponding to a plurality of target functions from a preset database;
And generating application software by combining the application identification information, the application data packet and the operation links corresponding to the target functions.
In one embodiment, the method further comprises:
Determining a target page identifier to be modified;
acquiring a first source page corresponding to a target page identifier from a preset database;
displaying a target page component corresponding to the first source page on the current page;
Responding to the modification operation for the current page, and generating a target function page according to the modified page component;
rendering the target function page into a second source page based on a preset template;
And updating the first source page in the preset database according to the second source page.
In a second aspect, the present application also provides a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
responding to the drag operation of the page component, and generating a functional page according to the page component included in the current page;
Rendering the functional page into a source page based on a preset template;
the source page is stored in a preset database;
Packaging the application public page by using a software development kit to obtain an application data packet;
Receiving application identification information, and generating application software by combining the application identification information, an application data packet and an operation link of a source page stored in a preset database;
And releasing the application software to a preset website.
In a third aspect, the present application also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
responding to the drag operation of the page component, and generating a functional page according to the page component included in the current page;
Rendering the functional page into a source page based on a preset template;
the source page is stored in a preset database;
Packaging the application public page by using a software development kit to obtain an application data packet;
Receiving application identification information, and generating application software by combining the application identification information, an application data packet and an operation link of a source page stored in a preset database;
And releasing the application software to a preset website.
In a fourth aspect, the application also provides an application zero code development system, which comprises a server and terminal equipment; wherein:
The server is used for responding to the drag operation of the page component and generating a functional page according to the page component included in the current page; rendering the functional page into a source page based on a preset template; the source page is stored in a preset database; packaging the application public page by using a software development kit to obtain an application data packet; receiving application identification information, and generating application software by combining the application identification information, an application data packet and an operation link of a source page stored in a preset database; releasing the application software to a preset website;
the server is further used for sending the application software to the terminal equipment corresponding to the downloading request under the condition that the downloading request is received based on the preset website;
And the terminal equipment is used for installing the application software and running the source page based on the running link through the webview component in the running process of the application software.
The application zero code development method, the computer device, the computer readable storage medium and the system are used for responding to the drag operation of the page component and generating a functional page according to the page component included in the current page; rendering the functional page into a source page based on a preset template; the source page is stored in a preset database; packaging the application public page by using a software development kit to obtain an application data packet; receiving application identification information, and generating application software by combining the application identification information, an application data packet and an operation link of a source page stored in a preset database; and releasing the application software to a preset website. By means of the method, the functional page designed by the non-information technicians is combined with the preset template, rendered into the source page, and the application software is generated based on the public page, the application identification information and the operation link of the source page, so that the application software related to the service can be quickly built by utilizing the zero code capability, the non-information technicians can develop the application software according to the actual production management and control process and the service flow, the development cost of production and manufacture informatization and digitization is reduced, and the development efficiency of the industrial application software is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the related art, the drawings that are needed in the description of the embodiments of the present application or the related technologies will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other related drawings may be obtained according to these drawings without inventive effort to those of ordinary skill in the art.
FIG. 1 is an application environment diagram of an application zero code development method in one embodiment;
FIG. 2 is a flow diagram of an application zero code development method in one embodiment;
FIG. 3 is a schematic diagram of a functional page in one embodiment;
FIG. 4 is a schematic diagram of a source page in one embodiment;
FIG. 5 is a flow chart of the application software generation steps in one embodiment;
FIG. 6 is an internal block diagram of a computer device in one embodiment;
FIG. 7 is a block diagram of an architecture of an application zero code development system in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The application zero code development method provided by the embodiment of the application can be applied to an application environment shown in figure 1. Wherein the terminal device 102 and the operation device 104 communicate with the server 106 via a network. The data storage system may store the source page rendered by the server 104. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server.
Optionally, a browser is run on the operation device 104, and through a page provided by the web page display server 106 of the browser, a user can drag a page component on the page through the operation device 104, so as to implement configuration of the functional page.
Alternatively, the terminal device 102 downloads and installs the application software by accessing a preset website, and runs the source page rendered by the server 106 via webview component based on the run link during use of the application software.
The terminal 102 and the operation device 104 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers. The server 106 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud computing services. In one implementation, the server 106 is a technology platform, serving platform for reusable technology components, integrating the capabilities of common technology components, tools, platforms.
In an exemplary embodiment, as shown in fig. 2, there is provided an application zero code development method, which is described by taking an example that the method is applied to the server 106 in fig. 1, and includes:
Step 202, responding to the drag operation of the page component, and generating a functional page according to the page component included in the current page.
The server provides a zero code platform for technicians, and the technicians can configure functional pages of the application by dragging the page component. In one implementation, the server is connected with a display unit and an input unit, the visualized page component and configuration options are displayed through the display unit, and a technician drags the page component through the input unit to design the functional page. In one implementation, a technician performs drag operation on a page component through an operation device, the operation device runs a browser, a server displays page information and configuration options to the technician through the browser, the technician designs a functional page on the browser, the server monitors the operation information on the browser, and the functional page is generated according to the page component included in the current page. Optionally, the server saves the functional pages in a specific format, e.g., HTML format.
Step 204, rendering the functional page as a source page based on the preset template.
The preset template is a rendering template which is based on the display logic configuration of the terminal equipment in advance, and a predefined template code and a page component configured by a technician can be integrated based on the preset template to generate a source page for the terminal equipment to display. It can be appreciated that the functional page developed by the zero code platform combines the page component with the HTML5 template through the template rendering technique to generate a source page which meets the HTML5 specification and can be normally displayed and operated on the terminal device.
By way of example, referring to fig. 3 and 4, fig. 3 shows a functional page; fig. 4 shows a source page. Wherein a technician may select different containers (e.g., grids, tables, tab pages, cards, etc.), set different fields (e.g., switches, sliders, pictures, etc.) through the zero code platform, and set different attributes (e.g., unique names, tabs, etc.) for each field, and adjust the component layout by dragging the page component to form a functional page. The server generates a source page shown in fig. 4 after rendering through a template based on a functional page designed by a technician, and supports display and operation on terminal equipment (such as a mobile phone).
And 206, saving the source page to a preset database.
The preset database is a database which is set in advance and used for storing source pages, a corresponding operation link is set for each source page based on the storage position of the source page in the database, and a subsequent server or terminal device can access through the operation links and legal tokens (token).
And step 208, packaging the application public page by using the software development kit to obtain an application data packet.
The software development kit refers to android SDK (Software Development Kit). Alternatively, an application common page refers to a page in application software (APP) that is shared for use by multiple functions or modules. It can be understood that the application common page in this embodiment refers to the same basic page configured by the server for different application software, and provides the same auxiliary function for different application software. For example, a start page (the page that the user first sees when opening the APP), a login/register page, a navigation bar or bottom tab bar, etc.
Step 210, receiving application identification information, and generating application software by combining the application identification information, an application data packet and an operation link of a source page stored in a preset database.
The application identification information is information for identifying and managing application software, and may include an application name (APP ID), an application icon, an application version, and the like. And generating application software according to the information such as the configured application name, application icon, application version, application data packet, operation link and the like. Optionally, the application software is in apk (Android application package ) format, and is used for running on the Android system.
In one implementation, during the process of generating the application software, the server provides an information input interface for a technician, where the information input interface includes at least one information input field, for example, an application name input field, an application icon adding field, an application version input field, a download address input field, and the like, and the technician fills in application identification information in the information input interface for use when the server generates the application software.
In step 212, the application software is published to a preset website.
The preset website is a download address of the application software, and can be set by a technician or automatically generated by a server. It can be appreciated that the preset website may be a website managed by the server, or may be a website managed by another service provider.
In one implementation, the server is capable of generating different android applications according to different functional pages developed by the zero code platform.
In the application zero code development method, responding to the drag operation of the page component, and generating a functional page according to the page component included in the current page; rendering the functional page into a source page based on a preset template; the source page is stored in a preset database; packaging the application public page by using a software development kit to obtain an application data packet; receiving application identification information, and generating application software by combining the application identification information, an application data packet and an operation link of a source page stored in a preset database; and releasing the application software to a preset website. By means of the method, the functional page designed by the non-information technicians is combined with the preset template, rendered into the source page, and the application software is generated based on the public page, the application identification information and the operation link of the source page, so that the application software related to the service can be quickly built by utilizing the zero code capability, the non-information technicians can develop the application software according to the actual production management and control process and the service flow, the development cost of production and manufacture informatization and digitization is reduced, and the development efficiency of the industrial application software is improved.
In one exemplary embodiment, the method is applied to a server that integrates system core code and native components of a terminal device; step 204, including: and running system core codes, and rendering the functional pages into source pages through the native components based on a preset template.
The system core code refers to a system kernel operated by the terminal equipment, and may be An Zhuona cores. Through integrating the android kernel and the native components, the functional page can be rendered into a source page supporting stable operation of the android system.
It can be understood that An Zhuona cores and native components are integrated in the framework of the software development platform provided by the server, and android application software can be quickly generated according to the specified resource machine parameters. In one implementation, a technician can generate android application software on line through a browser without writing codes, so that development efficiency is improved.
In an exemplary embodiment, the method further comprises:
And under the condition that a downloading request is received based on a preset website, sending the application software to terminal equipment corresponding to the downloading request so as to instruct the terminal equipment to install the application software, and running a source page based on a running link through a webview component in the running process of the application software.
The terminal equipment sends a downloading request by accessing the preset website, and the server provides the application software for the terminal equipment. And the terminal equipment installs application software and uses webview components of the android system to run the source page rendered by the server. In this way, a stable running of the application software is achieved.
In an exemplary embodiment, the method further comprises: receiving an access request of terminal equipment, wherein the access request carries an operation link; acquiring a corresponding source page from a preset database according to the operation link; and sending the source page to the terminal equipment to instruct the terminal equipment to run the source page through the webview component.
In the process that the terminal equipment runs the application software, an access request is sent to a server, a source page corresponding to the running link in a preset database is fed back to the terminal equipment by the server, and the terminal equipment runs the source page rendered by the server by using webview components of the android system.
In an exemplary embodiment, the access request also carries a token; after receiving the access request of the terminal device, the method further comprises: verifying the validity of the terminal equipment according to the token; after the verification is passed, the step of acquiring the corresponding source page from the preset database according to the operation link is executed.
The method comprises the steps that validity of a verification link and information of a login user are analyzed through a token, and after verification is passed, a server feeds a source page in a preset database back to a terminal device for use. In one implementation, after the token is successfully logged in for the first time, the server generates and distributes the token, and in the subsequent access process, the server verifies whether the token carried in the access request is tampered, legal (consistent with that stored by the server), expired and the like, so as to obtain a verification result. In one implementation, the terminal device generates a token according to its own device information, and the server verifies whether the system of the terminal device is an android system according to the token, if so, the validity check passes.
In one implementation, the terminal device verifies whether the age of the token expires and whether the identity information of the user is legitimate by reverse parsing the token.
In this way, the safety and stability of the application software can be improved.
In an exemplary embodiment, as shown in fig. 5, the preset database stores source pages corresponding to multiple functions; combining the application identification information, the application data packet and the running link of the source page stored in the preset database to generate application software, wherein the method comprises the following steps:
Step 502, determining a function combination corresponding to the application software, wherein the function combination comprises a plurality of target functions.
Step 504, obtaining the operation links of the source pages corresponding to the target functions from a preset database.
Wherein, the function combination composed of a plurality of target functions is determined according to the development requirement of the application software. The preset database stores operation links configured for each source page. And determining operation links corresponding to the multiple target functions used by the application software developed at the time from a preset database.
Step 506, generating application software by combining the application identification information, the application data packet and the operation links corresponding to the plurality of target functions.
And generating application software according to the configured application identification information, the application data packet and the running links corresponding to the plurality of target functions. By the method, the server can generate multifunctional android application software based on different functional pages developed by the zero code platform. In one implementation, the server combines different functions and packages to generate different android applications.
In an exemplary embodiment, the method further comprises: determining a target page identifier to be modified; acquiring a first source page corresponding to a target page identifier from a preset database; displaying a target page component corresponding to the first source page on the current page; responding to the modification operation for the current page, and generating a target function page according to the modified page component; rendering the target function page into a second source page based on a preset template; and updating the first source page in the preset database according to the second source page.
In one implementation, each piece of data of the preset database is recorded with the following information: source page, source page identification, run links for source page, functions, etc. The page identity is used to identify and distinguish different source pages.
The server is provided with a page modification function, and after a technician starts the page modification function and selects a source page to be modified, the server determines a target page identifier to be modified, searches from a preset database according to the target page identifier, and determines a first source page. And reading the data of the first source page, determining at least one target page component included in the first source page, and displaying the target page component corresponding to the first source page in the current page provided for the technician. The server monitors operation information on the current page, and after a technician inputs modification operation, a target function page is generated according to page components included in the current page. And integrating the predefined template codes with the page components modified by the technicians based on the preset templates to generate a second source page for the terminal equipment to display. And replacing the original first source page in the preset database with the updated second source page. By the method, a source page modification function is provided, logic of each function can be quickly adjusted, software development efficiency and flexibility of software development are improved, and iteration and update of application software are facilitated.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
In one exemplary embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, an Input/Output interface (I/O) and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is for storing source pages. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements an application zero code development method.
It will be appreciated by those skilled in the art that the structure shown in FIG. 6 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one exemplary embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of: responding to the drag operation of the page component, and generating a functional page according to the page component included in the current page; rendering the functional page into a source page based on a preset template; the source page is stored in a preset database; packaging the application public page by using a software development kit to obtain an application data packet; receiving application identification information, and generating application software by combining the application identification information, an application data packet and an operation link of a source page stored in a preset database; and releasing the application software to a preset website.
In one embodiment, the processor when executing the computer program further performs the steps of: and running system core codes, and rendering the functional pages into source pages through the native components based on a preset template.
In one embodiment, the processor when executing the computer program further performs the steps of: and under the condition that a downloading request is received based on a preset website, sending the application software to terminal equipment corresponding to the downloading request so as to instruct the terminal equipment to install the application software, and running a source page based on a running link through a webview component in the running process of the application software.
In one embodiment, the processor when executing the computer program further performs the steps of: receiving an access request of terminal equipment, wherein the access request carries an operation link; acquiring a corresponding source page from a preset database according to the operation link; and sending the source page to the terminal equipment to instruct the terminal equipment to run the source page through the webview component.
In one embodiment, the processor when executing the computer program further performs the steps of: verifying the validity of the terminal equipment according to the token; after the verification is passed, the step of acquiring the corresponding source page from the preset database according to the operation link is executed.
In one embodiment, the processor when executing the computer program further performs the steps of: determining a function combination corresponding to the application software, wherein the function combination comprises a plurality of target functions; acquiring operation links of source pages corresponding to a plurality of target functions from a preset database; and generating application software by combining the application identification information, the application data packet and the operation links corresponding to the target functions.
In one embodiment, the processor when executing the computer program further performs the steps of: determining a target page identifier to be modified; acquiring a first source page corresponding to a target page identifier from a preset database; displaying a target page component corresponding to the first source page on the current page; responding to the modification operation for the current page, and generating a target function page according to the modified page component; rendering the target function page into a second source page based on a preset template; and updating the first source page in the preset database according to the second source page.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: responding to the drag operation of the page component, and generating a functional page according to the page component included in the current page; rendering the functional page into a source page based on a preset template; the source page is stored in a preset database; packaging the application public page by using a software development kit to obtain an application data packet; receiving application identification information, and generating application software by combining the application identification information, an application data packet and an operation link of a source page stored in a preset database; and releasing the application software to a preset website.
In one embodiment, the computer program when executed by the processor further performs the steps of: and running system core codes, and rendering the functional pages into source pages through the native components based on a preset template.
In one embodiment, the computer program when executed by the processor further performs the steps of: and under the condition that a downloading request is received based on a preset website, sending the application software to terminal equipment corresponding to the downloading request so as to instruct the terminal equipment to install the application software, and running a source page based on a running link through a webview component in the running process of the application software.
In one embodiment, the computer program when executed by the processor further performs the steps of: receiving an access request of terminal equipment, wherein the access request carries an operation link; acquiring a corresponding source page from a preset database according to the operation link; and sending the source page to the terminal equipment to instruct the terminal equipment to run the source page through the webview component.
In one embodiment, the computer program when executed by the processor further performs the steps of: verifying the validity of the terminal equipment according to the token; after the verification is passed, the step of acquiring the corresponding source page from the preset database according to the operation link is executed.
In one embodiment, the computer program when executed by the processor further performs the steps of: determining a function combination corresponding to the application software, wherein the function combination comprises a plurality of target functions; acquiring operation links of source pages corresponding to a plurality of target functions from a preset database; and generating application software by combining the application identification information, the application data packet and the operation links corresponding to the target functions.
In one embodiment, the computer program when executed by the processor further performs the steps of: determining a target page identifier to be modified; acquiring a first source page corresponding to a target page identifier from a preset database; displaying a target page component corresponding to the first source page on the current page; responding to the modification operation for the current page, and generating a target function page according to the modified page component; rendering the target function page into a second source page based on a preset template; and updating the first source page in the preset database according to the second source page.
In one embodiment, referring to fig. 7, an application zero code development system is provided, comprising a server and a terminal device; wherein:
The server is used for responding to the drag operation of the page component and generating a functional page according to the page component included in the current page; rendering the functional page into a source page based on a preset template; the source page is stored in a preset database; packaging the application public page by using a software development kit to obtain an application data packet; receiving application identification information, and generating application software by combining the application identification information, an application data packet and an operation link of a source page stored in a preset database; releasing the application software to a preset website;
the server is further used for sending the application software to the terminal equipment corresponding to the downloading request under the condition that the downloading request is received based on the preset website;
And the terminal equipment is used for installing the application software and running the source page based on the running link through the webview component in the running process of the application software.
In one embodiment, the server integrates system core code and native components of the terminal device; and the server is also used for running system core codes and rendering the functional pages into source pages through the native components based on a preset template.
In one embodiment, the server is further configured to receive an access request of the terminal device, where the access request carries an operation link; acquiring a corresponding source page from a preset database according to the operation link; and sending the source page to the terminal equipment to instruct the terminal equipment to run the source page through the webview component.
In one embodiment, the access request also carries a token; the server is also used for verifying the validity of the terminal equipment according to the token; after the verification is passed, the step of acquiring the corresponding source page from the preset database according to the operation link is executed.
In one embodiment, the preset database stores source pages corresponding to multiple functions; the server is also used for determining a function combination corresponding to the application software, wherein the function combination comprises a plurality of target functions; acquiring operation links of source pages corresponding to a plurality of target functions from a preset database; and generating application software by combining the application identification information, the application data packet and the operation links corresponding to the target functions.
In one embodiment, the server is further configured to determine a target page identifier to be modified; acquiring a first source page corresponding to a target page identifier from a preset database; displaying a target page component corresponding to the first source page on the current page; responding to the modification operation for the current page, and generating a target function page according to the modified page component; rendering the target function page into a second source page based on a preset template; and updating the first source page in the preset database according to the second source page.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are both information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to meet the related regulations.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile memory and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (RESISTIVE RANDOM ACCESS MEMORY, reRAM), magneto-resistive Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (PHASE CHANGE Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in various forms such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The databases referred to in the embodiments provided herein may include at least one of a relational database and a non-relational database. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processor referred to in the embodiments provided in the present application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computation, an artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) processor, or the like, but is not limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the present application.
The foregoing examples illustrate only a few embodiments of the application and are described in detail herein without thereby limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of the application should be assessed as that of the appended claims.
Claims (10)
1. An application zero code development method, the method comprising:
responding to the drag operation of the page component, and generating a functional page according to the page component included in the current page;
rendering the functional page as a source page based on a preset template;
storing the source page to a preset database;
Packaging the application public page by using a software development kit to obtain an application data packet;
Receiving application identification information, and generating application software by combining the application identification information, the application data packet and an operation link of a source page stored in the preset database;
and releasing the application software to a preset website.
2. The method according to claim 1, characterized in that it is applied to a server integrated with the system core code and native components of the terminal device; the rendering the functional page as a source page based on a preset template comprises the following steps:
and running the system core code, and rendering the functional page into a source page through the native component based on a preset template.
3. The method according to claim 1, wherein the method further comprises:
And under the condition that a downloading request is received based on the preset website, sending the application software to terminal equipment corresponding to the downloading request so as to instruct the terminal equipment to install the application software, and operating the source page based on the operation link through a webview component in the operation process of the application software.
4. The method according to claim 2, wherein the method further comprises:
receiving an access request of the terminal equipment, wherein the access request carries an operation link;
acquiring a corresponding source page from the preset database according to the operation link;
and sending the source page to the terminal equipment to instruct the terminal equipment to run the source page through a webview component.
5. The method of claim 4, wherein the access request further carries a token; after the access request of the terminal device is received, the method further comprises:
verifying the validity of the terminal equipment according to the token;
And after the verification is passed, executing the step of acquiring the corresponding source page from the preset database according to the operation link.
6. The method according to any one of claims 1 to 5, wherein the preset database stores source pages corresponding to a plurality of functions; the generating application software by combining the application identification information, the application data packet and the operation link of the source page stored in the preset database includes:
Determining a function combination corresponding to the application software, wherein the function combination comprises a plurality of target functions;
acquiring operation links of source pages corresponding to the target functions from the preset database;
And generating application software by combining the application identification information, the application data packet and the operation links corresponding to the target functions.
7. The method according to any one of claims 1 to 5, further comprising:
Determining a target page identifier to be modified;
acquiring a first source page corresponding to the target page identifier from the preset database;
displaying a target page component corresponding to the first source page on the current page;
responding to the modification operation for the current page, and generating a target function page according to the modified page component;
rendering the target function page into a second source page based on the preset template;
And updating the first source page in the preset database according to the second source page.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
10. An application zero code development system, characterized in that the system comprises a server and a terminal device; wherein:
The server is used for responding to the drag operation of the page component and generating a functional page according to the page component included in the current page; rendering the functional page as a source page based on a preset template; storing the source page to a preset database; packaging the application public page by using a software development kit to obtain an application data packet; receiving application identification information, and generating application software by combining the application identification information, the application data packet and an operation link of a source page stored in the preset database; releasing the application software to a preset website;
the server is further configured to send the application software to a terminal device corresponding to the download request when receiving the download request based on the preset website;
and the terminal equipment is used for installing the application software and running the source page based on the running link through webview components in the running process of the application software.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410616058.2A CN118519627A (en) | 2024-05-17 | 2024-05-17 | Application zero code development method, device, storage medium and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410616058.2A CN118519627A (en) | 2024-05-17 | 2024-05-17 | Application zero code development method, device, storage medium and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118519627A true CN118519627A (en) | 2024-08-20 |
Family
ID=92283478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410616058.2A Pending CN118519627A (en) | 2024-05-17 | 2024-05-17 | Application zero code development method, device, storage medium and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118519627A (en) |
-
2024
- 2024-05-17 CN CN202410616058.2A patent/CN118519627A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108292231B (en) | Method and system for generating applications from data | |
CN108958714B (en) | Business component type development method and device, computer equipment and storage medium | |
US11797273B2 (en) | System and method for enhancing component based development models with auto-wiring | |
US7984115B2 (en) | Extensible application platform | |
CN111858727B (en) | Multi-data source data export system and method based on template configuration | |
CN107093087B (en) | Context inducement in starter applications | |
CN112818270A (en) | Data cross-domain transfer method and device and computer equipment | |
CN110806935B (en) | Application program construction method, device and system | |
CN113569257B (en) | User authority management method and device in gray level release | |
CN112699027A (en) | Interface testing method, device, equipment and readable storage medium | |
CN117348919A (en) | Information configuration method, information configuration device, computer equipment and storage medium | |
CN118519627A (en) | Application zero code development method, device, storage medium and system | |
CN113779132B (en) | Data importing method, device, computer equipment and storage medium | |
CN116431200A (en) | Configuration method, device, equipment and storage medium for application data configuration information | |
CN116048609A (en) | Configuration file updating method, device, computer equipment and storage medium | |
CN115599401A (en) | Publishing method, device, equipment and medium of user-defined model | |
CN112068895A (en) | Code configuration method and device, video playing equipment and storage medium | |
US20200034119A1 (en) | Translating User Inputs Into Discretely Functional Styled Standalone Web and Mobile Software Features | |
WO2023162260A1 (en) | Environment construction assistance device, system, and method, and computer-readable medium | |
CN116339862A (en) | Interface configuration method, device, computer equipment and storage medium | |
CN117271449A (en) | Batch file generation method, apparatus, device, storage medium and program product | |
CN115373666A (en) | Program file generation method, device, computer equipment and storage medium | |
CN116610385A (en) | Application generation method, apparatus, computer device, storage medium, and program product | |
CN118860386A (en) | Method, device, equipment, storage medium and product for rendering form page | |
CN116301788A (en) | Webpage configuration method, webpage configuration device and readable storage medium |
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 |