WO2023071275A1 - 群控系统控制方法、设备和介质 - Google Patents

群控系统控制方法、设备和介质 Download PDF

Info

Publication number
WO2023071275A1
WO2023071275A1 PCT/CN2022/103396 CN2022103396W WO2023071275A1 WO 2023071275 A1 WO2023071275 A1 WO 2023071275A1 CN 2022103396 W CN2022103396 W CN 2022103396W WO 2023071275 A1 WO2023071275 A1 WO 2023071275A1
Authority
WO
WIPO (PCT)
Prior art keywords
array
array elements
elements
control system
group control
Prior art date
Application number
PCT/CN2022/103396
Other languages
English (en)
French (fr)
Inventor
牟晨涛
赵永俊
蔺怀钰
李连会
尹鹏
武文杰
孙立翔
袁青伟
Original Assignee
青岛海尔空调电子有限公司
青岛海尔空调器有限总公司
海尔智家股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 青岛海尔空调电子有限公司, 青岛海尔空调器有限总公司, 海尔智家股份有限公司 filed Critical 青岛海尔空调电子有限公司
Publication of WO2023071275A1 publication Critical patent/WO2023071275A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload

Definitions

  • the invention relates to the field of computer room group control, and specifically provides a group control system control method.
  • the device with the shortest running time and meeting the start-up conditions is often automatically selected for priority start-up. But usually due to the large number of devices and the cumbersome judgment of the start-up conditions, this function is often impossible to realize.
  • equipment selection methods currently used no matter whether the sequence control of equipment or the corresponding control of linkage equipment is adopted, the purpose of selecting equipment with the shortest running time and meeting the start-up conditions cannot be satisfied, and it will cause an imbalance in the running time of the equipment, requiring artificial Intervention can balance the operating time of the equipment.
  • some device selection methods can balance the running time of the device, they cannot be linked with the fault and enabling information of the device.
  • the present invention aims to solve the above-mentioned technical problems, that is, to solve the problem that the current machine room group control system cannot automatically select the equipment with the shortest running time and meeting the start-up conditions.
  • the present invention provides a method for controlling a group control system, the group control system includes a control platform and a plurality of devices communicatively connected to the control platform, including the following steps,
  • the information package of the device at least includes the device number of each device, the cumulative running time of the device, and information on the conditions under which the device can be started.
  • step S3 select array elements satisfying conditions in the system array, which include:
  • step S31 sort the array elements in the system array in a preset order, specifically, sort the array elements in the system array in ascending or descending order of numerical value.
  • step S32 "select the array elements satisfying the conditions in the sorted data", specifically, in the sorted data, select the first element in the system array in the order of increasing or decreasing numerical value Array elements that satisfy the condition.
  • condition includes that the device is enabled, and the device is not faulty.
  • step S4 includes: finding the corresponding device according to the first selected array element that meets the start-up condition, wherein the corresponding device is the device with the shortest accumulated running time and meets the start-up condition.
  • serial numbers corresponding to the array elements in the array are arranged in ascending order, wherein,
  • the said sorting the array elements in the system array according to the increasing order of numerical size includes:
  • step S52 According to the array element comparison and sorting method described in step S51, continue to re-comparison and sort the values of the array elements of other serial numbers except the array element with the largest serial number in the entire array sorted in step S51, so that in the sorted array
  • the value of the array element with the second largest serial number is the second largest value in the entire array
  • step S53 In the entire array sorted in step S52, the array elements with other serial numbers except the array element with the largest serial number and the second largest serial number are compared and sorted multiple times in sequence referring to the array element comparison and sorting method in step S51 and step S52, Until all the array elements are sorted in ascending order of value;
  • the sorting of the array elements in the system array in descending order of numerical size includes:
  • step S52' continue to re-comparison and sort the values of the array elements with other serial numbers in the entire array after sorting in step S51' except for the array element with the largest serial number, so that after sorting
  • the value of the array element with the second largest sequence number in the array of is the second smallest value in the entire array;
  • the array elements with other serial numbers refer to the comparison and sorting method of the array elements in step S51' and step S52' to perform multiple sequentially Comparing and sorting until all array elements are sorted in descending order of value from large to small.
  • the present invention provides a group control system control device, the device includes a memory and a processor, the memory stores machine-executable instructions, and when the machine-executable instructions are executed by the processor, This enables the device to implement the group control system control method described in any one of the above first aspects.
  • the present invention provides a computer storage medium, the storage medium stores a computer program, and after the computer program is executed, the group control system control method described in any one of the above first aspects can be implemented.
  • the present invention can quickly and automatically select the equipment with the shortest running time and satisfy the start-up conditions through the prefabricated standard program blocks, so that the running time of similar equipment in the computer room group control system can be well maintained In a relatively balanced range, this can balance the utilization rate of the equipment and prolong the service life of the equipment.
  • Fig. 1 is a flow chart of the main steps of an embodiment of the control method of the group control system of the present invention
  • Fig. 2 is a detailed step-by-step flowchart of an embodiment of the control method of the group control system of the present invention
  • Fig. 3 is a schematic structural diagram of an embodiment of a control device of a group control system according to the present invention.
  • device may include hardware, software or a combination of both.
  • a device or module may include hardware circuits, various appropriate sensors, communication ports, memory, and may also include software parts, such as program codes, or a combination of software and hardware.
  • the processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor or any other suitable processor.
  • the processor has data and/or signal processing functions.
  • the processor can be implemented in software, hardware or a combination of both.
  • Non-transitory computer-readable storage media include any suitable medium that can store program code, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random-access memory, and the like. Orientation terms such as “left”, “right”, and “front” are all based on the direction of vehicle travel.
  • the invention mainly solves the problem that the equipment with the shortest running time and meeting the start-up conditions cannot be automatically selected in the current machine room group control system.
  • the present invention provides a method for controlling a group control system.
  • the group control system includes a control platform and a plurality of devices communicatively connected to the control platform, as shown in FIG. 1 , mainly including the following steps:
  • the step S1 specifically includes acquiring a device selection signal of the control platform.
  • the system operating program will first initialize the operation and maintenance parameters in the control platform, and set the relevant operation and maintenance parameters in the control platform It is the default parameter of the system.
  • the system operation and maintenance personnel set the system operation and maintenance parameter values according to the specific operation and maintenance requirements, and enable the start-up devices managed by the group control system through the control platform, so that the After the function, the equipment can start running as needed when it is judged that the group control system needs to be added.
  • the control platform of the group control system in the computer room set some load parameters about the system operation of a chiller, such as adding and subtracting machines. Then, the control platform will monitor the load of the chillers in the group control system in real time. If it is judged that the chiller load in the group control system is higher than the added load parameter value set in the system, a signal to add chillers will be triggered.
  • the operation and maintenance parameters of the system can also be set to other corresponding operation and maintenance parameters according to maintenance needs, for example, the cooling capacity of the chiller, etc. It should be noted that when the maintenance personnel enable the device, if the device is faulty, the faulty device cannot be enabled. In addition, enabled devices will automatically exit the enabled state if they fail.
  • the maintenance personnel will also change the state of the enabled device from the enabled state to the non-enabled state before performing maintenance on the enabled device, and then reset the device to the enabled state after the maintenance work is completed. That is, if the device is enabled, it means that the device is not faulty and is not under maintenance. Only devices that are not running and enabled are considered bootable devices.
  • the control platform When the control platform determines through logical judgment that the group control system needs to add machines, it will trigger a selection signal, requiring the equipment selection module of the operation and maintenance platform to automatically select a device with the shortest running time and meeting the start-up conditions in the group control system.
  • the device is added to the operation of the group control system.
  • the device selection module of the control platform After the device selection module of the control platform obtains the device selection signal, it will automatically process it, and then select a device with the shortest running time and satisfy the start-up conditions from the devices to be started in the group control system.
  • the step S2 is specifically, synchronizing the information packets of the plurality of devices into the system array, wherein the system array contains a plurality of array elements, and each of the array elements corresponds to each of the devices, And the value of each of the array elements corresponds to the device information of the device; specifically, after the device selection module in the group control system control platform obtains the device selection signal, first, all the devices in the group control system
  • the information packets of are synchronized to the device selection module array.
  • the information package of the device at least includes the device number of each device, the cumulative running time of the device and the information on the start-up conditions of the device, wherein the start-up conditions mainly include the fault state, running state, enabling state, maintenance state and other conditions of the device One or more combinations of them.
  • the system array includes a plurality of array elements, each of the array elements corresponds to each of the devices, and the value of each of the array elements corresponds to the device information of the devices. Synchronizing the information package of the device into the system array can facilitate the selection of array elements that meet the conditions by comparing the values in the array, and then find the corresponding ones that meet the conditions by selecting the array elements that meet the conditions. equipment.
  • the step S3 specifically includes selecting the array elements satisfying the conditions in the system array; specifically, first, sorting the array elements that have been synchronized into the system array according to a preset order. For example, sort the array elements in the system array in ascending or descending order of numerical size. Then, in the sorted data, select the first array element that satisfies the condition in the system array in the order of increasing or decreasing value.
  • the conditions can be set in advance according to operation and maintenance requirements. For example, the condition can be specifically set to be that the device is enabled and that the device is not faulty.
  • the system sequentially judges whether the information in the device information package contained in each array element is The start condition for the device to be enabled is met. Select the first array element that satisfies that the device is enabled, that is, the array element that has the shortest cumulative running time and meets the conditions. The device can be found by the device number contained in the array element.
  • the said sorting the array elements in the system array according to the increasing order of numerical size includes:
  • step S52 According to the array element comparison and sorting method described in step S51, continue to re-comparison and sort the values of the array elements of other serial numbers except the array element with the largest serial number in the entire array sorted in step S51, so that in the sorted array
  • the value of the array element with the second largest serial number is the second largest value in the entire array
  • step S53 In the entire array sorted in step S52, the array elements with other serial numbers except the array element with the largest serial number and the second largest serial number are compared and sorted multiple times in sequence referring to the array element comparison and sorting method in step S51 and step S52, Until all the array elements are sorted in ascending order of value.
  • the chillers with equipment numbers 1 and 2 are running. After logical comparison, the operation and maintenance system judges that a chiller needs to be added. The operation and maintenance platform sends a request signal to the equipment selection module corresponding to the chiller. After receiving the request signal triggered by the operation and maintenance platform, the equipment selection module of the chiller first , synchronize the information packet data of the 6 chillers in the group control system to the array of the equipment selection module, and then, the equipment selection module will compare the values of the two adjacent array elements sequentially according to the order of the array element numbers from small to large, That is, a cyclic comparison is performed on the cumulative running time information in adjacent information packets.
  • the cumulative running time corresponding to the array element with a small array number is greater than the cumulative running time corresponding to the array element with a large array number, the information is exchanged. packet location, otherwise, no packet switching takes place.
  • the cumulative running time corresponding to the array element whose array number is 0 is 18, and the cumulative running time corresponding to the array element whose adjacent array number is 1 is 16.
  • the cumulative running time of the two can be compared If it is found that the cumulative running time 18 corresponding to the array element with the array number 0 is greater than the cumulative running time 16 corresponding to the array element with the array number 1, exchange the device information packets contained in the two array elements, and the array element with the original array number 0
  • the contained device information package becomes the device information package contained in the array element whose array number is 1 after the array elements are exchanged.
  • the array elements satisfying the enabled condition are selected in ascending order from small to large. It can be seen from Table 2 that although the device numbers are 1 and 2 are ranked first, since the two devices are in the running state and the enable state is OFF, which does not meet the requirements for array element selection, the device numbers are 1, 2 and 2 respectively. The array element number 2 will not be selected by the device selection module.
  • the device selection module finds the first array element that satisfies the enable state is ON and the device is in the non-running state through the enable state contained in the array elements, and then ends the operation, that is, the device selection module runs from small to After selecting the first array element whose start-up state is ON in the large sequence sorted array, the operation will end.
  • the device corresponding to the first selected array element that satisfies the selection condition is the device with the shortest running time and that meets the start-up condition.
  • said sorting the array elements in the system array in descending order of numerical size includes:
  • step S52' continue to re-comparison and sort the values of the array elements with other serial numbers in the entire array after sorting in step S51' except for the array element with the largest serial number, so that after sorting
  • the value of the array element with the second largest sequence number in the array of is the second smallest value in the entire array;
  • the array elements with other serial numbers refer to the comparison and sorting method of the array elements in step S51' and step S52' to perform multiple sequentially Comparing and sorting until all array elements are sorted in descending order of value from large to small.
  • the sorting method of the array elements is the same as the above-mentioned method of sorting in ascending order of numerical value, and will not be repeated here.
  • the step S4 specifically includes determining the corresponding device through the selected array elements that meet the conditions. Specifically, after sorting according to the cumulative running time and finding the device information package contained in the array element with the shortest cumulative running time and meeting the start-up condition, the information in the selected device information package is mapped to the corresponding available Start the information package address position, compare the data in the startable device information package with the data in each device, judge and output a start signal of a startable and shortest device to the operation and maintenance platform, so far the device selection module is very important to the operation and maintenance The processing of the platform request signal ends.
  • the present invention provides a group control system control device.
  • the device 300 includes a memory 32 and a processor 31, the memory stores machine-executable instructions, and when the machine can execute When the instructions are executed by the processor, the device is enabled to implement the group control system control method described in any one of the above first aspects.
  • the present invention provides a computer storage medium, the storage medium stores a computer program, and after the computer program is executed, the group control system control method described in any one of the above first aspects can be implemented.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • General Factory Administration (AREA)
  • Feedback Control In General (AREA)

