Page generation method and device of application, electronic equipment and storage medium

By disassembling the page of the business application system into content blocks, and making content cards for each content block, setting the linkage relationship between cards, solving the difficulty of integration, inadequate management, and complex interaction in the existing technology in the existing technology. The problem has achieved efficient and unified page configuration and interaction.

CN119376731APending Publication Date: 2025-01-28广东省人民代表大会常务委员会办公厅 +1

Patent Information

Application Number
CN202411521924.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

When generating business application systems in the prior art, the integration cost between page configuration tools is high, and unified management of application pages cannot be achieved, complex interactions between page elements cannot be carried out, configuration efficiency is low, and adaptability is poor.

Method used

The target page to be made is split into multiple content blocks, and the corresponding content card is made for each content block. The linkage relationship between the content card is set to realize the interaction, linkage and communication between the content cards.

Benefits of technology

The unified management of the application page has been realized, the page configuration efficiency is improved, the combination of the cards between different sources of content cards is supported, and the page configuration requirements of various business scenarios are met.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119376731A_ABST
    Figure CN119376731A_ABST
Patent Text Reader

Abstract

The invention discloses an application page generation method and device, electronic equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: splitting a target page of a to-be-made application into a plurality of content blocks; making a corresponding content card for each content block in the plurality of content blocks to obtain a plurality of content cards; and setting a content linkage relationship among the plurality of content cards to obtain a target page. According to the technical scheme, the page configuration efficiency can be improved, unified management of the application pages can be achieved, interaction, linkage and communication among the content cards can be achieved, and the page configuration requirements of various business scenes can be better met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for generating an application page. Background Art

[0002] Conventional business application systems or platforms are generally formed by several types of pages such as application homepage, list management page, detail form filling display page, report statistics page and large screen display page, etc., combined with business flow logic. As technology matures, pages can be generated through different configuration tools, and then various pages can be associated through menus or homepages to form application systems. Figure 1 The method of generating a business application system by the existing method is shown, such as: 1) various page configuration tools select the corresponding page of the data source configuration and generate the page address; 2) in the application menu, the address of each page is mounted to the corresponding menu according to the plan; 3) in the application menu, the loading status of each page is verified.

[0003] However, this method has the following limitations: 1. Since each page configuration tool belongs to a different manufacturer or team, the cost of integrating the tools in the project is too high, so the results of each page configuration tool (generally application pages) cannot be managed in a unified manner and are managed by their own page configuration tools. 2. For the application system, the application can only be viewed as a whole after the page address pointed to by the menu or page element is hard-coded, and the direct relationship between the application pages is loose, and the pages cannot communicate or interact in a complex manner (only simple jumps can be performed). 3. If the content of the page cannot be determined by a single page configuration tool (such as the need to piece together the configuration content of at least two tools, some pages need to be opened, etc.), the design draft can only be modified and the pages split to configure several pages to meet the business needs. There are problems such as low configuration efficiency, poor configuration adaptability, and a large workload for page analysis and configuration. Therefore, it is necessary to design an application page generation method that can uniformly manage application pages, meet the linkage communication between page elements, and improve page configuration efficiency. Summary of the invention

[0004] The present application provides a method, device, electronic device and storage medium for generating an application page, which can improve the efficiency of page configuration, realize unified management of application pages, realize interaction, linkage and communication between content cards, and better meet the page configuration requirements of various business scenarios.

[0005] In a first aspect, the present application provides a method for generating a page of an application, the method comprising:

[0006] Split the target page of the application to be made into multiple content blocks;

[0007] Creating a corresponding content card for each of the multiple content blocks to obtain multiple content cards;

[0008] A content linkage relationship is set between the plurality of content cards to obtain the target page.

[0009] Furthermore, making a corresponding content card for each content block in the multiple content blocks includes: determining the element components and content configuration tools corresponding to each content block; configuring the element components through the content configuration tool corresponding to each content block to obtain content information corresponding to each content block; and packaging the content information, card rendering address and data source address into a card to obtain a content card corresponding to each content block.

