A method and system for automatically building pages and publishing them instantly

Through the method of automatically building pages and publishing them immediately, combined with data source connection and page binding, the application management system can be quickly customized and instantly used, solving the development cost and efficiency problems caused by demand changes in the existing technology, and providing Flexible page construction and permission management functions.

CN113031936BActive Publication Date: 2024-10-29CHINA AEROSPACE SYST ENG
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201911356258.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-25
Publication Date
2024-10-29
Estimated Expiration
2039-12-25

AI Technical Summary

Technical Problem

Existing application management systems need to be redeveloped or modified when user needs change, resulting in increased costs and reduced work efficiency, and the method of quickly building pages cannot achieve instant construction and immediate use.

Method used

Provides a method to automatically build pages and publish them instantly, including connecting to data sources, building pages and binding business components, publishing pages, and setting user permissions according to needs. It uses a graphical interface and drag-and-drop components to avoid code writing and supports Data acquisition from database and data interface enables independent customization and instant publishing of pages.

Benefits of technology

It realizes the rapid construction and instant use of user-customized business pages, reduces development and operation and maintenance costs, improves work efficiency, has stronger compatibility, and more diversified data binding options, and is suitable for application systems with frequent changes in demand.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113031936B_ABST
    Figure CN113031936B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for automatically building a page and publishing it immediately, the method comprising: connecting a data source to obtain required application data; building a page, and binding business components and data sources; publishing the built page, and setting page user permissions according to requirements. In terms of the page building function, the method of the present invention utilizes various packaged components and packaged mature applications in the industry to quickly build an application page that meets user needs, and adopts a graphical approach to avoid code writing and development, greatly saving time and development costs; in terms of the page publishing function, after the application page is built, it can be directly published and used in the system, and the directory level of the produced application page can be set according to requirements, which makes the application page more convenient to use and avoids the work of professional developers or operation and maintenance personnel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Web systems, and in particular to a method capable of quickly building system pages and large-screen pages and binding data for instant publishing, and a method and system for automatically building pages and instantly publishing. Background Art

[0002] There are two main application system software modes. One is the Client / Server mode (hereinafter referred to as the "CS mode"). The specific form of this mode is to install the client program on the mobile phone or computer, and then realize the software functions through the communication between the client and the server. The other is the Browser / Server mode (hereinafter referred to as the "BS mode"), which is to use the browser to open the web page and realize the software functions through the web page. A core point is to interact through the browser as an agent. Because the BS mode does not require installation and can be used across platforms, it is the main form of application software at present.

[0003] At present, application management systems are all customized and developed according to the users' initial requirements. Therefore, once the development is completed, the functions cannot be customized and modified. That is, if the users' requirements change or have new requirements, the system needs to be redeveloped, which will invisibly increase the users' costs and reduce their work efficiency. When the users' requirements of the application system change, the system needs to be redeveloped or modified. Most of the existing methods of quickly building pages are to reference the pages after the construction is completed, or to generate pages and then package and deploy them. Although this has simplified the development process, it still has certain limitations and cannot be built and used immediately.

[0004] Therefore, developing a system that allows users to customize business pages independently and connect to data for immediate use in the application system is of great significance for application system users whose needs may change or who often have new needs. Summary of the invention

[0005] The purpose of the present invention is to overcome the above technical defects and provide a system that can be built and used immediately.

[0006] In order to achieve the above object, the present invention proposes a method for automatically building a page and publishing it instantly, the method comprising:

[0007] Connect to data sources to obtain required application data;

[0008] Build the page and bind the business components and data sources;

[0009] Publish the constructed page and set the page user permissions as required.

[0010] As an improvement of the above method, the connecting to the data source to obtain the required application data specifically includes:

[0011] Select the database type;

[0012] Select the database configuration information, including the database host name, port number, database name, user name, and password;

[0013] Connect to the database and determine whether the connection is successful. If not, you need to reselect the database configuration information; otherwise, select multiple data tables in the database;

[0014] Select the Design option to view a list of data tables selected above, as well as the field name and Chinese explanation of each table.

[0015] As an improvement of the above method, the method further includes: viewing data table information: selecting a query option in the details, performing a database query through a SQL statement, and displaying instant results on the page.

