Method and device for automatically configuring menu and electronic equipment

Through user instructions, the automatic configuration of menus is achieved, which solves the problems of low menu configuration efficiency and diversified user needs in the existing technology, and improves menu generation efficiency and user experience.

CN119961313AActive Publication Date: 2025-05-09SHANDONG FUTURE NETWORK RES INST (PURPLE MOUNTAIN LAB IND INTERNET INNOVATION APPL BASE)
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202510449525.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-11
Publication Date
2025-05-09
Estimated Expiration
2045-04-11

AI Technical Summary

Technical Problem

In the prior art, when configuring menus, it is difficult to take into account the diversity of user needs and the efficiency of menu configuration. Especially in the case of multi-level menus, the number of configuration items is huge, errors are prone to and the workload of R&D personnel is large.

Method used

The method of automatically configuring the menu is realized by selecting the routing address by user instructions and positioning the target low-code data. The method includes responding to the menu configuration instruction, selecting the target routing address, selecting the target low-code data in the preset database according to the routing address, and configuring the menu according to the low-code data.

Benefits of technology

When adding a new menu, there is no need for R&D personnel to reconfigure the routing address and low-code data, which improves menu generation efficiency, takes into account the diverse needs of users, and reduces the possibility of configuration errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119961313A_ABST
    Figure CN119961313A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a method and device for automatically configuring a menu and electronic equipment, and relates to the technical field of computer software, and the method for automatically configuring the menu comprises the following steps: responding to a menu configuration instruction; selecting a target routing address according to the menu configuration instruction; according to the target routing address and the menu configuration instruction, target low-code data is selected in a preset database, the target routing address is a routing address capable of finding the target low-code data, and the target low-code data is low-code data capable of achieving the menu configuration instruction; and configuring a menu according to the target low-code data. Therefore, menu generation efficiency and diversified requirements of the user can be considered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer software technology, and in particular to a method, device and electronic device for automatically configuring a menu. Background Art

[0002] With the development of software, users have more and more demands for menu configuration. The traditional method of configuring menus is to configure a routing address for each new menu, and configure the routing address and the code data corresponding to the menu into the database.

[0003] In order to improve the efficiency of menu configuration, low-code platforms that implement software systems through dragging and dropping and configuration are gradually appearing in the market in the form of components. As the market competition technology and implementation methods become more and more mature, users can easily customize menus that meet their requirements using low-code platforms. However, in order to implement more complex systems, multi-level menus are usually required. For menu configuration, the routing address will be stored through the code and the menu table in the database. In this case, each page has a corresponding configuration item. If there are many pages, the number of configuration items will be huge. Whether it is the routing configuration item in the code or the configuration item in the menu table, they need to correspond one by one, which is prone to errors and the number is large, which is a heavy workload for R&D personnel.

[0004] Thus, it can be seen that there is currently no menu configuration method that can take into account both the diversity of user needs and the efficiency of menu configuration. Summary of the invention

[0005] In view of this, the embodiments of the present application provide a method, device and electronic device for automatically configuring menus, which automatically selects a routing address according to user instructions and locates the target low-code data to directly generate a menu, thereby taking into account both menu generation efficiency and user diversified needs.

[0006] In a first aspect, an embodiment of the present application provides a method for automatically configuring a menu, comprising the following steps: responding to menu configuration instructions; According to the menu configuration instructions, select the target routing address; According to the target routing address and the menu configuration instruction, the target low-code data is selected in the preset database, wherein the target routing address is the routing address where the target low-code data can be found, and the target low-code data is the low-code data that can implement the menu configuration instruction; Configure the menu based on the target low-code data.

[0007] In some possible implementations, the routing address includes an ID parameter, and the ID parameter corresponds to the menu configuration instruction; According to the menu configuration instructions, select the target routing address including: According to the menu configuration instruction, select the ID parameter corresponding to the menu configuration instruction; The corresponding routing address is selected according to the ID parameter, and the routing address corresponding to the ID parameter is used as the target routing address.

[0008] In some possible implementations, selecting target low-code data in a preset database according to a target routing address and a menu configuration instruction includes: According to the routing address and menu configuration instructions, target low-code data is obtained from at least one low-code data in a preset database, wherein all low-code data in the preset database correspond to the ID parameters of all routing addresses.

[0009] In some possible implementations, obtaining target low-code data from at least one low-code data includes: From at least one low-code data, obtain the low-code data corresponding to the ID parameter of the routing address, and use the low-code data corresponding to the ID parameter of the routing address as the target low-code data.

