A method for encapsulating a hot network page based on a configuration algorithm block
By building a dedicated configuration algorithm block library and page templates for the heating network, the rapid construction and efficient maintenance of the heating network monitoring page have been achieved, solving the problems of low efficiency and poor flexibility in traditional development, and improving the accuracy and stability of the monitoring system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- XIAN THERMAL POWER RES INST CO LTD
- Filing Date
- 2026-02-09
- Publication Date
- 2026-06-02
AI Technical Summary
Traditional heating network monitoring page development is inefficient, costly, and inflexible. Existing configuration algorithm blocks cannot meet the rapid construction needs of heating network monitoring pages and lack an integrated encapsulation mechanism, leading to abnormal data interaction and algorithm calculation deviations.
This paper provides a method for encapsulating heat network pages based on configuration algorithm blocks. Through the basic definition module of algorithm blocks, the visualization configuration and parameter configuration module, the algorithm block connection analysis and performance evaluation module, and the system operation and scheduling module, a heat network-specific configuration algorithm block library and commonly used page templates are constructed, realizing the unique identification, interface specification, data format specification and integrated encapsulation of algorithm blocks.
It improved the development efficiency of the heating network monitoring page, enhanced scenario adaptability, reduced maintenance difficulty, ensured the accuracy and stability of monitoring, and reduced data interaction anomalies and algorithm calculation deviations.
Smart Images