[0016] As an improvement of the above method, the connecting to the data source to obtain the required application data specifically includes:

[0017] Select a service registration method; the service registration method includes: importing through a web service method, importing through a configuration file method, and importing through a manual addition method;

[0018] When you choose to import via web service, fill in the web service interface to obtain all interface information. After the test is successful, the import can be successful.

[0019] When you choose to import through a configuration file, upload the interface information json file that conforms to the file format. After reading successfully, it can be successfully imported;

[0020] When you choose to import by manual addition, you need to manually add the required data interface information, add multiple interfaces at one time, and successfully save them to the data interface information;

[0021] After the import is successful, select the imported data interface, perform the interface test, fill in the corresponding data interface request information, and view the interface feedback data results on the page.

[0022] As an improvement of the above method, the page is constructed and the business components and the data source are bound, specifically including:

[0023] Enter the name of the new page, select the page background, or choose to import a template;

[0024] Select the page layout and create the page;

[0025] Configure the background and style properties of the page;

[0026] Drag in layout components as needed and configure detailed page layout. The layout components here are responsive components to ensure that the generated page can adapt to different browser sizes.

[0027] According to business needs, drag and drop the packaged business components into the layout grid;

[0028] In the page script, write detailed response event functions according to requirements;

[0029] According to user needs, modify and configure the style properties of each component in detail, and you can also bind the response event, that is, select the event function written above;

[0030] For business components that need to request data, select the acquired data source and configure the binding, and select the specific fields of the data source that need to be displayed in detail.

[0031] As an improvement of the above method, the publishing of the constructed page specifically includes:

[0032] Select the configuration options for the published page, including the directory level of the published page, the node ID of the page, the title and icon of the published page;

[0033] Publish the configured page.

[0034] As an improvement to the above method, the page user permissions are set according to the requirements, specifically including:

[0035] Configure the page permissions that each role should have;

[0036] Configure different permission roles for users;

[0037] For published pages, different users have different display permissions based on the configuration results.

[0038] The present invention also provides a system for automatically building and instantly publishing pages, the system comprising: a data connection management module, a page building module, a page publishing module and a permission control module.

[0039] The data connection management module is used to connect to the database and the data interface as the data source of the page building module;

[0040] The page building module is used to build pages and bind business components and data sources;

[0041] The page publishing module is used to publish the constructed page;

[0042] The permission control function module is used to implement permission management of pages that have been published and put into use, including: user's own publishing page permission control and user administrator's publishing page permission control. The user's own publishing page permission control includes publishing, removing and deleting the published page; the user administrator's publishing page permission control includes: managing multiple users and controlling the page permission application permissions of each user.

[0043] As an improvement of the above system, the data connection management module includes:

[0044] The database connection management submodule is used to connect to the specified database and select the specific data table and data fields in the database as the data source of the page building module;

[0045] The interface connection management submodule is used to view the registered data interfaces, configure the request parameters and request types of the data interfaces according to the requirements of the interfaces, and display the test results instantly on the page. It is also used to register the data interfaces to this system. There are two registration methods. The first is to import the configuration file, which directly imports the interface service configuration file in the specified format into the system. The second is to connect to the data service that can obtain the data interface information through the data interface, and parse the obtained data and store it in the system.

[0046] As an improvement of the above system, the page building module includes:

[0047] The page management function submodule is used to implement basic management functions including page creation, template selection, and management of created pages;

[0048] The widget function submodule is used to implement the page building component selection function, including seven categories of components: container components, general components, data display components, basic components, chart components, map components, and 3D models;

[0049] The industry application function submodule is used to quickly build mature industry application pages, including eight categories of industry applications: space-time cloud, forestry cloud, aerospace information, Dawei transportation, Guizhou agriculture, Hainan tourism, equipment monitoring cloud, and face recognition;

[0050] The page building sub-function is used to realize the page visual layout building function, component style attribute and event attribute change function.

[0051] The advantages of the present invention are:

[0052] 1. In terms of page building function, the method of the present invention utilizes various packaged components and packaged mature applications in the industry to quickly build application pages that meet user needs, and adopts a graphical approach to avoid code writing and development. Even non-developers can build them by themselves according to their needs, which greatly saves time and development costs;

