Dynamic view processing system based on configuration
By designing a configuration-based dynamic view processing system, the problem that existing software systems cannot dynamically adjust the user interface and permissions is solved, personalized user interface, fine permission management and high flexibility are achieved, and user experience and system security are improved.
Patent Information
- Application Number
- CN202510066629.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-16
- Publication Date
- 2025-04-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing software systems lack flexibility and adaptability and cannot be dynamically adjusted according to the specific needs and permissions of users, resulting in poor user experience and insufficient security.
Design a dynamic view processing system based on configuration, including configuration management module, view generation module, permission control module and user interface. By storing and managing user permission configurations through the configuration management module, the view generation module dynamically builds a user interface based on configuration information, and the permission control module verifies user operation requests to ensure permission consistency.
It realizes a highly personalized user interface to meet the needs of different users, improves user experience and work efficiency; through fine permission management, the system security and data protection are enhanced; the system maintenance and development difficulty is reduced, and the system flexibility and maintainability are improved.
Smart Images

Figure CN119902797A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer software, and in particular to a configuration-based dynamic view processing system. Background Art
[0002] With the acceleration of enterprise informatization and digital transformation, users have an increasing demand for customization and personalization of software systems. However, existing software systems often use fixed interface design and view display, lacking flexibility and adaptability, and cannot be dynamically adjusted according to users' specific needs and permissions. Summary of the invention
[0003] In order to solve the above technical problems, the present invention provides a configuration-based dynamic view processing system.
[0004] The technical solution of the present invention is:
[0005] A configuration-based dynamic view processing system includes a configuration management module, a view generation module, an authority control module and a user interface.
[0006] in,
[0007] The configuration management module is responsible for storing and managing user permission configuration information, including data permissions, button permissions, and field display permissions.
[0008] The view generation module dynamically builds the user interface view according to the configuration information, including the configuration parser, data adapter and view builder.
[0009] The permission control module verifies the consistency between user operation requests and configuration information, ensuring that users can only access data and operations within their permission scope.
[0010] The user interface displays the views built by the view generation module and provides a real-time feedback mechanism.
[0011] Furthermore,
[0012] The configuration management module further includes:
[0013] The data permission configuration submodule defines the user's access level to different data sets;
[0014] The button permission configuration submodule specifies which action buttons on the user interface are visible or clickable to the user;
[0015] The field display configuration submodule controls which fields need to be displayed on the user interface.
[0016] The view generation module includes:
[0017] Configuration parser, used to parse user configuration information;
[0018] Data adapter, which filters data from the data source according to the user's permission configuration;
[0019] View builder dynamically builds the views of the user interface based on the parsed configuration and adapted data.
[0020] The permission control module includes:
[0021] Request interception mechanism, used to intercept when a user initiates an operation request;
[0022] Permission matching algorithm, compares user request with permission configuration to determine whether authorization is granted;
[0023] Response generation logic generates an allow or deny response based on the permission matching result.
[0024] The user interface includes:
[0025] Dynamic content display area, used to display data that users are authorized to view;
[0026] Interactive operation response area, responding to user operations;
[0027] Real-time feedback mechanism provides operation feedback to users based on the response of the permission control module.
[0028] Going further,
[0029] The view generation module uses the configuration parsing algorithm to parse the user's permission configuration; builds query conditions based on the configuration information and filters data from the data source.
[0030] The view generation module uses component-based design to build interface components; it dynamically combines interface components according to configuration information to generate the final view.
[0031] The working steps of the permission control module include:
[0032] Receive user operation requests;
[0033] Use the permission verification algorithm to compare the request with the permission configuration;
[0034] Generates action responses and sends feedback to the user.
[0035] The present invention has the following characteristics
[0036] Highly personalized: The system can generate unique views based on each user's configuration to meet the personalized needs of different users.
[0037] Flexibility and scalability: Through the configuration management module, the system can easily adapt to new business needs or user changes without large-scale code rewriting or system upgrades.
[0038] Improve user experience: The user interface is dynamically displayed according to the user's configuration, reducing the user's workload when searching for information and performing tasks, thereby improving work efficiency and satisfaction.
[0039] Refined permission management: Through detailed permission control, the system ensures that users can only access authorized data and functions, enhancing the security of the system.
[0040] Reduced maintenance costs: Since view generation relies on configuration rather than hard coding, system maintenance becomes simpler and cost-effective.
[0041] Cross-platform compatibility: The system is designed with cross-platform use in mind and can adapt to different devices and operating systems, increasing user access convenience.
[0042] Real-time responsiveness: The system can respond to user configuration changes in real time and quickly update views, reducing waiting time and improving system response speed.
[0043] Data security: Through the permission control module, the system can effectively prevent unauthorized data access and operation, and protect the integrity and privacy of the data.
[0044] Easy to integrate: The system design takes into account the integration with other enterprise systems and provides standardized interfaces for easy deployment and use in the existing technical environment.
[0045] Environmental adaptability: The system can adapt to different business scenarios and application areas and has wide applicability.
[0046] Reduce erroneous operations: Since users can only see and operate interface elements for which they have permission, this reduces the possibility of erroneous operations and improves the accuracy of operations.
[0047] Facilitate decision making: The system helps users make decisions faster by displaying the data and information that they care about most.
[0048] The beneficial effects of the present invention are
[0049] 1. Enhance user satisfaction: Personalized view configuration can better meet the specific needs of users, thereby improving user satisfaction and loyalty.
[0050] 2. Improve operational efficiency: The user interface is dynamically adjusted according to user configuration, reducing the time users spend switching between different views and improving work efficiency.
[0051] 3. Optimize resource allocation: The system can reasonably allocate data and interface resources according to the user's authority configuration, avoiding waste of resources.
[0052] 4. Strengthen data protection: The sophisticated permission management mechanism effectively prevents data leakage and unauthorized access, and enhances data security.
[0053] 5. Reduce development and maintenance difficulty: Configuration-driven view generation reduces the need for hard coding and simplifies the development and maintenance process.
[0054] 6. Improve system maintainability: Centralized management of configuration information makes system maintenance more centralized and efficient.
[0055] 7. Promote business adaptability: The system can quickly adapt to business changes and support the rapid deployment of new business processes.
[0056] 8. Reduce training costs: Personalization of the user interface reduces the time it takes for new users to become familiar with the system and reduces training costs.
[0057] 9. Improve decision-making quality: The system helps users make more accurate decisions by displaying customized data and information.
[0058] 10. Enhance system accessibility: The system supports multiple devices and platforms, improving accessibility for different user groups.
[0059] 11. Improve system stability: Reduce erroneous operations through permission control, thereby reducing the possibility of system errors.
[0060] 12. Support compliance requirements: The system can adjust the user interface and data access rights according to the legal and regulatory requirements of different regions to support corporate compliance.
[0061] 13. Promote technological progress: The innovativeness of this system has promoted technological progress in the fields of software engineering and user interface design.
[0062] 14. Improve market competitiveness: The uniqueness and advantages of the system can enhance the competitiveness of enterprises in the market. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 It is a schematic diagram of the working structure of the present invention;
[0064] Figure 2 It is a schematic diagram of the logical timing diagram workflow;
[0065] Figure 3 It is a schematic diagram of the workflow of the configuration management module;
[0066] Figure 4 It is a schematic diagram of the workflow of the view generation module;
[0067] Figure 5 This is a schematic diagram of the work flow of the permission control module;
[0068] Figure 6 is a user interface workflow diagram. DETAILED DESCRIPTION
[0069] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0070] The present invention relates to a configuration-based dynamic view processing system, as shown in the figure Figure 1 Architecture design diagram.
[0071] 1) Configuration management module
[0072] The configuration management module is the core of the system and is responsible for storing, updating and maintaining user permission configuration. This module is divided into the following submodules:
[0073] Data permission configuration submodule: allows definition of user access levels to different data sets, including but not limited to read, write, modify and delete permissions.
[0074] Button permission configuration submodule: defines which action buttons on the user interface are visible or clickable to users, such as "Save", "Delete", etc.
[0075] Field display configuration submodule: controls which fields need to be displayed on the user interface, as well as the order and format of display.
[0076] 2) View generation module
[0077] The view generation module is the core of realizing personalized views, which includes the following key steps:
[0078] Configuration parser: Parse the user's permission configuration to determine the data scope and interface elements that the user can access.
[0079] Data adapter: Gets corresponding data from the backend database or data source according to the user's permission configuration.
[0080] View Builder: Builds the layout and components of the user interface based on the parsed configuration and adapted data.
[0081] View renderer: renders the constructed view to the front end and provides it for user interaction.
[0082] 3) Permission control module
[0083] The permission control module ensures that users can only access data and perform operations within their permission scope, including:
[0084] Access Validator: Performs real-time validation on user requests to ensure that the request complies with the user's permission configuration.
[0085] Operation interceptor: intercepts before the user performs an operation to verify the legitimacy of the operation.
[0086] 4) User Interface
[0087] The user interface displays dynamically generated views based on the information provided by the view generation module and provides the following functions:
[0088] Data display: Displays the data that the user has permission to view.
[0089] Operation execution: Allows users to perform operations for which they have permissions.
[0090] Field Editing: Users can edit fields for which they have permissions.
[0091] like Figure 2 As shown:
[0092] Configuration Management Module
[0093] a) User configuration input interface: Provides a user interface that allows administrators or users to input and modify permission configuration.
[0094] b) Configuration storage mechanism: Store configuration information in a database for quick retrieval and update.
[0095] c) Configuration verification logic: Verify the rationality and validity of the configuration when the configuration is updated.
[0096] View Generation Module
[0097] a) Configuration information retrieval: According to the user identity, the corresponding permission configuration is retrieved from the configuration management module.
[0098] b) Data screening logic: Based on the data permission configuration, filter the data that the user has permission to access.
[0099] c) Interface element construction: Build user interface elements based on button permissions and field display configuration.
[0100] d) View template application: Apply predefined or dynamically generated templates to combine data and interface elements into a complete view.
[0101] Permission control module
[0102] a) Request interception mechanism: intercept when the user initiates an operation request.
[0103] b) Permission matching algorithm: Compare user requests with permission configuration to determine whether authorization is granted.
[0104] c) Response generation logic: Generates an allow or deny response based on the permission matching result.
[0105] user interface
[0106] a) Dynamic content display: Dynamically display content based on the data and interface elements provided by the view generation module.
[0107] b) Interactive operation response: respond to user clicks, input and other operations, and interact with the permission control module.
[0108] c) Real-time feedback mechanism: Provide real-time operation feedback to users based on the response of the permission control module.
[0109] The core of the present invention is to drive the dynamic generation of views through user configuration, thereby achieving the following main goals:
[0110] 1) Personalized view generation: The system can dynamically generate personalized views that meet the needs of each user based on their configuration information, including data permissions, button permissions, and field permissions. In this way, different users can see different interface layouts and data displays when accessing the same system, improving user experience.
[0111] 2) High flexibility: Through configuration-driven approach, the system can flexibly adapt to the changing needs of different users without complex code modification or system upgrade. Users can quickly update and customize views through simple configuration changes.
[0112] 3) Permission control: The system ensures that users can only access and operate authorized data and functions through sophisticated permission management. This not only improves the security of the system, but also avoids the risk of data leakage and misoperation.
[0113] 4) Easy to maintain and expand: Since the generation of views relies on configuration rather than hard coding, the maintenance and expansion of the system becomes easier. When adding new user types or adjusting permission configurations, there is no need to modify the core code of the system, only the configuration information needs to be updated.
[0114] 5) Improve work efficiency: By showing users the data they care about most and the operations they use most frequently, the system can help users obtain information and complete tasks faster, thereby improving overall work efficiency.
[0115] 6) Adaptability to multiple scenarios: The system and method of the present invention are not only applicable to a single enterprise environment, but can also be extended to a variety of different business scenarios and application fields, such as e-commerce, social media, enterprise management systems, etc.
[0116] By achieving the above objectives, the present invention will provide users with a more intelligent, personalized and secure operating environment, while providing software developers and maintenance teams with an efficient and flexible system design and implementation solution.
[0117] The above description is only a preferred embodiment of the present invention, which is only used to illustrate the technical solution of the present invention, and is not used to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A configuration-based dynamic view processing system, characterized in that: include: Configuration management module, used to store and manage user permission configuration information; The view generation module dynamically builds the user interface view according to the configuration information provided by the configuration management module; The permission control module is used to verify the consistency between the user's operation request and the configuration information; The user interface displays the views built by the view generation module and allows users to interact.
2. The system according to claim 1, characterized in that The configuration management module further includes: The data permission configuration submodule defines the user's access level to different data sets; The button permission configuration submodule specifies which operation buttons on the user interface are visible or clickable to users; the field display configuration submodule controls which fields need to be displayed on the user interface.
3. The system according to claim 1, characterized in that The view generation module includes: Configuration parser, used to parse user configuration information; Data adapter, which filters data from the data source according to the user's permission configuration; View builder dynamically builds the views of the user interface based on the parsed configuration and adapted data.
4. The system according to claim 1, characterized in that The permission control module includes: Request interception mechanism, used to intercept when a user initiates an operation request; Permission matching algorithm, compares user request with permission configuration to determine whether authorization is granted; Response generation logic generates an allow or deny response based on the permission matching result.
5. The system according to claim 1, characterized in that The user interface includes: Dynamic content display area, used to display data that users are authorized to view; Interactive operation response area, responding to user operations; Real-time feedback mechanism provides operation feedback to users based on the response of the permission control module.
6. The system according to claim 3, characterized in that The view generation module uses the configuration parsing algorithm to parse the user's permission configuration; builds query conditions based on the configuration information and filters data from the data source.
7. The system according to claim 3, characterized in that The view generation module uses component-based design to build interface components; it dynamically combines interface components according to configuration information to generate the final view.
8. The system according to claim 4, characterized in that The working steps of the permission control module include: Receive user operation requests; Use the permission verification algorithm to compare the request with the permission configuration; Generates action responses and sends feedback to the user.
Citation Information
Patent Citations
Function authority control method and system
CN115618408A