Industrial energy scheduling suggestion method and system, electronic equipment and storage medium

By generating scheduling suggestions through a low-barrier scripting language and real-time data parsing, this technology solves the problems of relying on worker experience and high costs in existing technologies, and achieves efficient and low-cost industrial energy scheduling management with universality and data structuring capabilities.

CN120973371APending Publication Date: 2025-11-18SUPCON TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510887124.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-30
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

Existing industrial energy dispatching methods rely on worker experience, are costly and lack universality, and are inconvenient to save historical data, making it difficult to achieve efficient and low-cost dispatching management.

Method used

The scheduling scripts are written using a low-barrier scripting language. Data is obtained from a real-time database, automatically parsed, verified, and generated scheduling suggestions. It supports JS, Python, and VBScript, and the data is saved in XML structure. An interface is reserved to synchronize to the enterprise knowledge base.

Benefits of technology

It improves scheduling efficiency, reduces learning and implementation costs, is universally applicable, adapts to enterprise AI transformation, and supports data structuring and querying.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120973371A_ABST
    Figure CN120973371A_ABST
Patent Text Reader

Abstract

The invention mainly provides an industrial energy scheduling suggestion method, which comprises the following steps that parameter script coding identification configuration is carried out on a pre-constructed scheduling model, scheduling suggestions corresponding to various parameter conditions summarized according to historical experience are preset, the types of parameters comprise number bits, indexes and variables, and the variables comprise fixed values and variable parameters; inputting a scheduling script, automatically analyzing and checking, and extracting a corresponding scheduling parameter; when the scheduling parameter is a variable, a parameter value needs to be input through a front-end page and calculation is carried out; when the scheduling parameter is a number bit, calling a value taking interface of a real-time database for acquiring bit number data in real time, and taking the real-time data of the number bit as a parameter value to participate in calculation of the whole script; the scheduling parameters and the calculated data are transmitted into a statistical page through an interface, and then corresponding scheduling suggestions are automatically generated. According to the technical scheme, the script language with a low threshold is adopted to achieve the purposes that a user customizes the algorithm script, and then the code analyzes the script to generate the scheduling suggestion.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer technology, and in particular to an industrial energy scheduling suggestion method and system, an electronic device and a storage medium. TECHNICAL BACKGROUND

[0002] In the field of industrial energy saving, each energy-using enterprise has its own set of methods, most of which rely on the experience accumulation of workshop workers and are realized through Excel formulas; or scripts are used, and then the data is manually determined to determine which set of equipment can be disabled at present. For example, some enterprises in Sichuan have a large amount of energy consumption for steam, and in the peak period, several workshops accumulate experience to disable the reduction furnace in order to rationally use resources. Experienced workers judge the current instrument value to achieve the purpose of saving steam. However, this method requires reliance on worker experience, high use of doors, and historical scheduling records are only saved in documents. Alternatively, although there are currently ways to generate decision suggestions by collecting data for machine learning, the cost is high and requires feeding specific industry data for training, which is not universally applicable.

[0003] Therefore, it is urgent to use IT means to improve scheduling efficiency and manage scheduling data while achieving the purpose of low-cost operation.

[0004] TECHNICAL CONTENT

[0005] The present application aims to solve at least one of the above technical problems.

[0006] To solve the above problems, the present application provides an industrial energy scheduling suggestion method and device, an electronic device and a storage medium.

[0007] In a first aspect, the present application provides an industrial energy scheduling suggestion method, comprising:

[0008] The pre-constructed scheduling model is configured with parameter script coding identification and preset with scheduling suggestions corresponding to various parameter conditions summarized from historical experience. The types of the parameters include number bits, indicators and variables, and the variables include fixed values and variable parameters.

[0009] After inputting the scheduling script and automatically parsing and verifying, the corresponding scheduling parameters are extracted. When the scheduling parameters are variables, the parameter values are input through the front-end page and calculated. When the scheduling parameters are the number bits, the value interface of the real-time database for acquiring real-time bit number data is called, and the real-time data of the number bits is used as the parameter value to participate in the calculation of the entire script.

[0010] After obtaining the scheduling parameters and the calculated data through the interface, the corresponding scheduling suggestions are automatically selected and generated.

[0011] Optionally, the scheduling script language supports js scripts, python scripts and vb scripts.

[0012] Optionally, the input scheduling script and automatic parsing verification extracts corresponding scheduling parameters, including:

