CN114020582A - Configuration method and device for monitoring page and computer readable storage medium - Google Patents

Configuration method and device for monitoring page and computer readable storage medium Download PDF

Info

Publication number
CN114020582A
CN114020582A CN202111405595.5A CN202111405595A CN114020582A CN 114020582 A CN114020582 A CN 114020582A CN 202111405595 A CN202111405595 A CN 202111405595A CN 114020582 A CN114020582 A CN 114020582A
Authority
CN
China
Prior art keywords
configuration
template
equipment
monitored
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111405595.5A
Other languages
Chinese (zh)
Inventor
李时勇
胡鹏飞
徐志国
魏洪飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN KANGBIDA ZHONGCHUANG TECHNOLOGY CO LTD
Original Assignee
SHENZHEN KANGBIDA ZHONGCHUANG TECHNOLOGY CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN KANGBIDA ZHONGCHUANG TECHNOLOGY CO LTD filed Critical SHENZHEN KANGBIDA ZHONGCHUANG TECHNOLOGY CO LTD
Priority to CN202111405595.5A priority Critical patent/CN114020582A/en
Publication of CN114020582A publication Critical patent/CN114020582A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a configuration method and equipment of a monitoring page and a computer readable storage medium. The configuration method of the monitoring page comprises the following steps: acquiring equipment information of equipment to be monitored; determining a corresponding configuration template from a preset configuration template library according to the equipment information; configuring a configuration template on a monitoring page; the monitoring page is used for displaying the working data of the equipment to be monitored. In the application, the configuration template completes the configuration work of the equipment to be monitored in advance, when the equipment to be monitored of different types or models needs to be monitored, the corresponding configuration template is determined from the preset configuration template library only according to the equipment information of the equipment to be monitored, and the determined configuration template is configured on the monitoring page, so that the configuration process of the monitoring page is simplified, the editing amount of hard codes and the data storage volume of the monitoring page are reduced, and the configuration efficiency of the equipment to be monitored of different types or models during configuration is effectively improved.

Description