[0010] In some possible implementations, the preset database includes multiple preset sub-databases, and each preset sub-database corresponds to a different ID parameter.

[0011] In some possible implementations, selecting target low-code data in a preset database according to a target routing address and a menu configuration instruction includes: According to the ID parameter corresponding to the menu configuration instruction, select the preset sub-database, and select the target low-code data from the preset sub-database.

[0012] In some possible implementations, the menu configuration according to the target low-code data includes: Render data on a preset template page based on the target low-code data.

[0013] In a second aspect, an embodiment of the present application provides a device for automatically configuring a menu, including: a determination unit, for responding to a menu configuration instruction; A configuration unit is used to select a target routing address according to a menu configuration instruction; select target low-code data in a preset database according to the target routing address and the menu configuration instruction, wherein the target routing address is a routing address where the target low-code data can be found, and the target low-code data is low-code data that can implement the menu configuration instruction; and configure the menu according to the target low-code data.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method provided in the first aspect of the embodiment of the present application.

[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the method provided in the first aspect of the embodiment of the present application.

[0016] By adopting the solution provided in the embodiment of the present application, the routing address is selected by the user using instructions, and the target low-code data is located to directly generate a menu. In this way, when adding a new menu, R&D personnel do not need to reconfigure the routing address and low-code data, thereby taking into account both menu generation efficiency and user diversified needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in 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 paying creative labor.

[0018] Figure 1 A flowchart of a method for automatically configuring a menu provided in an embodiment of the present application; Figure 2 A flowchart of a method for selecting a target routing address provided in an embodiment of the present application; Figure 3 A schematic diagram of a device for automatically configuring a menu provided in an embodiment of the present application; Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0020] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.

[0021] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0022] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0023] At present, the drag-and-drop method of developing software systems saves development time and resources compared with traditional development methods. That is, you only need to configure components to the page by dragging and dropping according to business requirements. However, with the increase of menus and secondary directories, menu configuration will become complicated, because each additional menu has to add a section of routing configuration code to the routing configuration interface, and it is usually impossible to predict how many secondary directories and menus users will configure, and how to personalize the names of the secondary directories and menus.

[0024] To solve the above problems, this technical solution optimizes and improves the menu routing configuration method, making the menu configuration more concise and convenient, and making full use of the routing configuration and menu configuration methods with parameters. Only one item needs to be configured in the routing configuration code to satisfy an unlimited number of first- and second-level menu configurations, providing new ideas and methods for the menu configuration of low-code platforms.

[0025] To this end, the embodiments of the present application provide a method, device and electronic device for automatically configuring menus, so as to take into account both the menu generation efficiency and the diversified needs of users.

[0026] In the embodiment of the present application, in order to ensure the implementation of the automatic configuration menu method, at least a preset database is included, which pre-stores multiple low-code data, and different low-code data can realize the configuration of different menus. And each low-code data corresponds to a routing address, which can be directly stored in the preset database in the form of a directory, or stored separately in a routing address table. Each routing address corresponds to a menu configuration instruction, so that the menu configuration instruction, routing address, and low-code data have a corresponding relationship.

[0027] See also Figure 1 , is a method for automatically configuring a menu provided in an embodiment of the present application, such as Figure 1 As shown, the method for automatically configuring a menu includes the following steps: Step S101: responding to a menu configuration instruction.

[0028] It should be noted that the menu configuration instruction is a user operation instruction, which may be a user click, a mouse drag, etc. For example, the user clicks "Add" and "Menu a" in sequence with the mouse to add a menu a.

[0029] Step S102: Select a target routing address according to the menu configuration instruction.

[0030] The target routing address is the routing address where the target low-code data can be found. That is, in an embodiment of the present application, it is necessary to find the low-code data corresponding to the menu configuration instructions in the preset database according to the menu configuration instructions, so as to implement the configuration menu according to the low-code data. In this way, it is necessary to first find the low-code data corresponding to the menu configuration instructions in the preset database, and the low-code data is found through the target routing address, so it is necessary to select the target routing address.

[0031] It should be noted that low-code data can be saved in the form of long strings.

[0032] In some possible implementations, the routing address includes an ID parameter, and the ID parameter corresponds to the menu configuration instruction; like Figure 2 As shown, in step S102, according to the menu configuration instruction, selecting the target routing address includes: Step S121: According to the menu configuration instruction, select an ID parameter corresponding to the menu configuration instruction; Step S122: Select a corresponding routing address according to the ID parameter, and use the routing address corresponding to the ID parameter as the target routing address.