[0053] 2. In terms of page publishing function, the method of the present invention is different from the traditional method of citing the page in other systems after it is built, or packaging and re-publishing it. Instead, after the application page is built, it can be directly published and used in the system, and the directory level of the application page can be set according to the needs, which makes the application page more convenient to use and avoids the work of professional developers or operation and maintenance personnel;

[0054] 3. In terms of data connection function, the present invention adopts two data acquisition methods, one is a method of obtaining data from a database, and the other is a method of obtaining data from a data interface, which has stronger compatibility and more diverse data binding options. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 It is a flowchart of obtaining a database data source of the present invention;

[0056] Figure 2 It is a data interface data source acquisition flow chart of the present invention;

[0057] Figure 3 It is a page building flow chart of the present invention;

[0058] Figure 4 It is a flow chart of user page authority control of the present invention;

[0059] Figure 5 It is a flow chart of page authority control by a system administrator of the present invention. DETAILED DESCRIPTION

[0060] The technical solution of the present invention will be further described with reference to the accompanying drawings.

[0061] The present invention provides a method for automatically building a page and publishing it instantly, comprising:

[0062] The first step is to connect to the data source and obtain the required application data;

[0063] There are two processes for obtaining data sources: one is to obtain it by connecting to the database, and the other is to obtain it by connecting to the database interface.

[0064] like Figure 1 As shown, obtaining the data source through the database includes the following steps:

[0065] Step 1-1, click the Create Database button and select the database type;

[0066] Step 1-2, select database configuration information, including database host name, port number, database name, user name, password, etc.;

[0067] Step 1-3, connect to the database and determine whether the connection is successful. If not, you need to re-fill in the configuration information;

[0068] Step 1-4, select the data table in the database, you can select multiple tables;

[0069] Step 1-5: Wait for the reading to be completed and submit after confirmation;

[0070] Step 1-6, select Create Database, and select View Details;

[0071] Steps 1-7, select the design option to view the list of data tables selected above, as well as the field name and Chinese explanation of each list.

[0072] If you need to view more detailed data table information, you can select the query option in the details, use some SQL statements to do a simple database query, and display the instant results on the page.

[0073] like Figure 2 As shown, obtaining the data source through the data interface includes the following steps:

[0074] Step 2-1, select service registration, select the service registration method;

[0075] Step 2-2, there are three registration methods to choose from, namely import through web service, import through configuration file, and manually add service. If you choose to use web service, you need to fill in the web service interface to obtain all interface information. After the test is successful, it can be successfully imported; if you choose to use configuration file, you need to upload the interface information json file that conforms to the file format. After reading successfully, it can be successfully imported; if you choose to import by manual addition, you can manually add the required data interface information, and you can add multiple interfaces at one time, and successfully save them to the data interface information.

[0076] Step 2-3: After the import is successful, select the imported data interface, perform the interface test, fill in the corresponding data interface request information, and view the interface feedback data results on the page in a timely manner.

[0077] Data can be obtained through both methods and used as the data source for data components in the next step of page construction.

[0078] The second step is to build the page and bind the data component to the data source;

[0079] The page building process is one of the cores of the present invention. Here are the main steps, and the detailed configuration information is not explained one by one. Figure 3 As shown, the specific steps include:

[0080] Step 3-1. Click to create a web page;

[0081] Step 3-2, enter the name of the new page, select the page background, or choose to import a template;

[0082] Step 3-3, select the page layout and create the page;

[0083] Step 3-4, you can configure the background and style properties of the page;

[0084] Step 3-5: Drag in the layout component according to your needs and configure the detailed layout of the page. The layout component here is a responsive component to ensure that the generated page can adapt to different browser sizes;

[0085] Step 3-6: Drag and drop packaged tool components, such as data display components and chart components, into the layout grid according to business needs;

[0086] Step 3-7: You can write detailed response event functions in the page script as required;

[0087] Step 3-8: According to user needs, you can modify and configure the style properties of each component in detail, such as color, size, etc. You can also bind the response event, that is, select the event function written above;