[0013] When the scheduling script language is js, javax.script package can be directly executed; when the scheduling script language is python, Java references ProcessBuilder class to execute python scripts, and if there is a problem in parsing verification, specific problems are prompted on the page and code examples are called; when the scheduling script language is vbs, Java references ProcessBuilder class to execute vbs scripts, and if there is a problem in parsing verification, specific problems are prompted on the page and code examples are called.

[0014] Optionally, the generated scheduling suggestion is directly visualized on a large screen or sent to relevant personnel through Kafla message middleware.

[0015] Optionally, the method further includes:

[0016] Saving this time scheduling execution data and providing a query entry;

[0017] Through Quartz, scheduling data in a period of time is converted into an xml structure and saved to a CLOB type field of a data table.

[0018] Optionally, the input scheduling script and automatic parsing verification extracts corresponding scheduling parameters, including: the scheduling script needs to contain a custom scheduling identifier and a parameter script code identifier to be scheduled; the custom scheduling identifier is used as a keyword to locate and extract the corresponding parameter script code identifier, so that the corresponding parameter is found.

[0019] In a second aspect, the present application provides an industrial energy scheduling suggestion system, including:

[0020] A configuration module is configured to configure a parameter script code identifier of a pre-constructed scheduling model and preset scheduling suggestions corresponding to various parameter conditions summarized according to historical experience, and the types of the parameters include number bits, indexes and variables;

[0021] A scheduling module is configured to input a scheduling script and automatically parse and verify to extract corresponding scheduling parameters; when the scheduling parameters are variables, parameter values are input through a front-end page and calculated; when the scheduling parameters are the number bits, a value interface of a real-time database for acquiring real-time bit number data is called, and real-time data of the number bits are used as parameter values to participate in calculation of the entire script;

[0022] A suggestion module is configured to automatically select and generate a corresponding scheduling suggestion after obtaining the scheduling parameters and the calculated data through the interface.

[0023] Optionally, the system further comprises:

[0024] A storage module is configured to save the current scheduling execution data and provide a query entry.

[0025] A generation module is configured to periodically convert the scheduling data in a period of time into an xml structure and save the scheduling data in a CLOB type field of a data table through Quartz.

[0026] In a third aspect, the present application provides an electronic device comprising a memory and a processor.

[0027] The memory is configured to store a computer program.

[0028] The processor is configured to implement the industrial energy scheduling suggestion method according to the first aspect when executing the computer program.

[0029] In a fourth aspect, the present application provides a computer readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the industrial energy scheduling suggestion method according to the first aspect is implemented.

[0030] The technical solution of the present application uses a script language with a low threshold to achieve the purpose of allowing users to customize algorithm scripts first, and then generating scheduling suggestions through code analysis scripts. On the one hand, the data experience of various enterprises and industries can be flexibly used, and the learning cost is low, so the technology can be directly and quickly applied in enterprise production management to improve scheduling efficiency. On the other hand, the learning cost is low, and it does not need to invest too much manpower and financial cost. Moreover, the technical solution is not limited to a specific industry or enterprise, and has good universality. At the same time, in order to adapt to the AI transformation of enterprises, the technical solution can also reserve an interface to facilitate synchronization of scheduling parameters and scheduling suggestion data to an enterprise knowledge base, facilitating data searching and maintenance.

[0031] Drawings of the specification

[0032] Figure 1 A flowchart of the industrial energy scheduling suggestion method of the embodiment of the present application;

[0033] Figure 2 An operation flowchart of the industrial energy scheduling suggestion system of the embodiment of the present application;

[0034] Figure 3 A schematic diagram of parameter configuration in the pre-constructed scheduling model in the embodiment of the present application;

[0035] Figure 4A schematic diagram for scheduling script analysis scheduling in the embodiment of the present application;

[0036] Figure 5 A schematic diagram for generating scheduling suggestions in the embodiment of the present application;

[0037] Figure 6 A structural schematic diagram of the industrial energy scheduling suggestion system in the embodiment of the present application;

[0038] Figure 7 A structural schematic diagram of the electronic device in the embodiment of the present application. DETAILED DESCRIPTION

[0039] In order to make the above objectives, characteristics and advantages of the present application more obvious and easy to understand, the specific embodiments of the present application are described in detail below with reference to the drawings. Although some embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms, and should not be interpreted as being limited to the embodiments described herein, on the contrary, these embodiments are provided to make the present application more thorough and complete. It should be understood that the drawings and embodiments of the present application are only for illustrative purposes, and are not intended to limit the scope of protection of the present application.

[0040] It should be understood that each step described in the method embodiments of the present application can be executed in different order and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the execution of the steps shown. The scope of the present application is not limited in this respect.

[0041] The term "comprising" and its variants as used herein are open-ended, that is "including but not limited to"; the term "based on" is "based at least in part on"; the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". Related definitions of other terms will be given in the description below. It should be noted that the concepts of "first", "second", etc. mentioned in the present application are only used to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules or units.

[0042] It should be noted that the modification of "one" or "multiple" mentioned in the present application is illustrative rather than limiting, and those skilled in the art should understand that, unless otherwise explicitly indicated in the context, it should be understood as "one or more".

[0043] The names of the messages or information exchanged between the multiple devices in the embodiments of the present application are only for illustrative purposes, and are not intended to limit the scope of these messages or information.

[0044] As Figure 1 and Figure 2 The embodiment of the present application provides an industrial energy scheduling suggestion method, which achieves the purposes of improving scheduling efficiency and managing scheduling data through IT means. First, the user writes the accumulated experience into a script language, which has low professional technical threshold and helps enterprises to quickly carry out work; then, the instrument or some parameters are set as variables, and the program transmits values to the script by calling the value interface of the real-time database, so as to save the time of manual table lookup of the user; and the scheduling suggestion program is made into an interface for the use of the on-site scheduling large screen, and the scheduling suggestion is sent to the related personnel. Finally, in order to adapt to the AI transformation of the enterprise, the technical solution can also reserve an interface for synchronizing the scheduling parameters and the scheduling suggestion data to the enterprise knowledge base.

[0045] Specifically, the whole process is as follows:

[0046] Step S1, parameter script coding identification configuration is performed on the pre-constructed scheduling model, and scheduling suggestions corresponding to various parameter conditions summarized according to historical experience are preset, the type of the parameter includes number, index and variable, and the variable includes fixed value and variable parameter.

[0047] Referring to the accompanying Figure 3 , the embodiment takes the reduction furnace steam of a new energy workshop as an example. First, the scheduling script of the required parameters is determined, for example:

[0048]

[0049] Among them, the pre-constructed scheduling model includes energy model name, selected factory model, energy type and scheduling mode, and each scheduling parameter is added / configured based on the pre-constructed scheduling model. After determining each parameter in the pre-constructed scheduling model, the parameter script coding identification of each parameter needs to be further defined. For example, the number of the reduction furnace 01R04A01b is defined as “XNY_HY02_01HYA02_C1_CUR_PV_CV”.

[0050] Step S2, input the scheduling script and automatically parse and verify to extract the corresponding scheduling parameters; when the scheduling parameter is a variable, the parameter value needs to be input through the front-end page and calculated; when the scheduling parameter is a number, the value interface of the real-time database for acquiring real-time number data needs to be called, and the real-time data of the number is taken as the parameter value to participate in the calculation of the whole script.

[0051] Referring to the accompanying Figure 4It should be noted that the "PARAM()" contained in the scheduling script is a custom scheduling identifier, which is used as a keyword to locate and extract the corresponding parameter script code identifier during scheduling analysis, so as to find the corresponding parameters. Specifically, when running the click verification, the first step automatically parses the script, extracts all the scheduling parameters used and displays them on the left side, and then the code parses the input script. If the script has no syntax error, the verification is passed, and the OK button can be clicked. In particular, the scheduling script language can support common js scripts, python scripts and vb scripts. The program will automatically parse according to the syntax, and then call different classes according to the script language on the page:

[0052] Script language: js, javax.script package can be directly executed;

[0053] Script language: python, Java references ProcessBuilder class to execute python script, and prompts specific problems on the page if there is a problem, such as bit number does not exist, etc. The calling code example is: new ProcessBuilder("python", "path / to / script.py");

[0054] Script language: vbs, Java references ProcessBuilder class to execute vbs script, and prompts specific problems on the page if there is a problem, such as bit number does not exist, etc. The calling code example is: new ProcessBuilder("cscript", "path / to / script.vbs").

[0055] Step S3, automatically select and generate the corresponding scheduling suggestion after obtaining the scheduling parameters and the calculated data through the interface. Specifically, refer to the attached Figure 5 The obtained data will be displayed on the statistics page, and the generated scheduling suggestion supports direct display on the large screen, and also supports sending messages to relevant personnel through Kafka message middleware. Click Save, and the scheduling execution data of this time will be saved, and the corresponding query interface will be provided.

[0056] In particular, if the data structuring function is enabled, the code will periodically convert the scheduling data in a period of time into an xml structure and save it to the CLOB type field of the data table through the scheduling service. This function of the technical solution can prepare for the enterprise to build its own AI knowledge base. The execution of the scheduling task is realized through Quartz.

[0057] As shown in Figure 6 The industrial energy scheduling suggestion system 300 provided by the embodiment of the present application comprises:

[0058] The configuration module 310 is configured to configure a parameter script code of a pre-constructed scheduling model and preset a scheduling suggestion corresponding to various parameter conditions summarized according to historical experience, and the types of the parameters include a number, an index and a variable.

[0059] The scheduling module 320 is configured to input a scheduling script and automatically parse and check to extract corresponding scheduling parameters; when the scheduling parameters are variables, a parameter value needs to be input through a front-end page and calculated; when the scheduling parameters are the number, a value interface of a real-time database for acquiring real-time number data needs to be called, and real-time data of the number is taken as a parameter value to participate in calculation of the entire script.

[0060] The suggestion module 330 is configured to automatically select and generate a corresponding scheduling suggestion after the scheduling parameters and calculated data are acquired through an interface.

[0061] The storage module 340 is configured to save scheduling execution data of this time and provide a query entry.

[0062] The generation module 350 is configured to convert scheduling data in a period of time into an xml structure and save the scheduling data in a CLOB type field of a data table through Quartz.

[0063] As shown in Figure 7 The electronic device 400 provided by the embodiment of the application includes a memory 410 and a processor 420; the memory 410 is configured to store a computer program; and the processor 420 is configured to implement the industrial energy scheduling suggestion method as described above when the computer program is executed.

[0064] Alternatively, the electronic device 400 includes a memory 410 and a processor 420 coupled to the memory 410; the memory 410 is configured to store a computer program; and the processor 420 is configured to perform the following operations when the computer program is executed.

[0065] The parameter script code of the pre-constructed scheduling model is configured, and a scheduling suggestion corresponding to various parameter conditions summarized according to historical experience is preset, and the types of the parameters include a number, an index and a variable, and the variable includes a fixed value and a variable parameter.

[0066] The scheduling script is input and automatically parsed and checked to extract corresponding scheduling parameters; when the scheduling parameters are variables, a parameter value needs to be input through a front-end page and calculated; when the scheduling parameters are the number, a value interface of a real-time database for acquiring real-time number data needs to be called, and real-time data of the number is taken as a parameter value to participate in calculation of the entire script.

[0067] A corresponding scheduling suggestion is automatically selected and generated after the scheduling parameters and calculated data are acquired through an interface.

[0068] The embodiment of the present application provides a computer readable storage medium, and the storage medium stores a computer program, and when the computer program is executed by a processor, the industrial energy scheduling suggestion method is realized.

[0069] Alternatively, a non-volatile computer readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the following operations:

[0070] The pre-constructed scheduling model is subjected to parameter script coding identification configuration, and scheduling suggestions corresponding to various parameter conditions summarized according to historical experience are preset, the types of the parameters include number bits, indexes and variables, and the variables include fixed values and variable parameters;

[0071] After inputting the scheduling script and automatically parsing and checking, the corresponding scheduling parameters are extracted; when the scheduling parameters are variables, the parameter values need to be input through a front-end page and calculated; when the scheduling parameters are the number bits, the value interface of a real-time database for acquiring real-time bit number data needs to be called, and the real-time data of the number bits are taken as parameter values to participate in the calculation of the whole script;

[0072] After the scheduling parameters and the calculated data are acquired through the interface, the corresponding scheduling suggestions are automatically selected and generated.

[0073] An electronic device 400 that can serve as a server or client of the present application will now be described, which is an example of a hardware device that can be applied to various aspects of the present application. The electronic device 400 is intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device 400 can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application described and / or claimed in this document.

[0074] The electronic device 400 includes a computing unit that can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) or a computer program loaded into a random access memory (RAM) from a storage unit. In the RAM, various programs and data required for device operation can also be stored. The computing unit, the ROM, and the RAM are connected to each other through a bus. An input / output (I / O) interface is also connected to the bus.