Abstract

本发明涉及机房群控领域,具体提供一种群控系统控制方法,旨在解决机房群控系统中运行的同类设备较多且可启动条件判断比较繁琐的问题。为此目的,本发明的群控系统控制方法包括:获取所述控制平台的设备选择信号;同步所述多台设备的信息包到系统数组内;选取所述系统数组内满足条件的数组元素;通过选取的满足条件的所述数组元素确定对应的所述设备。本发明通过预制的标准程序块可以快速自动的选出累计运行时间最短且满足启动条件的设备,让机房群控系统中的同类设备的累计运行时间可以很好的保持在一个相对平衡的范围内,这样可以平衡设备的利用率,延长设备使用寿命。

Description

群控系统控制方法、设备和介质 技术领域
本发明涉及机房群控领域,具体提供一种群控系统控制方法。
背景技术
目前机房群控系统的控制理念中,为了平衡各台设备的运行时间,往往都是自动选取运行时间最短且满足启动条件的设备来进行优先启动。但通常由于设备数量比较多且可启动条件判断比较繁琐,往往无法实现此功能。目前采用的设备选取方法中,无论采用设备的顺序控制还是联动设备的对应控制等方法,都无法满足选取运行时间最短且满足启动条件的设备的目的,都会造成设备运行时间的不平衡,需要人为干预才可以平衡设备的运行时间。另外,有些设备选取方法虽然可以平衡设备的运行时间,但是无法与设备的故障及使能信息联动。
相应地,本领域需要一种新的设备选取方法来解决上述问题。
发明内容
本发明旨在解决上述技术问题,即,解决当前机房群控系统中无法自动选取运行时间最短且满足启动条件的设备的问题。
在第一方面,本发明提供一种群控系统控制方法,所述群控系统包括控制平台和与所述控制平台通信连接的多台设备,包括以下步骤,
S1,获取所述控制平台的设备选择信号;
S2,同步所述多台设备的信息包到系统数组内,其中,所述系统数组内包含多个数组元素,每个所述数组元素分别与每一台所述设备对应,且每个所述数组元素的数值分别对应所述设备的设备信息;
S3,选取所述系统数组内满足条件的数组元素;
S4,通过选取的满足条件的所述数组元素确定对应的所述设备。
可选地,在步骤S2中,所述设备的信息包中至少包括每台设备的设备编号、设备累计运行时间和设备可启动条件信息。
可选地,在步骤S3中,选取系统数组内满足条件的数组元素,其包括:
S31,将系统数组内的数组元素按照预设的顺序进行排序;
S32,在排序后的数据中选取满足条件的数组元素。
可选地,在步骤S31中,“将系统数组内的数组元素按照预设的顺序进行排序”,具体为,将系统数组内的数组元素按照数值大小递增或递减的顺序进行排序。
可选地,在步骤S32中,“在排序后的数据中选取满足条件的数组元素”,具体为,在排序后的数据中,按照数值大小递增或递减的顺序,选取系统数组内第一个满足条件的数组元素。
可选地,所述条件包括所述设备已使能,且所述设备没有故障。
可选地,步骤S4包括:依据选取的第一个满足启动条件的数组元素找到对应的设备,其中,所述对应的设备即为累计运行时间最短且满足启动条件的设备。
可选地,所述数组中的数组元素对应的序号按照从小到大的顺序排列,其中,
所述将系统数组内的数组元素按照数值大小递增的顺序进行排序包括:
S51、按照数组元素序号从小到大的顺序依次比较相邻的两个数组元素的数值,若比较的相邻的两个数组元素中,序号小的数组元素的数值比序号大的数组元素的数值大,则对所述两个数组元素的数值进行交换, 否则,不进行数值交换;再以所述序号大的数组元素依次向后执行相邻两个数组元素的比较步骤,直到数组内全部数组元素均比较完毕,使得所述数组中序号最大的数组元素的数值为整个数组中数值最大;
S52、按照步骤S51所述的数组元素比较排序方法,继续对步骤S51排序后的整个数组中除了序号最大的数组元素以外的其他序号的数组元素的数值重新进行比较排序,使得排序后的数组中序号第二大的数组元素的数值为整个数组中数值第二大;
S53、对所述步骤S52排序后的整个数组中除了序号最大和序号第二大的数组元素以外的其他序号的数组元素参照步骤S51和步骤S52的数组元素比较排序方法依次进行多次比较排序,直到全部数组元素均按照数值从小到大递增的顺序完成排序;
所述将系统数组内的数组元素按照数值大小递减的顺序进行排序包括:
S51’、按照数组元素序号从小到大的顺序依次比较相邻的两个数组元素的数值,若比较的相邻的两个数组元素中,序号小的数组元素的数值比序号大的数组元素的数值小,则对所述两个数组元素的数值进行交换,否则,不进行数值交换;再以所述序号大的数组元素依次向后执行相邻两个数组元素的比较步骤,直到数组内全部数组元素均比较完毕,使得所述数组中序号最大的数组元素的数值为整个数组中数值最小;
S52’、按照步骤S51’所述的数组元素比较排序方法,继续对步骤S51’排序后的整个数组中除了序号最大的数组元素以外的其他序号的数组元素的数值重新进行比较排序,使得排序后的数组中序号第二大的数组元素的数值为整个数组中数值第二小;
S53’、对所述步骤S52’排序后的整个数组中除了序号最大和序号第二大的数组元素以外的其他序号的数组元素参照步骤S51’和步骤S52’的数组元素比较排序方法依次进行多次比较排序,直到全部数组元素均按照数值从大到小递减的顺序完成排序。
在第二方面,本发明提供一种群控系统控制设备,所述设备包括存 储器和处理器,所述存储器中存储有机器可执行指令,当所述机器可执行指令被所述处理器执行时,使得所述设备能实现上述第一方面中任一项所述的群控系统控制方法。
在第三方面,本发明提供一种计算机存储介质,所述存储介质存储有计算机程序,所述计算机程序被执行后能实现上述第一方面中任一项所述的群控系统控制方法。
有益技术效果:
在采用上述技术方案的情况下,本发明通过预制的标准程序块可以快速自动的选出运行时间最短且满足启动条件的设备,让机房群控系统中的同类设备的运行时间可以很好的保持在一个相对平衡的范围内,这样可以平衡设备的利用率,延长设备使用寿命。
附图说明
下面结合附图来描述本发明的优选实施方式,附图中:
图1是本发明群控系统控制方法实施例的主要步骤流程图;
图2是本发明群控系统控制方法实施例的详细步骤流程图;
图3是本发明群控系统控制设备实施例的结构示意图。
具体实施方式
下面参照附图来描述本发明的一些实施方式。本领域技术人员应当理解的是,这些实施方式仅仅用于解释本发明的技术原理,并非旨在限制本发明的保护范围。
在本发明的描述中,“装置”、“模块”、“处理器”可以包括硬件、软件或者两者的组合。一个装置或模块可以包括硬件电路,各种合适的感应器,通信端口,存储器,也可以包括软件部分,比如程序代码,也可以是软件和硬件的组合。处理器可以是中央处理器、微处理器、图像处理器、数字信号处理器或者其他任何合适的处理器。处理器具有数据和/或信号处理功能。处理器可以以软件方式实现、硬件方式实现或者二者结合方式实现。非暂时性的计算机可读存储介质包括任何合适的可存储 程序代码的介质,比如磁碟、硬盘、光碟、闪存、只读存储器、随机存取存储器等等。方位术语如“左”、“右”、“前方”等均以车辆行驶方向为基准。
本发明主要解决当前机房群控系统中无法自动选取运行时间最短且满足启动条件的设备的问题。
在第一方面,本发明提供一种群控系统控制方法,所述群控系统包括控制平台和与所述控制平台通信连接的多台设备,如图1所示,主要包括以下步骤:
S1,获取所述控制平台的设备选择信号;
S2,同步所述多台设备的信息包到系统数组内,其中,所述系统数组内包含多个数组元素,每个所述数组元素分别与每一台所述设备对应,且每个所述数组元素的数值分别对应所述设备的设备信息;
S3,选取所述系统数组内满足条件的数组元素;
S4,通过选取的满足条件的所述数组元素确定对应的所述设备。
本发明的群控系统控制方法的一个实施例中,所述步骤S1具体为,获取所述控制平台的设备选择信号。具体来说,如图2所示,当机房群控系统控制平台上电启动运行后,系统运行程序首先会对控制平台中的各运维参数进行初始化,将控制平台中相关的运维参数设置为系统默认的参数。当控制平台启动完成并且正常运行后,系统运维人员根据具体的运维要求设置系统的运维参数值,并通过控制平台对群控系统所管理的可启动的设备进行使能操作,使得使能后的设备在判断群控系统需要加机时能够根据需要启动运行。例如,在机房群控系统的控制平台上设置一些关于某冷水机组加机、减机等系统运行的负荷参数,然后,控制平台会实时监控群控系统内运行中的冷水机组的负荷情况,如果判断群控系统中冷水机组的负荷高于系统中设定的加机负荷参数值,则会触发一个增加冷水机的信号。系统的运维参数也可以根据维护需要设置为相应的其他运维参数,例如,冷水机的制冷量等。需要说明的是,在维护人员对设备进行使能操作时,如果设备存在故障则无法对该故障设备进 行使能操作。此外,已使能的设备如果出现故障,则会自动退出使能状态。另外,维护人员在对使能设备进行维护前也会先将已使能设备的状态从使能状态修改为非使能状态,在维护工作完成后,再将设备重新设置为使能状态。也就是说,如果设备处于使能状态,则表示设备没有故障,也没有处于维护状态。只有未运行且处于使能状态的设备即为可启动状态的设备。
当控制平台通过逻辑判断的方法确定群控系统需要进行加机操作后,会触发一个选择信号,要求运维平台的设备选择模块在群控系统中自动选取一台运行时间最短且满足启动条件的设备加入到群控系统运行中。控制平台的设备选择模块获取所述设备选择信号后,会进行自动处理,进而从群控系统待启动设备中选取一台运行时间最短且满足启动条件的设备。
所述步骤S2具体为,同步所述多台设备的信息包到系统数组内,其中,所述系统数组内包含多个数组元素,每个所述数组元素分别与每一台所述设备对应,且每个所述数组元素的数值分别对应所述设备的设备信息;具体来说,群控系统控制平台中的设备选择模块在获取所述设备选择信号后,首先,将群控系统中所有设备的信息包同步到设备选择模块数组内。所述设备的信息包中至少包括每台设备的设备编号、设备累计运行时间和设备可启动条件信息,其中,可启动条件主要包括设备的故障状态,运行状态,使能状态,检修状态等条件中的一种或多种组合。所述系统数组内包含多个数组元素,每个所述数组元素分别与每一台所述设备对应,且每个所述数组元素的数值分别对应所述设备的设备信息。将设备的信息包同步到系统数组内可以便于通过对数组内的数值大小进行比较操作,从而选择出满足条件的数组元素,进而通过选择出的满足条件的数组元素,找到其对应的满足条件的设备。
所述步骤S3具体为,选取所述系统数组内满足条件的数组元素;具体来说,首先,将已经同步到系统数组内的数组元素按照预设的顺序进行排序。例如,将系统数组内的数组元素按照数值大小递增或递减的顺序进行排序。然后,在排序后的数据中,按照数值大小递增或递减的顺序,选取系统数组内第一个满足条件的数组元素。所述条件可根据运 维要求事先设置。例如,条件可具体设置为设备已使能,且设备没有故障。进一步来说,也就是所述系统数组内的数组元素按照数组元素的数值大小从小到大排序后,系统按照数值从小到大的顺序依次判断每个数组元素所包含的设备信息包中的信息是否满足设备已使能的启动条件。选择出第一个满足设备已使能的数组元素,即为累计运行时间最短且满足条件的数组元素。通过该数组元素中包含的设备编号即可找到该设备。
其中,
所述将系统数组内的数组元素按照数值大小递增的顺序进行排序包括:
S51、按照数组元素序号从小到大的顺序依次比较相邻的两个数组元素的数值,若比较的相邻的两个数组元素中,序号小的数组元素的数值比序号大的数组元素的数值大,则对所述两个数组元素的数值进行交换,否则,不进行数值交换;再以所述序号大的数组元素依次向后执行相邻两个数组元素的比较步骤,直到数组内全部数组元素均比较完毕,使得所述数组中序号最大的数组元素的数值为整个数组中数值最大;
S52、按照步骤S51所述的数组元素比较排序方法,继续对步骤S51排序后的整个数组中除了序号最大的数组元素以外的其他序号的数组元素的数值重新进行比较排序,使得排序后的数组中序号第二大的数组元素的数值为整个数组中数值第二大;
S53、对所述步骤S52排序后的整个数组中除了序号最大和序号第二大的数组元素以外的其他序号的数组元素参照步骤S51和步骤S52的数组元素比较排序方法依次进行多次比较排序,直到全部数组元素均按照数值从小到大递增的顺序完成排序。
举例来说,例如目前群控系统中总共有6台冷水机,如表1所示,
表1
数组序号 累计运行时间 运行状态 使能状态 可启动状态 设备编号
0 18 ON OFF OFF 1
1 16 ON OFF OFF 2
2 29 OFF ON ON 3
3 22 OFF OFF OFF 4
4 26 ON ON OFF 5
5 20 OFF ON ON 6
目前设备编号为1,2号的冷水机正在运行。运维系统通过逻辑比较后判断需要增加一台冷水机,运维平台向冷水机所对应的设备选择模块发送一个请求信号,冷水机的设备选择模块收到运维平台触发的请求信号后,首先,将群控系统中6台冷水机的信息包数据同步到设备选择模块的数组内,然后,设备选择模块会按照数组元素序号从小到大的顺序依次比较相邻的两个数组元素的数值,即对相邻的信息包内的累计运行时间信息进行一个循环比较,如果数组序号小的数组元素所对应的累计运行时间比数组序号大的数组元素所对应的累计运行时间大的话则互换信息包位置,否则,不进行数据包交换。如表1中所示,数组序号为0的数组元素所对应的累计运行时间为18,其相邻的数组序号为1的数组元素所对应的累计运行时间为16,两者累计运行时间比较可以发现数组序号为0的数组元素所对应的累计运行时间18大于数组序号为1的数组元素所对应的累计运行时间16,则交换两数组元素包含的设备信息包,原数组序号为0的数组元素所包含的设备信息包在数组元素交换后成为数组序号为1的数组元素包含的设备信息包。接着数组序号为1的数组元素(即原数组序号为0的数组元素)与其相邻的数组序号为2的数组元素进行比较,比较可以发现数组序号为1的数组元素所对应的累计运行时间18小于数组序号为2的数组元素所对应的累计运行时间29,则不交换两数组元素包含的设备信息包。以此类推,先将数组内数组序号从0至5的数组元素中所含的累计运行时间按照数组元素间的位置关系依次将相邻数组元素内的累计运行时间进行两两比较,则经过一轮比较后,6台冷水机中累计运行时间最大的数组元素放在数组最底部;如图2所示,通过嵌套FOR1和FOR2循环再依次将数组序号从0至4,从0至3,从0至2,从0至1进行多次类似于上述数组序号从0至5的比较。则最后得到按照累计运行时间从小到大排序后的结果。
如表2所示,为按照累计运行时间排序后的结果。
从表2中可以看到,在排序结果中累计运行时间最少的设备信息包被放到数组的最顶端。
表2
数组序号 累计运行时间 运行状态 使能状态 可启动状态 设备编号
0 16 ON OFF OFF 2
1 18 ON OFF OFF 1
2 20 OFF ON ON 6
3 22 OFF OFF OFF 4
4 26 ON ON OFF 5
5 29 OFF ON ON 3
再从数组顶端到数组底端依次判断信息包中的可启动条件,相当于图2中所示的FOR3循环,直到找到数组中满足条件的数组元素。例如,在排序后的数组元素中按照从小到大排序后的顺序选择满足已使能条件的数组元素。从表2中可以看到,虽然设备编号为1,2号的排序靠前,但由于这两台设备处于运行状态,使能状态为OFF,不符合数组元素选择要求,所以设备编号为1、2号的数组元素不会被设备选择模块所选择。只有处于使能状态且设备处于未运行状态的数组元素才能满足选择条件,即表2中可启动状态为ON的数组元素为满足选择条件的数组元素。如表2中所示的设备编号为6和3的数组元素均为满足选择要求的数组元素。设备选择模块通过数组元素中包含的使能状态找到满足使能状态为ON且设备处于未运行状态的第一个数组元素后结束运行,也即设备选择模块按照数组元素所含累计运行时间从小到大的顺序排序后的数组中选择第一个可启动状态为ON的数组元素后即结束运行。该被选择的第一个满足选择条件的数组元素所对应的设备即为运行时间最短且满足启动条件的设备。
另外,所述将系统数组内的数组元素按照数值大小递减的顺序进行排序包括:
S51’、按照数组元素序号从小到大的顺序依次比较相邻的两个数组元素的数值,若比较的相邻的两个数组元素中,序号小的数组元素的数值比序号大的数组元素的数值小,则对所述两个数组元素的数值进行交换,否则,不进行数值交换;再以所述序号大的数组元素依次向后执行相邻 两个数组元素的比较步骤,直到数组内全部数组元素均比较完毕,使得所述数组中序号最大的数组元素的数值为整个数组中数值最小;
S52’、按照步骤S51’所述的数组元素比较排序方法,继续对步骤S51’排序后的整个数组中除了序号最大的数组元素以外的其他序号的数组元素的数值重新进行比较排序,使得排序后的数组中序号第二大的数组元素的数值为整个数组中数值第二小;
S53’、对所述步骤S52’排序后的整个数组中除了序号最大和序号第二大的数组元素以外的其他序号的数组元素参照步骤S51’和步骤S52’的数组元素比较排序方法依次进行多次比较排序,直到全部数组元素均按照数值从大到小递减的顺序完成排序。
其数组元素的排序方法与上述按照数值大小递增顺序进行排序的方法相同,此处不再赘述。
所述步骤S4具体为,通过选取的满足条件的所述数组元素确定对应的所述设备。具体来说,当按照累计运行时间大小进行排序,并找到累计运行时间最短且满足启动条件的数组元素所包含的设备信息包后,将该被选择的设备信息包内的信息映射到相应的可启动信息包地址位置,将可启动设备信息包内的数据与各设备内的数据进行比较,判断输出一个可启动的且时间最短的设备的启动信号给运维平台,至此设备选择模块对运维平台请求信号的处理结束。
在第二方面,本发明提供一种群控系统控制设备,如图3所示,所述设备300包括存储器32和处理器31,所述存储器中存储有机器可执行指令,当所述机器可执行指令被所述处理器执行时,使得所述设备能实现上述第一方面中任一项所述的群控系统控制方法。
在第三方面,本发明提供一种计算机存储介质,所述存储介质存储有计算机程序,所述计算机程序被执行后能实现上述第一方面中任一项所述的群控系统控制方法。
至此,已经结合附图所示的优选实施方式描述了本发明的技术方案,但是,本领域技术人员容易理解的是,本发明的保护范围显然不局限于这些具体实施方式。在不偏离本发明的原理的前提下,本领域技术人员可以对相关技术特征作出等同的更改或替换,这些更改或替换之后的技术方案都将落入本发明的保护范围之内。

