Configuration management system supporting Web visual monitoring
By designing a configuration management system that supports Web visual monitoring, and utilizing the overlap detection mechanism, user preferences, and device status to optimize the control layout, the problem of lack of clarity and adaptability in the control layout of the PLC system is solved, and the user experience is significantly improved.
Patent Information
- Application Number
- CN202411443854.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-01-21
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, the control layout of the PLC system lacks a clear visual hierarchy, and the interface layout cannot be adjusted according to user behavior or preferences, and the interface layout remains unchanged under different device operating modes, resulting in poor user experience.
Design a configuration management system that supports Web visual monitoring, including Web servers, back-end servers and terminal display units. The back-end server introduces an overlapping detection mechanism between controls, user preferences and device status factors to optimize the position and size of controls. The custom module allows users to adjust the interface layout according to needs and dynamically adjust the control layout in different device states.
By introducing an overlap detection mechanism and user preferences, the interface is ensured to be clear and user confusion is avoided; control positions are adjusted through device status to enhance system intelligence and adaptability, and improve user experience.
Smart Images

Figure CN119336593A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of visualization technology, in particular to a configuration management system supporting Web visualization monitoring. Background Art
[0002] With the development of Industry 4.0, factory automation and intelligence are increasing, leading to a growing demand for real-time monitoring and remote management of equipment. As a core component of industrial automation systems, PLCs are responsible for executing various control tasks. Their reliability and stability directly impact the efficiency and safety of the entire production process. With the enhancement of PLC system functionality and technological advancements, PLC programs are becoming increasingly complex, posing challenges for development, testing, deployment, and ongoing maintenance. Traditional manual configuration and management methods are no longer able to meet the high demands of modern industrial environments. To address these challenges, the modern industrial automation field is shifting towards more intelligent and efficient management solutions. This has led to the emergence of visualization systems, which enable remote access and control of PLCs over the network. This simplifies the configuration process, reduces error rates, and provides a more flexible and dynamic interface display, allowing operators to quickly respond and adjust according to actual needs. However, existing control layouts lack a clear visual hierarchy and fail to adapt to user behavior or preferences. This results in a consistent interface for every user. Furthermore, the interface layout does not change across different device operating modes, failing to adapt to the current device status and resulting in a poor user experience. Therefore, a configuration management system supporting web-based visualization monitoring is designed. Summary of the Invention
[0003] The purpose of the present invention is to provide a configuration management system that supports Web visual monitoring to solve the problems that the layout of the controls proposed in the above-mentioned background technology lacks a clear visual hierarchy, does not adjust the interface layout according to user behavior or preferences, and does not change accordingly under different device operation modes.
[0004] To achieve the above object, the present invention provides a configuration management system that supports Web-based visual monitoring, including: A web server provides a web-based interface for user access, can process user requests, and call the data acquisition module to obtain the latest data; A back-end server is used to collect, process, and analyze the operating parameters of the PLC system, generate alarms for abnormal data, and allow users to customize different alarm style templates according to their needs. Specifically, users can drag controls to adjust their position and size. The position and size of controls are optimized by introducing an overlap detection mechanism between controls, user preferences, and device status factors. Finally, the alarm records are displayed on the terminal display unit in a user-defined style. Among them, the back-end server includes a data acquisition module, a status monitoring module and an alarm management module; Terminal display unit: used to display the collected device data and alarm records based on the custom module.
[0005] As a further improvement of the present technical solution, the user's request at least includes querying device status and viewing alarm records.
[0006] As a further improvement of this technical solution, the back-end server includes: A data acquisition module, which communicates with an interface of a target device and collects various operating parameters from the PLC system in real time or periodically through the communication with the interface of the target device; A status monitoring module is used to detect anomalies in various collected operating data and status information and predict potential equipment failures; Alarm management module: The alarm management module can alarm for predicted PLC system failures and display the alarm records in the terminal display unit.
[0007] As a further improvement of the present technical solution, the potential equipment failures include mechanical failures, electrical failures, electronic failures, thermal failures, software failures and communication failures.
[0008] As a further improvement of the present technical solution, the alarm management module includes a custom module and an alarm event module; the custom module allows users to customize different alarm style templates according to their needs; the alarm event module generates alarm records based on the collected operating parameters of the PLC system and the conditions of the corresponding alarm events.
[0009] As a further improvement of this technical solution, the specific steps of the custom module are as follows: S1. Create a user interface and use grid layout to divide the page into Rows and A grid of columns, with each control occupying a corresponding row and column space in the grid. A grid layout algorithm is used to allow users to adjust the position and size of the space through drag and drop. When a control is dragged, the position and size of the control are updated in real time. S2. When the user submits the page, the customization module saves the user's customized configuration to the database, loads the user's customized configuration from the database, and renders the loaded configuration to the terminal display unit.
[0010] As a further improvement of this technical solution, the S1 is specifically as follows: Control location: ; ; in, and is the position coordinate of the control in the grid; For controls The starting position of the occupied row; For controls The starting position of the occupied column; For controls Occupies the end of the line; For controls Occupies the end of the column; Control size: ; ; in, For controls Width; For controls height; The width of each cell; The height of each cell; ; ; in, After dragging The width of the control; After dragging The height of the space; Specifies the location coordinates.
[0011] As a further improvement to this technical solution, the backend server introduces an overlap detection mechanism between controls, user preferences, and device status factors into the position and size of controls for optimization. The optimization is as follows: Overlap detection function: ; in, For controls Whether it overlaps with other controls; User Preferences: ; Device Status: ; in, The current status of the device; A function that adjusts the position of the control according to the device status; To summarize, the control locations are: ; in, After optimization The location of the controls; For optimized controls The starting position of the occupied row; For optimized controls The starting position of the occupied column; Control size: ; ; in, For optimized controls Width; For optimized controls Occupies the end of the line; For optimized controls height; For optimized controls Occupies the end of the line; is the dynamic adjustment factor of width; is the dynamic adjustment factor of height; The size of the control after dragging: ; ; in, After the optimization, drag The width of the control; After the optimization, drag The height of the control.
[0012] As a further improvement of the present technical solution, the alarm event module generates an alarm record based on the collected operating parameters of the PLC system and the conditions of the corresponding alarm event, as follows: S3. Real-time monitoring of the collected operating parameters of the PLC system, defining upper and lower thresholds for each parameter, and configuring the upper and lower thresholds of each parameter in the backend server; S4. Set the time window and duration, and the alarm trigger meets the time window and duration conditions; S5. Define the logical conditions between the operating parameters and set priorities for different logical conditions according to their importance and urgency; S6. Consider the current working status of the device and external environmental factors, and adjust the threshold range, time window, duration, and priority. S7. When all conditions are met, the system generates an alarm record.
[0013] As a further improvement of the present technical solution, the alarm record includes alarm time, alarm type, alarm parameters, alarm conditions, device information and context information.
[0014] Compared with the prior art, the present invention has the following beneficial effects: In this configuration management system that supports Web visual monitoring, an overlap detection mechanism between controls, user preferences, and device status factors are introduced to optimize the position and size of controls. The overlap detection function ensures that controls do not overlap, making the interface clearer and avoiding user confusion during use. The introduction of user preferences makes the control layout more in line with user habits and needs, improving the user experience. The control position is adjusted according to the device status, so that the system can dynamically adjust the position and size of controls in different device states, enhancing the intelligence and adaptability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is the overall flow chart of the present invention; Figure 2 This is a system flow diagram of the back-end server in the present invention; The meaning of each number in the figure is: 1. Web server; 2. Back-end server; 21. Data acquisition module; 22. Status monitoring module; 23. Alarm management module; 3. Terminal display unit. DETAILED DESCRIPTION
[0016] The following will provide a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention. Example
[0017] See also Figure 1-2As shown, a configuration management system supporting Web visual monitoring is provided, which is mainly used to monitor and manage the PCL system. The PLC system is a programmable logic controller, a computer system used for industrial automation control. In the configuration management system supporting Web visual monitoring, the monitoring and management of the PLC system will be more convenient and intuitive. Users can access the system interface through a browser, view the status information of the PLC in real time, adjust parameters, perform fault diagnosis and other operations. In addition, alarm notifications can be set, and when the system detects an abnormality, it automatically sends a warning to relevant personnel. The system includes a Web server 1, a back-end server 2 and a terminal display unit 3; Among them, the Web server 1 provides a Web-based interface for user access, can process user requests, and call the data acquisition module 21 to obtain the latest data; The user's request at least includes querying the device status and viewing the alarm record; specifically, it receives the user's HTTP request, parses the request, calls the backend server 2 for processing, and returns the processing result to the user.
[0018] Web-based applications can run on any device that supports a web browser, including desktop computers, tablets, and smartphones, increasing user flexibility and convenience. This not only improves system availability and user experience, but also reduces operating costs, enhances system security and reliability, and provides users with an efficient and convenient monitoring and management tool. The back-end server 2 is used to collect, process and analyze the operating parameters of the PLC system, and to generate alarms for abnormal data. At the same time, it allows users to customize different alarm style templates according to their needs, and finally displays the alarm records in the user-defined style on the terminal display unit 3; Real-time monitoring and timely alarms improve system reliability and stability, reducing losses caused by equipment failures. Efficient anomaly detection and alarm management mechanisms reduce resource waste and improve resource utilization. Flexible customization options make the user experience more personalized and improve user satisfaction. The backend server 2 includes a data acquisition module 21, a status monitoring module 22 and an alarm management module 23; The data acquisition module 21 communicates with the interface of the target device to ensure the integrity and consistency of data collection; it collects various operating parameters from the PLC system in real time or periodically to ensure the timeliness and accuracy of the data; The condition monitoring module 22 is used to detect anomalies in the collected operating data and status information, predict potential equipment failures, implement predictive maintenance, and reduce unplanned downtime; Potential equipment failures include mechanical failures, electrical failures, electronic failures, thermal failures, software failures, and communication failures; Mechanical failures include wear and tear of equipment parts due to friction, vibration, and other factors after prolonged use, which can lead to performance degradation, part breakage due to material fatigue or stress concentration, and loosening of fasteners such as screws and nuts due to vibration, which can affect the stability of the equipment structure. Electrical faults include insulation damage in the circuit causing current to go directly to ground or short circuit between phases without passing through the load, cracking, aging or damage of the line or components causing circuit interruption, current exceeding the rated value, which may cause the fuse to blow or the protective device to trip, and signal distortion or malfunction caused by external electromagnetic fields; Electronic failures include sensor sensitivity loss or complete failure, which prevents accurate detection of equipment status, and hardware or software problems in the control system, which affect the normal operation of the equipment; Thermal failures include poor heat dissipation or cooling system failure leading to equipment overheating, which may cause fire or other safety incidents, and temperature changes leading to unstable component performance; Software failures include software programming errors or version incompatibility leading to abnormal system operation, storage media failure or human error leading to loss of important data, and abnormal termination of the operating system or application; Communications failures include communications problems caused by network equipment failure or misconfiguration leading to communication interruptions, packet loss, delays, or errors; The alarm management module 23 can generate an alarm for predicted PLC system failures and display the alarm records in the terminal display unit 3; The alarm management module 23 includes a custom module and an alarm event module; the custom module allows users to customize different alarm style templates according to their needs; the custom module allows users to customize alarm style templates according to their own needs, which not only improves the readability and pertinence of the alarm information, but also enhances the user experience, ensuring that the alarm information is conveyed to the user in the most effective way; the alarm event module generates alarm records based on the collected operating parameters of the PLC system and the conditions of the corresponding alarm events; it realizes timely capture and response to abnormal situations, thereby reducing resource waste, improving resource utilization, ensuring stable operation and efficient management of the system, and not only enhancing the reliability and response speed of the system, but also greatly improving maintenance efficiency and user experience.
[0019] The specific steps for customizing a module are as follows: S1. Create a user interface and use grid layout to divide the page into Rows and A grid of columns, with each control occupying a corresponding row and column space. A grid layout algorithm is used to allow users to adjust the position and size of the space through drag and drop. As controls are dragged, their position and size are updated in real time, ensuring that users can instantly see the results of their operations. Control position and size are optimized by incorporating an overlap detection mechanism between controls, user preferences, and device status factors. S2. When the user submits the page, the customization module saves the user's customized configuration to the database, ensuring that even if the user leaves the system, their settings will not be lost. When the user logs into the system again, they can see the interface layout they previously set, which improves work continuity and facilitates maintenance and management by the system administrator. It also facilitates subsequent backup and recovery. At the same time, the user's customized configuration is loaded into the database and rendered to the terminal display unit 3, presenting the loaded configuration information to the user so that the user can continue to use their customized interface layout.
[0020] Custom modules not only enhance the user experience but also ensure system personalization and adaptability, allowing users to adjust the interface layout to suit their needs and preferences. Furthermore, by saving user-defined configurations in a database, the system persists user settings, ensuring a consistent experience across multiple uses of the system. These features work together to improve system usability and user satisfaction.
[0021] S1 is as follows: Control location: ; This means the control The position occupied in the row direction is from arrive , which means that the control occupies a continuous row interval in the row direction; ; This means the control The position in the column direction is from arrive , which means that the control occupies a continuous column interval in the column direction; in, and It is the position coordinate of the control in the grid; For controls The starting position of the occupied row; For controls The starting position of the occupied column; For controls Occupies the end of the line; For controls Occupies the end of the column; Control size: ; Controls Width is the width of each cell multiplied by the number of columns it occupies For example, if the control occupies two columns, its width is twice the cell width; ; Controls Height is the height of each cell multiplied by the number of rows it occupies For example, if the control occupies three rows, its height is three times the cell height; in, For controls Width; For controls height; The width of each cell; The height of each cell; ; ; in, After dragging The width of the control; After dragging The height of the space; is the specified location coordinate; To prevent controls from overlapping, the system needs to detect the position of controls in real time as the user drags them. If overlap is detected, a prompt is given or overlap is prevented. Therefore, the control position and size are optimized by incorporating an overlap detection mechanism, user preferences, and device status factors. The optimized results are as follows: To prevent overlap between controls, the overlap detection mechanism assumes For controls Whether it overlaps with other controls, overlap detection function: ; in, For controls Whether it overlaps with other controls; If the control If it overlaps with an existing control, you need to adjust its position or size until it no longer overlaps. Introducing user preferences , so that the layout of the control is more in line with the user's preferences. Assuming that the user preference is a weight matrix , where each element represents the preference degree of the corresponding position; User Preferences: ; That is, the position with the highest user preference is selected as the position of the control; Device Status: ; in, The current status of the device; A function that adjusts the position of the control according to the device state; , adjust the layout of controls. For example, if the equipment is under maintenance, you may need to place maintenance-related controls in a prominent location; To summarize, the control locations are: ; in, After optimization The location of the controls; For optimized controls The starting position of the occupied row; For optimized controls The starting position of the occupied column; Control size: ; ; in, For optimized controls Width; For optimized controls Occupies the end of the line; For optimized controls height; For optimized controls Occupies the end of the line; is the dynamic adjustment factor of width; is the dynamic adjustment factor of height; The size of the control after dragging: ; ; in, After the optimization, drag The width of the control; After the optimization, drag The height of the control; Through the overlap detection function, we ensure that controls do not overlap, making the interface clearer and avoiding confusion for users during use. By introducing user preferences, we make the control layout more in line with user habits and needs, improving the user experience. By adjusting the control position through the device status, the system can dynamically adjust the position and size of controls in different device states, enhancing the intelligence and adaptability of the system.
[0022] The alarm event module generates alarm records based on the collected operating parameters of the PLC system and the corresponding alarm event conditions, as follows: S3. Real-time monitoring of the collected operating parameters of the PLC system, defining upper and lower thresholds for each parameter, and configuring the upper and lower thresholds of each parameter in the backend server 2. By setting the thresholds, the system can clearly know when to trigger an alarm, avoiding false alarms and missed alarms, ensuring the accuracy of the alarm, reducing unnecessary alarms, and improving system reliability. S4. Set the time window and duration. The alarm trigger must meet the time window and duration conditions. For example, a parameter must exceed the threshold for a certain period of time (such as 5 minutes) to trigger the alarm, and only abnormalities occurring within this window will trigger the alarm. For example, the alarm is only triggered during working hours to ensure that the alarm is only effective within a specific time period, avoiding false alarms during non-working hours, reducing interference, and improving the effectiveness of the alarm. Setting the duration can avoid instantaneous parameter fluctuations triggering the alarm, reduce false alarms, ensure that only truly continuous abnormal conditions will trigger the alarm, and improve the credibility of the alarm.
[0023] S5. Define logical conditions between operating parameters. Through logical conditions, you can more accurately determine when to trigger an alarm, avoid misjudgment of a single parameter, improve the complexity and accuracy of the alarm, ensure that the alarm is triggered only when multiple parameters are abnormal at the same time, reduce the false alarm rate, set priorities for different logical conditions based on their importance and urgency, ensure that important alarms are handled first, and improve the system's ability to handle emergency situations; S6. Consider the current working status of the equipment and external environmental factors, and adjust the threshold range, time window, duration, and priority. The current working status includes normal operating mode, maintenance mode, and start or stop mode. In normal operating mode, the system should be in optimal performance. Thresholds can be set more strictly to ensure data accuracy and efficient operation of the system. During maintenance, it may be necessary to relax certain thresholds or adjust priorities to allow some normal maintenance activities (such as backup operations) to not trigger alarms. In start or stop mode, the system may be unstable or temporarily unavailable. At this time, it may be necessary to temporarily shut down certain monitoring or adjust thresholds to avoid false alarms. External environmental changes include natural, man-made, and infrastructure changes. Natural environmental changes, such as changes in temperature and humidity, can affect hardware performance. In such cases, thresholds may need to be dynamically adjusted based on data from environmental sensors to adapt to the new conditions. Man-made environmental changes may include sudden increases in network traffic or new security threats. Thresholds may need to be adjusted to address these changes, such as by raising the priority of security incidents. If new servers are added to the data center or old servers are retired, system load may need to be reassessed and thresholds adjusted accordingly to reflect the new capacity.
[0024] S7. When all conditions are met, the system generates an alarm record to improve the accuracy and reliability of the alarm record and avoid invalid alarms. The alarm record includes the alarm time, alarm type, alarm parameters, alarm conditions, device information and context information; Finally, the terminal display unit 3 is used to display the collected device data and alarm records based on the custom module.
[0025] The basic principles, main features, and advantages of the present invention are shown and described above. It should be understood by those skilled in the art that the present invention is not limited to the above-described embodiments. The above-described embodiments and descriptions are merely preferred examples of the present invention and are not intended to limit the present invention. Various changes and modifications may be made to the present invention without departing from the spirit and scope of the present invention, and such changes and modifications fall within the scope of the invention claimed.
Claims
1. A configuration management system that supports Web visual monitoring, characterized by: include: A web server (1), wherein the web server (1) provides a web-based interface for user access, is capable of processing user requests, and simultaneously calls a data acquisition module (21) to obtain the latest data; A back-end server (2), the back-end server (2) is used to collect, process and analyze the operating parameters of the PLC system, and to generate an alarm for abnormal data. At the same time, the user is allowed to customize different alarm style templates according to needs, specifically, the user drags the control to adjust its position and size, and the position and size of the control are optimized by introducing an overlap detection mechanism between controls, user preferences and device status factors, and finally the alarm record display is displayed on the terminal display unit (3) in a user-defined style; The back-end server (2) includes a data acquisition module (21), a status monitoring module (22) and an alarm management module (23); Terminal display unit (3): used for displaying the collected device data and alarm records based on the custom module.
2. The configuration management system supporting Web visual monitoring according to claim 1, characterized in that: The user's request at least includes querying device status and viewing alarm records.
3. The configuration management system supporting Web visual monitoring according to claim 2, characterized in that: The backend server (2) comprises: A data acquisition module (21), the data acquisition module (21) communicates with an interface of a target device, and collects a variety of operating parameters from the PLC system in real time or periodically through the communication with the interface of the target device; A status monitoring module (22), the status monitoring module (22) being used to perform abnormality detection on the collected various operating data and status information, and predict potential equipment failures; Alarm management module (23): the alarm management module (23) can alarm for predicted PLC system faults and display the alarm records in the terminal display unit (3).
4. The configuration management system supporting Web visual monitoring according to claim 3 is characterized in that: The potential equipment failures include mechanical failure, electrical failure, electronic failure, thermal failure, software failure and communication failure.
5. The configuration management system supporting Web visual monitoring according to claim 4 is characterized in that: The alarm management module (23) comprises a custom module and an alarm event module; the custom module allows the user to customize different alarm style templates according to needs; the alarm event module generates an alarm record based on the collected operating parameters of the PLC system and the conditions of the corresponding alarm event.
6. The configuration management system supporting Web visual monitoring according to claim 5, characterized in that: The specific steps of the custom module are as follows: S1. Create a user interface and use a grid layout to divide the page into Rows and A grid composed of columns, where each control occupies a corresponding row and column space in the grid. The grid layout algorithm allows users to adjust the position and size of the space through drag and drop. When dragging a control, the position and size of the control are updated in real time; S2. When the user submits the page, the custom module saves the user's custom configuration to the database, loads the user's custom configuration from the database, and renders the loaded configuration to the terminal display unit (3).
7. The configuration management system supporting Web visual monitoring according to claim 6, characterized in that: The S1 is specifically as follows: Control location: ; ; in, and is the position coordinate of the control in the grid; For controls The starting position of the occupied row; For controls The starting position of the occupied column; For controls Occupies the end of the line; For controls Occupies the end of the column; Control size: ; ; in, For controls Width; For controls For controls Height; For the width of each cell; is the height of each cell; ; ; in, is the number after dragging is the number after dragging The width of the control; After dragging The height of the space; To specify the location coordinates.
8. The configuration management system supporting Web visual monitoring according to claim 7, characterized in that: The backend server (2) introduces an overlap detection mechanism between controls, user preferences and device status factors into the position and size of controls for optimization. The optimization is as follows: Overlap detection function: ; in, For controls Whether it overlaps with other controls; User Preferences: ; Device status: ; in, is the current status of the device; A function that adjusts the position of controls according to the device state; In summary, the control location: ; in, After optimization The location of the controls; For optimized controls The starting position of the occupied row; For optimized controls The starting position of the occupied column; Control size: ; ; in, For optimized controls Width; For optimized controls Occupies the end of the line; For optimized controls Height; For optimized controls Occupies the end of the line; is the dynamic adjustment factor of width; is the dynamic adjustment factor of height; The size of the control after dragging: ; ; in, After the optimization, drag The width of the control; After the optimization, drag The height of the control.
9. The configuration management system supporting Web visual monitoring according to claim 8, characterized in that: The alarm event module generates an alarm record based on the collected operating parameters of the PLC system and the conditions of the corresponding alarm event, as follows: S3, real-time monitoring of the collected operating parameters of the PLC system, defining an upper threshold and a lower threshold for each parameter, and configuring the upper threshold and the lower threshold of each parameter to the backend server (2); S4. Set the time window and duration, and the alarm trigger meets the time window and duration conditions; S5. Define the logical conditions between the operating parameters and set priorities for different logical conditions according to their importance and urgency; S6. Consider the current working status of the device and external environmental factors, and adjust the threshold range, time window, duration, and priority; S7. When all conditions are met, the system generates an alarm record.
10. The configuration management system supporting Web visual monitoring according to claim 9, characterized in that: The alarm record includes alarm time, alarm type, alarm parameters, alarm conditions, device information and context information.
Citation Information
Patent Citations
Method and system for achieving television interface configuration
CN103618955A
Floating icon display system and method
CN104238869A
Complex parameter-based configuration display control system
CN106569801A
Online monitoring and managing system for electric power
CN106712296A