Display monitoring system interface processing method based on QT high load scenario

By adopting the interface processing method of display monitoring system under high load scenarios based on QT on the coal mine comprehensive mining surface, the problems of interface lag and data delay in the existing technology are solved, and the monitoring effect of interface lag and high data real-time high data performance is achieved, and the intrinsic safety and explosion-proof requirements are met.

CN119781716APending Publication Date: 2025-04-08ZHENGZHOU HENGDA INTELLIGENT CONTROL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411841334.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

The monitoring system on the existing coal mine comprehensive mining surface cannot be effectively processed under high load scenarios, resulting in interface lag and data delays, which cannot meet the real-time monitoring needs. In addition, high-performance computers cannot operate on the coal mine comprehensive mining surface because they do not meet the inherent safety and explosion-proof requirements of mining.

Method used

The interface processing method of display monitoring system under high load scenarios based on QT is adopted. By creating cache registration interface components, the display screen is monitored in real time, and the interface is only refreshed regularly when the interface is displayed, and a single refresh is performed when the data changes, reducing resource waste and CPU usage.

Benefits of technology

It realizes a monitoring interface with no lag in the interface and high real-time data in high load scenarios, reduces resource waste and CPU occupation, meets the needs of real-time monitoring of the comprehensive mining surface of coal mines, and meets the inherent safety and explosion-proof requirements of mining use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119781716A_ABST
    Figure CN119781716A_ABST
Patent Text Reader

Abstract

This invention provides a QT-based method for processing the interface of a monitoring system under high load conditions. Applied to the interface display module of a fully mechanized mining face monitoring system, the method includes the following steps: Step 1, creating a cache and registering the interface pointers of all components in the monitoring interface to the cache after each monitoring interface is started; Step 2, monitoring the screen display on each monitor in real time to determine the target monitoring interface; wherein N monitoring interfaces are displayed through M monitors, and each monitor displays only one monitoring interface at a time; Step 3, searching for the corresponding interface pointer in the cache based on the target monitoring interface and calling the corresponding component according to the interface pointer; Step 4, executing a timed refresh mechanism to refresh the data during component invocation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of working face monitoring, and in particular to a method for processing a display monitoring system interface under a QT high-load scenario. Background Art

[0002] The energy industry is the lifeline of our country's industrial development, and the coal industry plays an important role in our country's economic construction and development. However, the safety production situation in my country's coal industry is not optimistic. Major casualties have been reported frequently in the news, and mining accidents have occurred frequently, causing casualties and losses that have brought serious adverse effects to society. The issue of coal mine safety production has received more and more attention from society and the country. All of these have put forward higher requirements for the monitoring system of coal mine safety production services.

[0003] According to the analysis of existing underground comprehensive mining monitoring systems in China, the main hosts of display devices on the comprehensive mining surface of coal mines are mostly computers with general performance; and there are more than a dozen devices to be connected, receiving about 3,000 data per second. The amount of data is too large, and the interface displays a lot of content. When all are refreshed, the equipment monitoring interface will be stuck, and there is also a delay in the real-time interface data, which cannot meet the requirements of implementing data display. Therefore, it is impossible to play the role of helping workers on the working surface to monitor data in real time from the software. Most of the time, it still depends on the experience of on-site operators to determine the status of the equipment.

[0004] In addition, since the equipment on the fully-mechanized mining surface of a coal mine must meet the safety regulations for fully-mechanized mining surfaces of coal mines, high-performance computers cannot be operated on fully-mechanized mining surfaces of coal mines because they do not meet the intrinsic safety and explosion-proof requirements for mines.

[0005] In general, it is imperative to provide a monitoring system that not only meets the intrinsic safety and explosion-proof requirements of mining, but also enables smooth operation of the monitoring interface.

[0006] In order to solve the above problems, people have been seeking an ideal technical solution. Summary of the invention

[0007] The purpose of the present invention is to provide a method for displaying a monitoring system interface in a high-load scenario based on QT in view of the deficiencies in the prior art.

[0008] In order to achieve the above object, the first aspect of the present invention provides a method for processing the interface of a display monitoring system based on a QT high-load scenario, which is applied to an interface display module of a fully mechanized mining face monitoring system, comprising the following steps: Step 1, create a cache, and after starting each monitoring interface, register the interface pointers of all components in the monitoring interface into the cache; Step 2, monitor the screen image on each display in real time to determine the target monitoring interface; wherein N monitoring interfaces are displayed through M displays, and each display only displays one monitoring interface at a time; Step 3, searching for a corresponding interface pointer in the cache based on the target monitoring interface, and calling a corresponding component according to the interface pointer; Step 4: When the component is called, a timed refresh mechanism is executed to refresh the data.

