Cold station control logic instance generation method and device, equipment and medium
By obtaining the cold station control logic strategy library and the target cold station digital twin data, and automatically determining and instantiating the control logic strategy, the problems of high cost and low efficiency of cold station control logic development are solved, and zero-threshold development and efficient operation and maintenance are achieved.
Patent Information
- Application Number
- CN202411961161.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-22
AI Technical Summary
The development of cold station control logic has high learning costs, low delivery efficiency and low standardization.
By obtaining the cold station control logic policy library and the target cold station digital twin data, the current control logic policy is determined, and the control logic is instantiated for the on-site device to be controlled according to the policy.
It realizes zero-threshold development of cold station control logic, improves deployment efficiency and delivery efficiency, and reduces operation and maintenance costs.
Smart Images

Figure CN119860586A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of twin control technology, and in particular to a method, device, equipment and medium for generating a cold station control logic instance. Background Art
[0002] In the traditional building automation industry, cold station control has always been a relatively important part. Generally, implementation engineers carry out customized development for each cold station control project and write the control logic by themselves, which has high requirements on personnel. Not only is the delivery efficiency low, but the writing is also very arbitrary and difficult to maintain. Summary of the invention
[0003] The present invention provides a method, device, equipment and medium for generating a cold station control logic instance, so as to solve the problems of high learning cost, low delivery efficiency and low standardization in the development of cold station control logic.
[0004] According to one aspect of the present invention, a method for generating a cold station control logic instance is provided, comprising:
[0005] Obtain the cold station control logic strategy library and the target cold station digital twin data;
[0006] Determine the current control logic strategy based on the target cold station digital twin data and the cold station control logic strategy library;
[0007] According to the current control logic strategy, the control logic is instantiated for the on-site equipment to be controlled.
[0008] According to another aspect of the present invention, a device for generating a cold station control logic instance is provided, comprising:
[0009] The data acquisition module is used to obtain the cold station control logic strategy library and the target cold station digital twin data;
[0010] A control logic strategy determination module is used to determine the current control logic strategy based on the target cold station digital twin data and the cold station control logic strategy library;
[0011] The control logic instantiation module is used to instantiate the control logic for the on-site equipment to be controlled according to the current control logic strategy.
[0012] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0013] at least one processor; and
[0014] a memory communicatively connected to the at least one processor; wherein,
[0015] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the cold station control logic instance generation method described in any embodiment of the present invention.
[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the cold station control logic instance generation method described in any embodiment of the present invention when executed.
[0017] The technical solution of the embodiment of the present invention obtains the cold station control logic strategy library and the target cold station digital twin data, thereby determining the current control logic strategy based on the target cold station digital twin data and the cold station control logic strategy library, and then instantiating the control logic for the on-site equipment to be controlled based on the current control logic strategy. In this solution, the hardware equipment configuration of the target cold station can be accurately determined based on the target cold station digital twin data, so that the current control logic strategy that meets the actual control needs of the target cold station can be automatically adapted from the cold station control logic strategy library based on the configuration of the hardware equipment, and the control logic instantiation is completed without manual intervention, which solves the current problems of high learning cost, low delivery efficiency and low standardization of cold station control logic development, and can achieve zero-threshold development of cold station control logic, improve the deployment efficiency and delivery efficiency of cold station control logic, and reduce operation and maintenance costs.
[0018] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 A flowchart of a method for generating a cold station control logic instance provided in Embodiment 1 of the present invention;
[0021] Figure 2 A flowchart of a method for generating a cold station control logic instance provided in Embodiment 2 of the present invention;
[0022] Figure 3 A schematic diagram of the structure of a cold station control logic instance generating device provided in Embodiment 3 of the present invention;
[0023] Figure 4 A schematic diagram of the structure of an electronic device that can be used to implement an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0025] It should be noted that the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or apparatus.
[0026] Embodiment 1
[0027] Figure 1 This is a flowchart of a method for generating a cold station control logic instance provided in the first embodiment of the present invention. This embodiment can be applied to the case where the cold station control logic is automatically generated based on digital twin data. The method can be executed by a cold station control logic instance generating device. The cold station control logic instance generating device can be implemented in the form of hardware and / or software. The cold station control logic instance generating device can be configured in an electronic device. Figure 1 As shown, the method includes:
[0028] Step 110: Obtain the cold station control logic strategy library and the target cold station digital twin data.
[0029] The cold station control logic policy library may be a database storing cold station control logic. Exemplarily, the cold station control logic policy library may include standard control policies designed by cold station control business experts. The control policies in the cold station control logic policy library may include, but are not limited to, policy statements such as input and output parameters and execution conditions. The target cold station digital twin data may be the digital twin data of the target cold station. The target cold station may be understood as the cold station for which control logic deployment is currently required.
[0030] In an embodiment of the present invention, a pre-configured cold station control logic policy library can be obtained, and the digital twin data of the target cold station, that is, the target cold station digital twin data, can be determined.
[0031] Optionally, based on the twin modeling technology of the building digital twin platform, the cold station system building environment of the target cold station can be twin modeled to obtain the digital twin data of the target cold station.
[0032] Step 120: Determine the current control logic strategy based on the target cold station digital twin data and the cold station control logic strategy library.
[0033] The current control logic strategy may be a control logic strategy that needs to be configured for the target cold station.
[0034] In an embodiment of the present invention, the digital twin data of the target cold station can be parsed to determine the relevant information of the hardware equipment configured in the target cold station, so that based on the parsing results of the digital twin data of the target cold station, the current control logic strategy suitable for the target cold station can be matched from the cold station control logic strategy library.
[0035] Step 130: Instantiate the control logic for the on-site device to be controlled according to the current control logic strategy.
[0036] The on-site equipment to be controlled may be electromechanical equipment in the target cold station that needs to be configured with control logic.
[0037] In the embodiment of the present invention, the current control logic strategy may be configured for the on-site equipment to be controlled in the target cold station to obtain a control logic instance, so as to instantiate the control logic of the on-site equipment to be controlled.
[0038] The technical solution of the embodiment of the present invention obtains the cold station control logic strategy library and the target cold station digital twin data, thereby determining the current control logic strategy based on the target cold station digital twin data and the cold station control logic strategy library, and then instantiating the control logic for the on-site equipment to be controlled based on the current control logic strategy. In this solution, the hardware equipment configuration of the target cold station can be accurately determined based on the target cold station digital twin data, so that the current control logic strategy that meets the actual control needs of the target cold station can be automatically adapted from the cold station control logic strategy library based on the configuration of the hardware equipment, and the control logic instantiation is completed without manual intervention, which solves the current problems of high learning cost, low delivery efficiency and low standardization of cold station control logic development, and can achieve zero-threshold development of cold station control logic, improve the deployment efficiency and delivery efficiency of cold station control logic, and reduce operation and maintenance costs.
[0039] Embodiment 2
[0040] Figure 2This is a flowchart of a method for generating a cold station control logic instance provided by the second embodiment of the present invention. This embodiment is specific based on the above embodiment and provides a specific optional implementation method for determining the current control logic strategy based on the target cold station digital twin data and the cold station control logic strategy library. Figure 2 As shown, the method includes:
[0041] Step 210: Obtain the cold station control logic strategy library and the target cold station digital twin data.
[0042] Step 220: parse the digital twin data of the target cold station to obtain the static data of the target cold station.
[0043] The target cold station static data may be static data of the target cold station. Static data may be understood as data that does not change over a long period of time and generally does not change with the operation of the system. Exemplarily, the target cold station static data may include but is not limited to the number of main electromechanical equipment, sensor types, and pipeline connection relationships of the target cold station.
[0044] In an embodiment of the present invention, relevant information of a cold station construction device based on the physical target cold station can be determined by querying the digital twin data of the target cold station, and static data of the target cold station can be statistically calculated based on the relevant information of the cold station construction device.
[0045] Step 230: Match the static data of the target cold station with the input and output parameters of each control logic strategy and the control logic execution conditions in the cold station control logic strategy library to obtain the current control logic strategy.
[0046] The control logic execution condition may be a condition that needs to be met to execute the cold station control logic strategy.
[0047] In an embodiment of the present invention, the temperature control method of the target cold station can be determined according to the static data of the target cold station, so as to match the input and output parameters of each control logic strategy in the cold station control logic strategy library and the control logic execution conditions based on the temperature control method of the target cold station, and use the control logic strategy adapted to the target cold station as the current control logic strategy.
[0048] Step 240: Instantiate the control logic for the on-site device to be controlled according to the current control logic strategy.
[0049] In an optional embodiment of the present invention, control logic instantiation is performed for an on-site device to be controlled according to the current control logic strategy, which may include: obtaining device operating parameters of the on-site device to be controlled; and control logic instantiation is performed for the on-site device to be controlled according to the current control logic strategy and the device operating parameters of the on-site device to be controlled.
[0050] The equipment operation parameters may be parameters describing the performance indicators during the equipment operation process.
[0051] In an embodiment of the present invention, the equipment operating parameters of the on-site equipment to be controlled in the target cold station can be obtained, so as to determine the optimal combination of on-site equipment to be controlled that executes the current control logic strategy (that is, the combination of on-site equipment to be controlled that meets the requirements of preset evaluation dimensions) in combination with the equipment operating parameters of the on-site equipment to be controlled, so as to use the current control logic strategy to instantiate the control logic for the optimal combination of on-site equipment to be controlled.
[0052] In an optional embodiment of the present invention, control logic instantiation is performed for the on-site devices to be controlled according to the current control logic strategy and the device operating parameters of the on-site devices to be controlled, which may include: grouping and prioritizing the on-site devices to be controlled according to the device operating parameters of the on-site devices to be controlled to obtain grouping and prioritization data for the devices to be controlled; and control logic instantiation is performed for the on-site devices to be controlled according to the current control logic strategy and the grouping and prioritization data for the devices to be controlled.
[0053] The grouping and sorting data of the devices to be controlled may be used to describe the priority order of the control logic of the combined deployment of the devices to be controlled on site.
[0054] In an embodiment of the present invention, the on-site equipment to be controlled can be combined (i.e., grouped) based on the equipment operating parameters of the on-site equipment to be controlled, and the combined on-site equipment to be controlled can be sorted according to the usage priority to obtain the grouping and sorting data of the equipment to be controlled, and further based on the temperature control power requirements of the cold station and the grouping and sorting data of the equipment to be controlled, a combination of on-site equipment to be controlled that meets the temperature control power requirements and has the highest ranking (i.e., the highest priority) is selected, and the current control logic strategy is used to instantiate the control logic for the selected combination of on-site equipment to be controlled.
[0055] In an optional embodiment of the present invention, the on-site devices to be controlled are grouped and prioritized according to the device operating parameters of the on-site devices to be controlled to obtain grouping and prioritization data of the devices to be controlled, which may include: parsing the device operating parameters of the on-site devices to be controlled to obtain power parameters, efficiency parameters and current usage time of the on-site devices to be controlled; grouping the on-site devices to be controlled based on the power parameters of the on-site devices to be controlled to obtain groups of devices to be prioritized; prioritizing the groups of devices to be prioritized according to the efficiency parameters and current usage time of the on-site devices to be controlled to obtain grouping and prioritization data of the devices to be controlled.
[0056] The device group to be sorted may be a device set obtained by combining the on-site devices to be controlled based on power parameters.
[0057] In an embodiment of the present invention, the equipment operating parameters of the on-site equipment to be controlled can be analyzed to obtain the power parameters, efficiency parameters and current usage time of the on-site equipment to be controlled, and then based on the power parameters of the on-site equipment to be controlled, the on-site equipment to be controlled can be combined to obtain a set of on-site equipment to be controlled with various power combinations, that is, each group of equipment to be sorted, and then based on the efficiency parameters of the on-site equipment to be controlled and the current usage time, the group of equipment to be sorted with the same power combination can be prioritized to obtain group sorting data of the equipment to be controlled.
[0058] In an optional embodiment of the present invention, control logic instantiation is performed for on-site devices to be controlled according to the current control logic strategy and the grouping and sorting data of the devices to be controlled, which may include: determining a target group of devices to be controlled according to the grouping and sorting data of the devices to be controlled; and instantiating control logic for on-site devices of the target group of devices to be controlled among the on-site devices to be controlled according to the current control logic strategy.
[0059] The target device group to be controlled may be the optimal device group to be sorted for executing the current control logic strategy, that is, the first-ranked combination of on-site devices to be controlled that meets the temperature control power requirement.
[0060] In an embodiment of the present invention, based on the grouping and sorting data of the equipment to be controlled, a set of on-site equipment to be controlled that meets the temperature control power requirements of the cold station and is ranked highest can be screened out as the target equipment group to be controlled, and further according to the current control logic strategy, control logic instantiation can be performed for the on-site equipment of the target equipment group to be controlled in the on-site equipment to be controlled.
[0061] In an optional embodiment of the present invention, after instantiating the control logic for the on-site equipment to be controlled according to the current control logic strategy, it can also include: initializing the input parameters of the control logic instance corresponding to the current control logic strategy; and supplementing the parameters when it is detected that the key point parameters of the control logic instance corresponding to the current control logic strategy are incomplete.
[0062] Among them, key point parameters can be parameters of necessary points that support the operation of control logic.
[0063] In an embodiment of the present invention, each control logic instance corresponding to the current control logic strategy is initialized with input parameters, and the target cold station digital twin data is used as input to check whether the key point parameters of each control logic instance corresponding to the current control logic strategy are complete. If the key point parameters of the control logic instance corresponding to the current control logic strategy are incomplete, the target cold station digital twin data is supplemented and delivered, that is, the key point parameters are completed to complete the control logic self-check. Through self-checking, problems are discovered in advance, which solves the problems of poor program readability and difficulty in troubleshooting caused by manual on-site programming in traditional projects. The problem needs to be discovered during the control process, resulting in damage to electromechanical equipment and increased labor costs.
[0064] In a specific example, the digital twin data of the target cold station is used as input, and the automatic control logic is customized for the cold station according to reference indicators such as the number of equipment and equipment performance, and sent to the control terminal to control the autonomous operation of the cold station. It is mainly divided into the following steps: Step 1. Establish a cold station control logic strategy library: The cold station control business experts design standard control strategies, including input and output parameters, execution conditions and other strategy statements. Step 2. Query the digital twin data of the target cold station, and automatically select the control strategy based on the static data of the target cold station such as the number of main electromechanical equipment, sensor types, and pipeline connection relationships of the target cold station, such as temperature difference control or pressure difference control. Step 3. Instantiate the control logic, configure the standard control logic for the actual electromechanical equipment on site of the target cold station (i.e., the equipment to be controlled on site), that is, obtain a control logic instance: According to the equipment operating parameters such as power, efficiency, and usage time of each electromechanical equipment, the equipment is grouped, prioritized, and configured to complete the control logic instantiation. Step 4. Automatically initialize the input parameters for each control logic instance, such as PID (proportional, integral, differential) parameters. Each control logic instance automatically generates derivative points for auxiliary calculations to ensure the normal operation of the control logic. Step 5: Control logic self-check: Use the target cold station digital twin data as input to check whether the key points supporting the operation of the control logic are complete. If not, the target cold station digital twin data is required for supplementary delivery.
[0065] This solution automatically selects the control solution based on the digital twin data of the target cold station, automatically instantiates the control logic according to the cold station control logic strategy library and the digital twin data of the target cold station, and automatically configures the input parameters. It self-checks whether the key point parameters are complete based on the control logic instance to ensure the correctness of the control logic before the control action occurs. The automatic generation of control logic makes the implementation of cold station control no longer rely on the ability of "experienced master + programming engineer", lowers the implementation threshold, and improves the implementation efficiency. At the same time, it promotes the development of control logic standardization. The self-checking of control logic avoids the problem-driven debugging method in traditional projects and avoids the loss of manpower and material resources due to program problems.
[0066] The technical solution of the embodiment of the present invention, by acquiring the cold station control logic strategy library and the target cold station digital twin data, parses the target cold station digital twin data, obtains the target cold station static data, and then matches the target cold station static data with the input and output parameters of each control logic strategy in the cold station control logic strategy library and the control logic execution conditions, obtains the current control logic strategy, and further instantiates the control logic for the on-site equipment to be controlled according to the current control logic strategy. In this solution, the hardware equipment configuration of the target cold station can be accurately determined based on the target cold station digital twin data, so that the current control logic strategy that meets the actual control needs of the target cold station can be automatically adapted from the cold station control logic strategy library based on the hardware equipment configuration, and the control logic instantiation is completed without manual intervention, which solves the current problems of high learning cost, low delivery efficiency and low standardization of cold station control logic development, can realize zero-threshold development of cold station control logic, improve the deployment efficiency and delivery efficiency of cold station control logic, and reduce operation and maintenance costs.
[0067] Embodiment 3
[0068] Figure 3 This is a schematic diagram of the structure of a cold station control logic instance generation device provided by the third embodiment of the present invention. Figure 3 As shown, the device comprises:
[0069] The data acquisition module 310 is used to acquire the cold station control logic strategy library and the target cold station digital twin data;
[0070] A control logic strategy determination module 320 is used to determine the current control logic strategy based on the target cold station digital twin data and the cold station control logic strategy library;
[0071] The control logic instantiation module 330 is used to instantiate the control logic for the on-site device to be controlled according to the current control logic strategy.
[0072] The technical solution of the embodiment of the present invention obtains the cold station control logic strategy library and the target cold station digital twin data, thereby determining the current control logic strategy based on the target cold station digital twin data and the cold station control logic strategy library, and then instantiating the control logic for the on-site equipment to be controlled based on the current control logic strategy. In this solution, the hardware equipment configuration of the target cold station can be accurately determined based on the target cold station digital twin data, so that the current control logic strategy that meets the actual control needs of the target cold station can be automatically adapted from the cold station control logic strategy library based on the configuration of the hardware equipment, and the control logic instantiation is completed without manual intervention, which solves the current problems of high learning cost, low delivery efficiency and low standardization of cold station control logic development, and can achieve zero-threshold development of cold station control logic, improve the deployment efficiency and delivery efficiency of cold station control logic, and reduce operation and maintenance costs.
[0073] Optionally, the control logic strategy determination module 320 is used to parse the target cold station digital twin data to obtain the target cold station static data; match the target cold station static data with the input and output parameters of each control logic strategy in the cold station control logic strategy library and the control logic execution conditions to obtain the current control logic strategy.
[0074] Optionally, the control logic instantiation module 330 is specifically used to obtain the device operating parameters of the on-site device to be controlled; and perform control logic instantiation for the on-site device to be controlled according to the current control logic strategy and the device operating parameters of the on-site device to be controlled.
[0075] Optionally, the control logic instantiation module 330 is specifically used to group and prioritize the on-site devices to be controlled according to the device operating parameters of the on-site devices to be controlled, and obtain grouping and sorting data of the devices to be controlled; and to instantiate the control logic for the on-site devices to be controlled according to the current control logic strategy and the grouping and sorting data of the devices to be controlled.
[0076] Optionally, the control logic instantiation module 330 is specifically used to parse the equipment operating parameters of the on-site equipment to be controlled to obtain the power parameters, efficiency parameters and current usage time of the on-site equipment to be controlled; based on the power parameters of the on-site equipment to be controlled, the on-site equipment to be controlled is grouped to obtain each group of equipment to be sorted; according to the efficiency parameters and the current usage time of the on-site equipment to be controlled, each group of equipment to be sorted is prioritized to obtain grouping and sorting data of the equipment to be controlled.
[0077] Optionally, the control logic instantiation module 330 is specifically used to determine the target device group to be controlled according to the grouping and sorting data of the devices to be controlled; and to perform control logic instantiation for the field devices of the target device group to be controlled among the field devices to be controlled according to the current control logic strategy.
[0078] Optionally, the cold station control logic instance generation device also includes a parameter supplement module, which is used to initialize the input parameters of the control logic instance corresponding to the current control logic strategy; when it is detected that the key point parameters of the control logic instance corresponding to the current control logic strategy are incomplete, parameter supplementation is performed.
[0079] The cold station control logic instance generation device provided in the embodiment of the present invention can execute the cold station control logic instance generation method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0080] Embodiment 4
[0081] Figure 4 A schematic diagram of an electronic device that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0082] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0083] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0084] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for generating a cold station control logic instance.
[0085] In some embodiments, the cold station control logic instance generation method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the cold station control logic instance generation method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the cold station control logic instance generation method in any other appropriate manner (for example, by means of firmware).
[0086] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0087] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0088] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0089] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0090] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0091] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of traditional physical hosts and VPS servers, which are difficult to manage and have weak business scalability.
[0092] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0093] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for generating a cold station control logic instance, characterized in that: include: Obtain the cold station control logic strategy library and the target cold station digital twin data; Determine a current control logic strategy according to the target cold station digital twin data and the cold station control logic strategy library; According to the current control logic strategy, control logic is instantiated for the on-site device to be controlled.
2. The method according to claim 1, characterized in that The determining the current control logic strategy according to the target cold station digital twin data and the cold station control logic strategy library includes: Parsing the digital twin data of the target cold station to obtain static data of the target cold station; The static data of the target cold station is matched with the input and output parameters and control logic execution conditions of each control logic strategy in the cold station control logic strategy library to obtain the current control logic strategy.
3. The method according to claim 1, characterized in that The instantiation of control logic for the on-site device to be controlled according to the current control logic strategy includes: Obtaining equipment operating parameters of the on-site equipment to be controlled; According to the current control logic strategy and the device operating parameters of the on-site device to be controlled, control logic is instantiated for the on-site device to be controlled.
4. The method according to claim 3, characterized in that The instantiating of the control logic for the on-site device to be controlled according to the current control logic strategy and the device operating parameters of the on-site device to be controlled includes: According to the equipment operating parameters of the on-site equipment to be controlled, the on-site equipment to be controlled is grouped and prioritized to obtain grouping and ranking data of the equipment to be controlled; According to the current control logic strategy and the grouping and sorting data of the devices to be controlled, control logic is instantiated for the on-site devices to be controlled.
5. The method according to claim 4, characterized in that The step of grouping and prioritizing the on-site devices to be controlled according to the device operating parameters of the on-site devices to be controlled to obtain grouping and prioritization data of the devices to be controlled includes: Analyze the equipment operation parameters of the on-site equipment to be controlled to obtain the power parameters, efficiency parameters and current usage time of the on-site equipment to be controlled; Based on the power parameters of the on-site devices to be controlled, the on-site devices to be controlled are grouped to obtain device groups to be sorted; According to the efficiency parameters and current usage time of the on-site equipment to be controlled, each of the equipment groups to be sorted is prioritized to obtain group sorting data of the equipment to be controlled.
6. The method according to claim 4, characterized in that The instantiation of control logic for the on-site device to be controlled according to the current control logic strategy and the grouping and sorting data of the device to be controlled includes: Determine a target group of devices to be controlled according to the grouping and sorting data of the devices to be controlled; According to the current control logic strategy, control logic instantiation is performed for the field devices of the target device group to be controlled among the field devices to be controlled.
7. The method according to claim 1, characterized in that After instantiating the control logic for the on-site device to be controlled according to the current control logic strategy, the method further includes: Initialize the input parameters of the control logic instance corresponding to the current control logic strategy; When it is detected that the key point parameters of the control logic instance corresponding to the current control logic strategy are incomplete, the parameters are supplemented.
8. A device for generating a cold station control logic instance, characterized in that: include: The data acquisition module is used to obtain the cold station control logic strategy library and the target cold station digital twin data; A control logic strategy determination module, used to determine the current control logic strategy according to the target cold station digital twin data and the cold station control logic strategy library; The control logic instantiation module is used to instantiate the control logic for the on-site device to be controlled according to the current control logic strategy.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the cold station control logic instance generation method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the cold station control logic instance generation method according to any one of claims 1 to 7 when executed.