Configuration method and device for monitoring page and computer readable storage medium
[ technical field ] A method for producing a semiconductor device
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for configuring a monitoring page, and a computer-readable storage medium.
[ background of the invention ]
Configuration monitoring systems are commonly used for data acquisition and monitoring control of one or more industrial automation devices, and are currently widely used in various fields such as machinery, electricity, petroleum, chemical industry, paper making, water supply and process control.
In the related art, a configuration type monitoring system generally includes a device to be monitored, a server in communication connection with the device to be monitored, and an upper computer in communication connection with the server. When a configuration type monitoring system is used for monitoring equipment to be monitored, the equipment to be monitored needs to be manually configured, specifically, a server needs to manually configure a plurality of measuring points of the equipment to be monitored, for example, data change, picture management, alarm setting and the like of the plurality of measuring points, and after the configuration is completed, configuration information of the plurality of measuring points of the equipment to be monitored is mapped to a monitoring page located on an upper computer, so that a user can realize real-time monitoring of the equipment to be monitored through the monitoring page, and the process is also called as a configuration process of the monitoring page. In practical applications, since the types of the devices to be monitored are various, the models of each device to be monitored are different, and the types and the number of the measuring points of the devices to be monitored of different types or models are different, when the devices to be monitored of different types or models are configured, the plurality of measuring points of the devices to be monitored need to be configured again, even coding needs to be performed again, so that the configuration efficiency when the devices to be monitored of different types or models are configured is low.
Therefore, there is a need for an improved configuration process for the monitor page.
[ summary of the invention ]
The application provides a configuration method and equipment of a monitoring page and a computer readable storage medium, and aims to solve the problem that the configuration efficiency is low when different types or models of equipment to be monitored are configured in the related art.
In order to solve the foregoing technical problem, a first aspect of the embodiments of the present application provides a method for configuring a monitoring page, including:
acquiring equipment information of equipment to be monitored;
determining a corresponding configuration template from a preset configuration template library according to the equipment information;
configuring the configuration template on a monitoring page; the monitoring page is used as a carrier of the configuration template and is used for displaying at least one type of working data of the equipment to be monitored; the configuration template is used for receiving the working data of each type and respectively setting the position and the shape of the working data of each type when the working data of each type is displayed on the monitoring page.
A second aspect of the present embodiment provides an electronic device, including a storage device and at least one processor, where the storage device is configured to store at least one program, and when the at least one program is executed by the at least one processor, the at least one processor is configured to perform the method for configuring a monitor page according to the first aspect of the present embodiment.
A third aspect of the present disclosure provides a computer-readable storage medium, on which executable instructions are stored, and when executed, the computer-readable storage medium performs the configuration method of the monitoring page according to the first aspect of the present disclosure.
As can be seen from the above description, the present application has the following advantages compared with the related art:
firstly, acquiring equipment information of equipment to be monitored; determining a configuration template corresponding to the equipment information from a preset configuration template library according to the corresponding relation between the equipment information and the configuration template; and finally, configuring a configuration template corresponding to the equipment information on the monitoring page. It can be understood that the configuration template has previously completed the configuration work of the device to be monitored, and when the device to be monitored of different types or models needs to be monitored, the corresponding configuration template is determined from the preset configuration template library only according to the device information of the device to be monitored, and the determined configuration template is configured on the monitoring page, so that the configuration process of the monitoring page is simplified, the edit quantity of hard codes and the data storage volume of the monitoring page are reduced, and the configuration efficiency when the device to be monitored of different types or models is configured is effectively improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions in the related art or the embodiments of the present application, the drawings needed to be used in the description of the related art or the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, not all embodiments, and other drawings can be obtained by those skilled in the art without inventive efforts.
Fig. 1 is a first flowchart illustrating a method for configuring a monitoring page according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart of step 200 of FIG. 1 according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart of step 240 in FIG. 2 according to an embodiment of the present disclosure;
FIG. 4 is a schematic flow chart of step 230 in FIG. 2 according to an embodiment of the present disclosure;
FIG. 5 is a schematic flow chart of step 234 of FIG. 4 according to an embodiment of the present disclosure;
FIG. 6 is a schematic flow chart of step 233 of FIG. 4 according to an embodiment of the present application;
fig. 7 is a second flowchart illustrating a configuration method of a monitoring page according to an embodiment of the present disclosure;
fig. 8 is a block diagram of an electronic device provided in an embodiment of the present application;
fig. 9 is a block diagram of a computer-readable storage medium according to an embodiment of the present application.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present application more apparent and understandable, the present application will be clearly and completely described below in conjunction with the embodiments of the present application and the corresponding drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. It should be understood that the embodiments of the present application described below are only for explaining the present application and are not intended to limit the present application, that is, all other embodiments obtained by a person of ordinary skill in the art without making creative efforts based on the embodiments of the present application belong to the protection scope of the present application. In addition, the technical features involved in the embodiments of the present application described below may be combined with each other as long as they do not conflict with each other.
In the related art, a configuration type monitoring system generally includes a device to be monitored, a server in communication connection with the device to be monitored, and an upper computer in communication connection with the server. When a configuration type monitoring system is used for monitoring equipment to be monitored, the equipment to be monitored needs to be manually configured, specifically, a server needs to manually configure a plurality of measuring points of the equipment to be monitored, for example, data change, picture management, alarm setting and the like of the plurality of measuring points, and after the configuration is completed, configuration information of the plurality of measuring points of the equipment to be monitored is mapped to a monitoring page located on an upper computer, so that a user can realize real-time monitoring of the equipment to be monitored through the monitoring page, and the process is also called as a configuration process of the monitoring page. In practical applications, since the types of the devices to be monitored are various, the models of each device to be monitored are different, and the types and the number of the measuring points of the devices to be monitored of different types or models are different, when the devices to be monitored of different types or models are configured, the plurality of measuring points of the devices to be monitored need to be configured again, even coding needs to be performed again, so that the configuration efficiency when the devices to be monitored of different types or models are configured is low. Therefore, the embodiment of the application provides a configuration method of a monitoring page.
Referring to fig. 1, fig. 1 is a first flowchart illustrating a configuration method of a monitoring page according to an embodiment of the present disclosure. As shown in fig. 1, the method for configuring a monitoring page provided in the embodiment of the present application includes the following steps 100 to 300.
Step 100, obtaining equipment information of equipment to be monitored.
In the embodiment of the application, when monitoring the device to be monitored, the device information of the device to be monitored needs to be acquired first; the device information may include, but is not limited to, genre information, model information, and application scene information, among others. It can be understood that the types of the devices to be monitored are various, the models of each type of the devices to be monitored are different, and the scenes of each type of the devices to be monitored and the different models of the devices to be monitored are different.
Step 200, according to the equipment information, determining a corresponding configuration template from a preset configuration template library.
In the embodiment of the application, the device information and the configuration template have a corresponding relationship; based on this, after the device information of the device to be monitored is obtained, the configuration template corresponding to the device information is determined from the preset configuration template library according to the corresponding relationship between the device information and the configuration template. It can be understood that the configuration template has already completed the configuration work of the device to be monitored in advance, and the corresponding relationship between the configuration template and the device to be monitored is established, that is, the corresponding relationship between the configuration template and the device information is established.
Here, it should be noted that one device to be monitored may correspond to one configuration template, and may also correspond to multiple configuration templates; then, when a certain device to be monitored corresponds to a plurality of configuration templates, one configuration template can be selected from the plurality of configuration templates as a final configuration template. As an example, the selected times of the plurality of configuration templates may be obtained according to the history data of the plurality of configuration templates, and the configuration template with the highest selected time is selected from the plurality of configuration templates as the final configuration template; as another example, the plurality of configuration templates may be displayed to a user, and a selection instruction of the user for the configuration template is received, so as to select the configuration template corresponding to the selection instruction from the plurality of configuration templates as a final configuration template.
Step 300, configuring the configuration template on the monitoring page.
In the embodiment of the application, the monitoring page is used as a carrier of the configuration template and is used for displaying at least one type of working data of the equipment to be monitored; the working data may include, but is not limited to, current measuring point data, historical measuring point data, and change trend of each measuring point in the device to be monitored, and current alarm information and historical alarm information of each measuring point. Based on this, after the configuration template corresponding to the device information is determined from the preset configuration template library, the determined configuration template needs to be configured on the monitoring page. It can be understood that the monitoring page without configuration template is equivalent to "blank web site", while the monitoring page with configuration template is equivalent to "non-blank web site"; wherein, the blank website represents the website without function, information and network service capability, and the non-blank website represents the website with certain function, information and network service capability. In short, only the monitoring page configured with the configuration template can be used, and at this time, the user can perform real-time monitoring on the device to be monitored according to the monitoring page.
Specifically, the configuration template is used for receiving various types of working data of the equipment to be monitored, and respectively setting the positions and forms of the various types of working data when the working data are displayed on the monitoring page; the same type of working data may include one piece of data or multiple pieces of data, and the forms of the working data when displayed on the monitoring page may include, but are not limited to, 3D, 2.5D, and 2D, and shapes and colors. As an example, when the device to be monitored includes four types of working data (a, b, c, and d, respectively), the configuration template may set that a is located at the upper left corner of the monitoring page, b is located at the upper right corner of the monitoring page, c is located at the lower left corner of the monitoring page, and d is located at the lower right corner of the monitoring page; setting specific positions of all data in the data a at the upper left corner of the monitoring page, specific positions of all data in the data b at the upper right corner of the monitoring page, specific positions of all data in the data c at the lower left corner of the monitoring page and specific positions of all data in the data d at the lower right corner of the monitoring page; and setting that all the data in a are presented in a 3D, rectangular and blue form, all the data in b are presented in a 3D, circular and gradient form, all the data in c are presented in a 2D, triangular and green form, and all the data in D are presented in a 2.5D, trapezoidal and red form.
Further, as mentioned above, the device information of the device to be monitored may include, but is not limited to, genre information, model information, and application scenario information. Then, when the device information is type information, it means that different types of devices to be monitored respectively correspond to different configuration templates, and different models of the same type of devices to be monitored correspond to the same configuration template, or that different models of the same type of devices to be monitored share the same configuration template; when the device information is model information, it means that different models of the same device to be monitored and different models of different devices to be monitored respectively correspond to different configuration templates; when the device information is application scenario information, different application scenarios (such as a communication base station, a heat supply pipe network, oil exploitation, and the like) correspond to different configuration templates respectively. It can be understood that, in an application scenario, there are often a plurality of devices to be monitored, and when the device information is application scenario information, the configuration template has actually completed the configuration work of the plurality of devices to be monitored corresponding to the current application scenario in advance.
The method includes the steps that equipment information of equipment to be monitored is obtained; determining a configuration template corresponding to the equipment information from a preset configuration template library according to the corresponding relation between the equipment information and the configuration template; and finally, configuring a configuration template corresponding to the equipment information on the monitoring page. It can be understood that the configuration template has previously completed the configuration work of the device to be monitored, and when the device to be monitored of different types or models needs to be monitored, the corresponding configuration template is determined from the preset configuration template library only according to the device information of the device to be monitored, and the determined configuration template is configured on the monitoring page, so that the configuration process of the monitoring page is simplified, the edit quantity of hard codes and the data storage volume of the monitoring page are reduced, and the configuration efficiency when the device to be monitored of different types or models is configured is effectively improved.
As an embodiment, please further refer to fig. 2, wherein fig. 2 is a schematic flowchart of step 200 in fig. 1 according to an embodiment of the present disclosure; as can be seen from fig. 2, step 200 may specifically include the following steps 210 to 240.
Step 210, according to the device information, searching a corresponding configuration template from a preset configuration template library.
In this embodiment, when determining the corresponding configuration template from the preset configuration template library according to the device information, the corresponding configuration template needs to be searched from the preset configuration template library according to the device information. At this time, there are two cases, one is that the configuration template corresponding to the device information exists in the configuration template library, and the other is that the configuration template corresponding to the device information does not exist in the configuration template library.
Step 220, if the configuration template corresponding to the device information is found, the configuration template is called.
In this embodiment, after searching for the corresponding configuration template from the preset configuration template library according to the device information, if the configuration template corresponding to the device information is found, the configuration template corresponding to the device information is called, so that the called configuration template is subsequently configured on the monitoring page; the configuration template corresponding to the device information can be called in a copying mode. It can be understood that if the configuration template is used, it is likely that the configuration information of the configuration template is damaged, and therefore, in order to ensure that the configuration template in the configuration template library can be reused, the configuration template needs to be copied from the configuration template library instead of directly using the configuration template in the configuration template library.
Step 230, if the configuration template corresponding to the device information is not found, determining at least one corresponding configuration module from a preset configuration module library according to the device information.
In this embodiment, the configuration template may be composed of at least one configuration module, and each configuration module may be stored in a preset configuration module library, where the device information and the at least one configuration module have a corresponding relationship. Based on this, after searching the corresponding configuration template from the preset configuration template library according to the equipment information, if the configuration template corresponding to the equipment information is not found, determining at least one configuration module corresponding to the equipment information from the preset configuration module library according to the equipment information, so as to build the configuration template by using the determined at least one configuration module subsequently.
Specifically, when the configuration template includes a plurality of configuration modules, each configuration module corresponds to a different display area of the monitoring page, each configuration module is associated with each type of working data, and the configuration modules are used for setting the position and the form of each piece of data in the corresponding type of working data when the data are displayed in the corresponding display areas. It can be understood that, in the embodiment, the display area displays the corresponding type of the working data through the corresponding relationship between the configuration module and the display area and the association relationship between the configuration module and the working data, so that the setting of the position of each type of the working data when displayed on the monitoring page is also realized. As an example, assume that a certain configuration module (denoted by A) corresponds to a certain display area (denoted by alpha) of a monitoring page, A is associated with certain type of working data (denoted by a), and a comprises three pieces of data (respectively, a1、a2And a3) Then a will be shown at α, and A can be set to a1、a2And a3A specific position within a, and a1、a2And a3In which form, respectively, e.g. a1Is presented in a 3D, square and gradient color form, a2Is presented in 2.5D, oval, yellow form, a3The color of the material was 2.5D, trapezoidal, and orange.
For the embodiment, the configuration module may include at least one of a data display module, an abnormal information module, a virtual picture module, a report module, a statistics module and an alarm information module; the data display module is related to current measuring point data of each measuring point in the equipment to be monitored; the abnormal information module is related to the abnormal information of each measuring point; the virtual picture module is related to the virtual picture of each measuring point; the report module is related to historical measuring point data of each measuring point; the statistical module is related to the variation trend of the measuring point data of each measuring point; the alarm information module is related to the alarm information of each measuring point.
Certainly, in other embodiments, the configuration module may further include other modules commonly used in the art, such as a data service module, for appointing to which data bins the measurement point data of each measurement point in the device to be monitored is sent; and the data filing module is used for appointing the storage rule and the position of the measuring point data of each measuring point in the equipment to be monitored.
And step 240, building a configuration template according to at least one configuration module.
In this embodiment, after determining at least one configuration module corresponding to the device information from a preset configuration module library according to the device information, a configuration template needs to be built according to the determined at least one configuration module, so that the built configuration template is configured on the monitoring page in the following process.
As an embodiment, please further refer to fig. 3, wherein fig. 3 is a schematic flowchart of step 240 in fig. 2 according to an embodiment of the present disclosure; as can be seen from fig. 3, step 240 may specifically include the following steps 241 to 242.
And 241, determining a corresponding first building flow from a preset first building flow library according to the equipment information.
In this embodiment, when a configuration template is built according to at least one configuration module, a corresponding first building process needs to be determined from a preset first building process library according to equipment information; the first building process library comprises a plurality of first building processes, and each first building process represents a process of building a configuration template by using at least one configuration module.
And 242, building a configuration template according to the first building flow and at least one configuration module.
In this embodiment, after determining a corresponding first construction flow from a preset first construction flow library according to the device information, a configuration template is further constructed according to the determined first construction flow and at least one configuration module, so that the constructed configuration template is configured on the monitoring page in the following process. Here, it should be noted that, according to the determined first building process and the at least one configuration module, when building the configuration template, the building process may include, but is not limited to, dragging and clicking each configuration module quickly, and the building purpose may include, but is not limited to, determining a relative position and size of each configuration module.
As an embodiment, please further refer to fig. 4, wherein fig. 4 is a schematic flowchart of step 230 in fig. 2 according to an embodiment of the present disclosure; as can be seen from fig. 4, step 230 may specifically include the following steps 231 to 234.
Step 231, according to the device information, searching at least one corresponding configuration module from a preset configuration module library.
In this embodiment, when determining at least one configuration module corresponding to the device information from the preset configuration module library according to the device information, the at least one configuration module corresponding to the device information needs to be searched from the preset configuration module library according to the device information. At this time, there are two situations, one is that at least one configuration module corresponding to the device information exists in the configuration module library, and the other is that at least one configuration module corresponding to the device information does not exist in the configuration module library.
Step 232, if at least one configuration module corresponding to the device information is found, at least one configuration module is called.
In this embodiment, after searching for at least one corresponding configuration module from a preset configuration module library according to the device information, if the at least one corresponding configuration module of the device information is found, the at least one corresponding configuration module of the device information is called, so that a configuration template is built by using the called configuration module subsequently; the at least one configuration module corresponding to the device information can be called in a copying mode. It can be understood that if the configuration module is used, it is likely that the configuration information of the configuration module is damaged, and therefore, in order to ensure that the configuration module in the configuration module library can be reused, the configuration module needs to be copied from the configuration module library instead of directly using the configuration module in the configuration module library.
Step 233, if at least one configuration module corresponding to the device information is not found, determining at least one corresponding configuration primitive from a preset configuration primitive library according to the device information.
In this embodiment, the configuration module may be composed of at least one configuration primitive, and each configuration primitive may be stored in a preset configuration primitive library, at this time, there is a corresponding relationship between the device information and the at least one configuration primitive. Based on this, after searching for the corresponding at least one configuration module from the preset configuration module library according to the equipment information, if the corresponding at least one configuration module of the equipment information is not found, determining at least one configuration primitive corresponding to the equipment information from the preset configuration primitive library according to the equipment information, so as to build the configuration module by using the determined at least one configuration primitive in the following.
Specifically, each configuration primitive of the same configuration module corresponds to a different display position of the corresponding display area, each configuration primitive of the same configuration module is associated with each piece of data in the corresponding type of working data, and the configuration primitives are used for setting the form of the corresponding data when the corresponding data is displayed at the corresponding display position. It can be understood that, in the embodiment, through the corresponding relationship between each configuration primitive in the configuration module and each display position in the corresponding display area and the association relationship between each configuration primitive in the configuration module and each piece of data in the corresponding type of working data, each display position in the display area respectively displays each piece of data in the corresponding working data, so that the specific position of each piece of data in each type of working data when displayed in the corresponding display area is set. As an example, assume that a certain configuration module (denoted by B) corresponds to a certain display area (denoted by β) of the monitoring page, β includes three display positions (respectively β1、β2And beta3) B includes three configuration graphics (B for each)1、B2And B3) B is associated with a certain type of working data (denoted by B), and B comprises three pieces of data (each B1、b2And b3) At this time, B1Corresponds to beta1、B2Corresponds to beta2、B3Corresponds to beta3And B is1Is associated with b1、B2Is associated with b2、B3Is associated with b3Then, b1Can be shown in beta1、b2Can be shown in beta2、b3Can be shown in beta3And B is1Can set b1In what form they appear, B2Can set b2In what form they appear, B3Can set b3In what form, e.g. B1Setting b1Presented in 3D, rectangular, red form, B2Setting b2Presented in 2D, round, purple forms, B3Setting b3It is shown in 2.5D, hexagonal, gray form.
And step 234, building at least one configuration module according to the at least one configuration graphics primitive.
In this embodiment, after determining at least one corresponding configuration primitive from a preset configuration primitive library according to the device information, at least one configuration module needs to be built according to the determined at least one configuration primitive, so that a configuration template is built by using the built at least one configuration module in the following process. It can be understood that, in order to ensure the integrity of the configuration module library, after at least one configuration module is built by using the determined at least one configuration primitive, the built at least one configuration module needs to be stored in the configuration module library for later use. Similarly, in order to ensure the integrity of the configuration template library, after the configuration template is built by using at least one built configuration module, the built configuration template needs to be stored in the configuration template library for later use.
As an embodiment, please further refer to fig. 5, wherein fig. 5 is a schematic flowchart of step 234 in fig. 4 according to an embodiment of the present disclosure; as can be seen in fig. 5, step 234 may specifically include the following steps 2341 through 2342.
And 2341, determining a corresponding second building flow from a preset second building flow library according to the equipment information.
In this embodiment, when at least one configuration module is built according to at least one configuration primitive, a corresponding second building process needs to be determined from a preset second building process library according to equipment information; the second building process library comprises a plurality of second building processes, and each second building process represents a process of building at least one configuration module by using at least one configuration graphic element.
And 2342, building at least one configuration module according to the second building process and the at least one configuration graphic element.
In this embodiment, after determining a corresponding second building flow from a preset second building flow library according to the device information, at least one configuration module needs to be built according to the determined second building flow and at least one configuration primitive, so as to build a configuration template for the at least one built configuration module in the following. Here, it should be noted that, according to the determined second building process and at least one configuration primitive, when building the configuration module, the building process may include, but is not limited to, dragging and clicking each configuration primitive, and the building purpose may include, but is not limited to, determining a relative position and a size of each configuration primitive.
As an embodiment, please further refer to fig. 6, wherein fig. 6 is a schematic flowchart of step 233 in fig. 4 according to an embodiment of the present disclosure; as can be seen in fig. 6, step 233 may specifically include the following steps 2331-2333.
Step 2331, according to the device information, searching at least one corresponding configuration primitive from a preset configuration primitive library.
In this embodiment, when determining at least one configuration primitive corresponding to the device information from the preset configuration primitive library according to the device information, it is required to search for the corresponding at least one configuration primitive from the preset configuration primitive library according to the device information. At this time, there are two situations, one is that at least one configuration primitive corresponding to the equipment information exists in the configuration primitive library, and the other is that at least one configuration primitive corresponding to the equipment information does not exist in the configuration primitive library.
Step 2332, if at least one configuration primitive corresponding to the device information is found, invoking the at least one configuration primitive.
In this embodiment, after searching for at least one corresponding configuration primitive from a preset configuration primitive library according to the device information, if at least one corresponding configuration primitive of the device information is found, the at least one corresponding configuration primitive of the device information is called, so that at least one configuration module is built by using the called at least one configuration primitive in the following; the at least one configuration primitive corresponding to the device information may be invoked in a replicated manner. It can be understood that if the configuration primitive is used, it is likely that the configuration information of the configuration primitive is destroyed, and therefore, in order to ensure that the configuration primitives in the configuration primitive library can be reused, the configuration primitives need to be copied from the configuration primitive library instead of directly using the configuration primitives in the configuration primitive library.
Step 2333, if at least one configuration primitive corresponding to the device information is not found, receiving at least one input configuration primitive.
In this embodiment, after searching for the corresponding at least one configuration primitive from the preset configuration primitive library according to the device information, if the corresponding at least one configuration primitive is not found, the at least one configuration primitive input by the user is received, so that the received at least one configuration primitive is subsequently used to build at least one configuration module.
It should be understood that the foregoing embodiments are only preferred implementations of the embodiments of the present application, and are not the only limitations on the process of determining the configuration template in the embodiments of the present application; in this regard, a person skilled in the art can flexibly set the setting according to the actual application scenario on the basis of the embodiment of the present application.
In summary, the process of determining the configuration template according to the embodiment of the present application is divided into the following three stages:
the first stage, according to the equipment information, searching the corresponding configuration template from the preset configuration template library, and calling the searched configuration template when the configuration template corresponding to the equipment information is searched;
second, if the configuration template corresponding to the equipment information is not found in the configuration template library, at least one configuration module corresponding to the equipment information is found from a preset configuration module library according to the equipment information, and the found at least one configuration module is used for building the configuration template;
and a third stage, if at least one configuration module corresponding to the equipment information is not found in the configuration module library, finding at least one configuration primitive corresponding to the equipment information from a preset configuration primitive library according to the equipment information, building at least one configuration module by using the at least one found configuration primitive, and building a configuration template by using the at least one built configuration module.
It can be understood that no matter which stage among the three stages is, the monitoring equipment does not need to be reconfigured, and coding does not need to be performed again, and the embodiment of the application can well realize the configuration of the monitoring equipment to be configured of different types or models on the premise of ensuring the configuration efficiency through mutual connection and combination among the three stages, and greatly improve the success rate of the configuration. In addition, in practical application, a user can freely combine various configuration modules and various configuration primitives, so that the flexibility of configuring different types or models of equipment to be monitored is effectively improved.
Referring to fig. 7, fig. 7 is a second flowchart illustrating a configuration method of a monitoring page according to an embodiment of the present application, that is, another configuration method of a monitoring page is further provided according to the embodiment of the present application; as shown in fig. 7, the method for configuring the monitoring page includes the following steps 710 to 760.
And step 710, acquiring the equipment information of the equipment to be monitored.
In the embodiment of the present application, step 710 is consistent with step 100 shown above, and for the explanation of step 710, reference may be made to the explanation of step 100, which is not described herein again.
Step 720, according to the device information, determining a corresponding configuration template from a preset configuration template library.
In the embodiment of the present application, step 720 is identical to step 200 shown above, and for the explanation of step 720, reference may be made to the explanation of step 200, which is not described herein again.
Step 730, configure the configuration template on the monitoring page.
In the embodiment of the present application, step 730 is identical to step 300 shown above, and for the explanation of step 730, reference may be made to the explanation of step 300, which is not described herein again.
Step 740, sending a data subscription request to the background server through the Websocket communication protocol.
In the embodiment of the application, after the determined configuration template is configured on the monitoring page, a data subscription request needs to be sent to a background server through a Websocket communication protocol; the data subscription request is used for requesting the background server to send the measuring point data of each measuring point in the equipment to be monitored. It can be understood that after the data subscription information is sent to the background server, the background server returns the measuring point data of each measuring point in the device to be monitored according to the data subscription information; at this time, the background server plays a role of intermediate information transfer.
And step 750, receiving the measuring point data of each measuring point in the equipment to be monitored, which is responded by the background server according to the data subscription request.
In the embodiment of the application, after the data subscription request is sent to the background server through the Websocket communication protocol, the measurement point data of each measurement point in the device to be monitored, which is responded by the background server according to the data subscription request, needs to be received.
And step 760, updating a monitoring page according to the measuring point data of each measuring point in the equipment to be monitored.
In the embodiment of the application, after receiving the station data of each station in the device to be monitored, which is responded by the background server according to the data subscription request, the monitoring page needs to be updated according to the received station data of each station in the device to be monitored, so as to ensure the real-time performance of the monitoring page.
Referring to fig. 8, fig. 8 is a block diagram of an electronic device according to an embodiment of the present disclosure.
As shown in fig. 8, an embodiment of the present application further provides an electronic device 800, which includes a storage 810 and at least one processor 820; the storage device 810 is used for storing at least one program, and when the at least one program is executed by the at least one processor 820, the at least one processor 820 is enabled to execute the configuration method of the monitoring page provided by the embodiment of the present application.
In some embodiments, electronic device 800 may also include a bus 830 for communicative coupling between storage 810 and at least one processor 820.
Referring to fig. 9, fig. 9 is a block diagram of a computer-readable storage medium according to an embodiment of the present disclosure.
As shown in fig. 9, an embodiment of the present application further provides a computer-readable storage medium 900, where executable instructions 910 are stored on the computer-readable storage medium 900, and when executed, the executable instructions 910 perform the configuration method of the monitoring page provided in the embodiment of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the procedures or functions described in accordance with the present application are generated, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk), among others.
It should be noted that, the embodiments in the present disclosure are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the product class embodiment, since it is similar to the method class embodiment, the description is relatively simple, and for the relevant points, refer to the partial description of the method class embodiment.
It is further noted that, within the context of this application, relational terms such as first and second, and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for configuring a monitoring page, comprising:
acquiring equipment information of equipment to be monitored;
determining a corresponding configuration template from a preset configuration template library according to the equipment information;
configuring the configuration template on a monitoring page; the monitoring page is used as a carrier of the configuration template and is used for displaying at least one type of working data of the equipment to be monitored; the configuration template is used for receiving the working data of each type and respectively setting the position and the shape of the working data of each type when the working data of each type is displayed on the monitoring page.
2. The method of claim 1, wherein the configuration template comprises at least one configuration module; each configuration module corresponds to different display areas of the monitoring page, is respectively associated with each type of the working data, and is used for respectively setting the position and the form of each piece of data in the corresponding type of the working data when the data are displayed in the corresponding display area;
determining a corresponding configuration template from a preset configuration template library according to the equipment information, wherein the method comprises the following steps:
searching a corresponding configuration template from a preset configuration template library according to the equipment information;
if the configuration template corresponding to the equipment information is found, calling the configuration template;
if the configuration template corresponding to the equipment information is not found, determining the corresponding at least one configuration module from a preset configuration module library according to the equipment information;
and building the configuration template according to the at least one configuration module.
3. The method of claim 2, wherein the building the configuration template according to the at least one configuration module comprises:
determining a corresponding first building flow from a preset first building flow library according to the equipment information;
and constructing the configuration template according to the first construction flow and the at least one configuration module.
4. The method of claim 2, wherein said configuration module comprises at least one configuration primitive; each configuration primitive of the same configuration module corresponds to a different display position of the corresponding display area, each configuration primitive of the same configuration module is associated with each data in the corresponding type of the working data, and the configuration primitives are used for setting the form of the corresponding data when the data is displayed at the corresponding display position;
the determining, according to the device information, the corresponding at least one configuration module from a preset configuration module library includes:
searching the corresponding at least one configuration module from a preset configuration module library according to the equipment information;
if the at least one configuration module corresponding to the equipment information is found, calling the at least one configuration module;
if the at least one configuration module corresponding to the equipment information is not found, determining the corresponding at least one configuration primitive from a preset configuration primitive library according to the equipment information;
and constructing the at least one configuration module according to the at least one configuration graphic element.
5. The method of claim 4, wherein the building the at least one configuration module according to the at least one configuration primitive comprises:
determining a corresponding second building flow from a preset second building flow library according to the equipment information;
and constructing the at least one configuration module according to the second construction flow and the at least one configuration graphic element.
6. The method of claim 4, wherein said determining the corresponding at least one configuration element from a predetermined library of configuration elements based on the device information comprises:
searching the corresponding at least one configuration graphic element from a preset configuration graphic element library according to the equipment information;
if the at least one configuration primitive corresponding to the equipment information is found, calling the at least one configuration primitive;
and if the at least one configuration graphic element corresponding to the equipment information is not found, receiving the at least one input configuration graphic element.
7. The method for configuring a monitor page of claim 1, wherein the configuring the configuration template after the monitor page further comprises:
sending a data subscription request to a background server through a Websocket communication protocol;
receiving the measuring point data of each measuring point in the equipment to be monitored, which is responded by the background server according to the data subscription request;
and updating the monitoring page according to the measuring point data of each measuring point in the equipment to be monitored.
8. The method for configuring a monitoring page according to any one of claims 1 to 7, wherein the device information includes any one of genre information, model information, and application scenario information.
9. An electronic device comprising storage means and at least one processor, the storage means being adapted to store at least one program and the at least one program, when executed by the at least one processor, causing the at least one processor to carry out the method of any one of claims 1-8.
10. A computer-readable storage medium having stored thereon executable instructions that, when executed, perform the method of any one of claims 1-8.
CN202111405595.5A 2021-11-24 2021-11-24 Configuration method and device for monitoring page and computer readable storage medium Pending CN114020582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111405595.5A CN114020582A (en) 2021-11-24 2021-11-24 Configuration method and device for monitoring page and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111405595.5A CN114020582A (en) 2021-11-24 2021-11-24 Configuration method and device for monitoring page and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114020582A true CN114020582A (en) 2022-02-08