[0033] That is, since there is a correspondence between the menu configuration instructions and the routing address, it is necessary to pre-set the correspondence between the menu configuration instructions and the routing address. In some implementations of the present application, the routing address includes an ID parameter, and the ID parameter corresponds to the menu configuration instruction to achieve the correspondence between the menu configuration instruction and the routing address.

[0034] In some embodiments, the ID parameter can be set directly in the routing address. For example, a certain bit of the routing address is specified as the ID parameter. The ID parameter can also be the number of the routing address. For example, there are 10 routing addresses, numbered 1-10, and the numbers 1-10 are the ID parameters.

[0035] It should be noted that there is a corresponding relationship between the ID parameter and the menu configuration instruction, so the ID parameter actually refers to the menu type.

[0036] The following is an example to illustrate the corresponding relationship between menu configuration instructions and routing addresses.

[0037] Exemplarily, menus can be divided into three types: form menu, large screen menu, and third-party page menu.

[0038] Set the last digit of the routing address as the ID parameter of the large-screen menu. For example, when the last digit of the routing address is 4, it indicates a large-screen menu. In this way, when the menu configuration instruction is to create a large-screen menu, the routing address can be parsed, and the target routing address can be determined by whether the routing address contains the ID parameter " / 4 / ". If " / 4 / " is included, it is the target routing address for creating a large-screen menu, and if " / 4 / " is not included, it is a form menu or a third-party menu address. You can also set the ID parameter of the form menu to "F0000n", where n is a form menu parameter of different types. When the routing address does not contain " / 4 / ", if the routing address contains "F0000n", it can be determined as a form menu parameter, and the specific value of n can determine the number of the form.

[0039] It should be noted that the above-mentioned menu configuration instructions, the correspondence between routing addresses, the ID parameter setting method, etc. are only exemplary descriptions and are not limitations on the embodiments of the present application. In fact, as long as the correspondence between menu configuration instructions and routing addresses can be achieved, any menu configuration instructions, the correspondence between routing addresses, the ID parameter setting method, etc. are allowed by the embodiments of the present application.

[0040] Step S103: Select target low-code data from the preset database based on the target routing address and menu configuration instructions.

[0041] Among them, the target low-code data is low-code data that can implement menu configuration instructions.

[0042] In some possible implementations, in step S103, selecting target low-code data in a preset database according to the target routing address and the menu configuration instruction includes: According to the routing address and menu configuration instructions, target low-code data is obtained from at least one low-code data in a preset database, wherein all low-code data in the preset database correspond to the ID parameters of all routing addresses.

[0043] That is, the preset database includes multiple low-code data, each low-code data has a corresponding ID parameter, and each ID parameter corresponds to a different menu configuration instruction. According to the menu configuration instruction, the routing address corresponding to the ID parameter can be found, and then according to the routing address, the target low-code data can be found from multiple low-code data in the preset database. In this way, there is no need for users to search for low-code data by themselves, nor is there a need for R&D personnel to add a routing address and the corresponding target low-code data for each additional menu, thus taking into account the diverse needs of users and the efficiency of menu configuration.

[0044] In some embodiments, the routing address is also parsed to obtain the ID parameter in the routing address. According to the above example, the specific steps of parsing the routing address are: if the routing of the form menu 1 is " / 10000 / F00001", it will be parsed into an array ["10000", "F00001"]; if the routing of the large screen menu 1 is " / 20000 / 4 / 20001", it will be parsed into an array ["20000", "4", "20001"].

[0045] Determine whether the parsed array contains " / 4 / " (the number here is the ID parameter, that is, the menu type, 4 represents the large-screen menu, and whether it contains 4 can be determined to distinguish whether it is a large-screen menu). If it does not contain " / 4 / ", it is a form menu or a third-party menu. If it contains " / 4 / ", it is a large-screen menu. If the routing address points to a form, intercept the second-level routing address, and the intercepted value is "F00001". "F00001" is also the ID parameter of the form menu, which means that the routing address parsing of the form menu is completed.

[0046] After the routing address is resolved, taking the ID parameter "F00001" form menu as an example, in the preset database, obtaining the target low-code data from at least one low-code data includes: The form menu ID parameter "F00001" is passed to the backend through the interface, and the filter query data and table structure data of the form menu are obtained by checking the preset database, and returned to the frontend with a list. The frontend parses and renders the page through the Vue code.

[0047] In some possible implementations, obtaining target low-code data from at least one low-code data includes: From at least one low-code data, obtain the low-code data corresponding to the ID parameter of the routing address, and use the low-code data corresponding to the ID parameter of the routing address as the target low-code data.

