Dynamic customization method, device and equipment for intelligent software system of coal preparation plant and medium
By obtaining the object model of the equipment flowchart drawing tool and the physical equipment mapping, combining with the intelligent control system, real-life linkage of the equipment and physical objects is realized, and the combination and integration of business processes is established through building combinations and preset attributes and standard logic, the problems of long development cycle and high cost of existing industrial and mining customized software methods are solved, and the intelligent application modules are quickly built and adjusted, reducing the customization cycle and cost.
Patent Information
- Application Number
- CN202510334994.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-20
- Publication Date
- 2025-04-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing industrial and mining customized software methods have a long development cycle and high cost, which is difficult to meet the personalized needs of coal preparation plants.
By obtaining the object model of the equipment flowchart drawing tool and the physical device mapping, combined with an intelligent control system, the linkage between the equipment and physical objects is realized. Create software examples based on preset canvas, combine them with actual production processes, establish a virtual process flow chart and map it to the production process of physical equipment, and establish a combination and integration of business processes through preset attributes and standard logic.
It realizes the rapid construction and adjustment of intelligent application modules, flexibly adapts to different business processes and scenarios, and reduces the customization cycle and cost.
Smart Images

Figure CN119847527A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of industrial and mining customization technology, and specifically, to a method, device, equipment and medium for dynamic customization of an intelligent software system of a coal preparation plant. Background Art
[0002] The Industrial Internet of Things platform will face a large number of personalized needs in the process of applying the intelligent business modules of coal preparation plants, resulting in the need for standardized functional modules to cope with the differentiated needs of different coal preparation plants. These differences include differences in production processes, production equipment, and management methods. In order to meet the personalized needs of different owners, it is generally necessary to invest a lot of manpower and material resources to customize the redesign and development of the standard functions of the platform. Developers also need to have a deep understanding of the working principles and data characteristics of these devices and carry out targeted software development, which will extend the development cycle and significantly increase the delivery cost. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a method, device, equipment and medium for dynamically customizing an intelligent software system of a coal preparation plant, so as to solve the problems of long development cycle and high cost of current customized software methods for industry and mining.
[0004] In a first aspect, an embodiment of the present application provides a method for dynamically customizing an intelligent software system of a coal preparation plant, comprising: Obtain a device flowchart drawing tool, wherein the device flowchart drawing tool includes element types, a canvas, and setting functions; Obtain the physical model of the physical device mapping in the software system, and link the physical device by associating it with the intelligent control system. Each physical model has corresponding attributes, including the flow chart of the current model and various executable software logics; Based on the software instance created by the preset canvas, combined with the actual production process, the application setting function is assembled and combined to complete the virtual process flow chart and establish a mapping with the production process of the physical equipment; Through preset attributes and standard logic, the business processes of the entire system are combined and connected to complete the construction of independent applications.
[0005] In the above implementation process, a device flow chart drawing tool is obtained, wherein the device flow chart drawing tool includes element types, canvases and setting functions; a physical model of the physical device mapping in the software system is obtained, and the physical device is linked by associating with the intelligent control system, wherein each physical model has corresponding attributes, and the attributes include the flow chart of the current model and various executable software logics; the software instance created based on the preset canvas is assembled and combined with the actual production process through the application setting function to complete the virtual process flow chart, and then establish a mapping with the production process of the physical equipment; through the preset attributes and standard logic, the combination and connection of the business process of the entire system is established to complete the construction of an independent application; thereby, various intelligent application modules can be quickly built and adjusted, and different business processes and scenarios can be flexibly adapted. At the same time, through a rich standard component library, the basic business logic is encapsulated in the unit component to ensure the correctness of the tool construction effect and reduce the customization cycle and cost.
[0006] Further, the element types include: object instances, buttons, and pipeline lines; Through physical instances, the position and status of physical equipment in the entire process can be obtained; Through the operation interface associated with the object instance, the physical device is remotely controlled or the real-time status and attribute data of the physical device is obtained; Trigger specific actions or logic in the flowchart through button elements; Thing instances that connect different physical devices.
[0007] In the above implementation process, through the object instance, the operator can intuitively understand the position and status of the equipment in the entire process flow, and can remotely control the equipment or obtain the real-time status and attribute data of the equipment through the operation interface associated with the object instance; when the operator clicks the corresponding button, a control instruction will be sent to the equipment, thereby realizing manual control of the equipment; the existence of pipeline lines makes the upstream and downstream relationships between equipment clear at a glance, which helps to understand the logical order of the entire process flow, and the data after analysis provides a basis and judgment basis for the association analysis and intelligent control between equipment.
[0008] Furthermore, the software instance created based on the preset canvas includes: By freely dragging the object model in the canvas provided by the device flowchart drawing tool, a software instance is obtained; wherein the canvas includes the functions of automatic layout, automatic typesetting, and auxiliary alignment; The automatic layout function automatically adjusts the distribution position of equipment instances on the canvas according to the complexity of the equipment flow chart and the number of equipment; The automatic layout function optimizes the arrangement order between equipment and arranges the equipment according to the logical order of the process flow or user-defined rules; The auxiliary alignment function helps to align equipment and lines when dragging equipment instances or drawing pipeline lines; When the canvas is saved, the device information on the canvas and its upstream and downstream relationships are stored in a standard format as a complete set of flowchart data.
[0009] In the above implementation process, the automatic layout function makes the entire flowchart layout reasonable and beautiful, avoiding the confusion and overlap that may be caused by manual layout; the automatic typesetting function improves the readability of the flowchart; the auxiliary alignment function can accurately align equipment and lines to ensure the standardization and accuracy of the flowchart.
[0010] Furthermore, the application setting function is used to assemble and combine, including: For the entire flowchart, receiving the appearance set by the user, wherein the appearance set by the user includes background color, line color and thickness, and font style; For a single element, receiving appearance attributes set by a user, wherein the appearance attributes set by the user include: display size, color, transparency, and displaying or hiding specific attribute information; For a button, a style function of the button set by a user is received, wherein the style function of the button set by the user includes changing the shape of the button, setting an operation button with a prominent color, and setting a click feedback effect of the button.
[0011] In the above implementation process, different visual needs are met or the user's specific style standards are met; specific attribute information can be displayed or hidden to enhance the intuitive experience of user operation.
[0012] Furthermore, the combination and connection of the business process of the entire system is established through the preset attributes and standard logic to complete the construction of independent applications, including: The location information of physical equipment and the relationship between the location information of physical equipment and pipelines are saved through the equipment flow chart, and stored in the database in a standard data format and parsed by the program; Through the MQTT message queue telemetry transmission protocol, combined with the front-end polling or button triggering method, the current status and attribute values of each physical device instance can be queried in real time; the elements of the query page switch picture effects according to different states; After the device flow chart is built, the object instances and the relationships between them are analyzed, and the specified standard logic of the first instance on a task link is triggered through the set interface instructions; Based on the execution results, the upstream and downstream relationships of the instances are analyzed to determine the logic to be executed by the next instance, thus completing the combination of the entire business logic or a set of business instructions. Through the device flowchart drawing tool, the low-code construction of the system page is completed, where the system page provides dynamic display of status and results.
[0013] In the above implementation process, dynamic adjustment and optimization of logic are achieved, which improves the intelligence and automation level of the system.
[0014] Furthermore, the above-mentioned searching for the upstream and downstream relationship of the instance according to the execution result and parsing to determine the logic to be executed by the next instance includes: In the process flow of a coal preparation plant, different production stages and equipment combinations use different logic controls; Determine the standard execution logic and select execution parameters based on the current physical equipment's position in the entire process and the operating status of upstream and downstream physical equipment; The standard logic is the standard logic built into the physical model. Different physical models have different standard logics according to the different executable operations.
[0015] In the above implementation process, the standard logic to be executed and the selection of execution parameters are determined according to the position of the device in the entire system and the operating status of the upstream and downstream devices, thereby realizing dynamic adjustment and optimization of the logic and improving the intelligence and automation level of the system. Each device type has built-in standard business logic, which is highly industry-specific and practical, reducing the user's development workload and difficulty.
[0016] Further, the standard logic includes: manual control logic and intelligent automatic logic; Manual control is performed by operating the button elements in the equipment flow chart drawing tool; Configure trigger conditions by timers and timing rules for intelligent automation.
[0017] In the above implementation process, the use of standard logic is divided into manual control and intelligent automatic. Manual control is triggered by page buttons, and intelligent automatic is triggered by timers and timing rules to configure trigger conditions, meeting the control requirements in different scenarios.
[0018] In a second aspect, the embodiment of the present application provides a dynamic customization device for an intelligent software system of a coal preparation plant, comprising: A tool acquisition module, used to acquire a device flowchart drawing tool, wherein the device flowchart drawing tool includes element types, canvas and setting functions; The mapping linkage module is used to obtain the physical model of the physical device mapping in the software system, and to link the physical device by associating it with the intelligent control system. Each physical model has corresponding attributes, including the flow chart of the current model and various executable software logics. The assembly and combination module is used to assemble and combine the software instances created based on the preset canvas, and apply the setting function in combination with the actual production process, so as to complete the virtual process flow chart and establish the mapping with the production process of the physical equipment; The logic building module is used to establish the combination and connection of the business processes of the entire system through preset attributes and standard logic to complete the construction of independent applications.
[0019] In a third aspect, an embodiment of the present application provides an electronic device, including: A processor, a memory and a bus, wherein the processor is connected to the memory via the bus, and the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, they are used to implement the dynamic customization method of the intelligent software system of the coal preparation plant as described above.
[0020] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a server, implements the method for dynamic customization of an intelligent software system for a coal preparation plant as described above. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 A schematic diagram of a flow chart of a method for dynamic customization of an intelligent software system for a coal preparation plant provided in an embodiment of the present application; Figure 2 It is a structural schematic diagram of a dynamic customization device of an intelligent software system for a coal preparation plant provided in an embodiment of the present application; Figure 3 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0024] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0025] The intelligent modules of coal preparation plants generally adopt the traditional software development process. According to the personalized needs of different sites, different processes, different equipment and users, the process is carried out in sequence according to the steps of demand collection, demand analysis, product design, product development, system testing, delivery and operation. Not only is the overall process long, but each link requires the participation of professionals. In addition to professional knowledge, they also need to have an in-depth understanding of the details of the coal preparation production process. Otherwise, the software system may not meet the production technical requirements of the coal preparation plant.
[0026] Common low-code tools are mostly aimed at software systems with clear business rules, high standardization of logic units, low customization, and shallow business coupling, such as office OA systems. For coal preparation plants, which have a variety of equipment types, software and hardware linkage, and complex equipment executable actions, the same equipment must execute different logics under different process flows and has relationships with other equipment in the entire system, there is currently no low-code tool that can quickly build such business scenarios.
[0027] Based on this, the embodiment of the present application provides a method for dynamically customizing the intelligent software system of a coal preparation plant. The embodiment of the present application is designed and implemented based on the concept of physical models, and the physical objects in the physical world are mapped to the physical models in the software system. The classification of physical models covers all kinds of physical objects used in production management of coal preparation plants in the real world, including but not limited to spatial positions, natural resources, equipment systems, spare parts and consumables, personnel organizations, etc. Each physical model has corresponding attributes, which include the flow chart of the current model and various executable software logics, and realizes linkage with the physical equipment through association with PLC. The software instance created by freely dragging the physical model in the canvas provided by this tool is assembled and combined according to the actual production process. After completing the virtual process flow chart, the mapping with the production process of the physical equipment can be automatically realized. Through the preset attributes and standard logic, the entire process is combined and connected, so as to complete the rapid construction of independent applications.
[0028] Please see Figure 1 , Figure 1 A flow chart of a method for dynamically customizing an intelligent software system of a coal preparation plant provided in an embodiment of the present application. The method for dynamically customizing an intelligent software system of a coal preparation plant includes: 100. Obtain a device flowchart drawing tool, wherein the device flowchart drawing tool includes element types, a canvas, and setting functions.
[0029] Specifically, the element types include: object instances, buttons, and pipeline lines.
[0030] Among them, the position and status of the physical equipment in the entire process flow are obtained through the object instance; the physical equipment is remotely controlled or the real-time status and attribute data of the physical equipment are obtained through the operation interface associated with the object instance; specific operations or logic are triggered in the flow chart through button elements; and object instances of different physical equipment are connected.
[0031] Specifically, an object instance is the representation of the equipment in the flow chart, which directly corresponds to the object model instance. For example, in the equipment flow chart of a coal preparation plant, an object instance representing a specific crusher will be displayed on the canvas. Through the object instance, the operator can intuitively understand the position and status of the equipment in the entire process flow, and can remotely control the equipment or obtain the real-time status and attribute data of the equipment through the operation interface associated with the object instance. The source of these attribute values can be PLC or the result of calculation through other attribute values.
[0032] Specifically, button elements are used to trigger specific operations or logic in the flowchart. For example, there are start buttons, stop buttons, frequency adjustment buttons, emergency brake buttons, etc. These buttons correspond to the executable operations of the equipment. When the operator clicks the corresponding button, a control instruction will be sent to the equipment, thereby realizing manual control of the equipment. The design of buttons enables operators to easily operate the equipment on the flowchart interface without switching to other complex control interfaces.
[0033] Specifically, different equipment instances are connected to represent the relationships between equipment such as material flow, information flow or energy flow. In the process flow of a coal preparation plant, raw coal is transported from the coal feeder to the crusher through a pipeline line, and the crushed product is then transported to subsequent equipment such as screening machines through a pipeline line. The existence of pipeline lines makes the upstream and downstream relationships between equipment clear at a glance, which helps to understand the logical sequence of the entire process flow, and after the data is parsed, it provides a basis and judgment basis for the association analysis and intelligent control between equipment. The pipeline line is a special object instance. It automatically establishes an association relationship based on the connected upstream and downstream and bypass branch object instances, and automatically displays the status, flow rate, flow direction and other information of the pipeline based on the status of the upstream and downstream equipment.
[0034] 200. Obtain the physical model mapped by the physical device in the software system, and link the physical device by associating it with the intelligent control system, wherein each physical model has corresponding attributes, and the attributes include the flow chart of the current model and various executable software logics.
[0035] It can be understood that the physical model is an abstract representation of a class of physical objects in the real world, which maps physical objects in the physical world to the software system. For example, in the coal preparation plant scenario, various types of coal preparation equipment such as crushers, screens, conveyors, etc. have corresponding physical models. Each physical model contains its physical image or dynamic image, which helps to intuitively display the appearance and operating status of the equipment. At the same time, the physical model also covers a variety of attributes, such as the model, power, production capacity, etc. of the equipment, as well as the operations that can be performed, such as starting, stopping, speed regulation, etc. Through this mapping relationship, the system can digitally describe and manage physical equipment, laying the foundation for the subsequent realization of IoT functions.
[0036] The object model can be instantiated into a specific instance. An instance of the object model corresponds to a specific object in the real world. For example, a crusher of a specific model installed in a specific location is an instance of the crusher object model. It inherits the properties and executable operations of the crusher object model and has the unique operating data of the instance, such as the current operating time, cumulative processing volume, etc. Object model instances can freely establish association relationships, including the system they belong to (belonging to other object instances), the components they contain (including other object instances), the upstream and downstream equipment associations (the associations before and after the process flow link), etc. This is one of the important sources of judgment when the object instance executes an operation.
[0037] 300. The software instance created based on the preset canvas is combined with the actual production process and the setting function is applied to assemble and combine to complete the virtual process flow chart and establish a mapping with the production process of the physical equipment.
[0038] In some embodiments, the software instance created based on the preset canvas includes: A software instance is created by freely dragging an object model in the canvas provided by the device flowchart drawing tool; the canvas includes functions of automatic layout, automatic typesetting, and auxiliary alignment.
[0039] Specifically, the automatic layout function automatically adjusts the distribution position of equipment instances on the canvas according to the complexity of the equipment flow chart and the number of equipment; the automatic typesetting function optimizes the arrangement order between equipment and arranges the equipment according to the logical order of the process flow or user-defined rules; the auxiliary alignment function assists in aligning equipment and lines when dragging equipment instances or drawing pipeline lines.
[0040] Therefore, the automatic layout function makes the entire flowchart layout reasonable and beautiful, avoiding the confusion and overlap that may be caused by manual layout; the automatic typesetting function improves the readability of the flowchart; the auxiliary alignment function can accurately align equipment and lines to ensure the standardization and accuracy of the flowchart.
[0041] For example, when a user drags a new equipment instance onto the canvas, the canvas will automatically display auxiliary alignment lines, allowing the user to easily align the instance with other related equipment to ensure smooth and accurate pipeline line connections.
[0042] In addition, when the canvas is saved, the device information on the canvas and its upstream and downstream relationships are stored in a standard format as a complete set of flowchart data. It can be understood that the data is used by the background logic after parsing.
[0043] In some embodiments, the application setting function performs the assembly combination, including: The settings function allows users to adjust the appearance and property display of the flowchart or the currently selected element. For the flowchart as a whole, the user-set appearance is received, where the user-set appearance includes background color, line color and thickness, and font style; for a single element, the user-set appearance attributes are received, where the user-set appearance attributes include: display size, color, transparency, and display or hiding specific property information; for buttons, the user-set button style functions are received, where the user-set button style functions include changing the shape of the button, setting the color of the highlighted operation button, and setting the click feedback effect of the button.
[0044] Thus, users set background color, line color and thickness, font style, etc. to meet different visual needs or meet the company's specific style standards.
[0045] For example, for a single element, in some cases, the user may only be concerned about the operating status of the device. In this case, the detailed technical parameter information of the device can be hidden to make the flowchart interface more concise and clear.
[0046] 400. Through preset attributes and standard logic, the business process of the entire system is combined and connected to complete the construction of independent applications.
[0047] In some embodiments, the combination and connection of the business process of the entire system is established through preset attributes and standard logic to complete the construction of independent applications, including: 410. The location information of the physical equipment and the relationship between the location information of the physical equipment and the pipeline are saved through the equipment flow chart, stored in the database in a standard data format and parsed by the program.
[0048] 420. Through the MQTT message queue telemetry transmission protocol, combined with the front-end polling or button triggering method, the current status and attribute values of each physical device instance are queried in real time; among which, the elements of the query page switch the picture effects according to different states.
[0049] Exemplarily, the running state is a green rotating effect, the shutdown state is a gray static effect, and the high temperature alarm is a red flashing effect.
[0050] 430. After the device flow chart is constructed, the object instances and the association relationship between the object instances are analyzed, and the specified standard logic of the first instance on a task link is triggered through the set interface instructions.
[0051] 440. According to the execution result, the upstream and downstream relationships of the instance are analyzed and found to determine the logic to be executed by the next instance, and complete the combination of the full set of business logic or a set of business instructions.
[0052] It can be understood that after the device flow chart is constructed, the program will parse the object instances and the relationship between the object instances, and trigger the execution of the specified standard logic of the first instance on a task link through scheduled tasks, buttons, interfaces or other program instructions. According to the execution results and parsing the upstream and downstream relationships of the search instances, the logic to be executed by the next instance is determined, thereby completing the combination of a full set of business logic or a set of business instructions.
[0053] 450. Use the device flowchart drawing tool to complete the low-code construction of the system page, where the system page provides dynamic display of status and results.
[0054] In some embodiments, the step of analyzing and searching for the upstream and downstream relationship of the instance according to the execution result to determine the logic to be executed by the next instance includes: In the process flow of a coal preparation plant, different production stages and equipment combinations use different logic controls. The standard logic for execution is determined and the execution parameters are selected based on the current position of the physical equipment in the entire process flow and the operating status of the upstream and downstream physical equipment. The standard logic is the standard logic built into the physical model, and different physical models have different standard logics based on the different executable operations.
[0055] Optionally, the logic combination will decide which standard logic to execute and the selection of execution parameters based on the position of the current equipment in the entire process and the operating status of the upstream and downstream equipment. In the complex process flow of a coal preparation plant, different production stages and equipment combinations require different logic controls. For example, in the raw coal transportation stage, when multiple coal feeders feed a crusher at the same time, the operating logic of the crusher needs to comprehensively consider factors such as the feeding speed of each coal feeder and the particle size of the material, and dynamically adjust the parameters such as the rotation speed of the crusher and the crushing chamber pressure to ensure a balance between the crushing effect and production efficiency. The embodiment of the present application has built-in standard business logic for each type of equipment in the coal preparation plant. These logics are written and optimized based on the professional knowledge of the coal preparation process and actual production experience, and can meet the control requirements of different production links in the coal preparation plant.
[0056] Optionally, the physical model has built-in standard logic, and different physical models have different standard logics according to the different executable operations. For example, a centrifugal pump has built-in startup logic, shutdown operation, and pump frequency adjustment operation. The startup logic includes confirming the power-on status, confirming the valve status, sending a startup command to the PLC, judging whether it is successful, starting to monitor operating parameters such as pressure value, flow, temperature vibration, or returning startup failure information.
[0057] Optionally, the standard logic built into the equipment is judged through the association relationship and production status of upstream and downstream equipment. In the Internet of Things system of the coal preparation plant, there is a close relationship between the material flow and information flow between the devices. For example, when the upstream coal feeder starts feeding, the downstream crusher should start running according to the pre-set standard logic. Information such as the use method, process location, operating status, etc. of the equipment, together with the association relationship between the upstream and downstream equipment, constitute the basis for judging the execution of a certain standard logic. This part of the judgment logic is also one of the main core contents of the embodiments of the present application.
[0058] In some embodiments, the standard logic includes: manual control logic and intelligent automatic logic; specifically, manual control is performed by operating button elements in the device flowchart drawing tool; trigger conditions are configured by timers and timing rules to perform intelligent automation.
[0059] Optionally, the manual control logic is triggered by a page button. The operator operates the button element in the equipment flow chart drawing tool, such as clicking the start button of the crusher. At this time, the manual control logic corresponding to the button will be triggered, and the system will send a start instruction to the crusher and record relevant operation information in the background. The manual control logic is suitable for equipment operation scenarios that require manual intervention, such as equipment commissioning, emergency handling, or manual operation under specific process requirements. It provides operators with direct and flexible means of equipment control.
[0060] Optionally, the intelligent automatic logic is configured with trigger conditions by timers and timing rules. For example, in the screening machine equipment of the coal preparation plant, the intelligent automatic logic of regularly cleaning the screen can be set. The timer is set to check the blockage of the screen every certain period of time (such as 2 hours). When the timing rules are met (such as the blockage rate of the screen exceeds a certain threshold), the logical operation of cleaning the screen is triggered, including starting the cleaning device, adjusting the equipment operating parameters, etc. The application of intelligent automatic logic enables the equipment to automatically perform corresponding operations according to preset rules without human intervention, improves the intelligence level and production efficiency of equipment operation, and reduces the workload and human errors of manual operation.
[0061] As mentioned above, exemplarily, through the equipment flowchart drawing tool, the low-code rapid construction of the system page is completed, and a dynamic display of status and results is provided on the system page. Through the integration with the equipment flowchart drawing tool and the standard logic management function, the application layer can obtain the equipment's operating status information in real time, such as the equipment's current operating speed, temperature, pressure and other parameters, as well as production result information, such as the raw coal processing volume, clean coal output, tailings discharge volume and other data within a certain period of time. This information is displayed on the system page in the form of intuitive charts, data tables or dynamic graphics for management personnel, operators or other relevant personnel to view and analyze. For example, in the monitoring center of a coal preparation plant, the equipment operation status diagram of the entire coal preparation process is displayed on a large screen, and managers can see the operation status of each device at a glance, detect abnormalities in time and make decisions.
[0062] Exemplarily, intelligent control of the equipment can be achieved through an intermediate program or by directly communicating with the PLC. As the core device of industrial control, the PLC is closely connected to the Internet of Things system of the embodiment of the present application. When the button operation or standard logic in the device flowchart drawing tool triggers the control instruction, the system sends the instruction to the PLC, and the PLC controls the sensor, actuator and other perception layer devices of the device according to the instruction. For example, when the start logic of the crusher is triggered, the system will send a start instruction to the PLC, control the motor starter to turn on the power, so that the crusher motor starts to run, and monitor the motor's current, speed and other parameters in real time to ensure the normal start and operation of the equipment. At the same time, the PLC also feeds back the operating status information of the equipment to the Internet of Things system, realizing two-way data interaction and intelligent control between the perception layer and the application layer.
[0063] As described above, the embodiment of the present application obtains a device flow chart drawing tool, wherein the device flow chart drawing tool includes element types, canvases, and setting functions; obtains a physical model of the physical device mapping in the software system, and associates it with the intelligent control system to link the physical device, wherein each physical model has corresponding attributes, and the attributes include the flow chart of the current model and various executable software logics; based on the software instance created by the preset canvas, combined with the actual production process, the setting function is applied to assemble and combine to complete the virtual process flow chart, and then establish a mapping with the production process of the physical equipment; through preset attributes and standard logic, the combination and connection of the business process of the entire system is established to complete the construction of an independent application; thereby, it is possible to quickly build and adjust various intelligent application modules, flexibly adapt to different business processes and scenarios, and at the same time, through a rich standard component library, the basic business logic is encapsulated in the unit component to ensure the correctness of the tool building effect and reduce the customization cycle and cost.
[0064] As mentioned above, the equipment association relationship in the embodiment of the present application: the equipment forms upstream and downstream and association relationships through connecting pipelines in the order of combination, which is convenient for users to intuitively understand the connection and dependency relationship between the equipment, and save it as structured data to provide a clear structural basis for subsequent logical judgment and control. Design based on physical models: Map the physical objects in the physical world to the physical models in the software system, and each model contains physical pictures or dynamic pictures, multiple attributes and executable operations. This is the basis for realizing the drawing of equipment flow charts, and it is also one of the important differences from the prior art. Flexible elements and canvas functions: Elements cover the physical instances, buttons and pipeline lines corresponding to the equipment. The canvas has automatic layout, automatic typesetting, auxiliary alignment and other functions. Users can freely drag the object instance legend to combine equipment according to the process flow, and quickly and easily draw equipment flow charts that accurately reflect the actual situation.
[0065] Built-in standard business logic: Standard business logic is built-in for each type of equipment in the coal preparation plant, which is highly industry-specific and practical, reducing the user's development workload and difficulty. Diversified logic execution methods: The use of standard logic is divided into manual control and intelligent automatic. Manual control is triggered by page buttons, and intelligent automatic is configured with trigger conditions by timers and timing rules, meeting the control requirements in different scenarios. Dynamic logic combination: According to the position of the equipment in the entire system and the operating status of upstream and downstream equipment, it determines which standard logic to execute and the selection of execution parameters, realizing dynamic adjustment and optimization of logic and improving the intelligence and automation level of the system.
[0066] Interactive display between the system and the application layer: It can provide the application layer with a dynamic display of status and results on the system page, which is convenient for users to understand the operation of the equipment and the progress of the business process in real time, and enhances the visualization and interactivity of the system. Collaborative control with the perception layer: Through collaboration with the PLC, intelligent control of the equipment is realized, and the instructions of the application layer are accurately transmitted to the perception layer to complete the actual operation of the equipment, forming a complete IoT control closed loop. The low-code development feature is reflected: As a low-code development tool, it lowers the development threshold, reduces the development workload, and improves the development efficiency through visual operation methods and preset module functions, so that non-professional technicians can also quickly build IoT applications that meet specific needs.
[0067] The above steps are not to be performed in a strict order as described in the numbers, but should be understood as an overall solution.
[0068] In the second aspect, based on the above embodiments, Figure 2 A schematic diagram of a structure of a dynamic customization device for an intelligent software system of a coal preparation plant provided in an embodiment of the present application. Figure 2The dynamic customization device of the intelligent software system of the coal preparation plant provided in this embodiment specifically includes: a tool acquisition module 201, a mapping linkage module 202, a splicing and combination module 203 and a logic establishment module 204.
[0069] Among them, the tool acquisition module 201 is used to obtain the equipment flow chart drawing tool, wherein the equipment flow chart drawing tool includes element type, canvas and setting function; the mapping linkage module 202 is used to obtain the physical model of the physical equipment mapping in the software system, and to link the physical equipment by associating with the intelligent control system, wherein each physical model has corresponding attributes, and the attributes include the flowchart of the current model and various executable software logics; the assembling and combining module 203 is used to create a software instance based on a preset canvas, combine the actual production process, and apply the setting function to assemble and combine, so as to complete the virtual process flow chart and establish a mapping with the production process of the physical equipment; the logic establishment module 204 is used to establish the combination and connection of the business process of the entire system through preset attributes and standard logic to complete the construction of an independent application.
[0070] As described above, the embodiment of the present application obtains a device flow chart drawing tool, wherein the device flow chart drawing tool includes element types, canvases, and setting functions; obtains a physical model of the physical device mapping in the software system, and associates it with the intelligent control system to link the physical device, wherein each physical model has corresponding attributes, and the attributes include the flow chart of the current model and various executable software logics; based on the software instance created by the preset canvas, combined with the actual production process, the setting function is applied to assemble and combine to complete the virtual process flow chart, and then establish a mapping with the production process of the physical equipment; through preset attributes and standard logic, the combination and connection of the business process of the entire system is established to complete the construction of an independent application; thereby, it is possible to quickly build and adjust various intelligent application modules, flexibly adapt to different business processes and scenarios, and at the same time, through a rich standard component library, the basic business logic is encapsulated in the unit component to ensure the correctness of the tool building effect and reduce the customization cycle and cost.
[0071] The dynamic customization device of the intelligent software system of a coal preparation plant provided in the embodiment of the present application can be used to execute the dynamic customization method of the intelligent software system of a coal preparation plant provided in the above embodiment, and has corresponding functions and beneficial effects.
[0072] On the third aspect, the embodiment of the present application also provides an electronic device, which can integrate the dynamic customization device of the intelligent software system of the coal preparation plant provided by the embodiment of the present application. Figure 3 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 3The electronic device includes: an input device 33, an output device 34, a memory 32 and one or more processors 31; the memory 32 is used to store one or more programs; when the one or more programs are executed by the one or more processors 31, the one or more processors 31 implement the method for dynamically customizing the intelligent software system of the coal preparation plant as provided in the above embodiment. The input device 33, the output device 34, the memory 32 and the processor 31 can be connected by a bus or other means. Figure 3 The example of connecting through bus is taken in the following.
[0073] The processor 31 executes various functional applications and data processing of the equipment by running the software programs, instructions and modules stored in the memory 32, that is, realizes the above-mentioned dynamic customization method of the intelligent software system of the coal preparation plant.
[0074] The electronic device provided above can be used to execute the dynamic customization method of the intelligent software system of the coal preparation plant provided in the above embodiment, and has corresponding functions and beneficial effects.
[0075] In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the dynamic customization method of the intelligent software system of the coal preparation plant as described above, and can achieve the same beneficial effects.
[0076] Of course, the storage medium containing computer executable instructions provided in the embodiment of the present application is not limited to the dynamic customization method of the intelligent software system of the coal preparation plant as described above, and can also execute related operations in the dynamic customization method of the intelligent software system of the coal preparation plant provided in any embodiment of the present application.
[0077] In a fifth aspect, the embodiments of the present application also provide a computer program product, and the methods described in the various embodiments of the present application can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the processes or functions described in the various embodiments of the present application are executed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, a core network device, an OAM (Open Application Model) or other programmable device.
[0078] The computer program or instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disk; it may also be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.
[0079] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0080] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0081] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for enabling an electronic device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.
[0082] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0083] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0084] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A method for dynamic customization of intelligent software system of coal preparation plant, characterized in that: The method comprises: Obtain a device flowchart drawing tool, wherein the device flowchart drawing tool includes element types, a canvas, and setting functions; Obtain the physical model of the physical device mapping in the software system, and link the physical device by associating it with the intelligent control system. Each physical model has corresponding attributes, including the flow chart of the current model and various executable software logics; Based on the software instance created by the preset canvas, combined with the actual production process, the application setting function is assembled and combined to complete the virtual process flow chart and establish a mapping with the production process of the physical equipment; Through preset attributes and standard logic, the business processes of the entire system are combined and connected to complete the construction of independent applications.
2. The method for dynamic customization of intelligent software system of coal preparation plant according to claim 1, characterized in that: The element types include: object instances, buttons, and pipeline lines; Through physical instances, the position and status of physical equipment in the entire process can be obtained; Through the operation interface associated with the object instance, the physical device is remotely controlled or the real-time status and attribute data of the physical device is obtained; Trigger specific actions or logic in the flowchart through button elements; Thing instances that connect different physical devices.
3. The method for dynamic customization of intelligent software system of coal preparation plant according to claim 1, characterized in that: The software instance created based on the preset canvas includes: By freely dragging the object model in the canvas provided by the device flowchart drawing tool, a software instance is obtained; wherein the canvas includes the functions of automatic layout, automatic typesetting, and auxiliary alignment; The automatic layout function automatically adjusts the distribution position of equipment instances on the canvas according to the complexity of the equipment flow chart and the number of equipment; The automatic layout function optimizes the arrangement order between equipment and arranges the equipment according to the logical order of the process flow or user-defined rules; The auxiliary alignment function helps to align equipment and lines when dragging equipment instances or drawing pipeline lines; When the canvas is saved, the device information on the canvas and its upstream and downstream relationships are stored in a standard format as a complete set of flowchart data.
4. The method for dynamic customization of intelligent software system of coal preparation plant according to claim 1, characterized in that: The application setting function is assembled and combined, including: For the entire flowchart, receiving the appearance set by the user, wherein the appearance set by the user includes background color, line color and thickness, and font style; For a single element, receiving appearance attributes set by a user, wherein the appearance attributes set by the user include: display size, color, transparency, and displaying or hiding specific attribute information; For a button, a style function of the button set by a user is received, wherein the style function of the button set by the user includes changing the shape of the button, setting an operation button with a prominent color, and setting a click feedback effect of the button.
5. The method for dynamic customization of intelligent software system of coal preparation plant according to claim 1, characterized in that: The preset attributes and standard logic are used to combine and connect the business processes of the entire system to complete the construction of independent applications, including: The location information of physical equipment and the relationship between the location information of physical equipment and pipelines are saved through the equipment flow chart, and stored in the database in a standard data format and parsed by the program; Through the MQTT message queue telemetry transmission protocol, combined with the front-end polling or button triggering method, the current status and attribute values of each physical device instance can be queried in real time; the elements of the query page switch picture effects according to different states; After the device flow chart is built, the object instances and the relationships between them are analyzed, and the specified standard logic of the first instance on a task link is triggered through the set interface instructions; Based on the execution results, the upstream and downstream relationships of the instances are analyzed to determine the logic to be executed by the next instance, thus completing the combination of the entire business logic or a set of business instructions. Through the device flowchart drawing tool, the low-code construction of the system page is completed, where the system page provides dynamic display of status and results.
6. The method for dynamic customization of intelligent software system of coal preparation plant according to claim 5, characterized in that: The step of analyzing and searching for the upstream and downstream relationships of the instance based on the execution result to determine the logic to be executed by the next instance includes: In the process flow of a coal preparation plant, different production stages and equipment combinations use different logic controls; Determine the standard execution logic and select execution parameters based on the current physical equipment's position in the entire process and the operating status of upstream and downstream physical equipment; The standard logic is the standard logic built into the physical model. Different physical models have different standard logics according to the different executable operations.
7. The method for dynamic customization of intelligent software system of coal preparation plant according to claim 1, characterized in that: The standard logic includes: manual control logic and intelligent automatic logic; Manual control is performed by operating the button elements in the equipment flow chart drawing tool; Configure trigger conditions by timers and timing rules for intelligent automation.
8. A dynamic customization device for intelligent software system of coal preparation plant, characterized in that: include: A tool acquisition module, used to acquire a device flowchart drawing tool, wherein the device flowchart drawing tool includes element types, canvas and setting functions; The mapping linkage module is used to obtain the physical model of the physical device mapping in the software system, and to link the physical device by associating it with the intelligent control system. Each physical model has corresponding attributes, including the flow chart of the current model and various executable software logics. The assembly and combination module is used to assemble and combine the software instances created based on the preset canvas, and apply the setting function in combination with the actual production process, so as to complete the virtual process flow chart and establish the mapping with the production process of the physical equipment; The logic building module is used to establish the combination and connection of the business processes of the entire system through preset attributes and standard logic to complete the construction of independent applications.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the processor is connected to the memory via the bus, and the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, they are used to implement the dynamic customization method of the intelligent software system of a coal preparation plant as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a server, implements the method for dynamically customizing an intelligent software system for a coal preparation plant as described in any one of claims 1-7.
Citation Information
Patent Citations
Equipment linkage method based on interpreted equipment linkage engine
CN116048653A
Self-configuration modeling method for oil and gas production Internet of Things control system
CN118353915A
Software generation method and device, storage medium and generation equipment
CN118484181A
Method for building Web end configuration software based on Internet of Things through resource model
CN119127162A
Mining factory aided design method and system
CN119378279A