[0009] Further, when the monitoring interface is switched on the screen of the display, an interface switching instruction is received, wherein the interface switching instruction includes target monitoring interface information; Based on the target monitoring interface information, searching for a corresponding interface pointer in the cache, and calling a corresponding component according to the interface pointer; The moment the component is called, a single data refresh mechanism is triggered to refresh the data.

[0010] Furthermore, after the component refresh mechanism is started, it is determined whether the data value of the data point corresponding to the component has changed. If it has changed, it is refreshed; if it has not changed, it is not refreshed.

[0011] Furthermore, for a monitoring interface that is not displayed on the display, when its associated data changes, the data is acquired and updated in real time and saved in the local cache data.

[0012] In order to achieve the above-mentioned object, the second aspect of the present invention provides a device for processing a display monitoring system interface in a QT high-load scenario, comprising: A registration module is used to create a cache and, after starting each monitoring interface, register the interface pointers of all components in the monitoring interface into the cache; The monitoring module is used to monitor the screen images on each display in real time and determine the target monitoring interface; wherein N monitoring interfaces are displayed through M displays, and each display only displays one monitoring interface at a time; A component calling module, used to search for a corresponding interface pointer in the cache based on a target monitoring interface, and call a corresponding component according to the interface pointer; The refresh module is used to execute the timed refresh mechanism to refresh data when the component is called.

[0013] In order to achieve the above-mentioned object, the third aspect of the present invention provides a fully mechanized mining face monitoring system based on a QT high-load scenario, comprising: an equipment proxy module, an mqtt data publishing module, a data display module, a business processing module and a data storage module; The equipment proxy module is used to connect to various fully mechanized mining equipment on the fully mechanized mining working surface; The MQTT data publishing module is used to publish the data received by the device proxy module for interface display by the data display module, for analysis and processing by the business processing module, and for storage by the data storage module; The data display module is used for real-time display of data and query display of historical data; The business processing module is used to perform analysis and docking after data reporting; Wherein, the data display module includes the interface display processing device described in the second aspect.

[0014] In order to achieve the above-mentioned objective, the fourth aspect of the present invention provides a computer-readable storage medium, wherein the storage medium stores at least one executable instruction, and the executable instruction enables a processor to execute the steps of the method proposed in the first aspect.

[0015] In order to achieve the above-mentioned purpose, the fifth aspect of the present invention provides a computer device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; the memory is used to store computer programs; the processor is used to execute the steps of the method proposed in the first aspect when executing the program stored in the memory.

[0016] The present invention has outstanding substantial features and significant progress compared with the prior art. Specifically, the present invention creates a cache, and after starting each monitoring interface, registers the interface pointers of all components in the monitoring interface into the cache; and monitors the screen image on each display in real time to determine the target monitoring interface, and then searches for the corresponding interface pointer in the cache based on the target monitoring interface, calls the corresponding component according to the interface pointer, and executes a timed refresh mechanism to refresh the data during the component being called; the above scheme allows the monitoring interface to be refreshed only when it is displayed on the display, thereby reducing resource waste; further, the component is refreshed once the moment it is called, so that the data in the cache is refreshed to the interface, thereby reducing the problem of data display at the moment of refreshing; further, after calling the component, the timed refresh mechanism is executed, which can reduce the instantaneous resource occupation of the computer CPU; in terms of component refresh mode, the method of refreshing when the data changes and not refreshing when the data does not change can achieve no waste of computer resources and reasonable use of computer resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is the principle block diagram of the comprehensive mining working face monitoring system.

[0018] Figure 2 It is a flowchart of the interface display processing method described in Example 1 of the present invention.

[0019] Figure 3It is a structural diagram of the interface display processing device described in Example 2 of the present invention.

[0020] Figure 4 It is a structural diagram of an implementation of the computer device of the present invention. DETAILED DESCRIPTION

[0021] Traditional fully mechanized mining face monitoring system Figure 1 As shown, it includes an equipment proxy module, an mqtt data publishing module, a data display module, a business processing module and a data storage module; among them, the equipment proxy module is responsible for connecting to the data of each device on the comprehensive mining working face, and accessing the monitoring system with the protocol of each device; the mqtt data publishing module is responsible for publishing the data accessed by the equipment proxy module, for the data display module to display the interface, for the business processing module to analyze and process, and for the data storage module to store; the data display module is responsible for the real-time display of data and the query and display of historical data; the business processing module is responsible for the analysis and connection after the data is reported.

[0022] In practice, the monitoring screens on the fully mechanized mining face include the coal machine screen, the three-machine pump control screen, the support screen, the power supply screen, and the automatic proportioning screen, but most fully mechanized mining faces only have three monitors to display these data. This results in the corresponding interface being refreshed in real time when the monitoring screen of some equipment is not displayed, resulting in a serious waste of resources for refreshing, especially for computers with low performance, which will cause freezing and unsmoothness after the meeting.