Claims (10)

  1. 一种群控系统控制方法,所述群控系统包括控制平台和与所述控制平台通信连接的多台设备,其特征在于,包括以下步骤:
    S1,获取所述控制平台的设备选择信号;
    S2,同步所述多台设备的信息包到系统数组内,其中,所述系统数组内包含多个数组元素,每个所述数组元素分别与每一台所述设备对应,且每个所述数组元素的数值分别对应所述设备的设备信息;
    S3,选取所述系统数组内满足条件的数组元素;
    S4,通过选取的满足条件的所述数组元素确定对应的所述设备。
  2. 根据权利要求1所述的群控系统控制方法,其特征在于,在步骤S2中,所述设备的信息包中至少包括每台设备的设备编号、设备累计运行时间和设备可启动条件信息。
  3. 根据权利要求1所述的群控系统控制方法,其特征在于,在步骤S3中,选取系统数组内满足条件的数组元素,其包括:
    S31,将系统数组内的数组元素按照预设的顺序进行排序;
    S32,在排序后的数据中选取满足条件的数组元素。
  4. 根据权利要求3所述的群控系统控制方法,其特征在于,在步骤S31中,“将系统数组内的数组元素按照预设的顺序进行排序”,具体为,将系统数组内的数组元素按照数值大小递增或递减的顺序进行排序。
  5. 根据权利要求3所述的群控系统控制方法,其特征在于,在步骤S32中,“在排序后的数据中选取满足条件的数组元素”,具体为,在排序后的数据中,按照数值大小递增或递减的顺序,选取系统数组内第一个满足条件的数组元素。
  6. 根据权利要求5所述的群控系统控制方法,其特征在于,所述条 件包括所述设备已使能,且所述设备没有故障。
  7. 根据权利要求1所述的群控系统控制方法,其特征在于,步骤S4包括:依据选取的第一个满足启动条件的数组元素找到对应的设备,其中,所述对应的设备即为累计运行时间最短且满足启动条件的设备。
  8. 根据权利要求4所述的群控系统控制方法,其特征在于,所述数组中的数组元素对应的序号按照从小到大的顺序排列,其中,
    所述将系统数组内的数组元素按照数值大小递增的顺序进行排序包括:
    S51、按照数组元素序号从小到大的顺序依次比较相邻的两个数组元素的数值,若比较的相邻的两个数组元素中,序号小的数组元素的数值比序号大的数组元素的数值大,则对所述两个数组元素的数值进行交换,否则,不进行数值交换;再以所述序号大的数组元素依次向后执行相邻两个数组元素的比较步骤,直到数组内全部数组元素均比较完毕,使得所述数组中序号最大的数组元素的数值为整个数组中数值最大;
    S52、按照步骤S51所述的数组元素比较排序方法,继续对步骤S51排序后的整个数组中除了序号最大的数组元素以外的其他序号的数组元素的数值重新进行比较排序,使得排序后的数组中序号第二大的数组元素的数值为整个数组中数值第二大;
    S53、对所述步骤S52排序后的整个数组中除了序号最大和序号第二大的数组元素以外的其他序号的数组元素参照步骤S51和步骤S52的数组元素比较排序方法依次进行多次比较排序,直到全部数组元素均按照数值从小到大递增的顺序完成排序;
    所述将系统数组内的数组元素按照数值大小递减的顺序进行排序包括:
    S51’、按照数组元素序号从小到大的顺序依次比较相邻的两个数组元素的数值,若比较的相邻的两个数组元素中,序号小的数组元素的数值比序号大的数组元素的数值小,则对所述两个数组元素的数值进行交 换,否则,不进行数值交换;再以所述序号大的数组元素依次向后执行相邻两个数组元素的比较步骤,直到数组内全部数组元素均比较完毕,使得所述数组中序号最大的数组元素的数值为整个数组中数值最小;
    S52’、按照步骤S51’所述的数组元素比较排序方法,继续对步骤S51’排序后的整个数组中除了序号最大的数组元素以外的其他序号的数组元素的数值重新进行比较排序,使得排序后的数组中序号第二大的数组元素的数值为整个数组中数值第二小;
    S53’、对所述步骤S52’排序后的整个数组中除了序号最大和序号第二大的数组元素以外的其他序号的数组元素参照步骤S51’和步骤S52’的数组元素比较排序方法依次进行多次比较排序,直到全部数组元素均按照数值从大到小递减的顺序完成排序。
  9. 一种群控系统控制设备,其特征在于,所述设备包括存储器和处理器,所述存储器中存储有机器可执行指令,当所述机器可执行指令被所述处理器执行时,使得所述设备能实现如权利要求1至8中任一项所述的群控系统控制方法。
  10. 一种计算机存储介质,所述存储介质存储有计算机程序,其特征在于,所述计算机程序被执行后能够实现权利要求1至8中任一项所述的群控系统控制方法。
PCT/CN2022/103396 2021-10-29 2022-07-01 群控系统控制方法、设备和介质 WO2023071275A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111272582.5 2021-10-29
CN202111272582.5A CN114172911A (zh) 2021-10-29 2021-10-29 群控系统控制方法、设备和介质

Publications (1)

Publication Number Publication Date
WO2023071275A1 true WO2023071275A1 (zh) 2023-05-04

Family

ID=80477514

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/103396 WO2023071275A1 (zh) 2021-10-29 2022-07-01 群控系统控制方法、设备和介质

Country Status (2)

Country Link
CN (1) CN114172911A (zh)
WO (1) WO2023071275A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103543716A (zh) * 2013-10-11 2014-01-29 中国神华能源股份有限公司 综采工作面设备的远程控制系统及方法
CN104113088A (zh) * 2014-08-04 2014-10-22 国网吉林省电力有限公司 一种风电机群控制系统
CN105571063A (zh) * 2015-12-31 2016-05-11 深圳市同鑫热力技术有限公司 一种浅层地温能能源管理系统及其实现方法
CN107104466A (zh) * 2017-05-22 2017-08-29 南京工程学院 基于冒泡排序的风储联合发电系统储能元件优化运行方法
US20190314243A1 (en) * 2018-04-17 2019-10-17 Pentair Water Pool And Spa, Inc. Systems and Methods for Controlling Pool/Spa Devices

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4136594B2 (ja) * 2002-10-25 2008-08-20 株式会社ターボデータラボラトリー データ処理方法およびデータ処理プログラム
US7124028B2 (en) * 2003-11-21 2006-10-17 Fairfield Industries, Inc. Method and system for transmission of seismic data
US9104323B2 (en) * 2007-08-16 2015-08-11 International Business Machines Corporation Apparatus and method for storage cluster control
CN104331279B (zh) * 2014-10-21 2017-06-30 上海微小卫星工程中心 一种星载软件中条件统计型需求的处理方法和装置
CN107525318B (zh) * 2017-09-15 2020-09-04 广东美的暖通设备有限公司 多联机系统及其控制方法和装置
CN108762718B (zh) * 2018-05-28 2022-03-04 武汉大学 一种提高计算机运算速度的并发筛选排序方法
US11432194B2 (en) * 2018-10-22 2022-08-30 Commscope Technologies Llc Load measurement and load balancing for packet processing in a long term evolution evolved node B
CN110597682B (zh) * 2019-07-18 2022-07-12 平安科技(深圳)有限公司 一种应用部署方法、装置、计算机设备及存储介质
CN111143061B (zh) * 2019-12-18 2024-02-23 海尔优家智能科技(北京)有限公司 多设备的联动控制方法、装置及存储介质
CN112197402A (zh) * 2020-10-14 2021-01-08 苏州合卓智能科技有限公司 一种暖通冷源系统群控系统
CN113108466B (zh) * 2021-03-22 2022-06-14 青岛海尔空调器有限总公司 暖风机控制方法、装置、暖风机和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103543716A (zh) * 2013-10-11 2014-01-29 中国神华能源股份有限公司 综采工作面设备的远程控制系统及方法
CN104113088A (zh) * 2014-08-04 2014-10-22 国网吉林省电力有限公司 一种风电机群控制系统
CN105571063A (zh) * 2015-12-31 2016-05-11 深圳市同鑫热力技术有限公司 一种浅层地温能能源管理系统及其实现方法
CN107104466A (zh) * 2017-05-22 2017-08-29 南京工程学院 基于冒泡排序的风储联合发电系统储能元件优化运行方法
US20190314243A1 (en) * 2018-04-17 2019-10-17 Pentair Water Pool And Spa, Inc. Systems and Methods for Controlling Pool/Spa Devices