Family

ID=80066073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111405595.5A Pending CN114020582A (en) 2021-11-24 2021-11-24 Configuration method and device for monitoring page and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114020582A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115291769A (en) * 2022-07-04 2022-11-04 三一智矿科技有限公司 Monitoring method and system for fully mechanized coal mining face, storage medium and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115291769A (en) * 2022-07-04 2022-11-04 三一智矿科技有限公司 Monitoring method and system for fully mechanized coal mining face, storage medium and terminal

Similar Documents

Publication Publication Date Title
KR101441680B1 (en) Improved computerized collaborative work
CN109308284B (en) Report menu generation method and device, computer equipment and storage medium
CN109388791B (en) Dynamic diagram display method and device, computer equipment and storage medium
US8856766B2 (en) Generating layouts for graphs of data flow applications
CN111090903B (en) BIM-based component statistical method and related device
CN109582547A (en) Electronic device, monitoring data alarm method and storage medium
CN105930118B (en) Method and system for drawing network topological graph of splicing wall system
CN108932286A (en) A kind of date storage method, data query method and device
CN114020582A (en) Configuration method and device for monitoring page and computer readable storage medium
CN104598436A (en) Method and device for dynamically generating three-dimensional chart
CN109582809A (en) A kind of threedimensional model management system and method based on database
CN108255964B (en) Method for displaying process flow route
CN105162637A (en) Visual management method and apparatus of local area network
CN111415054B (en) Equipment monitoring management method and system
CN111324629A (en) Business data processing method and device, electronic equipment and computer storage medium
CN103647661A (en) Topological view generating method and apparatus
CN114070741B (en) Topology graph generation method, system, equipment and storage medium
CN115981625A (en) Extensible power system wiring diagram interface modeling method and system
EP1215628A2 (en) Three-dimensional graph display apparatus
CN115221967A (en) BIM model component grouping method and device and electronic equipment
CN113242254B (en) Communication message processing method, device, terminal equipment and storage medium
US9129318B2 (en) System and method for allocating suppliers using geographical information system and supplier capability
CN114282029A (en) Primitive management method and device, electronic equipment and storage medium
CN103473362B (en) The method of Data Migration, system and receiving port module
CN111458801A (en) Optical fiber fusion welding and end-forming data display method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination