Method, device, processor and computer readable storage medium thereof for realizing view interaction processing based on extensible menu
By establishing menu hierarchy combination specifications and interactive display specifications, and constructing menu item data models, problems such as poor menu scalability and large interface footprint were solved, achieving more flexible interaction methods and wider device applicability.
Patent Information
- Application Number
- CN202311318593.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-11
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-10-11
AI Technical Summary
In existing technologies, menus have poor scalability, making it difficult to extend sub-interfaces without modifying the original code or configuration files. Furthermore, there are many vulnerabilities in user operation monitoring, floating menus occupy a large area of the interface, have limited interaction methods, and are prone to misoperation.
A menu-based approach is adopted to establish menu hierarchy combination specifications and interactive display specifications, construct menu item data models, manage menu hierarchy through module context, support multiple interactive trigger events, allocate fixed menu item display areas and draw menu text and labels, record user operations and execute commands.
It improves software scalability, reduces invasive modifications for secondary development, solves the problems of large menu footprint and limited interaction methods, supports more interaction methods and input devices, and enhances the accuracy of user behavior monitoring.
Smart Images

Figure CN117348776B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to computer user interface systems, and more particularly to menu view interaction, specifically to a method, apparatus, processor, and computer-readable storage medium for implementing view interaction processing based on an expandable menu. Background Technology
[0002] When a software system interacts with a user, the menu serves as a concise entry point for frequently used interactions, displaying functional content while minimizing its own screen footprint. Traditional floating menus are typically implemented as follows:
[0003] 1. In the main menu data structure definition code, uniformly configure the display content, trigger events, and commands for each item and level of the main menu. Commands can be defined to open sub-interfaces in the form of windows or by replacing a certain interface area view to achieve navigation functions.
[0004] 2. In the main interface drawing code, obtain the menu data and draw it, and define an interaction event for each menu item to call the command.
[0005] 3. Define the display content, trigger events, and commands for each item and level of the context menu in the data structure of each sub-interface.
[0006] 4. In the sub-interface drawing code, obtain the menu data and draw it, and define an interaction event for each menu item to call the command.
[0007] The existing defects are as follows:
[0008] 1. Because the main menu uses a unified configuration, its scalability is poor. Adding sub-interfaces requires modifying existing code or configuration files, which is prone to errors.
[0009] 2. Sub-interfaces and their context menus can be defined and drawn in the extension module, which satisfies the extensibility requirement. However, the monitoring of user operations can only be registered on the extension module. If the secondary developers who write the extension module fail to do so, there will be loopholes in the monitoring of user behavior, making it difficult to troubleshoot when problems occur. Furthermore, the menu behaviors are not classified in a standardized way, making it difficult to identify the purpose of menu commands.
[0010] 3. The floating menu displays too many menu items at the same time. When the number of interaction methods allowed by the device is limited, it is difficult to match the large number of functions. Most functions can only support mouse clicks, touch triggers, or require a large number of shortcut keys to trigger the function.
[0011] 4. Floating menus use pop-up submenus to display lower-level menus. Their display structure extends one level at a time, occupying a large area of the interface. Interaction often requires mouse or touch assistance, and they are prone to misoperation in some devices and usage scenarios that require high precision and are easily affected by interference. Summary of the Invention
[0012] The purpose of this invention is to overcome the shortcomings of the prior art and provide a method, apparatus, processor and computer-readable storage medium for implementing view interaction processing based on an expandable menu.
[0013] To achieve the above objectives, the present invention provides a method, apparatus, processor, and computer-readable storage medium for implementing view interaction processing based on an expandable menu, as follows:
[0014] The main feature of this method for implementing view interaction based on an expandable menu is that the method includes the following steps:
[0015] (1) Establish menu hierarchy combination specifications and menu interaction display specifications;
[0016] (2) Establish the data model definition and generation specifications for menu items;
[0017] (3) Based on the data model definition and generation specifications of the menu items, construct menu items for different purposes;
[0018] (4) Combine menu items based on the menu hierarchy combination specification and generate menu lists for each level;
[0019] (5) Obtain the current menu level and context content, and obtain the list of currently displayed menu items according to the menu interaction display specifications, the data model definition and generation specifications of menu items and the menu list of the current level, and process the corresponding main interaction interface and query session display content.
[0020] (6) Based on the menu interaction display specifications and the currently displayed menu item list, assign the display position to the corresponding menu, draw the menu text and markings, and associate the interaction trigger events;
[0021] (7) Record the user's operation based on the interactive trigger event passed by the user, and execute the corresponding defined command in the menu item.
[0022] Preferably, step (1) includes defining and processing the menu hierarchy, the combination specification of the menu hierarchy, the interaction trigger event, the interaction display specification of the menu, and several menu control interaction trigger events respectively. Specifically, the menu hierarchy includes the navigation menu, the business menu, and the session menu. The navigation menu and the business menu are single-layered, while the session menu is multi-layered. The producer of the navigation menu is the module context, the producer of the business menu is the main interaction interface context, and the producer of the session menu is the current query session context.
[0023] Preferably, the menu hierarchy combination specification is defined as follows:
[0024] Multiple module contexts are created. Each module context contains a set of navigation menu data, and each navigation menu data item points to a main interactive interface view template. Each main interactive interface view contains a main interactive interface context, which contains a set of business menu data. The business menu data is used to create query session views using commands. Each query session view contains a query session context, which must contain a set of session menu data. The session menu data is used to handle session transactions and to create the next-level query session view using commands.
[0025] Preferably, the interactive triggering event is defined as follows:
[0026] When the system detects user actions or changes in the external environment, the types of events that can be triggered include specific keyboard shortcuts being triggered, mouse clicks within a specific coordinate range, changes in specific digital signal ports, changes in pupil focus, camera recognition of specific gesture semantics, and microphone collection of specific voice keywords.
[0027] Preferably, the interactive display specifications of the menu are defined as follows: a fixed number of menu item display areas are planned in the interface, a unique interactive trigger event is assigned to each menu item display area, the menu list contained in the top-level context of the context stack is paginated according to the number of menu item areas, and the list of currently displayed menu items required in step (5) is obtained according to the current page number, and the content is drawn in each menu item display area according to the list, specifically:
[0028] Define the number of menu item display areas as n (n≥1), the number of menu items in the current context as m (m≥1), all indexes starting from zero, the current menu page number as i, and the currently displayed menu items starting from the a-th item. The calculation formula is:
[0029] a = i × n
[0030] The formula for calculating the total number of menu pages (c) is:
[0031] c = Floor((m-1) / n) + 1.
[0032] Preferably, the aforementioned menu control interaction trigger events are defined as follows:
[0033] The system matches left-page turning, right-page turning, up-jump, and down-jump functions. The left-page turning and right-page turning events are invalid when the number of items in the current menu list is less than or equal to the number of menu item areas. The up-jump event is invalid when the current level is a navigation menu. The down-jump event is only valid in the navigation menu. The menu control events are triggered by the interaction trigger events or automatically as needed.
[0034] Preferably, step (2) specifically includes the following steps:
[0035] (2.1) Define the menu item data model: including the text of the menu item, the type of mark displayed by the menu item, the command executed by the menu item, and the parameters of the command executed by the menu item;
[0036] (2.2) The classification of commands executed for menu items includes navigation of the main interactive interface, execution of specific business functions, and opening of inquiry sessions;
[0037] (2.3) The generation specifications for menu items include: constructing and automatically appending them to the menu list by calling a method within the menu data, and allowing the calling method to replace some of its own menu items with another menu data, wherein the command type of the menu items appended to the menu list in a certain context is restricted to:
[0038] The module context only appends and replaces menu items that use commands from the main navigation interface in its navigation menu data;
[0039] The main interactive interface context only adds and replaces menu items for executing specific business commands and opening query sessions in its business menu;
[0040] The query session context only adds and replaces menu items in its session menu that use the execute specific business command and open query session command.
[0041] Preferably, step (3) specifically includes the following steps:
[0042] (3.1) Create and append navigation menu item data, where parameters include: the text of the menu item and the target main interactive interface view type.
[0043] (3.2) Create and append business menu item data, where the parameters include: the text of the menu item, the command executed by the menu item, and the parameters of the command executed by the menu item.
[0044] (3.3) Create and append session menu item data, where parameters include: the text of the menu item and the target query session view type.
[0045] Preferably, step (4) is created or modified only in the following processes during the generation of the menu lists at each level:
[0046] a. During module loading, the navigation menu can be created or modified;
[0047] b. During the generation of the main interactive interface context, it allows the creation of its own business menu;
[0048] c. During interaction with the user in the main interactive interface view, it is allowed to modify the business menu contained in its context;
[0049] d. During the generation of the query session view, it is possible to create a session menu that includes its context;
[0050] e. During the interaction between the user and the context view, the user can modify the context-containing session menu.
[0051] Preferably, step (5) involves hierarchical maintenance and context switching according to the following steps:
[0052] (5.1) When defining modules, select one of the modules as the default module. After the software starts up and all modules are loaded, automatically create the first main interactive interface view in the context navigation menu of the default module and display it in the main interactive area. At the same time, mark the main interactive interface view in the context of the module as the last main interactive view entered by the current module. At the same time, create an empty context stack to record the current context level, push the current module context, and record the menu level as level 1, i.e., the navigation menu level, according to the number of contexts in the current upper and lower stacks. In accordance with the menu interaction display specifications, and based on the menu data contained in the topmost context of the current context stack, establish the list of currently displayed menu items.
[0053] (5.2) When a left page turn event or a right page turn event is triggered, the number of menu items that can be displayed is recalculated in accordance with the specifications of the menu control interaction trigger event settings, and a list of currently displayed menu items is established.
[0054] (5.3) When the current main interactive interface view context contains a business menu, the jump-down event is valid. When the jump-down button is triggered, the current main interactive interface view context is pushed onto the context stack. The menu level is recorded as the second level, i.e. the business menu level, according to the number of contexts in the current upper and lower stacks. In accordance with the menu interaction display specifications, the menu data contained in the topmost context of the current context stack is used as a blueprint to establish the list of currently displayed menu items.
[0055] (5.4) When the menu command corresponding to the session menu item is triggered, draw the query session view corresponding to the query session menu item to the session interaction area, push the query session context into the context stack, record the menu level as the 3rd level or higher according to the number of contexts in the current upper and lower stacks, i.e., the session menu level, and establish the list of currently displayed menu items based on the menu data contained in the topmost context of the current context stack, in accordance with the menu interaction display specifications.
[0056] (5.5) According to the standard conditions of several menu control interaction trigger events, when the upward jump event is valid, that is, when the current menu level is greater than 1 level, if the upward jump event is triggered, the top context of the context stack is removed, the menu level is recorded according to the number of contexts in the current upper and lower stacks, that is, it is reduced by 1 level, and according to the menu interaction display specifications, the menu item list currently displayed is established based on the menu data contained in the topmost context of the current context stack; if the removed context is the query session context, the query session view in the session interaction area is also removed.
[0057] (5.6) When the main interactive interface view is switched, the upward jump event is automatically triggered continuously according to the steps (5.5) described above, and the top context of the context stack is automatically removed in sequence until the menu level is level 1, that is, only the current module context is left, and the current module context records the new main interactive interface view as the last main interactive view entered by the module. According to the menu interaction display specifications described above, the menu data contained in the topmost context of the current context stack is used as a blueprint to establish the list of currently displayed navigation menu items.
[0058] (5.7) When the module switching is triggered, the upward jump event is continuously and automatically triggered in accordance with the steps (5.5) described above. The top context of the context stack is automatically removed in sequence until the context stack is empty. A new module context is pushed onto the context stack, and the last main interactive view or the first main interactive interface view in the navigation menu marked by the current module context is obtained and drawn onto the main interactive area. Then, in accordance with the menu interaction display specifications described above, the menu data contained in the topmost context of the current context stack is used as a blueprint to establish the list of currently displayed navigation menu items.
[0059] Preferably, step (6) specifically includes:
[0060] According to the list of currently displayed menu items obtained in step (5), they are arranged in order to correspond one-to-one with the menu item display area, and corresponding content is drawn in the menu item display area. The content drawn in the menu item display area includes the menu item text that has been defined and the icons and colors derived from the markers displayed in the menu items.
[0061] Preferably, step (7) specifically includes the following steps:
[0062] (7.1) When the computer system detects that an interactive trigger event matches the trigger event assigned to a menu item display area, it is considered that the menu item currently corresponding to that menu item display area has been triggered;
[0063] (7.2) When the menu item is triggered, user operation information is first written to the log system. This information includes the trigger time, the display area number corresponding to the menu item, the current menu level, and the menu item text. Then, the trigger is completed by executing the command contained in the menu item data and taking the command parameters.
[0064] The main feature of this device for implementing view interaction processing based on an expandable menu is that the device includes:
[0065] A processor is configured to execute computer-executable instructions;
[0066] The memory stores one or more computer-executable instructions, which, when executed by the processor, implement the steps of the method for implementing view interaction processing based on an expandable menu as described above.
[0067] The processor for implementing view interaction processing based on an expandable menu is characterized in that the processor is configured to execute computer-executable instructions, which, when executed by the processor, implement the steps of the method for implementing view interaction processing based on an expandable menu as described above.
[0068] The main feature of this computer-readable storage medium is that it stores a computer program thereon, which can be executed by a processor to implement the steps of the method for implementing view interaction processing based on an expandable menu as described above.
[0069] This invention employs a method, apparatus, processor, and computer-readable storage medium for view interaction processing based on an extensible menu. By constructing a context-based, modular, runtime-modifiable menu data structure, the software's functionality can be extended by loading new modules or modifying navigation menus defined in the context of existing modules, without modifying the original software code or configuration files. This improves software extensibility and reduces invasive modifications during secondary software development. By establishing a three-level menu hierarchy specification and classifying the execution purpose of menu items, the problem of the main menu and context menus not being mutually subordinate is solved. The definition and generation methods of menu items are unified and constrained, ensuring that menu items are automatically attached to existing menus upon generation, preventing the creation of stray menu items and reducing the difficulty of tracing the source of problems. By managing the current context and drawing a fixed number of menu items, the problem of large interface area occupied and easy misoperation when menus are expanded is solved. By assigning interaction trigger events to the menu item drawing area rather than the menu item data itself, the problem of limited interaction forms not being able to correspond one-to-one with a large number of functions is solved, as well as the complexity of monitoring user behavior. It can support any defined interaction form, more types of input devices and a wider range of use cases, and has a relatively wide range of applications. Attached Figure Description
[0070] Figure 1 This is a flowchart illustrating the initial menu and interface loading process of the method for implementing view interaction processing based on an expandable menu according to the present invention.
[0071] Figure 2 This is a schematic diagram illustrating the context stack management of this invention.
[0072] Figure 3 This is a schematic diagram illustrating the drawing and interaction of the menu display area in this invention. Detailed Implementation
[0073] To more clearly describe the technical content of the present invention, the following description is provided in conjunction with specific embodiments.
[0074] Before describing the embodiments of the present invention in detail, it should be noted that, in the following, the terms “comprising,” “including,” or any other variations are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed or inherent to such process, method, article, or apparatus.
[0075] This method for implementing view interaction processing based on an expandable menu includes the following steps:
[0076] (1) Establish menu hierarchy combination specifications and menu interaction display specifications;
[0077] (2) Establish the data model definition and generation specifications for menu items;
[0078] (3) Based on the data model definition and generation specifications of the menu items, construct menu items for different purposes;
[0079] (4) Combine menu items based on the menu hierarchy combination specification and generate menu lists for each level;
[0080] (5) Obtain the current menu level and context content, and obtain the list of currently displayed menu items according to the menu interaction display specifications, the data model definition and generation specifications of menu items and the menu list of the current level, and process the corresponding main interaction interface and query session display content.
[0081] (6) Based on the menu interaction display specifications and the currently displayed menu item list, assign the display position to the corresponding menu, draw the menu text and markings, and associate the interaction trigger events;
[0082] (7) Record the user's operation based on the interactive trigger event passed by the user, and execute the corresponding defined command in the menu item.
[0083] As a preferred embodiment of the present invention, step (1) includes defining and processing the menu hierarchy, the combination specification of the menu hierarchy, the interaction trigger event, the interaction display specification of the menu, and several menu control interaction trigger events respectively. Specifically, the menu hierarchy includes the navigation menu, the business menu, and the session menu. The navigation menu and the business menu are single-layered, while the session menu is multi-layered. The producer of the navigation menu is the module context, the producer of the business menu is the main interaction interface context, and the producer of the session menu is the current query session context.
[0084] In a preferred embodiment of the present invention, the menu hierarchy combination specification is defined as follows:
[0085] Multiple module contexts are created. Each module context contains a set of navigation menu data, and each navigation menu data item points to a main interactive interface view template. Each main interactive interface view contains a main interactive interface context, which contains a set of business menu data. The business menu data is used to create query session views using commands. Each query session view contains a query session context, which must contain a set of session menu data. The session menu data is used to handle session transactions and to create the next-level query session view using commands.
[0086] In a preferred embodiment of the present invention, the interactive triggering event is defined as follows:
[0087] When the system detects user actions or changes in the external environment, the types of events that can be triggered include specific keyboard shortcuts being triggered, mouse clicks within a specific coordinate range, changes in specific digital signal ports, changes in pupil focus, camera recognition of specific gesture semantics, and microphone collection of specific voice keywords.
[0088] As a preferred embodiment of the present invention, the interactive display specifications of the menu are defined as follows: a fixed number of menu item display areas are planned in the interface, a unique interactive trigger event is assigned to each menu item display area, the menu list contained in the top-level context of the context stack is paginated according to the number of menu item areas, and the list of currently displayed menu items required in step (5) is obtained according to the current page number, and the content is drawn in each menu item display area according to the list, specifically:
[0089] Define the number of menu item display areas as n (n≥1), the number of menu items in the current context as m (m≥1), all indexes starting from zero, the current menu page number as i, and the currently displayed menu items starting from the a-th item. The calculation formula is:
[0090] a = i × n
[0091] The formula for calculating the total number of menu pages (c) is:
[0092] c = Floor((m-1) / n) + 1.
[0093] In a preferred embodiment of the present invention, the plurality of menu control interaction trigger events are defined as follows:
[0094] The system matches left-page turning, right-page turning, up-jump, and down-jump functions. The left-page turning and right-page turning events are invalid when the number of items in the current menu list is less than or equal to the number of menu item areas. The up-jump event is invalid when the current level is a navigation menu. The down-jump event is only valid in the navigation menu. The menu control events are triggered by the interaction trigger events or automatically as needed.
[0095] In a preferred embodiment of the present invention, step (2) specifically includes the following steps:
[0096] (2.1) Define the menu item data model: including the text of the menu item, the type of mark displayed by the menu item, the command executed by the menu item, and the parameters of the command executed by the menu item;
[0097] (2.2) The classification of commands executed for menu items includes navigation of the main interactive interface, execution of specific business functions, and opening of inquiry sessions;
[0098] (2.3) The generation specifications for menu items include: constructing and automatically appending them to the menu list by calling a method in the menu data, and allowing the calling method to replace some of its own menu items with another menu data, wherein the command type of the menu items appended to the menu list in a certain context is restricted to:
[0099] The module context only appends and replaces menu items that use commands from the main navigation interface in its navigation menu data;
[0100] The main interactive interface context only adds and replaces menu items for executing specific business commands and opening query sessions in its business menu;
[0101] The query session context only adds and replaces menu items in its session menu that use the execute specific business command and open query session command.
[0102] In a preferred embodiment of the present invention, step (3) specifically includes the following steps:
[0103] (3.1) Create and append navigation menu item data, where parameters include: the text of the menu item and the target main interactive interface view type.
[0104] (3.2) Create and append business menu item data, where the parameters include: the text of the menu item, the command executed by the menu item, and the parameters of the command executed by the menu item.
[0105] (3.3) Create and append session menu item data, where parameters include: the text of the menu item and the target query session view type.
[0106] In a preferred embodiment of the present invention, step (4) is created or modified only in the following processes during the generation of menu lists at each level:
[0107] a. During module loading, the navigation menu can be created or modified;
[0108] b. During the generation of the main interactive interface context, it allows the creation of its own business menu;
[0109] c. During interaction with the user in the main interactive interface view, it is allowed to modify the business menu contained in its context;
[0110] d. During the generation of the query session view, it is possible to create a session menu that includes its context;
[0111] e. During the interaction between the user and the context view, the user can modify the context-containing session menu.
[0112] In a preferred embodiment of the present invention, step (5) is performed by performing hierarchical maintenance and context switching according to the following steps:
[0113] (5.1) When defining modules, select one of the modules as the default module. After the software starts up and all modules are loaded, automatically create the first main interactive interface view in the context navigation menu of the default module and display it in the main interactive area. At the same time, mark the main interactive interface view in the context of the module as the last main interactive view entered by the current module. At the same time, create an empty context stack to record the current context level, push the current module context, and record the menu level as level 1, i.e., the navigation menu level, according to the number of contexts in the current upper and lower stacks. In accordance with the menu interaction display specifications, and based on the menu data contained in the topmost context of the current context stack, establish the list of currently displayed menu items.
[0114] (5.2) When a left page turn event or a right page turn event is triggered, the number of menu items that can be displayed is recalculated in accordance with the specifications of the menu control interaction trigger event settings, and a list of currently displayed menu items is established.
[0115] (5.3) When the current main interactive interface view context contains a business menu, the jump-down event is valid. When the jump-down button is triggered, the current main interactive interface view context is pushed onto the context stack. The menu level is recorded as the second level, i.e. the business menu level, according to the number of contexts in the current upper and lower stacks. In accordance with the menu interaction display specifications, the menu data contained in the topmost context of the current context stack is used as a blueprint to establish the list of currently displayed menu items.
[0116] (5.4) When the menu command corresponding to the session menu item is triggered, draw the query session view corresponding to the query session menu item to the session interaction area, push the query session context into the context stack, record the menu level as the 3rd level or higher according to the number of contexts in the current upper and lower stacks, i.e., the session menu level, and establish the list of currently displayed menu items based on the menu data contained in the topmost context of the current context stack, in accordance with the menu interaction display specifications.
[0117] (5.5) According to the standard conditions of several menu control interaction trigger events, when the upward jump event is valid, that is, when the current menu level is greater than 1 level, if the upward jump event is triggered, the top context of the context stack is removed, the menu level is recorded according to the number of contexts in the current upper and lower stacks, that is, it is reduced by 1 level, and according to the menu interaction display specifications, the menu item list currently displayed is established based on the menu data contained in the topmost context of the current context stack; if the removed context is the query session context, the query session view in the session interaction area is also removed.
[0118] (5.6) When the main interactive interface view is switched, the upward jump event is automatically triggered continuously according to the steps (5.5) described above, and the top context of the context stack is automatically removed in sequence until the menu level is level 1, that is, only the current module context is left, and the current module context records the new main interactive interface view as the last main interactive view entered by the module. According to the menu interaction display specifications described above, the menu data contained in the topmost context of the current context stack is used as a blueprint to establish the list of currently displayed navigation menu items.
[0119] (5.7) When the module switching is triggered, the upward jump event is continuously and automatically triggered in accordance with the steps (5.5) described above. The top context of the context stack is automatically removed in sequence until the context stack is empty. A new module context is pushed onto the context stack, and the last main interactive view or the first main interactive interface view in the navigation menu marked by the current module context is obtained and drawn onto the main interactive area. Then, in accordance with the menu interaction display specifications described above, the menu data contained in the topmost context of the current context stack is used as a blueprint to establish the list of currently displayed navigation menu items.
[0120] In a preferred embodiment of the present invention, step (6) specifically comprises:
[0121] According to the list of currently displayed menu items obtained in step (5), they are arranged in order to correspond one-to-one with the menu item display area, and corresponding content is drawn in the menu item display area. The content drawn in the menu item display area includes the menu item text that has been defined and the icons and colors derived from the markers displayed in the menu items.
[0122] In a preferred embodiment of the present invention, step (7) specifically includes the following steps:
[0123] (7.1) When the computer system detects that an interactive trigger event matches the trigger event assigned to a menu item display area, it is considered that the menu item currently corresponding to that menu item display area has been triggered;
[0124] (7.2) When the menu item is triggered, user operation information is first written to the log system. This information includes the trigger time, the display area number corresponding to the menu item, the current menu level, and the menu item text. Then, the trigger is completed by executing the command contained in the menu item data and taking the command parameters.
[0125] In practical applications, this technical solution's method for implementing view interaction processing based on an extensible menu provides a series of interface design and data model establishment methods oriented towards modules and interface contexts, including the following steps:
[0126] (1) Establish menu hierarchy combination specifications and menu interaction display specifications.
[0127] (2) Establish the data model definition and generation specifications for menu items.
[0128] (3) Based on the data model definition and generation specifications of menu items, construct menu items for different purposes.
[0129] (4) Based on the menu hierarchy combination specification, combine menu items to generate menu lists for each level.
[0130] (5) Obtain the current menu level and context content, and according to the menu display specification, the data definition specification of the menu item and the current level menu list, obtain the list of currently displayed menu items and process the main interactive interface and query session display content.
[0131] (6) Based on the menu display specifications and the list of currently displayed menu items, assign their display positions, draw menu text and markings, and associate interactive trigger events.
[0132] (7) Based on the interactive trigger event passed by the user, record the user operation and execute the command defined in the menu item.
[0133] Furthermore, the menu hierarchy combination specification and menu display specification in step (1) include:
[0134] (1.1) Menu hierarchy definition: The menu hierarchy includes navigation menu, business menu and conversation menu. Navigation menu and business menu can only have one level, while conversation menu can have multiple levels.
[0135] A. The producer of the navigation menu is the module context.
[0136] B. The producer of the business menu is the main interactive interface context.
[0137] C. The producer of the conversation menu is the current query conversation context.
[0138] (1.2) Menu hierarchy combination specifications: The software can create and contain multiple module contexts. Each module context contains a set of navigation menu data. The navigation menu data items can point to a main interactive interface view template. Each main interactive interface view naturally contains a main interactive interface context. The main interactive interface context can contain a set of business menu data. The business menu data can use commands to create query session views. The query session view naturally includes a query session context. The query session context must contain a set of session menu data. In addition to using commands to handle session transactions, the session menu data can also continue to use commands to create the next level query session view.
[0139] (1.3) The definition of an interactive trigger event is: user operation or change of external environment detected by computer system. Allowed event types include, but are not limited to, specific shortcut keys on the keyboard being triggered, mouse clicking within a specific coordinate range, specific digital signal port changes, pupil focus position changes, camera recognizing specific gesture semantics, microphone collecting specific voice keywords, etc.
[0140] (1.4) Menu interaction display specifications: Plan a fixed number of menu item display areas in the interface, assign a unique interactive trigger event to each menu item display area, paginate the menu list contained in the top-level context of the context stack according to the number of menu item areas, obtain the list of currently displayed menu items required in step (5) according to the current page number, and draw the content in each menu item display area according to the list.
[0141] If the defined menu item display area has n (n>=1), the current context menu list has m (m>=1), all numbers start counting from zero, and the current menu page number is i, then the currently displayed menu item starts from the a-th item, calculated as follows:
[0142] a = i × n
[0143] The formula for calculating the total number of menu pages is:
[0144] c = Floor((m-1) / n) + 1
[0145] The menu item display area can be in a non-fixed position, can be shown and hidden by interactive events, and can be arranged horizontally, vertically, in a circle, or in any other way. However, each menu item display area has a fixed number that matches the menu item in the currently displayed menu item list.
[0146] (1.5) Define several menu control interaction trigger events to match page-left, page-right, jump-up, and jump-down functions. The page-left and page-right events are invalid when the number of items in the current menu list is less than or equal to the number of menu item areas. The jump-up event is invalid when the current level is a navigation menu. The jump-down event is only valid in navigation menus. Menu control events can be triggered by interaction trigger events or automatically by the software as needed. The restrictions for automatic triggering differ; see step (5.6) for details.
[0147] (1.6) Understandably, the left and right page-turning functions are based on the current page number i1, with the number of pages turned being d, i.e., d = -1 for left page turn and d = 1 for right page turn, and the current menu item's page number being c. The target menu page number is calculated as i2, using the formula:
[0148] i2=(i1+d)Mod c
[0149] Then, according to step (1.4), the value of i2 can be used to calculate the sequence number of the starting menu item that needs to be displayed.
[0150] Preferably, step (2) of establishing the data definition and generation specifications for menu items includes:
[0151] (2.1) The menu item data model is defined as: the text of the menu item, the type of mark displayed by the menu item, the command executed by the menu item, and the parameters of the command executed by the menu item.
[0152] (2.2) The commands executed by menu items are classified into types such as navigating the main interactive interface, executing specific business operations, and opening inquiry sessions.
[0153] (2.3) Menu item generation specifications include: Menu items are not allowed to be constructed independently; they can only be constructed by calling methods within the menu data and automatically appended to the menu list. Menu data allows methods to replace parts of its own menu items with other menu data to accommodate feature expansion and implement dynamic interaction with the context. In principle, the command type of menu items appended to a menu list within a given context is restricted to:
[0154] A. A module context can only append and replace menu items that use commands from the main navigation interface in its navigation menu data.
[0155] B. The main interactive interface context can only add and replace menu items for executing specific business commands and opening query sessions in its business menu.
[0156] C. The query session context can only be appended and replaced with menu items that execute specific business commands and open query session commands in its session menu.
[0157] Preferably, step (3) constructs menu items for different purposes, that is, defines various methods for creating and appending menu item data in the menu data model, specifically including:
[0158] (3.1) A method for creating and appending navigation menu item data, with parameters: the text of the menu item and the target main interactive interface view type.
[0159] (3.2) A method for creating and appending business menu item data, with the following parameters: the text of the menu item, the command executed by the menu item, and the parameters of the command executed by the menu item.
[0160] (3.3) A method to create and append session menu item data, with the following parameters: the text of the menu item and the target query session view type.
[0161] Furthermore, the generation of the menu list at each level in step (4) is not fixed at the start of software operation. According to the method described in step (2.3), each level menu can only be created or modified in the following processes.
[0162] (4.1) During module loading, navigation menus can be created or modified.
[0163] (4.2) During the generation of the main interactive interface context, it is allowed to create its own business menu.
[0164] (4.3) During the interaction with the user in the main interactive interface view, it is allowed to modify the business menu contained in its context.
[0165] (4.4) During the query session view generation process, you are allowed to create a session menu that is contained in its context.
[0166] (4.5) During the interaction between the session view and the user, the session menu contained in the context of the session view can be modified.
[0167] Furthermore, the hierarchical maintenance and context switching methods in step (5) are as follows:
[0168] (5.1) When defining modules, select one module as the default module. After the software starts and all modules are loaded, automatically create the first main interactive interface view in the context navigation menu of the default module and display it in the main interactive area. At the same time, mark this main interactive interface view as the last main interactive view entered by this module in the module context. Create an empty context stack to record the current context level, push the current module context onto it, and record the menu level as level 1, i.e., the navigation menu level, according to the number of contexts in the current upper and lower stacks. According to the specifications described in step (1.4), use the menu data contained in the topmost context of the current context stack as a blueprint to establish the list of currently displayed menu items.
[0169] (5.2) When a left page turn event or a right page turn event is triggered, recalculate the menu items that can be displayed according to the specifications described in steps (1.4) and (1.6) and establish a list of currently displayed menu items.
[0170] (5.3) When the current main interactive interface view context contains a business menu, the down jump event is valid. When the down jump button is triggered, the current main interactive interface view context is pushed onto the context stack, and the menu level is recorded as level 2, i.e., the business menu level, according to the number of contexts in the current upper and lower stacks. In accordance with the specifications described in step (1.4), the menu item list currently displayed is established based on the menu data contained in the topmost context of the current context stack.
[0171] (5.4) When the menu command corresponding to the session menu item is triggered, draw the query session view corresponding to the query session menu item to the session interaction area, push the query session context into the context stack, record the menu level as level 3 or higher according to the number of contexts in the current upper and lower stacks, i.e., the session menu level, and establish the list of currently displayed menu items based on the menu data contained in the topmost context of the current context stack, according to the specifications described in step (1.4).
[0172] (5.5) According to the specifications described in step (1.5), when the upward jump event is valid, i.e., when the current menu level is greater than 1 level, if the upward jump event is triggered, remove the top context of the context stack, record the menu level according to the number of contexts in the current upper and lower stacks, i.e., decrease by 1 level, and according to the specifications described in step (1.4), establish the currently displayed menu item list based on the menu data contained in the topmost context of the current context stack. If the removed context is an inquiry session context, also remove the inquiry session view in the session interaction area.
[0173] (5.6) When the main interactive interface view is switched, as described in step (5.5), the upward jump event is continuously and automatically triggered, and the top context of the context stack is automatically removed in sequence until the menu level is level 1, that is, only the current module context is left, and the current module context records the new main interactive interface view as the last main interactive view entered by this module. According to the specification described in step (1.4), the list of currently displayed navigation menu items is established based on the menu data contained in the topmost context of the current context stack.
[0174] (5.7) When a module switching is triggered, as described in step (5.5), the upward jump event is continuously and automatically triggered, and the top context of the context stack is automatically removed sequentially until the context stack is empty. A new module context is then pushed onto the context stack. The last main interactive view or the first main interactive interface view in the navigation menu marked by the current module context is obtained and drawn onto the main interactive area. According to the specifications described in step (1.4), the list of currently displayed navigation menu items is established based on the menu data contained in the topmost context of the current context stack.
[0175] Furthermore, step (6) is described in more detail as follows:
[0176] (6.1) Based on the list of currently displayed menu items obtained in step (5), arrange them in order to correspond one-to-one with the menu item display area, and draw the corresponding content in the menu item display area.
[0177] (6.2) The content of the menu item display area includes the menu item text defined in step (2.1), and the icons and colors derived from the menu item display mark.
[0178] Furthermore, step (7) is explained in more detail as follows:
[0179] (7.1) When the interactive trigger event detected by the computer system matches the trigger event assigned to a menu item display area, it is considered that the menu item currently corresponding to the menu item display area has been triggered.
[0180] (7.2) When a menu item is triggered, first write user operation information to the log system. This information includes the trigger time, the display area number corresponding to the menu item, the current menu level, the menu item text, etc. Then execute the command contained in the menu item data along with the command parameters.
[0181] In practical applications, this technical solution is as follows:
[0182] Define the module context base type, which contains a list of navigation menus.
[0183] Define the base type of the main interaction context, which contains a list of business menus.
[0184] Define the base type for querying the session context, which contains a list of session menus.
[0185] Define the menu item type, which includes elements such as display text, type flags, commands, and command parameters. Set constructor accessibility to prevent code outside the assembly from constructing instances of the item.
[0186] Define a menu list type that contains a list of menu items, and implement methods for creating menu items of various types to be added to the menu item list or modifying the menu item list itself.
[0187] Define and implement the context management service interface. The defined methods include: getting the current page menu item list of the current context menu, turning the page left and right, switching modules, switching the main interaction interface, opening a session, closing a session, finding and executing menu item commands by index, etc.
[0188] Derivate and implement multiple module context types according to business needs. During instantiation, create a navigation menu list instance and add or modify menu items. See the appendix for details. Figure 1 The upper part.
[0189] Implement multiple main interactive view types according to business requirements, and derive and implement the corresponding main interactive context types for each one. When instantiating, create a business menu list instance and add menu items.
[0190] Implement multiple query session view types according to business requirements, and derive and implement the corresponding query session context types for each one. When instantiating, create a session menu list instance and append menu items.
[0191] In practical applications, such as Figure 1 As shown, the method for loading all modules is implemented in the main boot code of the program. After instantiating all modules, the default module is found and the default main interactive interface view and its context are instantiated. The default module context is then pushed onto the context stack.
[0192] In practical applications, such as Figure 2 As shown, the process includes the following:
[0193] (11) When a downward jump is triggered, the current main interactive interface view context is pushed onto the context stack.
[0194] (12) When the query session view is opened, the query session view context is pushed onto the context stack.
[0195] (13) When jumping up, remove the topmost context of the context stack.
[0196] (14) When switching the main interactive interface, jump up until only the module context remains in the context stack.
[0197] (15) When switching modules, jump up until the context stack is empty, and push the new module context onto the context stack.
[0198] (16) Whenever the context stack changes, call the context management service to get the list of menu items that should be displayed and draw them in the menu item display area.
[0199] In practical applications, such as Figure 3 As shown:
[0200] Given n menu item display areas, and currently on page i, calculate the index 'a' of the first menu item currently displayed, then sequentially obtain the n menu items to form a list of currently displayed menu items, and draw them one by one onto the corresponding menu item display area. If the number is insufficient, the display areas of the extra menu items will not be drawn.
[0201] When a predefined interactive trigger event occurs, obtain the corresponding menu item display area number as b, calculate the triggered menu item number as c = a + b, if the context menu contains the menu item with that number, record the operation log, and execute the corresponding menu item command.
[0202] This device for implementing view interaction processing based on an expandable menu includes:
[0203] A processor is configured to execute computer-executable instructions;
[0204] The memory stores one or more computer-executable instructions, which, when executed by the processor, implement the steps of the method for implementing view interaction processing based on an expandable menu as described above.
[0205] The processor for implementing view interaction processing based on an expandable menu is configured to execute computer-executable instructions, which, when executed by the processor, implement the steps of the method for implementing view interaction processing based on an expandable menu as described above.
[0206] The computer-readable storage medium contains a computer program that can be executed by a processor to implement the steps of the method for implementing view interaction processing based on an expandable menu as described above.
[0207] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of the invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which embodiments of the invention pertain.
[0208] It should be understood that various parts of the present invention can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution device.
[0209] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0210] The storage media mentioned above can be read-only memory, disk, or optical disk, etc.
[0211] In the description of this specification, references to terms such as "an embodiment," "some embodiments," "example," "specific example," or "embodiment," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0212] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
[0213] This invention employs a method, apparatus, processor, and computer-readable storage medium for view interaction processing based on an extensible menu. By constructing a context-based, modular, runtime-modifiable menu data structure, the software's functionality can be extended by loading new modules or modifying navigation menus defined in the context of existing modules, without modifying the original software code or configuration files. This improves software extensibility and reduces invasive modifications during secondary software development. By establishing a three-level menu hierarchy specification and classifying the execution purpose of menu items, the problem of the main menu and context menus not being mutually subordinate is solved. The definition and generation methods of menu items are unified and constrained, ensuring that menu items are automatically attached to existing menus upon generation, preventing the creation of stray menu items and reducing the difficulty of tracing the source of problems. By managing the current context and drawing a fixed number of menu items, the problem of large interface area occupied and easy misoperation when menus are expanded is solved. By assigning interaction trigger events to the menu item drawing area rather than the menu item data itself, the problem of limited interaction forms not being able to correspond one-to-one with a large number of functions is solved, as well as the complexity of monitoring user behavior. It can support any defined interaction form, more types of input devices and a wider range of use cases, and has a relatively wide range of applications.
[0214] In this specification, the invention has been described with reference to specific embodiments thereof. However, it will be apparent that various modifications and variations can be made without departing from the spirit and scope of the invention. Therefore, the specification and drawings should be considered illustrative rather than restrictive.
Claims
1. A method for implementing view interaction processing based on an expandable menu, characterized in that, The method includes the following steps: (1) Establish menu hierarchy combination specifications and menu interaction display specifications; (2) Establish data model definitions and generation specifications for menu items; (3) Based on the data model definition and generation specifications of the menu items, construct menu items for different purposes; (4) Combine menu items based on the menu hierarchy combination specification and generate menu lists for each level; (5) Obtain the current menu level and context content, and obtain the list of currently displayed menu items according to the menu interaction display specifications, the data model definition and generation specifications of menu items and the menu list of the current level, and process the corresponding main interaction interface and query session display content. Step (5) further includes hierarchical maintenance and context jump rotor steps: (5.1) After the software starts and all modules are loaded, the first main interactive interface view in the context navigation menu of the pre-selected default module is automatically created and displayed in the main interactive area; the main interactive interface view is marked as the last main interactive view entered by the module; an empty context stack is created to record the current context level and pushed onto the current module context; the menu level is determined as level 1, i.e., the navigation menu level, based on the number of contexts in the context stack, and the menu item list currently displayed is generated based on the menu data contained in the topmost context of the context stack. (5.2) When a left page turn event or a right page turn event is triggered, recalculate the displayable menu items according to the menu interaction display specifications and establish a list of currently displayed menu items; (5.3) If the current main interactive interface context contains a business menu, the downward jump event is valid; when the downward jump is triggered, the current main interactive interface context is pushed onto the context stack, and the menu level is recorded as the 2nd level, i.e. the business menu level, based on the number of contexts in the context stack. The menu item list currently displayed is generated based on the menu data contained in the topmost context of the context stack. (5.4) When the menu command corresponding to the session menu item is triggered, draw the corresponding query session view to the session interaction area, push the query session context into the context stack, record the menu level as the 3rd level or higher, i.e., the session menu level, according to the number of contexts in the context stack, and generate the currently displayed menu item list with the menu data contained in the topmost context of the context stack. (5.5) When the menu level is greater than 1, the upward jump event is valid and triggered, the top context of the context stack is removed, the menu level is reduced according to the number of contexts in the context stack, and the menu item list currently displayed is generated with the menu data contained in the top context of the context stack; if the removed context is the query session context, the query session view in the session interaction area is removed synchronously. (6) Based on the menu interaction display specifications and the currently displayed menu item list, assign the display position to the corresponding menu, draw the menu text and markings, and associate the interaction trigger events; (7) Record the user's operation based on the interactive trigger event passed by the user, and execute the corresponding defined command in the menu item.
2. The method for implementing view interaction processing based on an expandable menu according to claim 1, characterized in that, Step (1) includes defining and processing the menu hierarchy, the combination specification of the menu hierarchy, the interactive trigger event, the interactive display specification of the menu, and several menu control interactive trigger events. Specifically, the menu hierarchy includes the navigation menu, the business menu, and the session menu. The navigation menu and the business menu are single-layered, while the session menu is multi-layered. The producer of the navigation menu is the module context, the producer of the business menu is the main interactive interface context, and the producer of the session menu is the current query session context.
3. The method for implementing view interaction processing based on an expandable menu according to claim 2, characterized in that, The menu hierarchy combination specification is defined as follows: Multiple module contexts are created. Each module context contains a set of navigation menu data, and each navigation menu data item points to a main interactive interface view template. Each main interactive interface view contains a main interactive interface context, which contains a set of business menu data. The business menu data is used to create query session views using commands. Each query session view contains a query session context, which must contain a set of session menu data. The session menu data is used to handle session transactions and to create the next-level query session view using commands.
4. The method for implementing view interaction processing based on an expandable menu according to claim 2, characterized in that, The interactive trigger events are defined as follows: When the system detects user actions or changes in the external environment, the types of events that can be triggered include specific keyboard shortcuts being triggered, mouse clicks within a specific coordinate range, changes in specific digital signal ports, changes in pupil focus, camera recognition of specific gesture semantics, and microphone collection of specific voice keywords.
5. The method for implementing view interaction processing based on an expandable menu according to claim 2, characterized in that, The interactive display specifications of the menu are defined as follows: a fixed number of menu item display areas are planned in the interface, a unique interactive trigger event is assigned to each menu item display area, the menu list contained in the top-level context of the context stack is paginated according to the number of menu item areas, and the list of currently displayed menu items required in step (5) is obtained according to the current page number, and the content is drawn in each menu item display area according to the list, specifically: Define the number of menu item display areas as n (n≥1), the number of menu items in the current context as m (m≥1), all indexes starting from zero, the current menu page number as i, and the currently displayed menu items starting from the a-th item. The calculation formula is: a = i×n The formula for calculating the total number of menu pages (c) is: c = Floor ((m-1) / n) + 1.
6. The method for implementing view interaction processing based on an expandable menu according to claim 2, characterized in that, The aforementioned menu control interaction trigger events are defined as follows: The system matches left-page turning, right-page turning, up-jump, and down-jump functions. The left-page turning and right-page turning events are invalid when the number of items in the current menu list is less than or equal to the number of menu item areas. The up-jump event is invalid when the current level is a navigation menu. The down-jump event is only valid in the navigation menu. The menu control events are triggered by the interaction trigger events or automatically as needed.
7. The method for implementing view interaction processing based on an expandable menu according to claim 2, characterized in that, Step (2) specifically includes the following steps: (2.1) Define the menu item data model: including the text of the menu item, the type of mark displayed by the menu item, the command executed by the menu item, and the parameters of the command executed by the menu item; (2.2) The classification of commands executed for menu items includes navigation of the main interactive interface, execution of specific business functions, and opening of inquiry sessions; (2.3) The generation specifications for menu items include: constructing and automatically appending them to the menu list by calling a method in the menu data, and allowing the calling method to replace some of its own menu items with another menu data, wherein the command type of the menu items appended to the menu list in a certain context is restricted to: The module context only appends and replaces menu items that use commands from the main navigation interface in its navigation menu data; The main interactive interface context only adds and replaces menu items for executing specific business commands and opening query sessions in its business menu; The query session context only adds and replaces menu items in its session menu that use the execute specific business command and open query session command.
8. The method for implementing view interaction processing based on an expandable menu according to claim 7, characterized in that, Step (3) specifically includes the following steps: (3.1) Create and append navigation menu item data, where parameters include: the text of the menu item and the target main interactive interface view type; (3.2) Create and append business menu item data, where the parameters include: the text of the menu item, the command executed by the menu item, and the parameters of the command executed by the menu item; (3.3) Create and append session menu item data, where the parameters include: the text of the menu item and the target query session view type.
9. The method for implementing view interaction processing based on an expandable menu according to claim 8, characterized in that, Step (4) described above is created or modified only in the following processes during the generation of menu lists at each level: a. During module loading, the navigation menu can be created or modified; b. During the generation of the main interactive interface context, it allows the creation of its own business menu; c. During interaction with the user in the main interactive interface view, it is allowed to modify the business menu contained in its context; d. During the generation of the session view, it is possible to create a session menu that is contained within its context; e. During the interaction between the user and the context view, the context-containing session menu can be modified.
10. The method for implementing view interaction processing based on an expandable menu according to claim 1, characterized in that, Step (5) further includes: (5.6) When the main interactive interface view is switched, the upward jump event is automatically triggered continuously according to the steps (5.5) and the top context of the context stack is automatically removed in turn until the menu level is level 1, that is, only the current module context is left, and the current module context records the new main interactive interface view as the last main interactive view entered by the module. According to the menu interaction display specifications, the menu data contained in the topmost context of the current context stack is used as a blueprint to establish the list of currently displayed navigation menu items. (5.7) When the module switching is triggered, the upward jump event is continuously and automatically triggered in accordance with the steps (5.5) described above. The top context of the context stack is automatically removed in sequence until the context stack is empty. A new module context is pushed onto the context stack, and the last main interactive view or the first main interactive interface view in the navigation menu marked by the current module context is obtained and drawn onto the main interactive area. Then, in accordance with the menu interaction display specifications described above, the menu data contained in the topmost context of the current context stack is used as a blueprint to establish the list of currently displayed navigation menu items.
11. The method for implementing view interaction processing based on an expandable menu according to claim 10, characterized in that, The specific steps (6) are as follows: According to the list of currently displayed menu items obtained in step (5), they are arranged in order to correspond one-to-one with the menu item display area, and corresponding content is drawn in the menu item display area. The content drawn in the menu item display area includes the menu item text that has been defined and the icons and colors derived from the markers displayed in the menu items.
12. The method for implementing view interaction processing based on an expandable menu according to claim 10, characterized in that, Step (7) specifically includes the following steps: (7.1) When the computer system detects that an interactive trigger event matches the trigger event assigned to a menu item display area, it is considered that the menu item currently corresponding to that menu item display area has been triggered; (7.2) When the menu item is triggered, user operation information is first written to the log system. This information includes the trigger time, the display area number corresponding to the menu item, the current menu level, and the menu item text. Then, the trigger is completed by executing the command contained in the menu item data and taking the command parameters.
13. A device for implementing view interaction processing based on an expandable menu, characterized in that, The device includes: A processor is configured to execute computer-executable instructions; The memory stores one or more computer-executable instructions, which, when executed by the processor, implement the steps of the method for implementing view interaction processing based on an expandable menu as described in any one of claims 1 to 12.
14. A processor for implementing view interaction processing based on an expandable menu, characterized in that, The processor is configured to execute computer-executable instructions, which, when executed by the processor, implement the steps of the method for implementing view interaction processing based on an expandable menu as described in any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that, It stores a computer program that can be executed by a processor to implement the steps of the method for implementing view interaction processing based on an expandable menu, as described in any one of claims 1 to 12.
Citation Information
Patent Citations
Application menu configuration method and device, electronic equipment and storage medium
CN111611036A
Providing customization of context based menus
US20130019203A1