Also Published As

Publication number Publication date
CN114172911A (zh) 2022-03-11

Similar Documents

Publication Publication Date Title
EP3531288A1 (en) Data storage method, device, and system
CN106803790B (zh) 一种集群系统的升级控制方法及装置
CN107104824B (zh) 一种网络拓扑确定方法和装置
CN111737003A (zh) Pod均衡调度方法、装置、主节点及存储介质
CN106059791A (zh) 一种存储系统中业务的链路切换方法和存储设备
CN109756382B (zh) 故障定位方法和装置
CN106909568A (zh) 一种数据库集群主数据库的切换方法及装置
WO2023160081A1 (zh) 存储仓选择方法、装置、计算机设备和存储介质
CN110519406A (zh) 一种虚拟地址分配方法、装置及ctdb集群和存储介质
EP4024765A1 (en) Method and apparatus for extracting fault propagation condition, and storage medium
US11695856B2 (en) Scheduling solution configuration method and apparatus, computer readable storage medium thereof, and computer device
US20240036734A1 (en) Io path determination method and apparatus, device and readable storage medium
CN108170507A (zh) 虚拟应用管理方法/系统、计算机可读存储介质及服务端
CN104769896A (zh) 用于虚拟机架系统中的直通模式的系统和方法
CN107453888B (zh) 高可用性的虚拟机集群的管理方法及装置
CN107894874A (zh) 基于超融合存储系统的数据读写控制方法、终端及系统
WO2023071275A1 (zh) 群控系统控制方法、设备和介质
CN106170955A (zh) 一种流量控制方法及系统
JP6323194B2 (ja) ネットワーク管理装置及び方法
CN117369941A (zh) Pod调度方法和系统
CN112491722A (zh) 一种地址表维护方法、装置、设备
CN105373451B (zh) 一种虚拟机放置的方法及装置
US10114567B1 (en) Data processing system with efficient path selection for storage I/O operations
CN111767225B (zh) 一种云计算环境下第三方软件测试系统及方法
CN110413436B (zh) 一种故障处理方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22885180

Country of ref document: EP

Kind code of ref document: A1