Legal claims defining the scope of protection, as filed with the USPTO.
1. A dynamic management method for a menu, comprising: collecting, when a function on an independently deployed functional unit changes, a menu change message generated when the function changes; receiving the menu change message through a message-oriented middleware deployed in a cluster mode, and broadcasting the menu change message; and monitoring and parsing, at a portal unit, the menu change message, and updating a menu displayed on an interface, wherein before collecting the menu change message generated when the function changes, the method further comprises: saving menu information corresponding to respective functional units separately by using a distributed database or a distributed cache to generate a menu set, wherein after monitoring and parsing, at the portal unit, the menu change message, and updating the menu displayed on the interface, the method further comprises: acquiring, when the portal unit provides a set of some functions, menu identification information corresponding to a menu displayed by the portal unit and the menu set, and obtaining an intersection of the menu identification information and the menu set as a set of merged menus; and organizing the set of merged menus into a menu tree structure, and converting menu tree nodes according to a display format to generate a menu display file.
2. The dynamic management method for a menu according to claim 1 , wherein before collecting the menu change message generated when the function changes, the method further comprises: creating a unified menu model, defining a menu of respective functional units separately according to the unified menu model, and generating a corresponding menu definition file.
3. The dynamic management method for a menu according to claim 1 , wherein the menu change message comprises a menu registration message and a menu uninstallation message.
4. The dynamic management method for a menu according to claim 3 , wherein parsing the menu change message comprises: parsing, when the menu registration message is monitored, menu information in the menu registration message, and making an addition or a modification to a menu set; and parsing, when the menu uninstallation message is monitored, menu identification information in the menu uninstallation message, and deleting a corresponding menu from the menu set.
5. The dynamic management method for a menu according to claim 1 , wherein after generating the menu display file, the method further comprises: sending the menu display file to a corresponding display interface, and updating a menu on the display interface.
6. A server, comprising a processor, a memory, and a data bus, wherein the data bus is configured to realize connection and communication between the processor and the memory; and the processor is configured to execute a memory model calculation program stored in the memory so as to implement the following steps: collecting, when a function on an independently deployed functional unit changes, a menu change message generated when the function changes; receiving the menu change message through a message-oriented middleware deployed in a cluster mode, and broadcasting the menu change message; and monitoring and parsing, at a portal unit, the menu change message to obtain a menu display file, wherein before collecting the menu change message generated when the function changes, the method further comprises: saving menu information corresponding to respective functional units separately by using a distributed database or a distributed cache to generate a menu set, wherein after monitoring and parsing, at the portal unit, the menu change message, and updating the menu displayed on the interface, the method further comprises: acquiring, when the portal unit provides a set of some functions, menu identification information corresponding to a menu displayed by the portal unit and the menu set, and obtaining an intersection of the menu identification information and the menu set as a set of merged menus; and organizing the set of merged menus into a menu tree structure, and converting menu tree nodes according to a display format to generate a menu display file.
7. A dynamic management system for a menu, wherein the system comprises at least one server and a plurality of clients, the server being provided therein with a plurality of functional units and a plurality of portal units, and the clients each being provided with a display interface corresponding to a respective one of the portal units; and wherein in the system, the following steps are implemented: collecting, when a function on an independently deployed functional unit changes, a menu change message generated when the function changes; receiving the menu change message through a message-oriented middleware deployed in a cluster mode, and broadcasting the menu change message; monitoring and parsing, at a portal unit, the menu change message to obtain a menu display file; and sending the menu display file to a corresponding display interface, and updating a menu on the display interface, wherein before collecting the menu change message generated when the function changes, the method further comprises: saving menu information corresponding to respective functional units separately by using a distributed database or a distributed cache to generate a menu set, wherein after monitoring and parsing, at the portal unit, the menu change message, and updating the menu displayed on the interface, the method further comprises: acquiring, when the portal unit provides a set of some functions, menu identification information corresponding to a menu displayed by the portal unit and the menu set, and obtaining an intersection of the menu identification information and the menu set as a set of merged menus; and organizing the set of merged menus into a menu tree structure, and converting menu tree nodes according to a display format to generate a menu display file.
Unknown
November 9, 2021
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.