[0010] Furthermore, making a corresponding content card for each content block in the plurality of content blocks includes: determining function information of each content block; and acquiring a content card corresponding to each content block from a card database based on the function information.

[0011] Furthermore, the content linkage relationship includes a calling relationship; setting a content linkage relationship between the multiple content cards to obtain the target page includes: determining a first content card among the multiple content cards that has the calling relationship; determining a calling method and a calling rule corresponding to the calling relationship; and setting the corresponding calling method for the first content card based on the calling rule to obtain the target page.

[0012] Furthermore, the content linkage relationship also includes an association relationship; setting a content linkage relationship between the multiple content cards to obtain the target page includes: determining a second content card among the multiple content cards that has the association relationship; determining a target field corresponding to the association relationship; and associating the target field in the second content card to obtain the target page.

[0013] Furthermore, after making a corresponding content card for each of the multiple content blocks, it also includes: determining style attribute information of the content card according to size information of each content block; and determining display attribute information of the content card according to function information of each content block.

[0014] Furthermore, the method also includes: when the multiple pages of the application to be produced are generated, determining the hierarchical order relationship between the multiple pages, the target page is one of the multiple pages; based on the hierarchical order relationship and the multiple pages, configuring an application menu for the application to be produced, the application menu includes a menu root node and menu leaf nodes; configuring corresponding page addresses for the menu leaf nodes in the application menu to obtain the application to be produced.

[0015] In a second aspect, the present application provides a device for generating a page of an application, the device comprising:

[0016] A content splitting module is used to split the target page of the application to be produced into multiple content blocks;

[0017] A card determination module, used to create a corresponding content card for each content block in the plurality of content blocks, to obtain a plurality of content cards;

[0018] The page generation module is used to set content linkage relationships between the multiple content cards to obtain the target page.

[0019] In a third aspect, the present application provides an electronic device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the page generation method of the application described in any embodiment of the present application.

[0020] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the page generation method of the application described in any embodiment of the present application when executed.

[0021] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the page generation method of the application described in any embodiment of the present application.

[0022] In order to solve the defects of the prior art in the background technology, the embodiment of the present application provides a page generation method for an application, and the execution of the method can bring the following beneficial effects: the present application splits the business page into multiple content blocks according to the preset division standard, and makes corresponding content cards for each content block through the content configuration tool corresponding to each content block; compared with the prior art, the present application improves the configuration of the business application system from page to content block, and refines the granularity of the configuration, which can solve the problem that the single page cannot be configured by a single configuration tool in the prior art by only modifying the design draft to split a single page into several pages, and can be more flexible to configure business functions and page content, and can improve the efficiency of page configuration. Moreover, the beneficial effect of such a setting is that each content configuration tool develops, configures and outputs the corresponding content card according to the unified function card specification, and no longer pays attention to the content configuration tool when assembling the page configuration, and can support any combination of content cards from different sources, and can realize the unified management of application pages. In addition, the present application sets a content linkage relationship for the content cards with content linkage relationships, realizes the interaction, linkage and communication between content cards, and better meets the page configuration requirements of various business scenarios.

[0023] It should be noted that the above computer instructions may be stored in whole or in part on a computer-readable storage medium, wherein the computer-readable storage medium may be packaged together with the processor of the application page generation device, or may be packaged separately from the processor of the application page generation device, which is not limited in this application.

[0024] The description of the second, third, ..., and fifth aspects in this application can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second, third, ..., and fifth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.

[0025] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description.

[0026] It is understandable that before using the technical solutions disclosed in the embodiments of this application, the type, scope of use, and usage scenarios of the personal information involved in this application should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0028] Figure 1 Generate a schematic diagram of a business application system in an existing method;

[0029] Figure 2 A flowchart of a page generation method for an application provided in an embodiment of the present application;