Figure CN122132644A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of industrial control system technology, and in particular to a method, system, device and medium for page encapsulation of algorithm blocks in an industrial control system control configuration tool. Background Technology
[0002] In the construction and operation of heating network monitoring systems, web pages serve as the core carrier for data display, algorithm configuration, and control interaction. Their development efficiency and adaptability directly impact the real-time performance and reliability of heating network monitoring. Traditional heating network monitoring page development often employs customized coding methods, requiring developers to write page layout code, data interaction code, and algorithm integration code one by one according to the specific monitoring needs of the heating network.
[0003] However, heating network systems are characterized by wide pipeline distribution, numerous monitoring parameters, and complex and variable operating conditions. Different regional heating networks (such as urban centralized heating networks and industrial plant heating networks) exhibit significant differences in monitoring requirements, parameter types, and control logic. Using traditional customized development methods not only requires substantial investment of development manpower and time, resulting in long development cycles and high costs, but also necessitates extensive modifications to the page code when heating network monitoring requirements change (such as adding new monitoring points or adjusting operating condition analysis logic), leading to high maintenance difficulty and poor flexibility.
[0004] While existing configuration technologies can achieve visual configuration of some algorithm blocks, these blocks are mostly general-purpose modules that are not adapted to the specific operating conditions and parameter characteristics of heating networks. This makes them unsuitable for the rapid construction of heating network monitoring pages. Furthermore, existing page encapsulation methods lack an integrated encapsulation mechanism for heating network data interfaces, algorithm logic, and page display rules. This results in low integration efficiency between configuration algorithm blocks and the heating network monitoring system, easily leading to data interaction anomalies and algorithm calculation result deviations, thus affecting the accuracy and stability of heating network monitoring. Therefore, there is an urgent need for a page encapsulation method based on configuration algorithm blocks that is adapted to heating network scenarios to improve the development efficiency, adaptability, and maintenance convenience of heating network monitoring pages. To this end, this invention provides a heating network page encapsulation method based on configuration algorithm blocks. Summary of the Invention
[0005] The purpose of this invention is to provide a hot network page encapsulation method based on configuration algorithm blocks to solve the problems mentioned in the background art.
[0006] To achieve the above objectives, this invention provides a method for encapsulating a heat network page based on configuration algorithm blocks. The algorithm block basic definition module defines the unique identifier and detailed functional description of each algorithm block, specifies the interface data type according to the different data processing methods of different algorithm blocks, standardizes the data format, and limits the value range of the interface data. The visual configuration and parameter configuration module sets interface thresholds and provides a visual configuration interface, binding the parameter setting controls of each algorithm block to the parameter variables within the algorithm block, setting input box parameters, and adjusting parameters via sliders. The algorithm block connection analysis and performance evaluation module parses the user's configuration, clarifies the functions of each algorithm block, and the connection relationships between interfaces. It performs automatic adaptation checks on the interfaces between algorithm blocks, analyzes the connection relationships between all algorithm blocks, and constructs a network topology for data transmission. The system operation and scheduling module collects raw data through sensors, converts various physical quantities in the industrial field into electrical and digital signals using different physical effects and conversion mechanisms, analyzes the data dependencies between algorithm blocks, constructs a dependency graph, uses a scheduler to traverse the dependency graph, generates the input data required by the algorithm block, and checks whether the algorithm block before scheduling can be scheduled for execution.
[0007] Preferably, the algorithm block basic definition module includes an algorithm block identifier and function definition unit, an interface specification unit, and an internal parameter standardization unit. The algorithm block identifier and function definition unit defines the unique identifier and detailed function description of the algorithm block, and generates the serial number of the unique identifier in sequence. The interface specification unit determines whether the algorithm block can process the data based on its own preset acceptable data types. The internal parameter standardization unit is used to standardize the definition of the internal parameters of the algorithm block.
[0008] Preferably, in the algorithm block identifier and function definition unit, the algorithm block serial number is generated by counting and compared with the existing identifiers in the system one by one to ensure the uniqueness of the algorithm block. The unit receives the current actual speed value and speed set value of the industrial equipment, calculates the deviation between the two through the PID control algorithm, and outputs a control signal to adjust the motor speed. The PID control algorithm first multiplies the current deviation by the proportional coefficient, adds the integral of the deviation from the start time to the current time, multiplies it by the proportional coefficient, divides it by the integral time constant, adds the derivative time constant, and multiplies it by the rate of change of the deviation over time.
[0009] Preferably, in the interface specification unit, the original data is multiplied by 100, rounded down, and then divided by 100, and a value range is set. If the data value is between the allowed minimum and maximum values, the data is valid; otherwise, it is invalid. In the internal parameter standardization unit, the data type of the scaling factor is determined to be floating point, a default value for the scaling factor is set, and the adjustment range of the scaling factor is limited.
[0010] Preferably, the visualization configuration and parameter configuration module includes a visualization configuration interface unit and a parameter setting and update unit. The visualization configuration interface unit sets an interface threshold and provides a visualization configuration interface. Algorithm blocks are arranged and connected in the working area of the visualization configuration interface. The parameter setting and update unit binds the parameter setting control of each algorithm block to the parameter variables inside the algorithm block, sets the input box parameters, and adjusts the parameters by using a slider.
[0011] Preferably, in the visual configuration interface unit, the position coordinates of the algorithm block in the working area are calculated. Based on the current screen coordinates of the mouse and the relative offset of the algorithm block at the start of dragging, the target coordinates of the algorithm block in the working area are obtained, and the distance between the algorithm blocks is calculated. If the distance is less than the interface threshold, the connection is allowed to be established; otherwise, it is not allowed. In the parameter setting and update unit, the event is captured to obtain the input value, and its validity is checked. If the value is valid, the system converts it into the corresponding value type and writes it to the variable storage address to complete the parameter update. The minimum and maximum values of the slider are set, and the total stroke length of the slider and the current distance of the slider from the starting end are calculated.
[0012] Preferably, the algorithm block connection analysis and performance evaluation module includes a connection relationship parsing unit and an interface compatibility and transmission analysis unit. The connection relationship parsing unit parses the user's configuration, clarifies the function of each algorithm block and the connection relationship between interfaces, and performs automatic adaptation checks on the interfaces between algorithm blocks. The interface compatibility and transmission analysis unit abstracts each algorithm block as a node in a graph and the connection relationship between algorithm blocks as an edge in a graph. It extracts the connection information of the algorithm blocks from the storage file of the visual configuration, parses the source interface and target interface of each connection, and performs interface compatibility verification on each edge.
[0013] Preferably, in the connection relationship parsing unit, a data type is set, and it is determined whether the data types are the same. If the data types are the same, they can be converted; otherwise, they cannot be converted. In the interface compatibility and transmission analysis unit, the source data range and the target interface allowable range are set. If the legal conditions are not met, the source data is processed, and the path length and the depth from the starting node to other nodes are calculated. The complete transmission path of the data is analyzed, and the transmission efficiency and bottlenecks of each data link are analyzed. The analysis results are used to generate a topology graph, and the processing delay of all algorithm blocks and the link transmission delay are added together to verify the legality of the algorithm block connection.
[0014] Preferably, the system operation and scheduling module includes a system initialization, scheduling and status control unit. The system initialization, scheduling and status control unit collects raw data through sensors, converts various physical quantities in the industrial field into electrical signals and digital signals through different physical effects and conversion mechanisms, and analyzes the data dependencies between algorithm blocks to construct a dependency graph.
[0015] Preferably, in the system initialization, scheduling and status control unit, the collected raw data is analyzed and calculated. By averaging the data from multiple consecutive sampling points, control instructions and receiving operation instructions are generated. Then, algorithm blocks are determined, an algorithm block dependency graph is constructed, and the scheduler traverses the dependency graph to generate the input data required for the algorithm block. By maintaining the execution status and data ready flag of each algorithm block, it is determined whether the algorithm block has been scheduled for execution.
[0016] Compared with the prior art, the beneficial effects of the present invention are as follows: 1. Improve the development efficiency of heating network monitoring pages: This invention constructs a dedicated configuration algorithm block library and commonly used page templates for heating networks. Users do not need to perform a lot of customized coding. They can complete the construction of heating network monitoring pages by dragging and dropping and configuring, which greatly shortens the development cycle, lowers the development threshold, and enables non-professional developers to participate in the construction of heating network pages.
[0017] 2. Enhance the adaptability of heating network scenarios: The algorithm block library is customized for the needs of heating network core parameter collection, operating condition analysis, and control command generation. At the same time, it supports flexible adjustment of algorithm block parameters and page layout according to the needs of different types of heating networks (urban centralized heating, industrial plant heating networks) to adapt to the diverse needs of heating network monitoring.
[0018] 3. Reduce the difficulty of maintaining the heat network page: Adopting an integrated encapsulation mechanism, when the heat network monitoring requirements change, there is no need to modify the core code. Only the algorithm block parameters, data mapping relationships or page layout in the page configuration file need to be adjusted, resulting in low maintenance cost and high efficiency.
[0019] 4. Ensure the accuracy and stability of heating network monitoring: A heating network data dictionary enables precise mapping between algorithm blocks and data interfaces. Simultaneously, data type and configuration information integrity checks are performed during the encapsulation process to reduce data interaction anomalies and algorithm calculation deviations, thereby improving the accuracy of heating network monitoring. The modular encapsulation of algorithm blocks and pages makes system fault diagnosis more convenient, ensuring the stable operation of the heating network monitoring system. Attached Figure Description
[0020] Figure 1 This is a flowchart illustrating the overall module principle of the present invention; Figure 2 This is a flowchart illustrating the principle of the basic definition module of the algorithm block in this invention. Figure 3 This is a flowchart illustrating the principle of the visualization configuration and parameter configuration module of this invention. Figure 4 This is a flowchart illustrating the principle of the algorithm block connection analysis and performance evaluation module of this invention. Figure 5This is a flowchart illustrating the principle of the system operation and scheduling module of the present invention; Figure 6 This is a schematic diagram of the overall module of the present invention.
[0021] Figure reference numerals: 100, Algorithm block basic definition module; 110, Algorithm block identification and function definition unit; 120, Interface specification unit; 130, Internal parameter standardization unit; 200, Visual configuration and parameter configuration module; 210, Visual configuration interface unit; 220, Parameter setting and update unit; 300, Algorithm block connection analysis and performance evaluation module; 310, Connection relationship parsing unit; 320, Interface compatibility and transmission analysis unit; 400, System operation and scheduling module; 410, System initialization, scheduling and status control unit. Detailed Implementation
[0022] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0023] Unless otherwise stated, the terms used herein (including technical terms) have their common meaning as understood by one of ordinary skill in the art. Furthermore, it is understood that terms defined in commonly used dictionaries should be understood to have a meaning consistent with the context of their relevant field, and not to be interpreted as having an idealized or overly formal meaning.
[0024] See Figures 1 to 6 This invention provides a method for encapsulating hot network pages based on configuration algorithm blocks: In the construction and operation of heating network monitoring systems, the webpage serves as the core carrier for data display, algorithm configuration, and control interaction. Its development efficiency and adaptability directly impact the real-time performance and reliability of heating network monitoring. Traditional heating network monitoring page development often employs customized coding methods. Developers need to write page layout code, data interaction code, and algorithm integration code one by one according to the specific monitoring requirements of the heating network. However, in industrial heating network control systems, the functions of algorithm blocks vary greatly (such as data acquisition, filtering, control logic, alarm judgment, etc.). If the input / output formats, data types, and interaction methods of each algorithm block are not uniform, it will lead to the dilemma of "blocks not being able to interface." Therefore, the algorithm block identifier and function definition unit 110 is used to define the unique identifier of the algorithm block and its detailed function description. The specific working principle is as follows: First, define the unique identifier of the algorithm block, and then generate the sequence number of the unique identifier in order. This can be achieved through a simple counting method. If an identifier already exists... The algorithm block with the same function, when generating the first... When identifying an algorithm block, the sequence number is... This can be expressed mathematically as follows: Let the number of existing algorithm blocks be... New algorithm block number When assigning an identifier to a new algorithm block, the proposed identifier is compared with all existing identifiers in the system one by one. If the proposed identifier is found to be duplicated with an existing identifier, a new identifier is generated according to the rules until the identifier is unique in the system. This ensures that no two algorithm blocks have the same identifier in the entire industrial control system, thereby avoiding confusion in the calling and management of algorithm blocks. Then, a detailed functional description is defined. Taking the motor speed control algorithm block in industrial equipment as an example, its input conditions are first clarified, such as the current actual speed value of the motor (obtained through a speed sensor) and the speed setpoint (given by the operator or host computer). Next, its processing is analyzed, that is, comparing and calculating the input actual speed and setpoint speed through a specific control algorithm (such as a PID control algorithm). Finally, its output result is determined, which is the control signal used to control the motor (such as a voltage or current regulation signal). At this point, the functional description can be written as "This algorithm block receives the current actual speed value and speed setpoint of the motor, calculates the deviation between the two through a PID control algorithm, and outputs a corresponding control signal to adjust the motor speed, so that the motor speed is stable near the setpoint." The calculation formula for the PID control algorithm is: In the continuous time domain, the output of the PID controller... ,in This is a proportionality coefficient used to account for deviations. ( Adjust the proportions to increase It can speed up system response. The integral time constant is used to eliminate the steady-state error of the system. It is a deviation From 0 to Integral at time step, The differential time constant can be used to predict the trend of deviation changes. It's a deviation. The derivative with respect to time represents the rate of change of the deviation; The interface specification unit 120 defines the interface data type and formats the data according to the different ways different algorithm blocks process data, limiting the value range of the interface data. The specific working principle is as follows: when the sending algorithm block outputs data, its data type (such as floating-point, integer, boolean, etc.) is clearly defined. The receiving algorithm block will determine whether it can process the data based on its own preset acceptable data types. For example, if there is an integer data... To convert to floating-point data That is, expressed by the formula as ; Then, taking temperature acquisition as an example, industrial production often requires a certain level of temperature accuracy to ensure the stability of the production process and product quality. Temperature data with two decimal places can meet this accuracy requirement. ,in Indicates rounding down; Finally, the range of values for the algorithm block interface data is limited, and the data value is set to... The minimum allowed value is The maximum value is ,like , The data is valid. Invalid data; Internal parameter standardization unit 130 is used to standardize the definition of internal parameters of the algorithm block. Taking the PID control algorithm block as an example, the proportional coefficient... Integral Time and differential time It is a key parameter that determines the effectiveness of PID control; therefore, determining it is crucial. Data type (floating-point), set Default value, final qualifier By adjusting the range of values, the output characteristics of the PID controller can be changed to adapt to different industrial control scenarios. The visual configuration interface unit 210 sets the interface threshold and provides a visual configuration interface. Algorithm blocks are arranged and connected in the working area of the visual configuration interface. The visual connection method formula expression is as follows: When the user drags an algorithm block, the position coordinates of the algorithm block in the working area are first calculated. Let the current screen coordinates of the mouse be... The relative offset of the algorithm block at the start of dragging is The target coordinates of the algorithm block in the working area It can be represented as: When performing connection operations between algorithm blocks, it is necessary to check whether the interface positions match. Assume the output interface coordinates of algorithm block A are... The input interface coordinates of algorithm block B are When a user attempts to connect to these two interfaces, the distance between the two coordinates is calculated. ,like If the value is less than the interface threshold, a connection is allowed; otherwise, a connection is not allowed. The parameter setting and updating unit 220 binds the parameter setting controls (such as input boxes and sliders) of each algorithm block to the parameter variables inside the algorithm block. It sets the parameters in the input boxes and adjusts the parameters via the sliders. The specific working principle is as follows: it uses PID control of the algorithm block... For example, the parameters on the interface The input box will be bound to the algorithm block. The variable storage address is set when a user enters a value in the input box and presses the Enter key or loses focus. This triggers an event, which the system captures, retrieves the entered value, and performs a validity check. If the value is valid, the system converts it to the corresponding numeric type (e.g., floating-point) and writes it to the input box. The parameters are updated at the variable's storage address; Then set the minimum value of the slider. and maximum value When the slider is dragged, its position is converted into parameter values in real time. Let the total travel length of the slider be... The distance from the starting end of the slider is Then the parameter value When the system detects this unit mismatch but the interface allows conversion, it will automatically call the formula to convert the data, ensuring that the data can be correctly processed by subsequent algorithm blocks. The connection relationship parsing unit 310 parses the user's configuration, clarifies the functions of each algorithm block and the connection relationships between interfaces, and performs automatic adaptation checks on the interfaces between algorithm blocks. The specific working principle is as follows: assuming the data type of the sending interface is... The data type of the receiving interface is The logical expression for determining whether the data types match is: , can be represented as, , among which, Function to check if there is a source to Conversion rules; Then, let the range of data values for the sending interface be... ,in The function is used to check if there is a scaling factor that adapts the sending range to the receiving range; Finally, let the data unit of the sending interface be... The unit of data received by the interface is The logical expression for determining whether the units match is: Or, to determine whether a unit conversion rule exists, it can be expressed as ; The interface compatibility and transmission analysis unit 320 analyzes the connection relationships between all algorithm blocks and constructs the network topology for data transmission. Specifically, it abstracts each algorithm block as a node in a graph, and the connection relationships between algorithm blocks as edges. It extracts the connection information of the algorithm blocks from a storage file (such as JSON) containing the visual configuration, parses the source and target interfaces of each connection, and performs interface compatibility checks on each edge, setting the data type of the source interface to... The target interface data type is The existence function of the transformation rule is ,but And verify the value range, setting the source data range. Target interface allowed range The legal conditions are: If the condition is not met, the automatic truncation formula is: Then, use depth-first search (DFS) to traverse the entire graph and calculate the path length: ( ), from the starting node To node Depth: The entire data transmission path is analyzed, and for each data chain obtained through traversal, its transmission efficiency and bottlenecks are analyzed. The analysis results are visualized, generating a connection topology diagram of all algorithm blocks, a list of connections with compatibility issues, and performance bottleneck paths. Above Algorithm blocks and One transmission link: ,in, To handle latency in algorithm blocks, The link transmission delay provides a mathematical basis for validating the validity of algorithm block connections, optimizing paths, and evaluating performance. The system initialization, scheduling, and status control unit 410 collects raw data through sensors. Different physical effects and conversion mechanisms convert various physical quantities (such as temperature, pressure, flow rate, velocity, etc.) in the industrial field into electrical signals (such as voltage, current, etc.) and digital signals. Taking a temperature sensor (such as a thermocouple) as an example: when there is a temperature difference between the measuring end and the reference end of the thermocouple, a thermoelectric potential (voltage signal) will be generated in the circuit. ,in, It is the temperature at the measuring end. It is the reference temperature. It is the thermocouple's calibration factor. The collected raw data is analyzed and calculated (e.g., filtering, PID control). Data is smoothed by averaging data from multiple consecutive sampling points to reduce the impact of random noise. A sampling period is then set. Take the nearest Sample values The output after moving average filtering This reduces the impact of random noise. It generates control commands, presents the processed data to the operator in a visual manner, and receives instructions from the operator. If the operator inputs a target value through the visual interface... (e.g., target temperature), based on the target value and the current actual value Calculate the adjustment value of the control quantity, and calculate the control quantity according to the PID algorithm. Among them, the deviation , used to drive the action of the actuator; Then, when drawing a line chart to display data trends, it is necessary to calculate the coordinates of the data points on the screen, and set the width and height of the screen's drawing area to [value missing]. The range of data values is A certain data value Then, the x-coordinate of the data point in the plotting area can be proportionally allocated according to the time sequence of the data, and the y-coordinate... This allows us to determine the position of data points on the screen and draw a line graph. Then, the data dependencies between algorithm blocks are analyzed, and a dependency graph is constructed. The specific working principle is as follows: Algorithm blocks are determined, and the dependencies of all algorithm blocks are organized in the form of a directed graph. Each node represents an algorithm block, and directed edges represent the direction of data dependency (from the lower-level algorithm block providing data to the upper-level algorithm block requiring data). To ensure that algorithm blocks are executed in an ordered manner according to their dependencies, a topological sort is needed on the dependency graph. Topological sorting involves sorting the vertices of a directed acyclic graph so that for each directed edge... ,vertex They are all located at the apex in the sorting. Previously, a scheduler was used to traverse the dependency graph to generate the input data required for the algorithm block; Furthermore, to prevent algorithm blocks from not fully outputting data, it is necessary to check all their predecessor algorithm blocks during scheduling. By maintaining the execution status and data readiness flag of each algorithm block, if Representing algorithm blocks Has the process been completed? Representing algorithm blocks Whether usable data has been generated, then the algorithm block The conditions for execution are: An algorithm block is only considered complete when all predecessor algorithm blocks have finished executing and the data is ready. Only then will it be scheduled for execution.
[0025] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely preferred examples and are not intended to limit the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of the present invention is defined by the appended claims and their equivalents.
Claims
1. A method for encapsulating hot network pages based on configuration algorithm blocks, characterized in that: It includes an algorithm block basic definition module (100), a visualization configuration and parameter configuration module (200), an algorithm block connection analysis and performance evaluation module (300), and a system operation and scheduling module (400). The algorithm block basic definition module (100) is used to define the unique identifier and detailed functional description of the algorithm block, and to specify the interface data type according to the different ways of processing data of different algorithm blocks, and to standardize the data format and limit the value range of the interface data. The visualization configuration and parameter configuration module (200) sets the interface threshold and provides a visualization configuration interface, binds the parameter setting control of each algorithm block to the parameter variables inside the algorithm block, sets the input box parameters, and adjusts the parameters by the slider. The algorithm block connection analysis and performance evaluation module (300) parses the user's configuration, clarifies the functions of each algorithm block and the connection relationship between the interfaces, performs automatic adaptation checks on the interfaces between algorithm blocks, analyzes the connection relationship between all algorithm blocks, and constructs the network topology structure for data transmission. The system operation and scheduling module (400) collects raw data through sensors, converts various physical quantities in the industrial field into electrical signals and digital signals through different physical effects and conversion mechanisms, analyzes the data dependencies between algorithm blocks, constructs a dependency graph, uses a scheduler to traverse the dependency graph, generates the input data required by the algorithm block, and checks whether the algorithm block before scheduling can be scheduled and executed.
2. The method for encapsulating a hot network page based on a configuration algorithm block according to claim 1, characterized in that: The algorithm block basic definition module (100) includes an algorithm block identifier and function definition unit (110), an interface specification unit (120), and an internal parameter standardization unit (130). The algorithm block identifier and function definition unit (110) defines the unique identifier and detailed function description of the algorithm block, and generates the serial number of the unique identifier in sequence. The interface specification unit (120) determines whether the algorithm block can process the data based on its own preset acceptable data type. The internal parameter standardization unit (130) is used to standardize the definition of the internal parameters of the algorithm block.
3. The method for encapsulating a hot network page based on a configuration algorithm block according to claim 2, characterized in that: In the algorithm block identifier and function definition unit (110), the algorithm block serial number is generated by counting and compared with the existing identifiers in the system one by one to ensure the uniqueness of the algorithm block. The current actual speed value and speed set value of the industrial equipment are received. The deviation between the two is calculated by the PID control algorithm and the control signal is output to adjust the motor speed. The PID control algorithm first multiplies the current deviation by the proportional coefficient, adds the integral of the deviation from the start time to the current time, multiplies it by the proportional coefficient, divides it by the integral time constant, adds the differential time constant, and multiplies it by the rate of change of the deviation over time.
4. The method for encapsulating a hot network page based on a configuration algorithm block according to claim 3, characterized in that: In the interface specification unit (120), the original data is multiplied by 100, rounded down, and then divided by 100, and a value range is set. If the data value is between the minimum and maximum allowed values, the data is valid; otherwise, it is invalid. In the internal parameter standardization unit (130), the data type of the scaling factor is determined to be floating point, the default value of the scaling factor is set, and the adjustment range of the scaling factor is limited.
5. The method for encapsulating a hot network page based on a configuration algorithm block according to claim 4, characterized in that: The visualization configuration and parameter configuration module (200) includes a visualization configuration interface unit (210) and a parameter setting and update unit (220). The visualization configuration interface unit (210) sets the interface threshold and provides a visualization configuration interface. The algorithm blocks are arranged and connected in the working area of the visualization configuration interface. The parameter setting and update unit (220) binds the parameter setting control of each algorithm block to the parameter variables inside the algorithm block, sets the input box parameters, and adjusts the parameters by the slider.
6. The method for encapsulating a hot network page based on a configuration algorithm block according to claim 5, characterized in that: In the visualization configuration interface unit (210), the position coordinates of the algorithm block in the working area are calculated. Based on the current screen coordinates of the mouse and the relative offset of the algorithm block at the start of dragging, the target coordinates of the algorithm block in the working area are obtained, and the distance between the algorithm blocks is calculated. If the distance is less than the interface threshold, the connection is allowed to be established; otherwise, it is not allowed. In the parameter setting and update unit (220), the event is captured to obtain the input value, and the validity is checked. If the value is valid, the system converts it into the corresponding value type and writes it to the variable storage address to complete the parameter update. The minimum and maximum values of the slider are set, and the total stroke length of the slider and the current distance of the slider from the starting end are calculated.
7. The method for encapsulating a hot network page based on a configuration algorithm block according to claim 6, characterized in that: The algorithm block connection analysis and performance evaluation module (300) includes a connection relationship parsing unit (310) and an interface compatibility and transmission analysis unit (320). The connection relationship parsing unit (310) parses the user's configuration, clarifies the functions of each algorithm block and the connection relationships between interfaces, and performs automatic adaptation checks on the interfaces between algorithm blocks. The interface compatibility and transmission analysis unit (320) abstracts each algorithm block as a node in a graph and the connection relationships between algorithm blocks as edges in a graph. It extracts the connection information of the algorithm blocks from the storage file of the visual configuration, parses the source interface and target interface of each connection, and performs interface compatibility verification on each edge.
8. The method for encapsulating a hot network page based on a configuration algorithm block according to claim 7, characterized in that: In the connection relationship parsing unit (310), the data type is set and it is determined whether the data types are the same. If the data types are the same, they can be converted; otherwise, they cannot be converted. In the interface compatibility and transmission analysis unit (320), the source data range and the target interface allowable range are set. If the legal conditions are not met, the source data is processed, and the path length and the depth from the starting node to other nodes are calculated. The complete transmission path of the data is analyzed, and the transmission efficiency and bottleneck of each data link are analyzed. The analysis results are used to generate a topology graph, and the processing delay of all algorithm blocks and the link transmission delay are added together to verify the connection of the algorithm blocks.
9. A method for encapsulating a hot network page based on a configuration algorithm block according to claim 8, characterized in that: The system operation and scheduling module (400) includes a system initialization, scheduling and status control unit (410). The system initialization, scheduling and status control unit (410) collects raw data through sensors, converts various physical quantities in the industrial field into electrical signals and digital signals through different physical effects and conversion mechanisms, and analyzes the data dependencies between algorithm blocks to construct a dependency graph.
10. A method for encapsulating a thermal network page based on a configuration algorithm block according to claim 9, characterized in that: In the system initialization, scheduling and status control unit (410), the collected raw data is analyzed and calculated. By averaging the data of multiple consecutive sampling points, control instructions and receiving operation instructions are generated. Then, the algorithm block is determined, the algorithm block dependency graph is constructed, and the scheduler traverses the dependency graph to generate the input data required by the algorithm block. By maintaining the execution status and data ready flag of each algorithm block, it is determined whether the algorithm block has been scheduled and executed.