[0048] In some embodiments, when there is only one low-code data, the low-code data is directly used as the target low-code data.

[0049] In some embodiments, when there are multiple low-code data, the low-code data corresponding to the ID parameter of the routing address is found from the multiple low-code data, and the low-code data corresponding to the ID parameter of the routing address is used as the target low-code data.

[0050] In some possible implementations, the preset database includes multiple preset sub-databases, and each preset sub-database corresponds to a different ID parameter.

[0051] That is, when multiple different types of menus are included, each type of menu may correspond to a preset sub-database, multiple preset sub-databases constitute a preset database, and each preset sub-database corresponds to a different ID parameter.

[0052] In some possible implementations, selecting target low-code data in a preset database according to a target routing address and a menu configuration instruction includes: According to the ID parameter corresponding to the menu configuration instruction, select the preset sub-database, and select the target low-code data from the preset sub-database.

[0053] In some embodiments, each low-code data in the preset database corresponds to a preset template page.

[0054] In some embodiments, each preset sub-database corresponds to a template page, that is, multiple low-code data in a preset sub-database correspond to a template page.

[0055] In a specific embodiment, multiple form menus share the same ID parameter, that is, multiple form menus share the same preset template page. The filter query fields and table fields displayed by each form menu are different because the data found through the form code is different. The data found through the form code is different because the form pages created by dragging and dropping when creating the form are different, and the fields selected to be filtered and screened and the fields to be displayed are also different. Therefore, the menus rendered by different data are different.

[0056] Step S104: Configure the menu according to the target low-code data.

[0057] In some possible implementations, the menu configuration according to the target low-code data includes: Render data on a preset template page based on the target low-code data.

[0058] That is, since the target low-code data is code data, the configuration menu can be obtained by directly rendering it on the preset template page according to the target low-code data.

[0059] In some embodiments, it is also necessary to pre-create a preset database and a preset template page, including the following steps: Preparation: Introduce low-code plug-ins into the system and create form menus or large-screen menus according to user needs. You can also record the URL of the page after creating the menu on the third-party platform. In the menu configuration of the low-code platform, there may be different types of menus, such as form menus, large-screen menus, third-party page menus, etc. The following uses form menus and third-party page menus as examples to make various types of menu configuration solutions.

[0060] The form page and the third-party page menu are distinguished by adding a layer of page type in the middle of the parameter route. In this application, the form menu and the third-party page menu correspond to a preset template page in the code, and each preset template page corresponds to a configuration content in the routing address by the configuration page.

[0061] When creating a form page using the low-code plug-in for creating forms, the list data and filter query data are stored in the form of key-value pairs in json strings. Each new form page will generate a page code, and the content of the form page will be stored in the form table in the form of a JSON string and the code. Each third-party page will correspond to an address, such as https: / / www.baidu.html.

[0062] When configuring the menu, you need to enter the node id and name when configuring the first-level menu, and the parent node id (i.e. the first-level menu id) will be automatically imported when configuring the second-level menu. Select the menu type. If it is a form menu type, select the form code. If it is a large screen, enter the large screen address.

[0063] After the menu is configured, create a new tenant and assign a role menu. After the user logs in, they can see the menu corresponding to the role of the current login account.

[0064] Click the form name in the menu. The click event will obtain the second-level parameter in the routing address, that is, the form code. According to the form code, the corresponding form content stored in the JSON string is queried in the form table and returned to the front end. The front end parses the JSON string and displays the form template and data.

[0065] Click the name of the third-party page menu in the menu. The click event will obtain the second-level parameter in the routing address, that is, the page id. The query interface returns the address of the third-party page based on the page id, and the third-party page menu is displayed using the iframe tag of the template page.

[0066] See also Figure 3 , is a device for automatically configuring a menu provided in an embodiment of the present application, such as Figure 3 As shown, the device comprises: A determination unit 301, for responding to a menu configuration instruction; Configuration unit 302 is used to select a target routing address according to a menu configuration instruction; select target low-code data in a preset database according to the target routing address and the menu configuration instruction, wherein the target routing address is a routing address where the target low-code data can be found, and the target low-code data is low-code data that can implement the menu configuration instruction; configure the menu according to the target low-code data.

[0067] As a possible implementation, the configuration unit 302 is specifically configured to select an ID parameter corresponding to the menu configuration instruction according to the menu configuration instruction; select a corresponding routing address according to the ID parameter, and use the routing address corresponding to the ID parameter as the target routing address.

[0068] As a possible implementation method, the configuration unit 302 is specifically used to obtain target low-code data from at least one low-code data in a preset database according to the routing address and menu configuration instructions, wherein all low-code data in the preset database correspond to the ID parameters of all routing addresses.

[0069] As a possible implementation method, the configuration unit 302 is specifically used to obtain low-code data corresponding to the ID parameter of the routing address from at least one low-code data, and use the low-code data corresponding to the ID parameter of the routing address as the target low-code data.

[0070] As a possible implementation method, the configuration unit 302 is specifically used to select a preset sub-database according to the ID parameter corresponding to the menu configuration instruction, and select the target low-code data from the preset sub-database.

[0071] As a possible implementation method, the configuration unit 302 is specifically used to render data on a preset template page according to the target low-code data.

[0072] Corresponding to the above embodiments, the present application also provides an electronic device. Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present invention, the electronic device 400 may include: a processor 401, a memory 402 and a communication unit 403. These components communicate through one or more buses, and those skilled in the art can understand that the structure of the electronic device shown in the figure does not constitute a limitation on the embodiment of the present invention, it can be a bus structure or a star structure, and can also include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0073] The communication unit 403 is used to establish a communication channel so that the electronic device can communicate with other devices, receive user data sent by other devices or send user data to other devices.

[0074] The processor 401 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs and / or modules stored in the memory 402, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 401 can only include a central processing unit (CPU). In an embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.

[0075] The memory 402 is used to store the execution instructions of the processor 401. The memory 402 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0076] When the execution instruction in the memory 402 is executed by the processor 401, the electronic device 400 can execute Figure 1 Some or all of the steps in the illustrated embodiments.

[0077] In a specific implementation, the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the method for automatically configuring a menu provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0078] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present invention or certain parts of the embodiments.

[0079] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.

Claims

1. A method for automatically configuring a menu, characterized in that: The steps include: responding to menu configuration instructions; According to the menu configuration instruction, select the target routing address; According to the target routing address and the menu configuration instruction, target low-code data is selected in a preset database, wherein the target routing address is a routing address where the target low-code data can be found, and the target low-code data is low-code data that can implement the menu configuration instruction; Configure the menu based on the target low-code data.

2. The method for automatically configuring a menu according to claim 1, characterized in that: The routing address includes an ID parameter, and the ID parameter corresponds to a menu configuration instruction; The selecting a target routing address according to the menu configuration instruction comprises: According to the menu configuration instruction, selecting the ID parameter corresponding to the menu configuration instruction; A corresponding routing address is selected according to the ID parameter, and the routing address corresponding to the ID parameter is used as the target routing address.

3. The method for automatically configuring a menu according to claim 2, characterized in that: The selecting target low-code data in a preset database according to the target routing address and the menu configuration instruction includes: According to the routing address and the menu configuration instructions, target low-code data is obtained from at least one low-code data in a preset database, wherein all low-code data in the preset database correspond to the ID parameters of all the routing addresses.

4. The method for automatically configuring a menu according to claim 3, characterized in that: The acquiring target low-code data from at least one low-code data comprises: From at least one low-code data, obtain the low-code data corresponding to the ID parameter of the routing address, and use the low-code data corresponding to the ID parameter of the routing address as the target low-code data.

5. The method for automatically configuring a menu according to claim 2, characterized in that: The preset database includes a plurality of preset sub-databases, each of which corresponds to a different ID parameter.

6. The method for automatically configuring a menu according to claim 5, characterized in that: The selecting target low-code data in a preset database according to the target routing address and the menu configuration instruction includes: According to the ID parameter corresponding to the menu configuration instruction, select a preset sub-database, and select target low-code data from the preset sub-database.

7. The method for automatically configuring a menu according to claim 1, characterized in that: The menu configured according to the target low-code data includes: Based on the target low-code data, render the data on a preset template page.

8. A device for automatically configuring a menu, characterized in that: include: a determination unit, for responding to a menu configuration instruction; A configuration unit, configured to select a target routing address according to the menu configuration instruction; According to the target routing address and the menu configuration instructions, select target low-code data in a preset database, wherein the target routing address is a routing address where the target low-code data can be found, and the target low-code data is low-code data that can implement the menu configuration instructions; configure the menu according to the target low-code data.

9. An electronic device, characterized in that: The device comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Page menu permission control method and device, equipment and storage medium

    CN115221447A

  • Menu generation processing method and device based on configuration and intelligent equipment

    CN115525269A

  • Low-code page creating method and device, low-code page display method and device, equipment and medium

    CN115729534A

  • Route management method and device for front-end page, equipment and storage medium

    CN117234509A

  • Menu configuration and display method and device, electronic equipment and storage medium

    CN117667094A