Menu configuration method, menu display method and device
By determining menu configuration permissions based on object information and permission information on the configuration side, the complexity and security of menu configuration are solved, efficient and accurate menu configuration is achieved, and user experience and menu management capabilities are improved.
Patent Information
- Application Number
- CN202210393798.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-14
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2042-04-14
AI Technical Summary
With the rapid increase in application functions, menu configuration methods are complicated, resulting in low configuration efficiency and inability to ensure the security and stability of menu data. The existing technology cannot carefully manage menu permissions, affecting the user experience.
By obtaining menu configuration requests on the configuration side, determining the permissions of the configurator based on object information and permission information, displaying the content to be configured, and receiving menu configuration data, ensuring the security and stability of the configuration side data, and improving the efficiency and accuracy of menu configuration at the same time sex.
It realizes the efficiency, accuracy and security of menu configuration, ensures the stability of configuration data, and improves the user experience and menu configuration management capabilities.
Smart Images

Figure CN114895956B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present specification relate to the field of computer technology, and more particularly to a menu configuration method, a menu display method and a device. Background Art
[0002] With the development of Internet technology, the functions in applications are becoming more and more diverse. Applications will configure corresponding menus for various functions to fit the user's usage habits and provide users with clearer guidance to achieve the corresponding functions.
[0003] However, with the rapid increase in the number of application functions, the menu configuration method has become more and more complicated, and the update cycle of application functions is getting shorter and shorter, including the online cycle of new function menus. Therefore, a flexible and efficient menu configuration method is urgently needed. Summary of the invention
[0004] In view of this, the embodiments of this specification provide a menu configuration method and a menu display method. One or more embodiments of this specification also relate to a menu configuration device, a menu display device, a computing device, a computer-readable storage medium and a computer program to solve the technical defects existing in the prior art.
[0005] According to a first aspect of an embodiment of this specification, a menu configuration method is provided, which is applied to a configuration terminal and includes:
[0006] Obtaining a configuration request from a configuration party for a target menu, wherein the configuration request carries object information of an object to be configured in the target menu and permission information of the configuration party;
[0007] Determine, according to the object information and the permission information, whether the configuration party has the configuration permission for the object to be configured, and if so, display the content to be configured of the object to be configured;
[0008] Receive menu configuration data from the configuration party for the content to be configured.
[0009] According to a second aspect of an embodiment of this specification, a menu display method is provided, which is applied to an application end and includes:
[0010] Receiving a menu acquisition request sent by a client, wherein the menu acquisition request includes user information of a target user who logs in to the client;
[0011] Acquire menu configuration data pre-configured on the configuration end according to the user information, wherein the menu configuration data is configured on the configuration end according to the menu configuration method of the first aspect;
[0012] The menu configuration data is returned to the client, so that the client performs menu rendering based on the menu configuration data.
[0013] According to a third aspect of the embodiments of this specification, a menu configuration device is provided, including:
[0014] A first acquisition module is configured to acquire a configuration request of a configuration party for a target menu, wherein the configuration request carries object information of an object to be configured in the target menu and permission information of the configuration party;
[0015] an authority determination module, configured to determine whether the configuration party has the configuration authority of the object to be configured according to the object information and the authority information, and if so, display the content to be configured of the object to be configured;
[0016] The first receiving module is configured to receive menu configuration data from the configuration party for the content to be configured.
[0017] According to a fourth aspect of the embodiments of this specification, a menu display device is provided, including:
[0018] A second receiving module is configured to receive a menu acquisition request sent by a client, wherein the menu acquisition request includes user information of a target user who logs in to the client;
[0019] A second acquisition module is configured to acquire menu configuration data pre-configured on the configuration end according to the user information, wherein the menu configuration data is configured on the configuration end according to the menu configuration method of the first aspect;
[0020] The display module is configured to return the menu configuration data to the client, so that the client performs menu rendering based on the menu configuration data.
[0021] According to a fifth aspect of an embodiment of this specification, a computing device is provided, including:
[0022] Memory and processor;
[0023] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the above-mentioned menu configuration method or menu display method is implemented.
[0024] According to a fourth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the above-mentioned menu configuration method or menu display method is implemented.
[0025] According to a fifth aspect of the embodiments of this specification, a computer program is provided, wherein when the computer program is executed in a computer, the computer is caused to execute the above-mentioned menu configuration method or menu display method.
[0026] In one embodiment of the present specification, by obtaining the configuration request of the configuration party for the target menu, it is determined whether the configuration party has the configuration authority of the object to be configured according to the object information and authority information. If so, the content to be configured of the object to be configured is displayed, and the menu configuration data of the content to be configured by the configuration party is received. By verifying the configuration authority of the configuration party, the security and stability of the data on the configuration end are guaranteed. In addition, by determining the content to be configured corresponding to the object information of the object to be configured and displaying it, the configuration party can accurately and clearly configure the content to be configured, obtain the menu configuration data, and efficiently complete the configuration of the target menu. While ensuring the security and stability of the data on the configuration end, the efficiency and accuracy of the menu configuration are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1A It is a flowchart of a menu configuration method in the prior art;
[0028] Figure 1B is a flowchart of a menu configuration method provided by an embodiment of this specification;
[0029] Figure 2A is a flowchart of another menu configuration method provided by an embodiment of this specification;
[0030] Figure 2B It is a structural diagram of a menu configuration system provided by an embodiment of this specification;
[0031] Figure 3 is a flowchart of a menu display method provided by an embodiment of this specification;
[0032] Figure 4 It is a process flow chart of a menu configuration method applied to a merchant menu of an e-commerce platform provided by an embodiment of this specification;
[0033] Figure 5 It is a menu item configuration effect diagram provided by an embodiment of this specification;
[0034] Figure 6 It is a menu tree configuration effect diagram provided by an embodiment of this specification;
[0035] Figure 7 It is a menu change list effect diagram provided by an embodiment of this specification;
[0036] Figure 8It is a structural schematic diagram of a menu configuration device provided by an embodiment of this specification;
[0037] Fig. 9 It is a structural schematic diagram of a menu display device provided by an embodiment of this specification;
[0038] Fig.10 It is a structural block diagram of a computing device provided by an embodiment of this specification. DETAILED DESCRIPTION
[0039] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.
[0040] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.
[0041] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0042] First, the terms involved in one or more embodiments of this specification are explained.
[0043] Menu tree: A directory list of multi-level menus that can display the menu items on each level of the menu.
[0044] Menu item: An item that can be selected on each level of a multi-level menu.
[0045] Tangram: A menu editing module that can edit the target menu based on menu item data and menu structure.
[0046] ACL (Access Control Lists) is a packet filter that filters packets on an interface based on set conditions, allowing them to pass or discarding them.
[0047] CLI (command-line interface): The user enters commands through the keyboard, and the computer executes them after receiving the commands.
[0048] React: is a JavaScript library for building user interfaces.
[0049] Ahooks: is an open source React Hooks library that encapsulates a large number of Hooks functions.
[0050] Midwayhooks: is another open source React Hooks library that encapsulates a large number of Hooks functions.
[0051] See also Figure 1A As shown, Figure 1A A flowchart of a menu configuration method in the prior art is shown.
[0052] At present, the configuration of the menu is mainly to first send a request instruction to the application side through the client side, and the application side then sends menu item data and menu structure retrieval instructions to the data server side according to the request instruction, and then edits the menu item data and menu structure in the menu editing module (such as Tangram) to obtain the target menu data, and finally returns it to the client side for display through the application side.
[0053] However, this menu configuration method requires a large amount of menu data to be called between various terminals and to be configured on-site according to the client request instructions. The configuration efficiency is low. In addition, it is impossible to further manage the configured target menu. In addition, because the permission confirmation of a large amount of menu data called is not detailed enough, the security and stability of the menu data cannot be guaranteed.
[0054] In view of the above problems, this manual proposes a menu configuration method. Figure 1B A flowchart of a menu configuration method provided by an embodiment of this specification is shown.
[0055] First, the configuration end obtains the menu item data and menu structure set by the developer, performs menu configuration on the configuration end, obtains the menu configuration data, and then sends a data save request to the application end to store the configured menu configuration data to the data server end. After the client sends a menu acquisition request to the application end, the data server end returns the menu configuration data pre-configured by the configuration end to the client end through the application end. Finally, the client renders according to the menu configuration data to display the target menu.
[0056] In this specification, a menu configuration method and a menu display method are provided. This specification also relates to a menu configuration device, a menu display device, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.
[0057] See also Figure 2A , Figure 2A A flowchart of another menu configuration method provided according to an embodiment of the present specification is shown, which specifically includes the following steps.
[0058] Step 202: Obtain a configuration request from a configuration party for a target menu, wherein the configuration request carries object information of an object to be configured in the target menu and permission information of the configuration party.
[0059] Figure 2A The embodiment is applied to a configuration end. Figure 2B A structural schematic diagram of a menu configuration system provided by an embodiment of this specification is shown.
[0060] Figure 2B In the application, the following functions are available: rendering, menu tree building, and non-release updates.
[0061] The data service function flow in the data server is as follows: render the menu according to the menu configuration data, store the rendered target menu in the target menu database of the data server, and then upload it to the data server and be called through the API (Application Programming Interface).
[0062] The configuration end has the following functions: API, CLI (command-line interface), audit, verification, data storage, menu configuration, and process orchestration.
[0063] The menu configuration process on the configuration side is: receiving menu applications, editing and configuring the menus, previewing the effects after configuration is completed, submitting applications, conducting process review, grayscale verification of target menus that have passed the review, and launching target menus that have passed the grayscale verification. Among them, editing and configuring the menus includes the following contents and methods to be configured: drag-and-drop arrangement configuration method, connection configuration, style configuration, permission configuration, icon configuration, and configuration isolation.
[0064] The permission confirmation of the configuration end includes: menu tree permission, menu item permission and specific member permission, among which specific member permissions include: CGS, HTGS / TWGS, GGS, CNIFM and IFM. Specific member permissions correspond to the menu trees and menu items that can be configured.
[0065] The basic technical dependencies of the configuration side are: BUC, ACL, React, Antd, Ahooks, and Midwayhooks.
[0066] Figure 2B The menu configuration system shown has the following stability assurance capabilities: version verification, grayscale solution, cache backup, permission refinement, white screen monitoring, visual preview, non-release update, and dynamic flow approval.
[0067] The target menu is a menu with a multi-level structure that can be displayed on the application client interface. By selecting a menu item on the target menu, the application can execute a corresponding function.
[0068] Applications are not only applications on mobile computing terminals (mobile phones, wearable devices, laptops, netbooks, etc.) or program products on stationary communication terminals (host computers, workstations, etc.) that can realize multiple functions, but can also be program products on digital control devices and digital interactive display devices that can realize multiple functions. Program products are executable code products that can execute multiple functions by writing relevant codes and display multi-level structure menus on the display terminal.
[0069] The configuration party is a person who has the target menu configuration authority and can configure the menu on the configuration end. The configuration party can be the developer of the application corresponding to the target menu, the administrator of the application corresponding to the target menu, the operation and maintenance personnel of the application corresponding to the target menu, or an authorized user, without limitation.
[0070] The configuration end is connected to the configuration center of the application end. After receiving the configuration request from the configuration party, the target menu is configured to obtain the menu configuration data. After obtaining the menu configuration data, the menu configuration data can be sent to the application end for subsequent storage, so that the user can retrieve the menu configuration data stored on the application end through the client and display the target menu on the client. The configuration end can be a development platform for configuring the target menu, a management platform for managing the target menu, or an operation platform for operating and maintaining the target menu, which is not limited here.
[0071] The object to be configured is a type of content that can be configured in the target menu, which may be a menu tree to be configured, a menu item to be configured, or the item content of a menu item to be configured.
[0072] The object information of the object to be configured is information that can indicate the type of the object to be configured. For example, if the object to be configured is a menu tree to be configured, the object information is “menu_tree”.
[0073] The authority information of the configuration party is information indicating that the configuration party has the authority to configure the target menu on the configuration end. It can be the account password for access to the configuration end, or the identity information of the configuration party, which is not limited here. The authority information of the configuration party can be used to determine which objects to be configured in the target menu the configuration party has the authority to configure. For example, if the authority information of the configuration party is "first-level administrator", the authority information of "first-level administrator" can be used to determine which objects to be configured on the configuration end the configuration party can configure.
[0074] Obtaining the configuration request of the configuration party for the target menu is to obtain the configuration request of the configuration party for the target menu through the application side.
[0075] Specifically, a configuration request for a target menu from a configuration party is obtained through the application side.
[0076] The application end includes a menu configuration entry that can interact with the configuration end for menu configuration. The configuration entry is a set of interfaces that interact with the configuration end, including multiple function call interfaces for the configuration end, such as a data call interface for the configuration end, a data storage interface for the configuration end, a change interface for the configuration end, etc.
[0077] For example, through the menu configuration entry Startup of application A, the configuration request EditingMenu_Request for the editing menu of application A by the operation and maintenance personnel of the application is obtained, wherein the configuration request EditingMenu_Request carries the object information "menu_tree" and the permission information "secondary administrator" of the operation and maintenance personnel.
[0078] In step 202, a configuration request for the target menu by the configuration party is obtained, wherein the configuration request carries the object information of the object to be configured in the target menu and the authority information of the configuration party. The authority information and the object information of the object to be configured carried in the configuration request lay an information foundation for subsequent authority verification, and lay an information foundation for subsequent accurate determination and display of the content to be configured of the object to be configured.
[0079] Step 204: Determine whether the configuration party has the configuration authority of the object to be configured based on the object information and the authority information. If so, display the content to be configured of the object to be configured.
[0080] The content to be configured of the object to be configured is the specific content under the content type that can be configured in the target menu. For example, if the object to be configured is one or more menu items of the target menu, the content to be configured of the object to be configured is the style, configuration authority, etc. of the menu items.
[0081] Displaying the content to be configured of the object to be configured may be displaying the content to be configured of the object to be configured on the display interface of the configuration end, or sending the content data to be configured of the object to be configured to the developer of the application or the client of the application and displaying it on its display interface, which is not limited here.
[0082] Specifically, based on the object information and permission information, a pre-set permission-object table is queried to determine whether the configuration party has the configuration permission for the object to be configured. If the query of the permission-object table matches the configuration permission of the object to be configured pre-set in the table, the content to be configured of the object to be configured is displayed.
[0083] The permission-object table is a table in the menu configuration entry that is pre-set and assigned to the application side, and is used to record all objects to be configured in the target menu and their corresponding configuration permissions. For example, the permission-object table records the object to be configured: the menu tree of the target object, and its configuration permissions are: first-level administrator, second-level administrator, and third-level administrator. Then, only the configuration party with the first-level administrator, second-level administrator, and third-level administrator permissions can configure the menu tree of the target object. The permission-object table can be a hierarchical structure, that is, first determine whether the configuration party has the permission to configure the object to be configured, and then determine whether the configuration party has the permission to configure the content to be configured of the object to be configured. Such a hierarchical structure confirmation can ensure the refinement of the configuration management of the content to be configured of the object to be configured of the target menu, and further ensure the security and stability of the configuration end data.
[0084] For example, Table 1 shows a permission-object table. According to the object information "menu_item" and the permission information "third-level administrator", the pre-set permission-object table is queried to determine the configuration permissions of the menu item to be configured (menu_item): first-level administrator, second-level administrator, third-level administrator, which matches the pre-set configuration permissions of the object to be configured in the permission-object table of Table 1, and displays the content to be configured of the object to be configured; the menu item to be configured (menu_item), the style of the menu item (item_patterns), and the connection information (item_connections) of the menu item.
[0085] It should be noted that the permission-object table can only reflect the correspondence between permission information and object information, and there is no limitation on the format of the content in the table.
[0086] Table 1 A permission-object table
[0087] Object to be configured / content to be configured of the object to be configured Configure permissions Menu item to be configured (menu_item) Level 1 Administrator, Level 2 Administrator, Level 3 Administrator Menu item styles (item_patterns) Level 1 Administrator, Level 2 Administrator Connection information of menu items (item_connections) Level 1 Administrator
[0088] The permission-object table in the menu configuration entry of the application side records the objects to be configured and their corresponding configuration permissions. After receiving the configuration request sent by the configuration party, it can automatically determine the permissions of the configuration party by looking up the table, without sending the configuration request to the configuration side for confirmation, and then returning the confirmation result to the configuration side. After receiving the confirmation result, the configuration side calls the target menu configuration interface of the configuration side to configure the menu on the configuration side. In this way, the efficiency of confirmation and target menu configuration is greatly improved by looking up the table.
[0089] Optionally, after the step of determining whether the configuration party has the configuration authority of the object to be configured, the following specific steps are also included:
[0090] If not, a message indicating that the configuration party does not have the authority is returned.
[0091] The information of not having authority is information indicating that the configuration party has not configured the object to be configured in the target menu of the configuration end. It can be text information, instruction information, or a configuration that the object to be configured cannot be selected on the display end of the configuration party. It is not limited here. Correspondingly, the information of not having authority is returned, which can be displayed by a pop-up window, displaying text information on the display interface of the configuration party, or by a code instruction display method, displaying instruction information on the display interface of the configuration party. It is not limited here.
[0092] After determining whether the configuration party has the configuration authority of the object to be configured and obtaining a negative result, the configuration party is returned information indicating that the configuration party does not have the authority. This allows the configuration party to see the result of the configuration request that the configuration party does not have the authority, improves the processing flow of sending the configuration request to the configuration end, and ensures the user experience of the configuration party.
[0093] In step 204, it is determined whether the configuration party has the configuration authority of the object to be configured based on the object information and the authority information. If so, the content to be configured of the object to be configured is displayed. By verifying the configuration authority of the configuration party, the security and stability of the data on the configuration end are guaranteed. In addition, by determining the content to be configured corresponding to the object information of the object to be configured and displaying it, the configuration party can configure the content to be configured accurately and clearly.
[0094] Step 206: Receive menu configuration data of the content to be configured from the configuration policy.
[0095] The menu configuration data is the configuration data used by the configuration party to configure the target menu accordingly with respect to the displayed content to be configured. For example, if the displayed content to be configured is "the style of the menu item", the configuration data corresponding to the style of the menu item to be configured made by the configuration party is "length: 3 cm; width: 2 cm; font size: white; fill color: blue".
[0096] Specifically, the configuration data for configuring the target menu correspondingly is received by the configuration party with respect to the displayed content to be configured.
[0097] For example, the content to be configured is displayed as "the style of the menu item", and the configuration data for the style of the menu item to be configured by the configuration party is "length: 3 cm; width: 2 cm; font size: white; filling color: blue", and the configuration end receives the data of "length: 3 cm; width: 2 cm; font size: white; filling color: blue".
[0098] It should be noted that in the present embodiment, there may be multiple objects to be configured, that is, the configuration request sent by the configuration party to the target menu is a configuration request for multiple objects to be configured in the target menu, and thus the object information of the objects to be configured is information containing multiple objects to be configured. Correspondingly, according to the object information and the permission information, the configuration permission is determined corresponding to each object to be configured, the contents to be configured of the objects to be configured displayed may be one or more, and the menu configuration data received by the configuration party is also configuration data for one or more contents to be configured of the multiple objects to be configured.
[0099] In one or more embodiments of the present specification, by obtaining the configuration request of the configuration party for the target menu, it is determined whether the configuration party has the configuration authority of the object to be configured according to the object information and the authority information. If so, the content to be configured of the object to be configured is displayed, and the menu configuration data of the content to be configured by the configuration party is received. By verifying the configuration authority of the configuration party, the security and stability of the data on the configuration end are guaranteed. In addition, by determining the content to be configured corresponding to the object information of the object to be configured and displaying it, the configuration party can accurately and clearly configure the content to be configured, obtain the menu configuration data, and efficiently complete the configuration of the target menu. While ensuring the security and stability of the data on the configuration end, the efficiency and accuracy of the menu configuration are improved.
[0100] Optionally, after step 206, the following specific steps are also included:
[0101] A data saving request is sent to the application end, wherein the data saving request includes menu configuration data, so that the application end saves the menu configuration data to the data service end.
[0102] The data save request is a request including menu configuration data sent by the configuration end to the application end after completing the configuration of the target menu and obtaining the menu configuration data. After receiving the data save request, the application end will store the menu configuration data in the target menu database corresponding to the attribute information of the target menu corresponding to the menu configuration data in the data service end.
[0103] The application end includes a menu storage entry for storing menu configuration data with the data server end, and can send the menu configuration data obtained after the configuration end completes the menu configuration to the data server end for storage at the data server end.
[0104] The data server is a storage center set by the developer of the application to store application-related data, including the target menu database. The data server can be a local server of the developer or a cloud database connected to the developer, which is not limited here.
[0105] Specifically, a data saving request is sent to the application end, and data saving success information or data saving failure information returned by the application end is received. If data saving failure information is received, a data saving request is resent to the application end.
[0106] For example, a data save request Request_DataSave is sent to the application side, and the data save information "Request_DataSave: finished" or data save failure information "Request_DataSave: failed" is received from the application side. If the data save failure information "Request_DataSave: failed" is received, the data save request Request_DataSave is sent to the application side again.
[0107] By sending a data saving request to the application end, wherein the data saving request includes menu configuration data, the application end saves the menu configuration data to the data server end. The menu configuration data can be stored in the data server end to satisfy the subsequent client end to retrieve the menu configuration data from the data server end, providing a storage data basis for the client end to obtain the target menu.
[0108] Optionally, the object to be configured includes a menu item to be configured, and accordingly, the object information includes a menu item identifier;
[0109] Correspondingly, step 204 determines whether the configuration party has the configuration authority of the object to be configured according to the object information and the authority information, including the following specific steps:
[0110] Identify whether the permission information contains the menu item identifier of the menu item to be configured;
[0111] If included, it is determined that the configuration party has the configuration authority for the menu item to be configured.
[0112] The identifier of the menu item is an identifier determined according to the attribute information of the menu item, and may be the name of the menu item, the code of the menu item, or the position of the menu item in the target menu, which is not limited here.
[0113] The identification method may be to parse the permission information to obtain permission information characters, and determine whether the permission information characters contain the menu item identifier of the menu item to be configured.
[0114] Specifically, the permission information is parsed to obtain permission information characters, and it is determined whether the permission information characters contain the menu item identifier of the menu item to be configured. If so, it is determined that the configuration party has the configuration authority for the menu item to be configured.
[0115] For example, the menu item to be configured is the message center, and the menu item identifier of the menu item to be configured is "MessageCentre". The permission information is parsed to obtain the permission information characters "222309X; 2022.3.30; MessageCentre". It is determined that the permission information characters "222309X; 2022.3.30; Message Centre" contain the menu item identifier "Message Centre" of the menu item to be configured, and it is determined that the configuration party has the configuration authority of the message center.
[0116] Optionally, after identifying whether the permission information contains the menu item identifier of the menu item to be configured, the following steps are included:
[0117] If it is not included, it is determined that the configuration party does not have the configuration authority for the menu item to be configured, and information indicating that the configuration party does not have the authority is returned to the configuration party.
[0118] The information of not having authority is information indicating that the configuration party has not configured the menu item to be configured. It can be text information, instruction information, or configuration that the configuration menu item cannot be selected on the display end of the configuration party, which is not limited here. Correspondingly, the information of not having authority can be returned by displaying text information on the display interface of the configuration party through a pop-up window, or by displaying instruction information on the display interface of the configuration party through a code instruction, which is not limited here.
[0119] Continuing with the above example, the menu item to be configured is the service center, and the menu item identifier of the menu item to be configured is "Service Centre". It is determined that the permission information characters "222309X; 2022.3.30; Message Centre" do not contain the menu item identifier "Service Centre" of the menu item to be configured, and it is determined that the configurator does not have the configuration permission for the service center, and the information that the configurator does not have the permission is returned to the configurator.
[0120] After determining whether the configuration party has the configuration authority for the menu item to be configured and obtaining a negative determination result, the configuration party is returned information indicating that the configuration party does not have the authority. This allows the configuration party to see the result of the configuration request for the menu item to be configured that the configuration party does not have the authority, improves the processing flow of sending the configuration request for the menu item to be configured to the configuration end, and ensures the user experience of the configuration party.
[0121] By identifying whether the menu item identifier of the menu item to be configured is included in the permission information, if included, it is determined that the configuration party has the configuration permission for the menu item to be configured. When the configuration party needs to configure the menu item, the menu item identifier is used to determine whether the configuration party has the permission to configure the menu item to be configured, and the permission determination result can be obtained accurately and efficiently, thereby improving the efficiency and accuracy of the overall menu configuration.
[0122] Optionally, the object to be configured includes a menu tree to be configured, and accordingly, the object information includes a menu tree identifier;
[0123] Correspondingly, step 204 determines whether the configuration party has the configuration authority of the object to be configured according to the object information and the authority information, including the following specific steps:
[0124] Identify whether the permission information contains the menu tree identifier of the menu tree to be configured;
[0125] If included, it is determined that the configuration party has the configuration authority for the menu tree to be configured.
[0126] The identifier of the menu tree is an identifier determined according to the attribute information of the menu tree, and may be the name of the menu tree or the code of the menu tree, which is not limited here.
[0127] The identification method may be to parse the permission information to obtain the permission information characters, and determine whether the permission information characters contain the menu tree identifier of the menu tree to be configured.
[0128] Specifically, the permission information is parsed to obtain permission information characters, and it is determined whether the permission information characters contain the menu tree identifier of the menu tree to be configured. If so, it is determined that the configuration party has the configuration authority for the menu tree to be configured.
[0129] For example, the menu tree to be configured is the menu tree of the XXX store, and the menu tree identifier of the menu tree to be configured is "XXX". The permission information is parsed to obtain the permission information characters "Testing group-XXX-menutree", and it is determined that the permission information characters "Testing group-XXX-menutree" contain the menu tree identifier "XXX" of the menu tree to be configured, and it is determined that the configuration party has the configuration permission for the XXX store menu tree.
[0130] Optionally, after identifying whether the permission information contains the menu item identifier of the menu tree to be configured, the following steps are included:
[0131] If it is not included, it is determined that the configuration party does not have the configuration authority for the menu tree to be configured, and a message indicating that the configuration party does not have the authority is returned to the configuration party.
[0132] The information that does not have the permission is information indicating that the configuration party has not configured the configuration menu tree. It can be text information, instruction information, or a configuration that cannot be selected on the configuration menu tree on the display end of the configuration party. It is not limited here. Correspondingly, the information that does not have the permission is returned by displaying text information on the display interface of the configuration party through a pop-up window, or by displaying instruction information on the display interface of the configuration party through a code instruction. It is not limited here.
[0133] Continuing with the above example, the menu tree to be configured is the YYY store menu tree, the menu tree identifier of the menu tree to be configured is "YYY", it is determined that the permission information characters "Testing group-XXX-menutree" do not contain the menu tree identifier "YYY" of the menu tree to be configured, and it is determined that the configurer does not have the configuration permission for the YYY store menu tree, then the information that the permission is not possessed is returned to the configurer.
[0134] After determining whether the configuration party has the configuration authority for the menu tree to be configured and obtaining a negative determination result, the configuration party is returned information that the configuration party does not have the authority. The configuration party can see the result of the configuration request for the menu tree to be configured that the configuration party does not have the authority, which improves the processing flow of sending the configuration request for the menu tree to be configured to the configuration end and ensures the user experience of the configuration party.
[0135] By identifying whether the permission information contains the menu tree identifier of the menu tree to be configured, if it does, it is determined that the configuration party has the configuration permission for the menu tree to be configured. When the configuration party needs to configure the menu tree, the menu tree identifier is used to determine whether the configuration party has the permission to configure the menu tree to be configured, and the permission determination result can be obtained accurately and efficiently, thereby improving the efficiency and accuracy of the overall menu configuration.
[0136] Optionally, after receiving the menu configuration data of the configuration content to be configured by the configuration policy, the following specific steps are also included:
[0137] After receiving the menu configuration data of the configuration content to be configured by the configuration policy, it also includes:
[0138] According to the menu configuration data, the menu is rendered to obtain a menu preview image;
[0139] Displays the menu preview image.
[0140] Displaying the menu preview image is to display the menu preview image on the display interface of the configuration end.
[0141] The menu rendering may be performed according to a preset rendering template or may be performed manually, which is not limited here.
[0142] Specifically, the menu configuration data includes menu item configuration data, menu tree configuration data and / or item content configuration data of the menu item:
[0143] According to the menu configuration data, menu rendering is performed to obtain a menu preview image, including the following steps:
[0144] Determine the menu tree of the target menu according to the menu tree configuration data in the menu configuration data;
[0145] and / or determining menu items on the menu tree according to menu item configuration data in the menu configuration data;
[0146] and / or determining the item content on the menu item according to the item content of the menu item in the menu configuration data;
[0147] Get the original menu;
[0148] Render the original menu to obtain a menu preview image;
[0149] A menu preview image is displayed on the display interface of the configuration terminal.
[0150] For example, according to the menu tree configuration data in the menu configuration data, the menu tree of the target menu is determined, according to the menu item configuration data in the menu configuration data, the menu items on the menu tree are determined, according to the item content of the menu items in the menu configuration data, the item content on the menu items is determined to obtain the original menu, the original menu is rendered according to a preset rendering template to obtain a menu preview image, and the menu preview image is displayed on the display interface of the configuration end.
[0151] According to the menu configuration data, the menu is rendered, the menu preview image is obtained, and the menu preview image is displayed. This allows the configuration party to directly observe the preview effect of the menu. If there is a configuration problem, it can be discovered and modified in time, which improves the accuracy of the menu configuration.
[0152] Optionally, after receiving the menu configuration data of the configuration content to be configured by the configuration policy, the following specific steps are also included:
[0153] Determine the object information of the completed configuration;
[0154] Adds the configured object information to the menu changes list.
[0155] The menu change list is a list pre-set by the configuration end to record the configuration operations of the configuration party on the target menu. The list will record the configuration party, the configuration operation of the configuration party, the configured object of the configuration party, and the configured content of the configuration party. The configuration operation of the configuration party includes adding operation, deleting operation, changing operation, etc. The configured object of the configuration party is the object to be configured for which the configuration party has performed the configuration operation, and the configured content of the configuration party is the content to be configured for which the configuration party has performed the configuration operation.
[0156] Specifically, according to the configured objects corresponding to the configured contents in the menu configuration data for the contents to be configured, the object information of the configured objects is determined, and the object information of the configured objects is added to the menu change list.
[0157] For example, based on the menu item of the configured object "Message Center" corresponding to the configured content "Style of the Message Center" in the menu configuration data for the content to be configured "Style of the Message Center", the configured object information "Message Center; Style; Change" is determined, and the configured object information "Message Center; Style; Change" is added to the menu change list.
[0158] By determining the object information of the completed configuration, the object information of the completed configuration is added to the menu change list so that the configuration operation of the configuration party can be recorded in detail, providing a record for the subsequent management of the menu configuration and ensuring the security and stability of the data on the configuration end.
[0159] Optionally, after adding the configured object information to the menu change list, the following specific steps are also included:
[0160] Send an audit request to the auditor so that the auditor can audit the configured objects based on the configured object information:
[0161] Receive the review status returned by the reviewer and add the review status to the menu change list accordingly.
[0162] The reviewer is the reviewer who reviews whether the menu configuration meets the application management requirements or application execution requirements. It can be the application developer, the application supervisor, or the application manager.
[0163] The audit status records the audit status of the auditor, including the audit progress and audit issues. Because there is usually more than one auditor, and the audit needs to be conducted from multiple aspects such as technology, operation, management, and supervision, the audit status needs to be fed back to the configurator, so that the configurator can be informed of the audit status in a timely manner and can adjust the menu configuration data in a targeted and rapid manner, thus improving the configurator's experience.
[0164] Specifically, an audit request is sent to the auditor, the audit status returned by the auditor is received, the audit status is added to the menu change list accordingly, and the menu change list is displayed.
[0165] For example, send an audit request to the auditor: developer, supervisor, manager, and receive the audit status returned by the auditor: developer: audit completed, no problem; supervisor: under review; manager: not reviewed, add the audit status to the menu change list accordingly, and display the change list on the configuration interface.
[0166] By sending an audit request to the auditor, the auditor can audit the menu configuration data, ensuring that the menu configuration data can meet the corresponding audit requirements, making the configured menu configuration data more applicable, and receiving the audit status returned by the auditor, so that the configuration party can understand the audit status in time, and can adjust the menu configuration data in a targeted and rapid manner, thereby improving the configuration party's experience.
[0167] Optionally, after receiving the menu configuration data of the configuration content to be configured by the configuration policy, the following specific steps are also included:
[0168] Verify the menu configuration data and obtain the verification result.
[0169] Because only through the review of the auditor, there will inevitably be some difficult to detect problems such as display, code execution, menu item connection, etc., so the menu configuration data needs to be further verified to ensure the security, stability and accuracy of the menu configuration data.
[0170] Verification methods include grayscale verification, black box verification, and white box verification.
[0171] Specifically, grayscale verification is performed on the menu configuration data to obtain a verification result.
[0172] By verifying the menu configuration data, the security, stability and accuracy of the menu configuration data are further guaranteed, thereby ensuring the applicability of the target menu configured according to the menu configuration data.
[0173] See also Figure 3 , Figure 3 A flowchart of a menu display method provided according to an embodiment of the present specification is shown, which specifically includes the following steps:
[0174] Step 302: receiving a menu acquisition request sent by the client, wherein the menu acquisition request includes user information of a target user who logs in to the client.
[0175] Figure 3 The embodiment is applied to the application end, and the application end has been explained in the embodiment of FIG1 , and will not be described again here.
[0176] The menu acquisition request is a request sent by the client to the application side according to the user information of the target user who logs in to the client side.
[0177] By receiving the menu acquisition request sent by the client, wherein the menu acquisition request includes the user information of the target user who logs in to the client, an information foundation is laid for the subsequent acquisition of menu configuration data.
[0178] Step 304: According to the user information, menu configuration data pre-configured on the configuration end is obtained, wherein the menu configuration data is configured on the configuration end according to the menu configuration method in the embodiment of FIG. 1 .
[0179] User information is information that identifies the user's identity characteristics, including the user's user authority information.
[0180] The pre-configured menu configuration data may be directly obtained from the configuration end, or the pre-configured menu configuration data may be obtained from the data service end.
[0181] The menu configuration data is data configured in the configuration terminal according to the menu configuration method in the embodiment of FIG. 1 , and can be used as a basis for menu rendering in the subsequent process.
[0182] Specifically, according to the user authority information in the user information, the user authority confirmation is performed, and the menu configuration data pre-configured on the configuration end is obtained.
[0183] For example, if the user authority information in the user information is "first-level member", user authority confirmation is performed to confirm that the user of "first-level member" has the authority to obtain the menu configuration data pre-configured by the configuration end from the configuration end.
[0184] According to the user information, the menu configuration data pre-configured on the configuration end is obtained, so that the obtained menu configuration information is more targeted to the user, and at the same time, the data security and stability of the menu configuration data are guaranteed.
[0185] Step 306: Return the menu configuration data to the client, so that the client renders the menu based on the menu configuration data.
[0186] Specifically, the menu configuration data is returned to the client, so that the client performs menu rendering based on the menu configuration data, and displays the target menu on the client after the rendering is completed.
[0187] In the embodiment of the present specification, a menu acquisition request sent by a client is received, and according to the user information in the menu acquisition request, menu configuration data pre-configured on the configuration end is acquired, so that the acquired menu configuration information is more targeted to the user, and at the same time, the data security and stability of the menu configuration data are guaranteed, and then the menu configuration data is returned to the client, so that the client renders the menu based on the menu configuration data. A more targeted and richer target menu rendered based on the menu configuration data can be displayed on the client, thereby improving the user experience.
[0188] Optionally, step 304 includes the following specific steps:
[0189] According to the user information, the menu configuration data is obtained from the data server, wherein the menu configuration data is requested by the configuration end to be saved by the application end to the data server.
[0190] The menu configuration data can be a data saving request sent by the configuration party to the application end after the configuration is completed on the configuration end. The application end sends the menu configuration data to the data server end according to the data saving request, so that the data server end stores the menu configuration data.
[0191] According to user information, menu configuration data is obtained from the data server, so that the client can obtain pre-configured menu configuration data directly from the data server through the application, without having to obtain the menu data to be configured from the data server through the application, and then configure based on the menu data to be configured, which improves the efficiency of users obtaining menu configuration data and displaying it, and improves the user experience.
[0192] The following combination Figure 4 , taking the application of the menu configuration method provided in this specification in the merchant menu configuration of the e-commerce platform as an example, the menu configuration method is further explained. Figure 4 A process flow chart of a menu configuration method for a merchant menu applied to an e-commerce platform provided in one embodiment of the present specification is shown, which specifically includes the following steps.
[0193] Step 402: Obtain a configuration request from a configuration party for a target menu, wherein the configuration request includes permission information.
[0194] In the embodiment of the present specification, in the application scenario of merchant menu configuration of the e-commerce platform, the configuration party is the operation and maintenance personnel of the e-commerce platform, and the target menu is the merchant menu.
[0195] Step 404: Identify the menu item identifier of the menu item to be configured in the authority information, and determine whether the configuration party has the configuration authority for the menu item to be configured.
[0196] The permission information is "First-level Administrator-CGS-New Products on Management Platform-Rule Channel-Rule Center", the menu item to be configured is New Products on Management Platform, and the menu item is identified as "New Products on Management Platform".
[0197] The menu item identifier "New Product on Management Platform" of the menu item to be configured in the identification authority information "First-level Administrator-CGS-New Product on Management Platform-Rule Channel-Rule Center" is determined to determine that the operation and maintenance personnel have the authority to configure the new product on the management platform.
[0198] Step 406: Identify the menu tree identifier of the menu tree to be configured in the authority information, and determine whether the configuration party has the configuration authority for the menu tree to be configured.
[0199] The menu tree to be configured is CGS, and the menu tree identifier is "CGS", which confirms that the operation and maintenance personnel have the configuration authority of CGS.
[0200] Step 408: Receive menu configuration data of the content to be configured from the configuration policy.
[0201] like Figure 5 A menu item configuration effect diagram and a menu item configuration effect diagram provided by an embodiment of this specification are shown. Figure 6 A menu tree configuration effect diagram provided by an embodiment of this specification is shown.
[0202] Figure 5 It is shown in Figure 4 The effect diagram of menu item configuration in the embodiment of the present invention is as follows. On the menu item configuration display interface of the configuration end, the menu item configuration includes adding new menu items and modifying existing menu items. Figure 5 The existing menu items shown in the figure are: New Products on the Management Platform, Rule Channel, Rule Center, Store Management and Service Center. By selecting the menu item of New Products on the Management Platform, the modification interface is displayed on the right side of the interface. The menu item logo "New Products on the Management Platform" will be displayed and the menu item status will be marked as "Modified". The content to be configured will be displayed below: menu item key and menu connection. By modifying the menu item key and menu connection, "Menu Item Key: XXXX" and "Menu Connection: XXXX" are obtained. The last modification time and modifier are displayed below. A modification confirmation control is configured at the very bottom. By clicking the control, the configuration of the menu item of New Products on the Management Platform is completed.
[0203] Figure 6 It is shown in Figure 4 In the effect diagram of the menu tree configuration in the embodiment, on the menu tree configuration display interface of the configuration end, the menu tree configuration includes a first-level menu, a second-level menu and a third-level menu, and each menu corresponds to the menu items of the menu at that level. Figure 6There are multiple menu trees shown in the figure: CGS, HTGS / TWGS, GGS, CNIFM and IFM. The selected menu tree is CGS. The menu tree information is shown at the top of the interface: menu tree identification: CGS; creation time; last modification time. By selecting the menu items under each level of the menu, the menu item modification interface will be displayed on the right, where you can modify the menu items. After completing the modification of the menu tree and the menu items of each level of the menu, click the submit control configured in the upper right corner of the interface to complete the configuration of the CGS menu tree.
[0204] The contents to be configured are menu connection, menu item key, first-level menu, second-level menu, and third-level menu.
[0205] Receive menu configuration data XXXX, XXXX, {product management, store key}, {management platform new products, tool center}, {product catalog, release products, recycle bin} from operation and maintenance personnel for menu connection, menu item key, first-level menu, second-level menu, and third-level menu.
[0206] Step 410: Render the menu according to the menu configuration data, obtain a menu preview image, and display the menu preview image.
[0207] Step 412: Determine the object information that has been configured, and add the object information that has been configured to the menu change list.
[0208] like Figure 7 A menu change list effect diagram provided by an embodiment of this specification is shown.
[0209] Figure 7 Shows Figure 4 In the embodiment, the object information of the completed configuration is added to the menu change list. On the change list display interface, the change list options include a pre-release list and a change list. The object information of the completed configuration will be displayed on the change list display interface: Menu item configuration: Menu connection: XXXX, menu item key: XXXX; Menu tree configuration: First-level menu: {Product management, store key}, second-level menu; {Management platform new products, tool center}, third-level menu: {Product catalog, publish product, recycle bin}. After the configuration party confirms that the object information of the completed configuration is correct, click the add control configured at the bottom of the interface to complete the addition of the menu change list and realize the recording of the configuration information.
[0210] Step 414: Send an audit request to the auditor, so that the auditor can audit the configured object according to the configured object information.
[0211] Step 416: Receive the audit status returned by the auditor, and add the audit status to the menu change list accordingly.
[0212] The review status can include: completed, in progress, passed, failed, etc. The review status can be added to the menu change list.
[0213] Step 418: Perform grayscale verification on the menu configuration data to obtain a verification result.
[0214] Step 420: Send a data saving request to the application end, so that the application end saves the menu configuration data to the data service end.
[0215] First, by verifying the configuration authority of the operation and maintenance personnel, the security and stability of the data on the configuration end are guaranteed. Secondly, by using the menu item identifier and the menu tree identifier to verify the authority of the menu item to be configured and the menu tree to be configured, the authority determination result can be obtained accurately and efficiently, thereby improving the efficiency and accuracy of the overall merchant menu configuration. In addition, according to the menu configuration data, the alert rendering and preview are performed, so that the operation and maintenance personnel can directly observe the preview effect of the merchant menu. If there is a configuration problem, it can be discovered and modified in time, which improves the accuracy of the merchant menu configuration. Moreover, the audit party is allowed to audit the merchant menu configuration data, which ensures that the merchant menu configuration data can meet the corresponding audit requirements, so that the configured menu configuration data has better applicability, and the audit status returned by the audit party will be received, so that the operation and maintenance personnel can understand the audit status in time, and can adjust the merchant menu configuration data in a targeted and rapid manner, thereby improving the experience of the operation and maintenance personnel. Then, by verifying the merchant menu configuration data, the security, stability and accuracy of the merchant menu configuration data are further guaranteed, thereby ensuring the applicability of the merchant menu configured according to the merchant menu configuration data. Finally, a data saving request is sent to the application to save the merchant menu configuration data, laying the data foundation for subsequent merchants to call data on the client to display the merchant menu.
[0216] Corresponding to the above method embodiment, this specification also provides a menu configuration device embodiment, Figure 8 FIG. 2 shows a schematic diagram of the structure of a menu configuration device provided by an embodiment of the present specification. Figure 8 As shown, the device comprises:
[0217] The first acquisition module 802 is configured to acquire a configuration request from a configuration party for a target menu, wherein the configuration request carries object information of an object to be configured in the target menu and permission information of the configuration party;
[0218] The authority determination module 804 is configured to determine whether the configuration party has the configuration authority of the object to be configured according to the object information and the authority information, and if so, display the content to be configured of the object to be configured;
[0219] The first receiving module 806 is configured to receive menu configuration data of the configuration policy for the content to be configured.
[0220] Optionally, the device further comprises:
[0221] The data saving module is configured to send a data saving request to the application end, wherein the data saving request includes menu configuration data, so that the application end saves the menu configuration data to the data service end.
[0222] Optionally, the object to be configured includes a menu item to be configured; accordingly, the object information includes a menu item identifier;
[0223] The authority determination module 804 may be further configured to identify whether the authority information contains the menu item identifier of the menu item to be configured, and if so, determine that the configuration party has the configuration authority for the menu item to be configured.
[0224] Optionally, the object to be configured includes a menu tree to be configured; accordingly, the object information includes a menu tree identifier;
[0225] The authority determination module 804 may be further configured to identify whether the authority information contains the menu tree identifier of the menu tree to be configured, and if so, determine that the configuration party has the configuration authority for the menu tree to be configured.
[0226] Optionally, the device further comprises:
[0227] The menu rendering module is configured to render the menu according to the menu configuration data to obtain a menu preview image;
[0228] The display module is configured to display a menu preview image.
[0229] Optionally, the device further comprises:
[0230] The object information processing module is configured to determine the object information of the completed configuration; and add the object information of the completed configuration to the menu change list.
[0231] Optionally, the device further comprises:
[0232] The sending module is configured to send a review request to the reviewer, so that the reviewer reviews the configured object to be configured according to the information of the configured object;
[0233] The adding module is configured to receive the review status returned by the reviewer and add the review status to the menu change list accordingly.
[0234] Optionally, the device further comprises:
[0235] The verification module is configured to verify the menu configuration data and obtain a verification result.
[0236] In the embodiment of the present specification, by obtaining the configuration request of the configuration party for the target menu, it is determined whether the configuration party has the configuration authority of the object to be configured according to the object information and the authority information. If so, the content to be configured of the object to be configured is displayed, and the menu configuration data of the content to be configured received from the configuration party. By verifying the configuration authority of the configuration party, the security and stability of the data on the configuration end are guaranteed. In addition, by determining the content to be configured corresponding to the object information of the object to be configured and displaying it, the configuration party can accurately and clearly configure the content to be configured, obtain the menu configuration data, and efficiently complete the configuration of the target menu. While ensuring the security and stability of the data on the configuration end, the efficiency and accuracy of the menu configuration are improved.
[0237] The above is a schematic scheme of a menu configuration device of this embodiment. It should be noted that the technical scheme of the menu configuration device and the technical scheme of the above menu configuration method belong to the same concept, and the details not described in detail in the technical scheme of the menu configuration device can be referred to the description of the technical scheme of the above menu configuration method.
[0238] Corresponding to the above method embodiment, this specification also provides a menu display device embodiment, Fig. 9 FIG. 2 shows a schematic diagram of the structure of a menu display device provided by an embodiment of the present specification. Fig. 9 As shown, the device comprises:
[0239] The second receiving module 902 is configured to receive a menu acquisition request sent by the client, wherein the menu acquisition request includes user information of a target user who logs in to the client;
[0240] The second acquisition module 904 is configured to acquire menu configuration data pre-configured on the configuration end according to the user information, wherein the menu configuration data is configured on the configuration end according to the menu configuration method of FIG. 1 ;
[0241] The display module 906 is configured to return the menu configuration data to the client, so that the client performs menu rendering based on the menu configuration data.
[0242] Optionally, the second acquisition module 904 may be further configured to: acquire menu configuration data from the data server according to the user information, wherein the menu configuration data is the configuration end requesting the application end to save to the data server.
[0243] In the embodiment of the present specification, a menu acquisition request sent by a client is received, and according to the user information in the menu acquisition request, menu configuration data pre-configured on the configuration end is acquired, so that the acquired menu configuration information is more targeted to the user, and at the same time, the data security and stability of the menu configuration data are guaranteed, and then the menu configuration data is returned to the client, so that the client renders the menu based on the menu configuration data. A more targeted and richer target menu rendered based on the menu configuration data can be displayed on the client, thereby improving the user experience.
[0244] The above is a schematic scheme of a menu display device of this embodiment. It should be noted that the technical scheme of the menu display device and the technical scheme of the above menu display method belong to the same concept, and the details not described in detail in the technical scheme of the menu display device can be referred to the description of the technical scheme of the above menu display method.
[0245] Fig.10 The block diagram of a computing device 1000 according to an embodiment of the present specification is shown. The components of the computing device 1000 include but are not limited to a memory 1010 and a processor 1020. The processor 1020 is connected to the memory 1010 via a bus 1030, and the database 1050 is used to store data.
[0246] The computing device 1000 also includes an access device 1040 that enables the computing device 1000 to communicate via one or more networks 1060. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 1040 may include one or more of any type of network interface (e.g., a network interface card (NIC)) of wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.
[0247] In one embodiment of the present specification, the above components of the computing device 1000 and Fig.10 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Fig.10 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.
[0248] The computing device 1000 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or PC. The computing device 1000 may also be a mobile or stationary server.
[0249] The processor 1020 is used to execute the following computer executable instructions, which implement the above-mentioned menu configuration method or menu display method when executed by the processor.
[0250] In the embodiment of the present specification, by obtaining the configuration request of the configuration party for the target menu, it is determined whether the configuration party has the configuration authority of the object to be configured according to the object information and the authority information. If so, the content to be configured of the object to be configured is displayed, and the menu configuration data of the content to be configured received from the configuration party. By verifying the configuration authority of the configuration party, the security and stability of the data on the configuration end are guaranteed. In addition, by determining the content to be configured corresponding to the object information of the object to be configured and displaying it, the configuration party can accurately and clearly configure the content to be configured, obtain the menu configuration data, and efficiently complete the configuration of the target menu. While ensuring the security and stability of the data on the configuration end, the efficiency and accuracy of the menu configuration are improved.
[0251] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the menu configuration method and menu display method mentioned above are of the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the menu configuration method and menu display method mentioned above.
[0252] An embodiment of the present specification further provides a computer-readable storage medium storing computer-executable instructions, which can implement the above-mentioned menu configuration method or menu display method when executed by a processor.
[0253] In the embodiment of the present specification, by obtaining the configuration request of the configuration party for the target menu, it is determined whether the configuration party has the configuration authority of the object to be configured according to the object information and the authority information. If so, the content to be configured of the object to be configured is displayed, and the menu configuration data of the content to be configured received from the configuration party. By verifying the configuration authority of the configuration party, the security and stability of the data on the configuration end are guaranteed. In addition, by determining the content to be configured corresponding to the object information of the object to be configured and displaying it, the configuration party can accurately and clearly configure the content to be configured, obtain the menu configuration data, and efficiently complete the configuration of the target menu. While ensuring the security and stability of the data on the configuration end, the efficiency and accuracy of the menu configuration are improved.
[0254] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the menu configuration method and menu display method mentioned above are of the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the menu configuration method and menu display method mentioned above.
[0255] An embodiment of the present specification further provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the above-mentioned menu configuration method or menu display method.
[0256] In the embodiment of the present specification, by obtaining the configuration request of the configuration party for the target menu, it is determined whether the configuration party has the configuration authority of the object to be configured according to the object information and the authority information. If so, the content to be configured of the object to be configured is displayed, and the menu configuration data of the content to be configured received from the configuration party. By verifying the configuration authority of the configuration party, the security and stability of the data on the configuration end are guaranteed. In addition, by determining the content to be configured corresponding to the object information of the object to be configured and displaying it, the configuration party can accurately and clearly configure the content to be configured, obtain the menu configuration data, and efficiently complete the configuration of the target menu. While ensuring the security and stability of the data on the configuration end, the efficiency and accuracy of the menu configuration are improved.
[0257] The above is a schematic scheme of a computer program of this embodiment. It should be noted that the technical scheme of the computer program and the technical scheme of the menu configuration method and menu display method mentioned above are of the same concept, and the details not described in detail in the technical scheme of the computer program can be referred to the description of the technical scheme of the menu configuration method and menu display method mentioned above.
[0258] In the embodiment of the present specification, by obtaining the configuration request of the configuration party for the target menu, it is determined whether the configuration party has the configuration authority of the object to be configured according to the object information and the authority information. If so, the content to be configured of the object to be configured is displayed, and the menu configuration data of the content to be configured received from the configuration party. By verifying the configuration authority of the configuration party, the security and stability of the data on the configuration end are guaranteed. In addition, by determining the content to be configured corresponding to the object information of the object to be configured and displaying it, the configuration party can accurately and clearly configure the content to be configured, obtain the menu configuration data, and efficiently complete the configuration of the target menu. While ensuring the security and stability of the data on the configuration end, the efficiency and accuracy of the menu configuration are improved.
[0259] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0260] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0261] It should be noted that, for the convenience of description, the aforementioned method embodiments are all described as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.
[0262] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0263] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is only limited by the claims and their full scope and equivalents.
Claims
1. A menu configuration method, applied to a configuration terminal, include: Obtaining a configuration request from a configuration party for a target menu, wherein the configuration request carries object information of an object to be configured in the target menu and permission information of the configuration party, and the configuration request is sent by the application end to the configuration end through a menu configuration entry; Determining whether the configuration party has the configuration permission of the object to be configured according to the object information and the permission information, and if so, displaying the content to be configured of the object to be configured, wherein determining whether the configuration party has the configuration permission of the object to be configured according to the object information and the permission information includes: querying a pre-set permission object table according to the object information and the permission information to determine whether the configuration party has the configuration permission of the object to be configured, wherein the permission object table is a table pre-set and allocated to the menu configuration entry of the application end, and is used to record all objects to be configured in the target menu and their corresponding configuration permissions; Receive menu configuration data from the configuration party for the content to be configured.
2. The method according to claim 1, after receiving the menu configuration data of the configuration party for the content to be configured, further comprising: include: A data saving request is sent to the application end, wherein the data saving request includes the menu configuration data, so that the application end saves the menu configuration data to the data service end.
3. The method according to claim 1, wherein the object to be configured comprises a menu item to be configured; correspondingly, the object information comprises a menu item identifier; determining whether the configuration party has the configuration authority of the object to be configured according to the object information and the authority information, include: Identifying whether the permission information includes the menu item identifier of the menu item to be configured; If included, it is determined that the configuration party has the configuration authority for the menu item to be configured.
4. The method according to claim 1, wherein the object to be configured comprises a menu tree to be configured; correspondingly, the object information comprises a menu tree identifier; The determining, according to the object information and the permission information, whether the configuration party has the configuration permission of the object to be configured includes: Identify whether the permission information includes the menu tree identifier of the menu tree to be configured; If included, it is determined that the configuration party has the configuration authority for the menu tree to be configured.
5. The method according to any one of claims 1 to 4, further comprising: after receiving the menu configuration data of the configuration party for the content to be configured; include: Rendering the menu according to the menu configuration data to obtain a menu preview image; The menu preview image is displayed.
6. The method according to any one of claims 1 to 4, further comprising: after receiving the menu configuration data of the configuration party for the content to be configured; include: Determine the object information of the completed configuration; The configured object information is added to the menu change list.
7. The method according to claim 6, after adding the configured object information to the menu change list, further comprising: include: Sending an audit request to the auditing party, so that the auditing party audits the configured object to be configured according to the configured object information; Receive the audit status returned by the auditor, and add the audit status to the menu change list accordingly.
8. The method according to any one of claims 1 to 4, further comprising: after receiving the menu configuration data of the configuration party for the content to be configured; include: The menu configuration data is verified to obtain a verification result.
9. A menu display method, applied to an application end, include: Receiving a menu acquisition request sent by a client, wherein the menu acquisition request includes user information of a target user who logs in to the client; Acquire menu configuration data pre-configured on a configuration end according to the user information, wherein the menu configuration data is configured on the configuration end according to the method according to any one of claims 1 to 8; The menu configuration data is returned to the client, so that the client performs menu rendering based on the menu configuration data.
10. The method according to claim 9, wherein the menu data pre-configured on the configuration end is obtained according to the user information, include: According to the user information, menu configuration data is obtained from a data service end, wherein the menu configuration data is requested by the configuration end to be saved by the application end to the data service end.
11. A menu configuration device, applied to a configuration terminal, include: A first acquisition module is configured to acquire a configuration request of a configuration party for a target menu, wherein the configuration request carries object information of an object to be configured in the target menu and permission information of the configuration party, and the configuration request is sent by the application end to the configuration end through a menu configuration entry; The permission determination module is configured to determine whether the configuration party has the configuration permission of the object to be configured according to the object information and the permission information, and if so, display the content to be configured of the object to be configured, wherein the determination of whether the configuration party has the configuration permission of the object to be configured according to the object information and the permission information includes: querying a pre-set permission object table according to the object information and the permission information to determine whether the configuration party has the configuration permission of the object to be configured, wherein the permission object table is a table pre-set and allocated to the menu configuration entry of the application end, and is used to record all the objects to be configured in the target menu and their corresponding configuration permissions; The first receiving module is configured to receive menu configuration data from the configuration party for the content to be configured.
12. A menu display device, include: A second receiving module is configured to receive a menu acquisition request sent by a client, wherein the menu acquisition request includes user information of a target user who logs in to the client; a second acquisition module, configured to acquire menu configuration data pre-configured on a configuration end according to the user information, wherein the menu configuration data is configured on the configuration end according to the method according to any one of claims 1 to 8; The display module is configured to return the menu configuration data to the client, so that the client performs menu rendering based on the menu configuration data.
13. A computing device, include: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the menu configuration method described in any one of claims 1 to 8 is implemented, or the menu display method described in claim 9 or 10 is implemented.
14. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the menu configuration method described in any one of claims 1 to 8, or implement the menu display method described in claim 9 or 10.
Citation Information
Patent Citations
Control method and device for menu item
CN105005726A
User authority management system
CN105373726A
Webpage dynamic menu generation method and device
CN106598591A
Transaction browsing permission setting method and apparatus
CN108446168A
Method, device, equipment and medium for realizing permission processing based on blockchain
CN109714348A