[0030] Figure 3 A schematic diagram of setting parameters for a content card provided in an embodiment of the present application;

[0031] Figure 4 Schematic diagram of the production process of an application system for a business provided in an embodiment of the present application

[0032] Figure 5 A schematic diagram of the structure of a page generation device for an application provided in an embodiment of the present application;

[0033] Figure 6 It is a block diagram of an electronic device used to implement a page generation method of an application in an embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0035] It should be noted that the terms "first", "second", "target", and "original" in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including", "having", and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0036] Figure 2 A flowchart of a method for generating a page of an application provided in an embodiment of the present application. This embodiment is applicable to the case where an application page is configured by a content card used to carry the content to be displayed in the page. The method for generating a page of an application provided in this embodiment can be executed by a device for generating a page of an application provided in an embodiment of the present application. The device can be implemented by software and / or hardware and integrated in an electronic device that executes the method. Preferably, the electronic device of the present application can be a microprocessor for making an application system.

[0037] See also Figure 2 The method of this embodiment includes but is not limited to the following steps:

[0038] S110: Split the target page of the application to be produced into multiple content blocks.

[0039] The application to be produced may be an application system or application platform for a conventional business, and may include multiple pages. A page is a separate page on a website corresponding to the application system, and may include text, images, audio, video, etc. The target page is one of the multiple pages.

[0040] In the embodiment of the present application, the microprocessor first obtains the page design draft of the target page in the application to be produced, and then analyzes the page design draft, and then can split the target page into multiple content blocks according to the preset division standard. The preset division standard can be the functional category of the content to be displayed (such as: content block a is the content displayed to the user, and content block b is the content for interaction with the user) or the division of labor of the content configuration tool (such as: content block a is produced by the list management configuration tool, and content block b is produced by the detail form configuration tool). It can be understood that if the content in the target page belongs to the same functional category, or can be determined by the same content configuration tool, then the target page will not be split, that is, the target page is equivalent to a content block.

[0041] Optionally, this embodiment takes the division standard of the content configuration tool division of labor as an example, and splits the target page into multiple content blocks to explain the application page generation method of the present application. Exemplarily, the design draft of a specific page in the application system corresponding to a certain project is recorded as page P. The microprocessor can split page P into three content blocks according to the division of labor of the content configuration tool. Content block A is for displaying data, which is configured by the large, medium and small screen page configuration tool; content block B is for displaying statistical tables, which is configured by the Business Intelligence Reports (BI) statistical configuration tool; content block C is for displaying data trend charts, which are also configured by the large, medium and small screen page configuration tools.

[0042] S120: Create a corresponding content card for each of the multiple content blocks to obtain multiple content cards.

[0043] In an achievable embodiment, a corresponding content card is produced for each content block in a plurality of content blocks, including: determining an element component and a content configuration tool corresponding to each content block; configuring the element component through the content configuration tool corresponding to each content block to obtain content information corresponding to each content block; and packaging the content information, the card rendering address, and the data source address into a card to obtain a content card corresponding to each content block.

[0044] Among them, the content card is a functional card used to carry the content to be displayed in the page. Users can set the style attributes (such as appearance data) and display attributes (such as whether to show or hide and whether it is readable and writable, etc.) of the content card according to actual application requirements. It should be noted that in this embodiment, the content cards produced by different content configuration tools can be combined arbitrarily, that is, it supports any combination of content cards from different sources to form a page. For example: content cards configured and output by content configuration tools of the same type can be combined, content cards configured and output by content configuration tools of different types can be combined, basic element components can be combined with content configuration cards, and basic element components can be combined with different types of content cards.