[0023] The present invention optimizes the interface management processing method after plug-in loading, and proposes a QT-based real-time adaptive refresh method for the interface, so as to realize a monitoring interface with no lag when there is too much data and high real-time performance of the interface data.

[0024] The technical solution of the present invention is further described in detail below through specific implementation methods.

[0025] Example 1 This embodiment provides a method for processing the display monitoring system interface under a QT high-load scenario, which is applied to the interface display module of the fully mechanized mining face monitoring system. Figure 2 As shown, the following steps are included: Step 1, create a cache, and after starting each monitoring interface, register the interface pointers of all components in the monitoring interface to the cache; in the specific implementation, the monitoring interface includes at least a coal machine display interface, a three-machine pump control display interface, a bracket display interface, a power supply display interface and an automatic proportioning display interface.

[0026] It is understandable that each monitoring interface may include layout components, separator components, button components, table item views, table item components, container components, input components, display components, etc. When starting a component, the corresponding component in the interface is registered in the cache from the overall UI library, and a component pointer is obtained for later calling.

[0027] Step 2: Monitor the screen image on each display in real time and determine the target monitoring interface.

[0028] The N monitoring interfaces are displayed through M displays, each display displays only one monitoring interface at the same time, and M is less than or equal to N.

[0029] That is, the number of displays is smaller than the interface types. For example, the number of monitoring interfaces is 5, while the number of displays is 3; therefore, the interfaces need to be displayed in turn.

[0030] During specific use, the interface polling order and polling interval can be pre-set; the interface switching can also be realized by manually clicking the interface switching button.

[0031] Step 3: search for a corresponding interface pointer in the cache based on the target monitoring interface, and call a corresponding component according to the interface pointer.

[0032] Step 4: When the component is called, a timed refresh mechanism is executed during the component calling process to refresh the data.

[0033] The above solution allows the monitoring interface to be refreshed only when it is displayed on the monitor, thereby reducing resource waste.

[0034] Furthermore, for monitoring interfaces that are not displayed on the monitor, when their associated data changes, the data is obtained and updated in real time and saved in the local cache data, so that when the subsequent monitoring interface is displayed, the real-time data can be refreshed to the interface in time.

[0035] In specific implementation, a time is randomly selected as a refresh interval for scheduled refresh, and the refresh interval is generally small, usually less than 1 second.

[0036] Further, in one embodiment, in order to reduce the information display lag problem caused by the interface not being refreshed at the instant when the component is called and having to wait until the scheduled refresh time to refresh, when the monitor interface is switched on the screen of the display, an interface switching instruction is received, and the interface switching instruction includes target monitor interface information; Based on the target monitoring interface information, searching for a corresponding interface pointer in the cache, and calling a corresponding component according to the interface pointer; The moment the component is called, a single data refresh mechanism is triggered to refresh the data.

[0037] The above solution refreshes the data in the cache to the interface through an active refresh at the moment of interface refresh, thereby reducing data display problems at the moment of refresh.

[0038] Furthermore, since there are multiple components on each monitoring interface, in order to reduce the instantaneous resource occupation caused by the simultaneous refresh of multiple components, in one embodiment, when multiple components are called at the same time, they are refreshed in a preset order, thereby reducing the resource occupation easily caused by the simultaneous refresh and reducing the screen display jams.

[0039] Specifically, the preset order can be set by the user in advance according to the importance and preference of the data.

[0040] Furthermore, after the component refresh mechanism is started, it is determined whether the data value of the data point corresponding to the component has changed. If it has changed, it is refreshed; if it has not changed, it is not refreshed, thereby avoiding waste of computer resources and making rational use of computer resources.

[0041] Example 2 Based on the same inventive concept, the embodiment of the present application also provides a device for displaying the monitoring system interface under a QT high-load scenario for realizing the above-mentioned method for displaying the monitoring system interface under a QT high-load scenario. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in one or more comprehensive mining face monitoring system interface display processing embodiments provided below can refer to the limitations of the comprehensive mining face monitoring system interface display processing method above, and will not be repeated here.

[0042] Specifically, Figure 3 As shown, the display monitoring system interface processing device based on QT high load scenario includes: A registration module is used to create a cache and, after starting each monitoring interface, register the interface pointers of all components in the monitoring interface into the cache; The monitoring module is used to monitor the screen images on each display in real time and determine the target monitoring interface; wherein N monitoring interfaces are displayed through M displays, and each display only displays one monitoring interface at a time; A component calling module, used to search for a corresponding interface pointer in the cache based on a target monitoring interface, and call a corresponding component according to the interface pointer; The refresh module is used to execute the timed refresh mechanism to refresh data when the component is called.