[0075] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by a computer program instructing relevant hardware, and the program can be stored in a computer readable storage medium. When the program is executed, the program can include the processes of the above-mentioned embodiment methods. The storage medium can be a magnetic disc, an optical disc, a read-only memory (ROM), a random access memory (RAM), or the like. In this application, the units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or they can be distributed on multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present application. In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically independently, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.

[0076] Although the present application is disclosed as above, the protection scope of the present application is not limited to this. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, and these changes and modifications will fall within the protection scope of the present application.

Claims

1. An industrial energy dispatching recommendation method, characterized by, The method comprises the following steps: Parameter script code identification configuration is performed on a pre-constructed scheduling model, and scheduling suggestions corresponding to various parameter conditions summarized according to historical experience are preset, the types of the parameters include number bits, indexes and variables, and the variables include fixed values and variable parameters; After inputting a scheduling script and automatically parsing and checking, corresponding scheduling parameters are extracted; when the scheduling parameters are variables, parameter values need to be input through a front-end page and calculation is performed; when the scheduling parameters are the number bits, a value interface of a real-time database for acquiring real-time number bit data is called, and real-time data of the number bits are taken as parameter values to participate in calculation of the entire script; After the scheduling parameters and calculated data are acquired through an interface, corresponding scheduling suggestions are automatically selected and generated.

2. The industrial energy dispatch recommendation method of claim 1, wherein The scheduling script language supports js scripts, python scripts and vb scripts.

3. The industrial energy dispatch recommendation method of claim 2, wherein The step of inputting the scheduling script and automatically parsing and checking to extract corresponding scheduling parameters comprises the following steps: When the scheduling script language is js, javax.script package can be directly executed; when the scheduling script language is python, a Java reference ProcessBuilder class is used to execute a python script, and if there is a problem in parsing and checking, specific problems are prompted on a page and code examples are called; when the scheduling script language is vbs, a Java reference ProcessBuilder class is used to execute a vbs script, and if there is a problem in parsing and checking, specific problems are prompted on a page and code examples are called.

4. The industrial energy dispatch recommendation method of claim 1, wherein The generated scheduling suggestions are directly visualized on a large screen or are sent to relevant personnel through a Kafla message middleware.

5. The industrial energy dispatch recommendation method of claim 1, wherein The method further comprises the following steps: Saving this time's scheduling execution data and providing a query entry; Scheduling data in a period of time is converted into an xml structure and saved into a CLOB type field of a data table through Quartz.

6. The industrial energy dispatch recommendation method of claim 1 or 3, wherein The step of inputting the scheduling script and automatically parsing and checking to extract corresponding scheduling parameters comprises the following steps: the scheduling script needs to include a custom scheduling identifier and the parameter script code identifier to be scheduled; the custom scheduling identifier is taken as a keyword to locate and extract the corresponding parameter script code identifier, so that corresponding parameters are found.

7. An industrial energy dispatching recommendation system, characterized by The method comprises the following steps: A configuration module is configured to perform parameter script code identification configuration on a pre-constructed scheduling model, and preset scheduling suggestions corresponding to various parameter conditions summarized according to historical experience, the types of the parameters include number bits, indexes and variables; A scheduling module is configured to input a scheduling script and automatically parse and check to extract corresponding scheduling parameters; when the scheduling parameters are variables, parameter values need to be input through a front-end page and calculation is performed; when the scheduling parameters are the number bits, a value interface of a real-time database for acquiring real-time number bit data is called, and real-time data of the number bits are taken as parameter values to participate in calculation of the entire script; An advice module is configured to automatically select and generate corresponding scheduling suggestions after the scheduling parameters and calculated data are transmitted into the scheduling model through an interface.

8. An industrial energy dispatch advisory system as in claim 7, wherein The method further comprises the following steps: A storage module is configured to save this time's scheduling execution data and provide a query entry; The generating module is configured to periodically convert the scheduling data in a period of time into an xml structure and save into a CLOB type field of a data table by using Quartz.

9. An electronic device, comprising: comprise a memory and a processor; the memory is configured to store a computer program; the processor is configured to implement the industrial energy scheduling suggestion method according to any one of claims 1 to 6 when executing the computer program.

10. A computer-readable storage medium, characterized in that, The storage medium has a computer program stored thereon, and the computer program, when executed by a processor, implements the industrial energy scheduling suggestion method according to any one of claims 1 to 6.