[0045] The advantage of such a setting is that this embodiment can solve the problem that the result objects (i.e., application pages) of each page configuration tool cannot be uniformly managed in the prior art. This embodiment can manage the result objects (i.e., content cards) of each content configuration tool in a unified manner in a card container, and realize the unified management of content cards with different sizes and contents configured by different content configuration tools. Users only need to pay attention to the content of the result objects and the style and layout in the application page. This embodiment can also solve the problem that if a single configuration tool cannot determine the content in a single page in the prior art, the single page can only be split into several pages by modifying the design draft to meet business needs; in this embodiment, when a page outputs content by a content configuration tool, then the content configuration tool configures the output of this page; when a page outputs content by at least two content configuration tools, then the content configuration tool configures the output of content cards, and the corresponding content cards can be configured and output by each content configuration tool, and then these content cards are combined into a page. It is not necessary to split this page into multiple pages by modifying the page design draft as in the existing method; the page configuration efficiency and the adaptability of page configuration can be improved.

[0046] A content card may include multiple element components, such as: click buttons, fill-in boxes, and display boxes. Each content block may include multiple element components, and each content block corresponds to a content configuration tool. The content configuration tool may include a homepage configuration tool, a list management configuration tool, a detail form configuration tool, a BI statistics configuration tool, and a large, medium, and small screen page configuration tool; in a specific application instance, the homepage configuration tool, the list management configuration tool, and the detail form configuration tool may be provided by the application support center, and the BI statistics configuration tool and the large, medium, and small screen page configuration tool may be provided by different manufacturers or teams, respectively. Content information refers to the visualized content information in the content block. The card rendering address refers to the address corresponding to the information required to render or implement the card. The data source address refers to the address corresponding to the data source information required for the content card, that is, the access address.

[0047] In an embodiment of the present application, first, the microprocessor analyzes the page design draft of the target page to obtain at least one element component contained in each content block, and which content configuration tool each content block can be configured through. Then, the microprocessor obtains these element components through the content configuration tool corresponding to each content block, configures attribute parameters for these element components, and lays out the element components according to the page design draft, and finally obtains the visual content information to be displayed corresponding to each content block. Finally, the microprocessor obtains the card rendering address and data source address of each content block, and encapsulates the content information, card rendering address and data source address into cards through a preset card encapsulation method to obtain the content card corresponding to each content block.

[0048] Furthermore, after creating a corresponding content card for each of the multiple content blocks, the method further includes: determining the style attribute information of the content card according to the size information of each content block; and determining the display attribute information of the content card according to the function information of each content block. The style attribute information may include the frame style, width and height data, background and font, etc.; the display attribute information may include whether to hide, whether to disable, and whether to read only, etc.

[0049] In another optional embodiment, creating a corresponding content card for each content block in the plurality of content blocks includes: determining function information of each content block; and acquiring a content card corresponding to each content block from a card database based on the function information.

[0050] In this embodiment, before making an application system, the user can make corresponding content cards for commonly used content blocks in advance, and publish these content cards to the card database for management and maintenance, so that they can be called by users when designing pages. In the actual production process of the business page, first, the microprocessor analyzes the page design draft of the target page to obtain the functional information of each content block, such as: display card data, display statistics or display data trend chart. Then, the microprocessor obtains the content card corresponding to each content block from the card database based on the functional information, and can also obtain some basic element components. Finally, the microprocessor lays out these content cards and basic element components in the canvas of the page configurator. Optionally, a list of content cards that have been published and have permission to be selected can be viewed in the card database, and the content cards and basic element components required for the target page are selected from the list to build the page.

[0051] S130: Setting a content linkage relationship between multiple content cards to obtain a target page.

[0052] Among them, the content linkage relationship refers to the linkage communication between different content cards in the target page. In this embodiment, when the page involves at least two content cards and the content cards involve linkage interaction (i.e., content linkage relationship), the interaction, linkage and communication between the content cards can be achieved by setting linkage fields or calling methods for the content cards with content linkage relationships, so as to better meet the page configuration requirements of various business scenarios. The content linkage relationship can include calling relationships and association relationships.

[0053] Specifically, when the content linkage relationship is a calling relationship, a content linkage relationship is set between multiple content cards to obtain a target page, including: determining a first content card with a calling relationship among multiple content cards; determining a calling method and a calling rule corresponding to the calling relationship; and setting a corresponding calling method for the first content card based on the calling rule to obtain the target page.

[0054] The number of first content cards is at least two. The calling relationship may include card jump, card exposure, content change in the card, and other forms of calling. Exemplarily, the content change in the card may mean that the input parameters of content card a in the same page are determined by the output parameters of content card b, that is, content card b will affect the content to be displayed in content card a; the content change in the card may include changes in the rendering form and changes in the filling content. Card exposure may mean that content card c can trigger the exposure of calling content card d.

[0055] Specifically, when the content linkage relationship is an associative relationship, setting a content linkage relationship between multiple content cards to obtain a target page includes: determining a second content card with an associative relationship among the multiple content cards; determining a target field corresponding to the associative relationship; and associating the target field in the second content card to obtain the target page.

[0056] The number of the second content cards is at least two. The association relationship may include a visible-invisible association, a synchronous association, and other forms of association. Exemplarily, the visible-invisible association may be to associate the visible-invisible association of content card f through a metadata value in content card e. The synchronous association may be to synchronously change the same field in content card h when the value of a field in content card g changes, which may be achieved by configuring field linkage.

[0057] In an embodiment of a practical application, the microprocessor first analyzes the page design draft of the target page to obtain the functional information of each content block, and then obtains the content card corresponding to each content block from the card database based on the functional information. The microprocessor lays out these content cards in the canvas of the page configurator. The layout operation includes parameter settings of the content cards. Figure 3 This is a schematic diagram for setting parameters for content cards, which illustrates the basic configuration and advanced configuration of a content card. In the basic configuration, you can set style attribute information and display attribute information, such as: card name, card height, card width, frame style, whether to hide, whether to disable, and whether to read-only. In the advanced configuration, you can further set style attribute information, such as: whether to display the title name, border configuration, background configuration, font configuration, length and height configuration; you can also set the content linkage relationship between this content card and other content cards, such as: call method configuration, field linkage configuration, associated element configuration, and associated rule configuration.

[0058] Furthermore, the page supports access preview, saving and publishing; because the page can be associated with a data source during configuration, the page effect filled with data can be seen when previewing after configuration, which can better verify the generation of the page.

[0059] The technical solution provided by this embodiment is to split the target page of the application to be made into multiple content blocks; make corresponding content cards for each content block in the multiple content blocks to obtain multiple content cards; set content linkage relationships between multiple content cards to obtain the target page. This application splits the business page into multiple content blocks according to the preset division standard, and makes corresponding content cards for each content block through the content configuration tool corresponding to each content block; compared with the prior art, this application improves the configuration of the business application system from page to content block, and refines the granularity of the configuration, which can solve the problem that the single page cannot be configured by a single configuration tool in the prior art by only modifying the design draft to split a single page into several pages, and can be more flexible to configure business functions and page content, which can improve the efficiency of page configuration. Moreover, the beneficial effect of such a setting is that each content configuration tool develops, configures and outputs the corresponding content card according to the unified function card specification, and no longer pays attention to the content configuration tool when assembling the page configuration, and can support any combination of content cards from different sources, so as to achieve unified management of application pages. In addition, this application realizes interaction, linkage and communication between content cards by setting content linkage relationships for content cards that have content linkage relationships, so as to better meet the page configuration requirements of various business scenarios.

[0060] In an optional embodiment, the application to be made includes multiple pages. When the multiple pages of the application to be made are generated, the method of the present application also includes building a business application. The construction of the business application requires configuration of the guide and office, process configuration, permission configuration, document configuration and application menu configuration. Among them, the configuration of the guide and office, process configuration, permission configuration and document configuration are not the focus of this application and will not be described in depth. Specifically, the configuration process of the application menu can be: when the multiple pages of the application to be made are generated, the hierarchical order relationship between the multiple pages is determined, and the target page is one of the multiple pages; based on the hierarchical order relationship and the multiple pages, the application menu is configured for the application to be made, and the application menu includes a menu root node and a menu leaf node; the corresponding page address is configured for the menu leaf node in the application menu to obtain the application to be made. Users can also verify the application access effect, and can further verify the associated interaction effect within each page and between pages.

[0061] like Figure 4The figure shows a schematic diagram of the production process of an application system for a business, which illustrates that the microprocessor can pre-produce corresponding content cards for commonly used content blocks, specifically: configure through the content configuration tool corresponding to each content block to obtain the content information corresponding to each content block; then encapsulate these content information into cards to obtain content cards. Exemplarily, as shown in the figure, the configuration is performed based on the homepage configuration tool to obtain the content of the homepage function page, and then the card is encapsulated to obtain the homepage function card. In the actual production process of the business page, the microprocessor analyzes the page design draft of the target page to obtain the function information of each content block; the microprocessor obtains the content card corresponding to each content block from the card database based on the function information, and can also obtain some basic element components. The microprocessor lays out these content cards and basic element components in the canvas of the page configurator, that is, builds the page through the function card. When multiple pages of the application to be produced are generated, the business application is built based on the multiple pages, that is, the application container assembles the page to build the application.

[0062] Figure 5 A schematic diagram of a page generation device for an application provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the apparatus 500 may include:

[0063] A content splitting module 510 is used to split the target page of the application to be produced into multiple content blocks;

[0064] A card determination module 520, configured to create a corresponding content card for each of the plurality of content blocks, to obtain a plurality of content cards;

[0065] The page generation module 530 is used to set a content linkage relationship between the plurality of content cards to obtain the target page.

[0066] Furthermore, the above-mentioned card determination module 520 can be specifically used to: determine the element components and content configuration tools corresponding to each content block; configure the element components through the content configuration tools corresponding to each content block to obtain the content information corresponding to each content block; encapsulate the content information, card rendering address and data source address into cards to obtain the content card corresponding to each content block.

[0067] Furthermore, the card determination module 520 may be specifically configured to: determine function information of each content block; and obtain a content card corresponding to each content block from a card database based on the function information.

[0068] In one embodiment, the content linkage relationship includes a call relationship;

[0069] Furthermore, the above-mentioned page generation module 530 can be specifically used to: determine the first content card that has the calling relationship among the multiple content cards; determine the calling method and calling rule corresponding to the calling relationship; set the corresponding calling method for the first content card based on the calling rule to obtain the target page.

[0070] In one embodiment, the content linkage relationship also includes an association relationship;

[0071] Furthermore, the page generation module 530 can be specifically used to: determine a second content card having the association relationship among the multiple content cards; determine a target field corresponding to the association relationship; and associate the target field in the second content card to obtain the target page.

[0072] Furthermore, the page generation device of the above application may also include: an attribute determination module;

[0073] The attribute determination module is used to determine the style attribute information of the content card according to the size information of each content block after creating a corresponding content card for each content block among the multiple content blocks; and determine the display attribute information of the content card according to the function information of each content block.

[0074] Furthermore, the above-mentioned application page generation device may also include: an application production module;

[0075] The application production module is used to determine the hierarchical order relationship between the multiple pages of the application to be produced when the generation of the multiple pages is completed, and the target page is one of the multiple pages; based on the hierarchical order relationship and the multiple pages, configure an application menu for the application to be produced, and the application menu includes a menu root node and menu leaf nodes; configure corresponding page addresses for the menu leaf nodes in the application menu to obtain the application to be produced.

[0076] The application page generation device provided in this embodiment can be applied to the application page generation method provided in any of the above embodiments, and has corresponding functions and beneficial effects.

[0077] Figure 6It is a block diagram of an electronic device for implementing a page generation method of an application of an embodiment of the present application. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0078] like Figure 6 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0079] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0080] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the page generation method of the application.

