Method, system and device for realizing master-slave machine group control by level architecture and medium
By using a horizontal architecture in the data center liquid cooling system CDU to realize the group control method of master-slave machines, the problem of system stability decreases in the existing technology when the host fails, and the automatic switching and stability improvement of the system are achieved.
Patent Information
- Application Number
- CN202411340525.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2044-09-25
AI Technical Summary
When the N+X architecture of the existing data center liquid cooling system CDU fails to serve as a host, other CDUs cannot be used as hosts, resulting in a decrease in system stability.
The master-slave group control method is implemented using a horizontal architecture, and the hosts in different group control modes are determined through flag positions to ensure that the system can automatically switch the hosts in the event of a failure and keep the system stable.
Improves system stability, ensuring that the host can be automatically switched when the host fails, and avoids system crashes.
Smart Images

Figure CN119449838A_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] The CDU of the data center liquid cooling system is usually deployed in an N+X architecture, that is, N CDUs are in common use and X CDUs are in standby. In the related art, before the system is running, a certain CDU in the system is usually designated as the host. Then, if the host CDU fails, the other CDUs in the system cannot be used as the host, resulting in a decrease in the stability of the system. Therefore, there are still technical problems that need to be solved in the related art. 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, an object of an embodiment of the present application is to provide a method, system, device and storage medium for implementing master-slave group control using a level-one architecture, wherein the method, system, device and storage medium can improve the stability of the system.
[0005] In order to achieve the above technical objectives, the technical solution adopted by the embodiment of the present application includes: a method for implementing a master-slave group control using a level-level architecture, which is used to control 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] Determine that 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;
[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 of the group control mode;
[0008] When any of the data center cold liquid distribution devices detects a host setting operation by a user, the second flag bit 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 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 realizing master-slave group control in a level-level 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 that 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 a larger number among the two data center cold liquid distribution devices to 0.
[0013] Furthermore, in the 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 the 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 so that the host switches to a slave.
[0015] Further, in an embodiment of the present application, 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 also includes: setting the eighth flag bit to 0 at the same time.
[0016] On the other hand, the embodiment of the present application also provides a master-slave group control system using a level-level architecture, including:
[0017] A first processing unit, used for 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;
[0018] A second processing unit is configured to set the second flag bit of the data center cold liquid distribution device with the smallest number in each of the data center cold liquid distribution devices to 1 when the first flag bit is 0 and no host setting operation by the user is detected, so that the data center cold liquid distribution device with the smallest number serves as the host of the group control mode;
[0019] When any of the data center cold liquid distribution devices detects a host setting operation by a user, the second flag bit 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 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 the embodiment of the present application, the system also includes a second processing unit, which is used to set 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.
[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 level-level 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 the processor executes the instructions, the processor-executable instructions are used to execute a method for implementing a master-slave group control using a level-one architecture as described in any of the above items.
[0027] The advantages and benefits of the present application will be partially given in the following description, and partially become apparent from the following description, or be understood through the practice of the present application:
[0028] The present application can determine that 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 is used 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 is used 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 is used 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 realizing a master-slave group control in 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 A schematic diagram of a structure of a master-slave group control system implemented in a horizontal architecture in a specific embodiment of the present invention;
[0032] Figure 4 The present invention is a schematic diagram of a structure of a master-slave group control device implemented by a level-level architecture in a specific embodiment of the present invention. DETAILED DESCRIPTION
[0033] The following describes in detail the embodiments of the present invention in conjunction with the accompanying drawings to illustrate the principles and processes of the master-slave group control method, system, device and storage medium implemented by the flat architecture in the embodiments of the present invention.
[0034] Reference Figure 1 The present 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 a plurality of data center cold liquid distribution devices. The method may include the following steps:
[0035] S101, 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 in each data center;
[0036] S102, 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 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 the 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 of the group control mode;
[0038] S104. When the third flag bit of any two 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 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.
[0039] Further, 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 a 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] Further, 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 bit of the current data center cooling liquid distribution device to 1 also includes: setting the eighth flag bit to 0 at the same time.
[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, 3(N)+1(X)=4 architecture, with 4 liquid-cooled CDUs deployed at the same level. 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, and has high reliability.
[0049] ② The CDU is equipped with Siemens S7-1200 series CPU, which has two network ports. Four CDUs form a ring network. The ring network configuration ensures that the failure of any node in the system will not affect the operation of the system, and the communication reliability is extremely high.
[0050] ③The HMI and CPU communication of CDU adopts 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 level-level 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 bit table
[0055] In the above table, the local host flag bit 1 indicates that the local machine is the host, 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 host, and 0 indicates that the partners are all slaves; the host online flag bit 1 indicates that there is a host in the group control system, and 0 indicates that there is no host in the group control system; the CDU1 host flag bit 1 indicates that CDU No. 1 is the host, and 0 indicates that CDU No. 1 is a slave; the CDU2 host flag bit 1 indicates that CDU No. 2 is the host, and 0 indicates that CDU No. 2 is a slave; the CDU3 host flag bit 1 indicates that CDU No. 3 is the host, and 0 indicates that CDU No. 3 is a slave; the CDU4 host flag bit 1 indicates that CDU No. 4 is the host, and 0 indicates that CDU No. 4 is a slave.
[0056] Step 2: Determine whether the machine is in group control mode or stand-alone mode. If it is in stand-alone mode, reset the machine 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 host. If it has been manually set as the host, set this machine as the host 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 bit 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 the unit has a level 1 alarm, 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.
[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] Through the above core algorithm, it can be ensured that there is only one CDU as the group control host in the group control system, 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, the embodiment of the present application also provides a master-slave group control system implemented by 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 that 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 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 when the first flag is 0 and the user's host setting operation is not detected, so that the data center cold liquid distribution device with the smallest number is used 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 is used 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 is used as the host of the group control mode.
[0079] Furthermore, the system may further include a second processing unit. The second processing unit is configured to set 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.
[0080] It should be noted that the acquisition unit can be any integrated circuit unit or microprocessor unit obtained by integrating a chip having a processing function and its peripheral circuits through 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 a processing function and its peripheral circuits through 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 all applicable to the embodiments of the master-slave group control system implemented by the horizontal architecture. The functions specifically implemented by the embodiments of the master-slave group control system implemented by the horizontal architecture are the same as those in 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 the beneficial effects 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 master-slave group control device implemented by a level-level architecture, and its specific structure can be referred to Figure 4 ,include:
[0083] at least one processor 1011;
[0084] At least one memory 1012, used 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 instructions executable by a processor, and the instructions executable by the processor are used to execute the method for implementing a master-slave group control using a flat architecture 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 embodiment presented and described in the flow chart of the application is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Optional embodiments are expected, wherein the order of various operations is changed and the sub-operation described as a part of a larger operation is performed independently.
[0090] In addition, although the present application is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present application. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional techniques of the engineer. Therefore, those skilled in the art can implement the present application set forth in the claims without excessive experimentation using ordinary techniques. 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 attached 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 can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several programs to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods 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 the 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 a program execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch and execute a program from a program execution system, device or apparatus), or in conjunction with such program execution systems, devices or apparatuses. For purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by a program execution system, device or apparatus, or in conjunction with such program execution systems, devices or apparatuses.
[0093] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a 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, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0094] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable program execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated 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, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. 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 may be combined in any one or more embodiments or examples in a suitable manner.
[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 spirit 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 described embodiments. Technical personnel familiar with the field 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: Used to control a master-slave system, the master-slave system including a plurality of data center cold liquid distribution devices, the method comprising the following steps: Determine that 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; 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 of the group control mode; When any of the data center cold liquid distribution devices detects a host setting operation by a user, the second flag bit 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 a host in a group control mode; 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.
2. A method for realizing master-slave group control in a level-level architecture according to claim 1, characterized in that: The step of determining that the master-slave system is in the 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.
3. A method for realizing master-slave group control in a level-level architecture according to claim 1, characterized in that: The method further comprises: 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 a larger number among the two data center cooling liquid distribution devices is set to 0.
4. A method for realizing master-slave group control in a level-level architecture according to claim 3, characterized in that: The method further comprises: 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.
5. A method for realizing master-slave group control in a level-level architecture according to claim 1, characterized in that: The method further comprises: When the sixth flag bit of the host is 0 and the seventh flag bits of each slave are not all 0, the second flag bit of the host is set to 0, so that the host is switched to a slave.
6. A method for realizing master-slave group control according to 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 also includes: setting the eighth flag bit to 0 at the same time.
7. A master-slave group control system is realized by a level-level architecture, characterized in that: include: A first processing unit, used for 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; A second processing unit is configured to set the second flag bit of the data center cold liquid distribution device with the smallest number in each of the data center cold liquid distribution devices to 1 when the first flag bit is 0 and no host setting operation by the user is detected, so that the data center cold liquid distribution device with the smallest number serves as the host of the group control mode; When any of the data center cold liquid distribution devices detects a host setting operation by a user, the second flag bit 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 a host in a group control mode; 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.
8. A master-slave group control system implemented by a level-level architecture according to claim 7, characterized in that: The system also includes a second processing unit, which is used to set the second flag bit of the host to 0 when the fifth flag bit of the host is 1, so that the host is switched to a slave.
9. 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 level-level architecture as described in any one of claims 1 to 6.
10. A computer-readable storage medium storing instructions executable by a processor, characterized in that: The processor-executable instructions 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-6 when executed by the processor.
Citation Information
Patent Citations
Electronic price-computing scale wireless self-networking method
CN106815952A
Communication method, device and system
CN117728958A
Slave information processor
JP1993089036A