[0088] Step 3-9: For components that need to request data, such as charts, you can configure the binding data source. There are two data sources, database and data interface. Select the data source that has been obtained before, and select the specific fields of the data source that need to be displayed in detail;

[0089] Step 3-10: For the entire page, if more detailed style modifications are required, you can use the style panel to write style functions and bind specific modules in the page;

[0090] Step 3-11, you can click the preview button to view the effect of the overall page construction.

[0091] The third step is to publish the page after the page is built and set the page user permissions as needed.

[0092] After the page is built, it can be saved and published. The present invention is an instant creation and instant publishing mode, which is simple and convenient for users. Its main process is divided into two levels. The first is the user's internal display, hiding, and deletion of a single page. The second is the user administrator's page authority control for multiple users. First, the specific steps of the user's internal control page are introduced, such as Figure 4 As shown, the specific steps are as follows:

[0093] Step 4-1. Click to save the built page;

[0094] Step 4-2, click to publish the page you want to use;

[0095] Step 4-3, select the configuration release page options, including the directory level of the release page, the node ID of the page, the title of the release page, the icon, etc.;

[0096] Step 4-4, click Publish;

[0097] Step 4-5: Configure whether the page should be displayed, hidden or deleted.

[0098] After the page is published, the user administrator can set different display permissions for different users according to their needs, such as Figure 5 As shown, the specific steps are as follows:

[0099] Step 5-1. Click Role Management;

[0100] Step 5-2, click Permission Management and select the page function permissions that the corresponding role should have;

[0101] Step 5-3, click User Management to configure different permission roles for users;

[0102] Step 5-4: Confirm the modification. The newly published page will have different display permissions for different users based on the configuration results.

[0103] The present invention also provides a system for automatically building pages and publishing them instantly, which can realize rapid building and instant use, and can control the permissions of the built pages, including: a data connection management module, a page building module and a permission control module, wherein:

[0104] The data connection management module is used to connect to the database and data interface as the data source of the page building component. It is mainly divided into two parts. The first is the database connection management function module, which mainly includes: database connection management function, which is used to view, delete and add data tables for the connected database; database connection function, which is used to connect to the specified database and select the specific data table in the database and the data field in the table as the data source of the page building component. The second is the interface connection management function module, which mainly includes: interface service connection management function, which is used to view, delete and test the connection of the registered data interface. In the test connection function, the request parameters and request type of the data interface can be configured according to the requirements of the interface, and the test results can be displayed instantly on the page; service registration function, which is used to register the data interface into this system. There are two registration methods. The first is to import the configuration file, which directly imports the interface service configuration file in the specified format into the system. The second is to connect to the data service that can obtain data interface information through the data interface, and store the obtained data parsed into the system.

[0105] The page building module includes: a page management function module, which is used to implement basic management functions including page creation, template selection, and management of created pages; a gadget function module, which is used to implement the page building component selection function, including seven categories of components: container components, general components, data display, basic components, chart components, map components, and three-dimensional models; an industry application function module, which is used to quickly build mature industry application pages, including eight categories of industry applications: space-time cloud, forestry cloud, aerospace information, Dawei transportation, Guizhou agriculture, Hainan tourism, equipment monitoring cloud, and face recognition; page building functions, including page visual layout building function, component style attribute and event attribute change function, page basic editing and modification function, page online style attribute writing function, page online event writing function, as well as saving and publishing functions.

[0106] The permission control function module is used for permission management of pages that have been published and put into use. It is mainly divided into two parts. One is the user's own publishing page permission control, including the publishing, delisting and deletion functions of the published pages; the other is the user administrator's publishing page permission control. As a user administrator, you manage multiple users and can control the page permission application permissions for each user.

[0107] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention is described in detail with reference to the embodiments, it should be understood by those skilled in the art that any modification or equivalent replacement of the technical solutions of the present invention does not depart from the spirit and scope of the technical solutions of the present invention and should be included in the scope of the claims of the present invention.

Claims