[0081] In some embodiments, the page generation method of the application may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the page generation method of the application described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the page generation method of the application in any other appropriate manner (e.g., by means of firmware).

[0082] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0083] The computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer programs are executed by the processor, the functions / operations specified in the flow charts and / or block diagrams are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0084] In the context of the present application, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. A more specific example of a machine readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0085] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0086] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server) or a computing system that includes middleware components (e.g., an application server) or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein) or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0087] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0088] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. For example, those skilled in the art can use the various forms of processes shown above to reorder, add, or delete steps; the steps recorded in the present application can be performed in parallel, sequentially, or in different orders, as long as the desired results of the technical solution of the present application can be achieved, and this document does not limit them here.

[0089] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A method for generating a page of an application, characterized in that: The method comprises: Split the target page of the application to be made into multiple content blocks; Creating a corresponding content card for each of the multiple content blocks to obtain multiple content cards; A content linkage relationship is set between the plurality of content cards to obtain the target page.

2. The method for generating a page for an application according to claim 1, characterized in that: The step of creating a corresponding content card for each of the plurality of content blocks includes: Determine the element components and content configuration tools corresponding to each content block; The element components are configured by using a content configuration tool corresponding to each content block to obtain content information corresponding to each content block; The content information, the card rendering address and the data source address are packaged into cards to obtain a content card corresponding to each content block.

3. The method for generating a page for an application according to claim 1, characterized in that: The step of creating a corresponding content card for each of the plurality of content blocks includes: Determining function information of each content block; The content card corresponding to each content block is obtained from a card database based on the function information.

4. The method for generating a page for an application according to claim 1, characterized in that: The content linkage relationship includes a call relationship; The step of setting a content linkage relationship between the plurality of content cards to obtain the target page includes: Determine a first content card having the calling relationship among the plurality of content cards; Determine the calling method and calling rules corresponding to the calling relationship; The corresponding calling method is set for the first content card based on the calling rule to obtain the target page.

5. The method for generating a page for an application according to claim 4, characterized in that: The content linkage relationship also includes an association relationship; the step of setting a content linkage relationship between the plurality of content cards to obtain the target page includes: determining a second content card having the association relationship among the plurality of content cards; Determine a target field corresponding to the association relationship; The target field in the second content card is associated to obtain the target page.

6. The method for generating a page for an application according to claim 2, characterized in that: After creating a corresponding content card for each of the plurality of content blocks, the method further includes: Determining style attribute information of the content card according to the size information of each content block; The display attribute information of the content card is determined according to the function information of each content block.

7. The method for generating a page for an application according to claim 1, characterized in that: The method further comprises: When the generation of the multiple pages of the application to be produced is completed, determining the hierarchical order relationship between the multiple pages, the target page is one of the multiple pages; Based on the hierarchical order relationship and the multiple pages, an application menu is configured for the application to be produced, wherein the application menu includes a menu root node and menu leaf nodes; The menu leaf nodes in the application menu are configured with corresponding page addresses to obtain the application to be produced.

8. A page generation device for an application, characterized in that: The device comprises: A content splitting module is used to split the target page of the application to be produced into multiple content blocks; A card determination module, used to create a corresponding content card for each content block in the plurality of content blocks, to obtain a plurality of content cards; The page generation module is used to set content linkage relationships between the multiple content cards to obtain the target page.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores a computer program executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the page generation method of the application according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the page generation method of any one of claims 1 to 7 when executed.

Citation Information

Patent Citations

  • Page generation method and page generation device

    CN108733367A

  • Front-end page generation method and device, computer system and readable storage medium

    CN112965699A

  • Method and device for associating functional components of visual page

    CN115033228A

  • Page component content development method and device, equipment and storage medium

    CN117389538A

  • Attribute linkage design method, device and equipment of low-code platform for intelligent equipment management and medium

    CN117908870A

Cited By

  • Information processing method and device, electronic equipment, storage medium and program product

    CN121008861A