[0043] Example 3 This embodiment provides a fully mechanized mining face monitoring system based on QT high load scenario, such as Figure 1As shown, it includes: device proxy module, mqtt data publishing module, data display module, business processing module and data storage module; The equipment proxy module is used to connect to various fully mechanized mining equipment on the fully mechanized mining working surface; The MQTT data publishing module is used to publish the data received by the device proxy module for interface display by the data display module, for analysis and processing by the business processing module, and for storage by the data storage module; The data display module is used for real-time display of data and query display of historical data; The business processing module is used to perform analysis and docking after data reporting; Wherein, the data display module includes the interface display processing device described in Example 1.

[0044] Example 4 This embodiment provides a computer device, which may be a terminal, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, the steps of the method described in Example 1 are implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0045] Those skilled in the art will understand that Figure 4The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0046] Example 5 On the basis of the above embodiments, this embodiment provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in Embodiment 1 are implemented.

[0047] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, ordinary technicians in the field should understand that the specific implementation methods of the present invention can still be modified or some technical features can be replaced by equivalents without departing from the spirit of the technical solution of the present invention, which should be included in the scope of the technical solution for protection of the present invention.

Claims

1. A method for processing the display monitoring system interface under a QT high-load scenario, applied to the interface display module of the fully mechanized mining face monitoring system, characterized in that: The following steps are involved: Step 1, create a cache, and after starting each monitoring interface, register the interface pointers of all components in the monitoring interface into the cache; Step 2: monitor the screen image on each display in real time and determine the target monitoring interface; N monitoring interfaces are displayed through M monitors, and each monitor displays only one monitoring interface at a time; Step 3, searching for a corresponding interface pointer in the cache based on the target monitoring interface, and calling a corresponding component according to the interface pointer; Step 4: When the component is called, a timed refresh mechanism is executed to refresh the data.

2. According to claim 1, a method for processing a display monitoring system interface under a QT high-load scenario is characterized in that: When the monitoring interface of the screen image of the display is switched, an interface switching instruction is received, wherein the interface switching instruction includes target monitoring interface information; Based on the target monitoring interface information, searching for a corresponding interface pointer in the cache, and calling a corresponding component according to the interface pointer; The moment the component is called, a single data refresh mechanism is triggered to refresh the data.

3. According to claim 1 or 2, a method for processing a display monitoring system interface in a QT high-load scenario is characterized in that: When multiple components are called at the same time, they are refreshed in the preset order.

4. According to claim 3, a method for processing a display monitoring system interface under a QT high-load scenario is characterized in that: After the component refresh mechanism is started, it is determined whether the data value of the data point corresponding to the component has changed. If it has changed, it is refreshed; if it has not changed, it is not refreshed.

5. A method for processing a display monitoring system interface in a QT high-load scenario according to claim 1, 2 or 4, characterized in that: For monitoring interfaces that are not displayed on the monitor, when the data associated with them changes, the data is obtained and updated in real time and saved in the local cache data.

6. According to claim 5, a method for processing a display monitoring system interface in a QT high-load scenario is characterized in that: The monitoring interface at least includes a coal machine display interface, a three-machine pump control display interface, a bracket display interface, a power supply display interface and an automatic proportioning display interface.

7. A display monitoring system interface processing device based on QT high load scenario, characterized in that: include: A registration module is used to create a cache and, after starting each monitoring interface, register the interface pointers of all components in the monitoring interface into the cache; A monitoring module is used to monitor the screen image on each display in real time and determine the target monitoring interface; N monitoring interfaces are displayed through M monitors, and each monitor displays only one monitoring interface at a time; A component calling module, used to search for a corresponding interface pointer in the cache based on a target monitoring interface, and call a corresponding component according to the interface pointer; The refresh module is used to execute the timed refresh mechanism to refresh data when the component is called.

8. A fully mechanized mining face monitoring system based on QT high load scenario, characterized in that: include: Device proxy module, MQTT data publishing module, data display module, business processing module and data storage module; The equipment proxy module is used to connect to various fully mechanized mining equipment on the fully mechanized mining working surface; The MQTT data publishing module is used to publish the data received by the device proxy module for interface display by the data display module, for analysis and processing by the business processing module, and for storage by the data storage module; The data display module is used for real-time display of data and query display of historical data; The business processing module is used to perform analysis and docking after data reporting; Wherein, the data display module includes the interface display processing device described in claim 7.

9. A computer storage medium, wherein at least one executable instruction is stored in the storage medium, characterized in that: The executable instructions enable the processor to execute the steps of the method for processing the display monitoring system interface in a QT high-load scenario according to any one of claims 1 to 6.

10. A computer device comprising: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; it is characterized in that the memory is used to store computer programs; the processor is used to execute the steps of the method for processing the display monitoring system interface under the QT high-load scenario according to any one of claims 1-6 when executing the program stored in the memory.