A method, system, device and medium for realizing master-slave group control using a level-level architecture
Through the horizontal architecture and flag judgment, the master and slave machines are automatically switched, which solves the stability problem caused by host failure in the data center liquid cooling system and achieves high-stability operation of the system.
Patent Information
- Application Number
- CN202411340525.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2044-09-25
AI Technical Summary
In the prior art, when a host computer fails in a data center liquid cooling system, other CDUs cannot serve as hosts, resulting in reduced system stability.
Adopting a level-by-level architecture, the system automatically determines and switches between master and slave devices through flag judgment and setting, ensuring that there is only one CDU in the system as the group control host, coordinating other CDUs to maintain synchronous operation.
Improves the stability of the data center liquid cooling system, ensuring that the system can still operate normally in the event of a host failure.
Smart Images

Figure CN119449838B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network communication technology, and in particular to a method, system, device and storage medium for implementing master-slave group control using a level-level architecture. Background Art
[0002] Data center liquid cooling systems (CDUs) are typically deployed using an N+X architecture, with N CDUs in active use and X CDUs in standby. In related technologies, a specific CDU is typically designated as the master before system operation. However, if the master CDU fails, the remaining CDUs in the system cannot function as masters, resulting in reduced system stability. Therefore, technical challenges remain in this area. Summary of the Invention
[0003] The purpose of this application is to solve one of the technical problems existing in the prior art to at least a certain extent.
[0004] To this end, one purpose of the embodiments of the present application is to provide a method, system, device and storage medium for implementing master-slave group control using a flat architecture, which can improve the stability of the system.
[0005] To achieve the above technical objectives, the technical solution adopted by the embodiments of the present application includes: a method for implementing a master-slave group control using a flat architecture, for controlling a master-slave system, wherein the master-slave system includes a plurality of data center cold liquid distribution devices, and the method includes the following steps:
[0006] Determining that the master-slave system is in a group control mode and obtaining a first flag bit and a second flag bit of a cold liquid distribution device of each data center;
[0007] When the first flag is 0 and no host setting operation by the user is detected, the second flag of the data center cold liquid distribution device with the smallest number in each of the data center cold liquid distribution devices is set to 1, so that the data center cold liquid distribution device with the smallest number serves as the host in the group control mode;
[0008] When any of the data center cooling liquid distribution devices detects a host setting operation by a user, the second flag bit of the current data center cooling liquid distribution device is set to 1, so that the current data center cooling liquid distribution device serves as a host in a group control mode;
[0009] When the third flag bit of any two of the data center cold liquid distribution devices is 0, the fourth flag bit of the data center cold liquid distribution device with the smallest number among any two of the data center cold liquid distribution devices is set to 1, so that the data center cold liquid distribution device with the smallest number serves as the host of the group control mode.
[0010] In addition, the method for implementing master-slave group control using a flat architecture according to the above embodiment of the present invention may also have the following additional technical features:
[0011] Furthermore, in an embodiment of the present application, the step of determining whether the master-slave system is in group control mode specifically includes: obtaining a group control flag of any data center cold liquid distribution device; when the group control flag is 1, determining that the master-slave system is in group control mode.
[0012] Furthermore, in an embodiment of the present application, the method also includes: when the fourth flag bits of any two or more data center cold liquid distribution devices are both 1; setting the fourth flag bit of the data center cold liquid distribution device with the larger number among the two data center cold liquid distribution devices to 0.
[0013] Furthermore, in an embodiment of the present application, the method further includes: when the fifth flag bit of the host is 1, setting the second flag bit of the host to 0, so that the host switches to a slave.
[0014] Furthermore, in an embodiment of the present application, the method further includes: when the sixth flag bit of the host is 0 and the seventh flag bit of each slave is not all 0, setting the second flag bit of the host to 0 to switch the host to a slave.
[0015] Furthermore, in an embodiment of the present application, when any one of the data center cold liquid distribution devices detects a user's host setting operation, setting the second flag bit of the current data center cold liquid distribution device to 1 also includes: simultaneously setting the eighth flag bit to 0.
[0016] On the other hand, the embodiment of the present application also provides a master-slave group control system implemented with a level-level architecture, including:
[0017] A first processing unit is configured to determine whether the master-slave system is in a group control mode and obtain a first flag bit and a second flag bit of a cold liquid distribution device of each data center;
[0018] a second processing unit, configured to, when the first flag is 0 and no host setting operation by the user is detected, set the second flag of the data center cold liquid distribution device with the smallest number among each of the data center cold liquid distribution devices to 1, so that the data center cold liquid distribution device with the smallest number serves as the host in the group control mode;
[0019] When any of the data center cooling liquid distribution devices detects a host setting operation by a user, the second flag bit of the current data center cooling liquid distribution device is set to 1, so that the current data center cooling liquid distribution device serves as a host in a group control mode;
[0020] When the third flag bit of any two of the data center cold liquid distribution devices is 0, the fourth flag bit of the data center cold liquid distribution device with the smallest number among any two of the data center cold liquid distribution devices is set to 1, so that the data center cold liquid distribution device with the smallest number serves as the host of the group control mode.
[0021] Furthermore, in an embodiment of the present application, the system further includes a second processing unit, configured to set the second flag bit of the host to 0 when the fifth flag bit of the host is 1, so as to switch the host to a slave.
[0022] On the other hand, the present application also provides a master-slave group control device using a level-level architecture, including:
[0023] at least one processor;
[0024] at least one memory for storing at least one program;
[0025] When the at least one program is executed by the at least one processor, the at least one processor implements a method for implementing a master-slave group control using a flat architecture as described in any one of the invention contents.
[0026] In addition, the present application also provides a computer-readable storage medium, which stores processor-executable instructions. When executed by the processor, the processor-executable instructions are used to execute a method for implementing a master-slave group control using a flat architecture as described in any of the above items.
[0027] The advantages and benefits of this application will be partially given in the following description, and partially become apparent from the following description, or learned through practice of this application:
[0028] The present application can determine whether the master-slave system is in group control mode and obtain the first flag and the second flag of each data center cold liquid distribution device; when the first flag is 0 and the user's host setting operation is not detected, the second flag of the data center cold liquid distribution device with the smallest number in each data center cold liquid distribution device is set to 1, so that the data center cold liquid distribution device with the smallest number serves as the host of the group control mode; when any data center cold liquid distribution device detects the user's host setting operation, the second flag of the current data center cold liquid distribution device is set to 1, so that the current data center cold liquid distribution device serves as the host of the group control mode; when the third flag of any two data center cold liquid distribution devices is 0, the fourth flag of the data center cold liquid distribution device with the smallest number in any two data center cold liquid distribution devices is set to 1, so that the data center cold liquid distribution device with the smallest number serves as the host of the group control mode. The present application determines the host in different group control modes by flags, which can improve the stability of the host in the group control mode, thereby improving the stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A schematic diagram of the steps of a method for implementing a master-slave group control method using a level-level architecture in a specific embodiment of the present invention;
[0030] Figure 2 A schematic diagram of a structure of a master-slave system implemented in a level-level architecture in a specific embodiment of the present invention;
[0031] Figure 3 This is a structural diagram of a master-slave group control system implemented in a level-level architecture in a specific embodiment of the present invention;
[0032] Figure 4 The figure is a structural diagram of a master-slave group control device implemented in a horizontal architecture in a specific embodiment of the present invention. DETAILED DESCRIPTION
[0033] The following describes the embodiments of the present invention in detail with reference to the accompanying drawings to illustrate the principles and processes of the method, system, device, and storage medium for implementing master-slave group control using a flat architecture in the embodiments of the present invention.
[0034] Reference Figure 1 This application provides a method for implementing a master-slave group control using a level-level architecture. The method can be used to control a master-slave system, wherein the master-slave system may include several data center cold liquid distribution devices. The method may include the following steps:
[0035] S101, determining that the master-slave system is in group control mode and obtaining a first flag bit and a second flag bit of a cold liquid distribution device in each data center;
[0036] S102: When the first flag is 0 and no host setting operation is detected by the user, the second flag of the data center cold liquid distribution device with the smallest number among each data center cold liquid distribution device is set to 1, so that the data center cold liquid distribution device with the smallest number serves as the host in the group control mode;
[0037] S103: When any data center cooling liquid distribution device detects a user's host setting operation, the second flag bit of the current data center cooling liquid distribution device is set to 1, so that the current data center cooling liquid distribution device serves as the host in the group control mode;
[0038] S104. When the third flag of any two data center cold liquid distribution devices is 0, set the fourth flag of the data center cold liquid distribution device with the smallest number among the two data center cold liquid distribution devices to 1, so that the data center cold liquid distribution device with the smallest number serves as the host in the group control mode.
[0039] Furthermore, in some feasible embodiments of the present application, the step of determining whether the master-slave system is in the group control mode specifically includes:
[0040] Get the group control flag of any data center cold liquid distribution device;
[0041] When the group control flag is 1, it is determined that the master-slave system is in group control mode.
[0042] Furthermore, in some feasible embodiments of the present application, the method also includes: when the fourth flag bits of any two or more data center cold liquid distribution devices are both 1; setting the fourth flag bit of the data center cold liquid distribution device with the larger number among the two data center cold liquid distribution devices to 0.
[0043] Furthermore, in some feasible embodiments of the present application, the method further includes setting the second flag bit of the host to 0 when the fifth flag bit of the host is 1, so that the host switches to a slave.
[0044] Furthermore, in some feasible embodiments of the present application, the method also includes setting the second flag bit of the host to 0 when the sixth flag bit of the host is 0 and the seventh flag bit of each slave is not all 0, so that the host switches to a slave.
[0045] Furthermore, in some feasible embodiments of the present application, when any data center cooling liquid distribution device detects a user's host setting operation, setting the second flag of the current data center cooling liquid distribution device to 1 also includes: simultaneously setting the eighth flag to 0.
[0046] The specific implementation principle of this application is described below with reference to the accompanying drawings:
[0047] Reference Figure 2 The system architecture is a specific example of the N+X architecture, that is, a 3(N)+1(X)=4 architecture, with four liquid-cooled CDUs deployed in parallel. The technical features of this architecture are as follows:
[0048] ① Each CDU is equipped with a CM communication module for northbound communication. It uses the S7 protocol to communicate with the liquid-cooled BA and the Modbus TCP protocol to communicate with the BMS. The CM communication module isolates the northbound communication from the group control communication network segment between the CDUs, providing high reliability.
[0049] ② The CDU is equipped with a Siemens S7-1200 series CPU, each with two built-in network ports. Four CDUs form a ring network. This ring configuration ensures that even a single node failure will not affect system operation, ensuring extremely high communication reliability.
[0050] ③ The CDU's HMI and CPU communicate using the Modbus RTU protocol, which is isolated from northbound communication and group control communication to facilitate online maintenance.
[0051] The core algorithm for implementing master-slave group control in a flat architecture is as follows:
[0052] Step 1: Determine whether there is a host in the group control system. If there is a host in the system, set the host online flag; otherwise, reset the host online flag.
[0053]
[0054] Table 1 Flag table
[0055] In the above table, the local host flag bit 1 indicates that the local machine is the master, and the local host flag bit 0 indicates that the local machine is a slave; the partner host flag bit 1 indicates that the partner has a master, and 0 indicates that all partners are slaves; the host online flag bit 1 indicates that there is a master in the group control system, and 0 indicates that there is no master in the group control system; the CDU1 host flag bit 1 indicates that CDU No. 1 is the master, and 0 indicates that CDU No. 1 is a slave; the CDU2 host flag bit 1 indicates that CDU No. 2 is the master, and 0 indicates that CDU No. 2 is a slave; the CDU3 host flag bit 1 indicates that CDU No. 3 is the master, and 0 indicates that CDU No. 3 is a slave; the CDU4 host flag bit 1 indicates that CDU No. 4 is the master, and 0 indicates that CDU No. 4 is a slave.
[0056] Step 2: Determine whether the unit is in group control mode or stand-alone mode. If it is in stand-alone mode, reset the unit to a slave.
[0057]
[0058] 1 means the machine is in group control mode, 0 means the machine is in stand-alone mode
[0059] Step 3: Check whether there is a host in the group control system. If there is no host, set this machine as the host.
[0060] That is, if "Master_Oline" is 0, set "Master_Native" to 1.
[0061] Step 4: Determine whether the HMI has been manually set as the master. If so, set this unit as the master and reset other CDUs in the system to slaves.
[0062] That is, if "Native_SET_Master" is 1, then "Master_Native" is set to 1 and "Partner_Master" is reset to 0.
[0063] HMI sets the machine as the host flag
[0064]
[0065] 1 means that the HMI operation sets the local machine as the host, and 0 means that the HMI has no operation.
[0066] Step 5: Determine whether there is a host online in the group control system. If there is no host online, set the CDU with the smallest number in the group control system as the host.
[0067] That is, if "Master_Oline" is 0, the master flag of the CDU with the smallest number is set to 1;
[0068] Step 6: Determine whether there are more than two hosts in the group control system. If there are more than two hosts, reset the CDU with the larger number as a slave.
[0069] That is, if two or more of "Master_CDU1", "Master_CDU2", "Master_CDU3" and "Master_CD U4" are 1, the CDU with the larger number will be reset to 0.
[0070] Step 7: Determine whether the unit has a level 1 alarm. If so, reset the unit to a slave unit.
[0071] That is, if "L1_AL_Native" is 1, reset "Master_Native" to 0;
[0072]
[0073] 1 means the machine has a level 1 alarm, and 0 means the machine has no level 1 alarm.
[0074] Step 8: Determine whether the unit is shut down. If the unit is shut down and all CDUs in the group control system are not shut down, reset the unit to a slave unit.
[0075] That is, if "SR_Native" is 0 and the startup flags of other CDUs are not all 0, reset "Master_Native" to 0;
[0076]
[0077] The above core algorithm ensures that there is only one CDU in the group control system as the group control host, and the group control host is responsible for coordinating other CDUs to maintain the same frequency operation as the host.
[0078] In addition, refer to Figure 3 ,and Figure 1Corresponding to the method, an embodiment of the present application further provides a master-slave group control system implemented using a level-level architecture. The system may include: an acquisition unit 1001 and a first processing unit 1002. The acquisition unit 1001 may be used to determine whether the master-slave system is in group control mode and obtain the first flag and the second flag of each data center cold liquid distribution device; the first processing unit 1002 is used to, when the first flag is 0 and no user host setting operation is detected, set the second flag of the data center cold liquid distribution device with the smallest number in each data center cold liquid distribution device to 1, so that the data center cold liquid distribution device with the smallest number serves as the master in the group control mode; when any data center cold liquid distribution device detects a user host setting operation, set the second flag of the current data center cold liquid distribution device to 1, so that the current data center cold liquid distribution device serves as the master in the group control mode; when the third flag of any two data center cold liquid distribution devices is 0, set the fourth flag of the data center cold liquid distribution device with the smallest number in any two data center cold liquid distribution devices to 1, so that the data center cold liquid distribution device with the smallest number serves as the master in the group control mode.
[0079] Furthermore, the system may further include a second processing unit configured to set the second flag bit of the host to 0 when the fifth flag bit of the host is 1, so as to switch the host to a slave.
[0080] It should be noted that the acquisition unit can be any integrated circuit unit or microprocessor unit obtained by integrating a chip having processing functions and its peripheral circuits using existing integration technology. The first processing unit and the second processing unit can also be any integrated circuit module or microprocessor module obtained by integrating a chip having processing functions and its peripheral circuits using existing integration technology. The first processing unit and the second processing unit can also include one or more memories. One or more memories can be used to store the specific algorithm used for compression adjustment processing in this application.
[0081] It should be noted that the contents of the above-mentioned embodiments of the master-slave group control method implemented by the horizontal architecture are applicable to the embodiments of the master-slave group control system implemented by the present horizontal architecture. The functions specifically implemented by the embodiments of the master-slave group control system implemented by the present horizontal architecture are the same as those of the above-mentioned embodiments of the master-slave group control method implemented by the horizontal architecture, and the beneficial effects achieved are also the same as those achieved by the above-mentioned embodiments of the master-slave group control method implemented by the horizontal architecture.
[0082] and Figure 1 Corresponding to the method, the embodiment of the present application also provides a level-level architecture to realize the master-slave group control device, and its specific structure can be referred to Figure 4 ,include:
[0083] at least one processor 1011;
[0084] at least one memory 1012, configured to store at least one program;
[0085] When the at least one program is executed by the at least one processor, the at least one processor implements the master-slave group control method using the flat architecture.
[0086] The contents of the above method embodiments are all applicable to the present device embodiments. The functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0087] and Figure 1 Corresponding to the method, an embodiment of the present application further provides a computer-readable storage medium, which stores processor-executable instructions, and the processor-executable instructions are used to execute the above-mentioned flat architecture to implement the master-slave group control method when executed by the processor.
[0088] The contents of the above-mentioned embodiments of the method for implementing a master-slave group control using a horizontal architecture are all applicable to the embodiments of this storage medium. The functions specifically implemented by this storage medium embodiment are the same as those of the above-mentioned embodiments of the method for implementing a master-slave group control using a horizontal architecture, and the beneficial effects achieved are also the same as those achieved by the above-mentioned embodiments of the method for implementing a master-slave group control using a horizontal architecture.
[0089] In some optional embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiments presented and described in the flow chart of the present application are provided in an exemplary manner for the purpose of providing a more comprehensive understanding of the technology. The disclosed method is not limited to the operations and logical flows presented herein. Optional embodiments are contemplated in which the order of the various operations is changed and the sub-operations described as a part of a larger operation are performed independently.
[0090] In addition, although the present application is described in the context of functional modules, it should be understood that, unless otherwise stated, one or more of the functions and / or features may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It is also understood that a detailed discussion of the actual implementation of each module is not necessary for understanding the present application. More specifically, given the properties, functions, and internal relationships of the various functional modules in the devices disclosed herein, the actual implementation of the module will be understood within the routine skills of an engineer. Therefore, a person skilled in the art can implement the present application as set forth in the claims using ordinary techniques without undue experimentation. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present application, which is determined by the full scope of the appended claims and their equivalents.
[0091] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several programs for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0092] The logic and / or steps represented in a flowchart or otherwise described herein, for example, may be considered as an ordered list of executable programs for implementing the logical functions, and may be embodied in any computer-readable medium for use by, or in conjunction with, a program execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can retrieve and execute a program from a program execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate, or transport a program for use by, or in conjunction with, a program execution system, apparatus, or device.
[0093] More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk cartridge (magnetic devices), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disc read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering, or processing in another suitable manner as necessary, and then stored in a computer memory.
[0094] It should be understood that various parts of the present application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable program execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0095] In the above description of this specification, reference to the terms "one embodiment / example," "another embodiment / example," or "certain embodiments / examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any appropriate manner in any one or more embodiments or examples.
[0096] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions, and variations may be made to the embodiments without departing from the principles and intent of the present application, and that the scope of the present application is defined by the claims and their equivalents.
[0097] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A method for realizing master-slave group control using a level-level architecture, characterized in that: For controlling a master-slave system, the master-slave system including a plurality of data center cold liquid distribution devices, the method comprising the following steps: Determining that the master-slave system is in a group control mode and obtaining a first flag bit, a second flag bit, a third flag bit, a fourth flag bit, a fifth flag bit, a sixth flag bit, and a seventh flag bit of each data center cold liquid distribution device; When the first flag of any of the data center cooling liquid distribution devices is 0 and no host setting operation of the user is detected, the second flag of the data center cooling liquid distribution device with the smallest number among each of the data center cooling liquid distribution devices is set to 1, so that the data center cooling liquid distribution device with the smallest number serves as the host in the group control mode; When any of the data center cooling liquid distribution devices detects a host setting operation by a user, the second flag bit of the current data center cooling liquid distribution device is set to 1, so that the current data center cooling liquid distribution device serves as a host in a group control mode; When the third flag of any two of the data center cold liquid distribution devices is 0, the fourth flag of the data center cold liquid distribution device with the smallest number among the two data center cold liquid distribution devices is set to 1, so that the data center cold liquid distribution device with the smallest number serves as the host in the group control mode; When the fourth flag bits of any two or more data center cooling liquid distribution devices are both 1, the fourth flag bit of the data center cooling liquid distribution device with the larger number among any two or more data center cooling liquid distribution devices is set to 0; When the fifth flag bit of the host is 1, the second flag bit of the host is set to 0, so that the host is switched to a slave; When the sixth flag bit of the master is 0 and the seventh flag bits of each slave are not all 0, the second flag bit of the master is set to 0, so that the master switches to a slave; The step of determining that the master-slave system is in group control mode specifically includes: Get the group control flag of any data center cold liquid distribution device; When the group control flag is 1, it is determined that the master-slave system is in group control mode.
2. A method for implementing master-slave group control using a flat architecture according to claim 1, characterized in that: When any one of the data center cooling liquid distribution devices detects a host setting operation by a user, setting the second flag bit of the current data center cooling liquid distribution device to 1 further includes: setting the eighth flag bit to 0 at the same time.
3. A level-level architecture realizes a master-slave group control system, characterized in that: include: a first processing unit, configured to determine that the master-slave system is in a group control mode and obtain a first flag bit, a second flag bit, a third flag bit, a fourth flag bit, a fifth flag bit, a sixth flag bit, and a seventh flag bit of a cold liquid distribution device of each data center; a second processing unit, configured to, when the first flag bit of any of the data center cold liquid distribution devices is 0 and no host setting operation by the user is detected, set the second flag bit of the data center cold liquid distribution device with the smallest number among each of the data center cold liquid distribution devices to 1, so that the data center cold liquid distribution device with the smallest number serves as the host in the group control mode; Alternatively, when any one of the data center cooling liquid distribution devices detects a user's host setting operation, the second flag bit of the current data center cooling liquid distribution device is set to 1, so that the current data center cooling liquid distribution device serves as the host in the group control mode; Alternatively, when the third flag bit of any two of the data center cold liquid distribution devices is 0, the fourth flag bit of the data center cold liquid distribution device with the smallest number among any two of the data center cold liquid distribution devices is set to 1, so that the data center cold liquid distribution device with the smallest number serves as the master in the group control mode; Alternatively, when the fourth flag bits of any two or more data center cooling liquid distribution devices are both 1, the fourth flag bit of the data center cooling liquid distribution device with the larger number among any two or more data center cooling liquid distribution devices is set to 0; Alternatively, when the fifth flag bit of the host is 1, the second flag bit of the host is set to 0, so that the host switches to a slave; Alternatively, when the sixth flag bit of the master is 0 and the seventh flag bits of each slave are not all 0, the second flag bit of the master is set to 0, so that the master switches to a slave; The step of determining that the master-slave system is in group control mode specifically includes: Get the group control flag of any data center cold liquid distribution device; When the group control flag is 1, it is determined that the master-slave system is in group control mode.
4. According to claim 3, a flat-level architecture is used to realize a master-slave group control system, characterized in that: The system further includes a second processing unit, which is configured to set the second flag bit of the host to 0 when the fifth flag bit of the host is 1, so as to switch the host to a slave.
5. A master-slave group control device implemented with a level-level architecture, characterized in that include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the master-slave group control method using a flat architecture as described in any one of claims 1-2.
6. A computer-readable storage medium storing instructions executable by a processor, characterized in that: The processor-executable instructions, when executed by the processor, are used to execute a method for implementing a master-slave group control using a level-level architecture as described in any one of claims 1-2.
Citation Information
Patent Citations
Electronic price-computing scale wireless self-networking method
CN106815952A
Communication method, device and system
CN117728958A