1. A method for automatically building a page and publishing it instantly, the method include: Connecting to a data source to obtain required application data, wherein the acquisition of the data source includes: obtaining by connecting to a database and obtaining by connecting to a database interface; Build the page and bind the business components and data sources; Publish the built page and set the page user permissions as required; The acquisition is obtained by connecting to the database interface, specifically including: Select a service registration method; the service registration method includes: importing through a web service method, importing through a configuration file method, and importing through a manual addition method; When you choose to import via web service, fill in the web service interface to obtain all interface information. After the test is successful, the import can be successful. When you choose to import through a configuration file, upload the interface information json file that conforms to the file format. After reading successfully, it can be successfully imported; When you choose to import by manual addition, you need to manually add the required data interface information, add multiple interfaces at one time, and successfully save them to the data interface information; After the import is successful, select the imported data interface, perform the interface test, fill in the corresponding data interface request information, and view the interface feedback data results on the page; The published page specifically includes: Select and configure the release page options, including: the directory level of the release page, the node ID of the page, the title and icon of the release page; Publish the configured page; The page user permissions are set according to the requirements, specifically including: Configure the page permissions that each role should have; Configure different permission roles for users; For published pages, different users have different display permissions based on the configuration results.

2. The method for automatically building a page and publishing it immediately according to claim 1, It is characterized in that The acquisition by connecting to the database specifically includes: Select the database type; Select the database configuration information, including: database host name, port number, database name, user name and password; Connect to the database and determine whether the connection is successful. If not, you need to reselect the database configuration information; otherwise, select multiple data tables in the database; Select the design option to view multiple data tables in the database, as well as the field names and Chinese explanations of each data table.

3. The method for automatically building a page and publishing it immediately according to claim 2, It is characterized in that The method also includes: viewing data table information: selecting a query option in the details, performing a database query through a SQL statement, and displaying instant results on the page.

4. The method for automatically building a page and publishing it instantly according to any one of claims 1 to 3, It is characterized in that The page is constructed and the business components and data sources are bound, specifically including: Enter the name of the new page, select the page background, or choose to import a template; Select the page layout and create the page; Configure the background and style properties of the page; Drag in layout components as needed and configure detailed page layout. The layout components here are responsive components to ensure that the generated page can adapt to different browser sizes. According to business needs, drag and drop the packaged business components into the layout grid; In the page script, write detailed response event functions according to requirements; According to user needs, modify and configure the style properties of each component in detail and bind the response event function; For business components that need to request data, select the acquired data source and configure the binding, and select the specific fields of the data source that need to be displayed in detail.

5. A system that automatically builds pages and publishes them instantly. It is characterized in that The system includes: a data connection management module, a page building module, a page publishing module and a permission control module. The data connection management module is used to connect to the database and the data interface as the data source of the page building module; The page building module is used to build pages and bind business components and data sources; The page publishing module is used to publish the constructed page; The permission control function module is used to implement permission management of pages that have been published and put into use, including: user's own publishing page permission control and user administrator's publishing page permission control. The user's own publishing page permission control includes: publishing, delisting and deleting the published page; the user administrator's publishing page permission control includes: managing multiple users and controlling the page permission application permissions of each user; The data connection management module includes: The database connection management submodule is used to connect to the specified database and select the specific data table and data fields in the database as the data source of the page building module; The interface connection management submodule is used to view the registered data interfaces, configure the request parameters and request types of the data interfaces according to the requirements of the interfaces, and display the test results instantly on the page; it is also used to register the data interfaces into this system. There are two registration methods. The first is to import the configuration file, directly import the interface service configuration file in the specified format into the system, and the second is to connect to the data service that can obtain the data interface information through the data interface, and parse the obtained data and store it in the system; The page building module includes: The page management function submodule is used to implement basic management functions including page creation, template selection, and management of created pages; The widget function submodule is used to implement the page building component selection function, including seven categories of components: container components, general components, data display components, basic components, chart components, map components, and 3D models; The industry application function submodule is used to quickly build mature industry application pages, including eight categories of industry applications: space-time cloud, forestry cloud, aerospace information, Dawei transportation, Guizhou agriculture, Hainan tourism, equipment monitoring cloud, and face recognition; The page building sub-function is used to realize the page visual layout building function, component style attribute and event attribute change function.

Citation Information

Patent Citations

  • Page generation method and device

    CN105808626A

  • Intelligent form system and generation method thereof

    CN106021211A