How to replace the collector and upper-level equipment
By designing a collector that includes a storage module and a power-off closing element, the problem of system interruption caused by equipment replacement in the dynamic environment monitoring system is solved, normal operation and data transmission during the equipment replacement process are achieved, and the risk of system failure is reduced.
Patent Information
- Application Number
- CN202310330010.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2043-03-30
AI Technical Summary
In the dynamic environment monitoring system of the data center, replacing the upper-level equipment requires a long time of debugging, which increases the risk of system operation interruption and equipment communication interruption, and may even cause abnormal situations such as equipment power outage.
A collector is designed, comprising a storage module, a first communication interface, a second communication interface and a third communication interface, which is used to connect a new upper-level device, an original collector and an original working device, and cache and forward commands and data through the storage module, and set a power-off closing element to ensure that the connection is maintained during power failure.
It ensures the normal operation of the system during the replacement of upper-level equipment, avoids long-term operation interruptions, optimizes the debugging process, and maintains data transmission in the event of power outages, reducing the risk of system failure.
Smart Images

Figure CN116471318B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of dynamic environment monitoring, and in particular to a method for replacing a collector and upper-level equipment. Background Art
[0002] With the rapid development of data centers, environmental monitoring systems and related equipment are also evolving rapidly, necessitating upgrades or replacements. Since data centers require continuous, year-round operation, environmental monitoring systems must also maintain this functionality. However, replacing higher-level equipment requires a lengthy commissioning process, exposing the system to the risk of prolonged operational interruptions, potentially increasing the risk to the overall operation of the data center. During the commissioning process, abnormalities such as power outages can also occur, disrupting communication between various components in the system. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to provide a method for replacing a collector and upper-level equipment.
[0004] The technical solution adopted by the present invention to solve the technical problem is: constructing a collector, including a storage module, a first communication interface, at least one second communication interface and at least one third communication interface paired with the second communication interface;
[0005] The first communication interface is used to connect to a new upper-level device;
[0006] The second communication interface is used to connect to the original collector;
[0007] The third communication interface is used to connect to the original working device;
[0008] The storage module is used to receive commands from the original collector from the second communication interface, and forward them to the third communication interface after caching the commands; and to receive data responded by the original working device from the third communication interface, and forward them to the first communication interface and / or the second communication interface after caching the data.
[0009] Preferably, the collector of the present invention further comprises a power-off closing element electrically connecting the second communication interface and the third communication interface, for closing the second communication interface and the third communication interface in pairs when power is off and making them directly connected.
[0010] Preferably, the collector described in the present invention further includes a learning module for learning the commands and / or data cached in the storage module.
[0011] Preferably, in the collector described in the present invention, one of the third communication interfaces is further used to connect a plurality of serially connected original working devices.
[0012] Preferably, in the collector described in the present invention, the storage module is also used to store the commands and / or data learned by the learning module, and enters a new working state after completing the learning, and directly uses the learned commands and / or data to work.
[0013] The present invention also constructs a method for replacing a superior device based on any of the collectors described above, comprising the following steps:
[0014] S1. Connect the new upper-level device through the first communication interface, connect the original collector through the second communication interface, and connect the original working device through the third communication interface;
[0015] S2. Receive a command from the original collector through the second communication interface, and forward the command to the third communication interface after caching the command;
[0016] S3. Receive data responded by the original working device from the third communication interface, and forward the data to the first communication interface and / or the second communication interface after buffering the data;
[0017] S4. Accept the debugging and disconnect from the original collector after confirming that the debugging work is completed, and keep connected to the new upper-level device and the original working device.
[0018] Preferably, in the method for replacing a superior device of the present invention:
[0019] Step S2 also includes: the power-off closing element in the collector is closed when the power is off, and the command input by the second communication interface is directly output to the third communication interface;
[0020] Step S3 also includes: the power-off closing element in the collector is closed when the power is off, and the data input by the third communication interface is directly output to the second communication interface.
[0021] Preferably, in the method for replacing a superior device of the present invention:
[0022] Step S2 further includes, after caching the command from the original collector, learning the command;
[0023] Step S3 also includes caching the data responded by the original working device and then learning the data.
[0024] Preferably, in the upper-level device replacement method of the present invention, step S1 further includes: one of the third communication interfaces is connected to a plurality of original working devices connected in series.
[0025] Preferably, the method for replacing a superior device according to the present invention further includes the following steps:
[0026] S5. Store the learned commands and / or data, and enter a new working state after completing the learning of all commands and / or data, and directly use the learned commands and / or data to work.
[0027] By implementing the present invention, the following beneficial effects are achieved:
[0028] In the collector and upper-level equipment replacement method disclosed in the present invention, the collector can be connected to the original collector and the original working equipment, and can cache and forward the commands and data transmitted between the original collector and the original working equipment, so that during the implementation of the upper-level equipment replacement method, the system can maintain normal operation and avoid the risk of long-term system operation interruption; in the process of caching the transmitted commands and data, the collector learns the transmitted data, thereby optimizing the debugging and parameter setting process of the collector.
[0029] The collector disclosed in the present invention is also provided with a power-off closing element. Even if the collector is powered off during debugging, it will not affect the normal operation of the system. The original collector and the original working equipment can be directly connected through the power-off closing element for data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0031] Figure 1 This is a structural diagram of the original collector connecting to the original upper-level equipment and the original working equipment;
[0032] Figure 2 This is a structural diagram of the original collector connected to the original upper-level equipment and connected in series with the original working equipment;
[0033] Figure 3 This is a schematic structural diagram of a collector in the first embodiment of the present invention;
[0034] Figure 4 This is a connection diagram of a single-group interface collector in the first embodiment of the present invention;
[0035] Figure 5 This is a connection diagram of the collector in the first embodiment of the present invention when replacing the upper-level device;
[0036] Figure 6 This is a connection diagram of the collector after replacing the upper-level device in the first embodiment of the present invention;
[0037] Figure 7 This is a schematic diagram of the serial connection of the collector when replacing the upper-level device in the first embodiment of the present invention;
[0038] Figure 8 This is a schematic diagram of the serial connection of the collector after the upper-level device is replaced in the first embodiment of the present invention;
[0039] Figure 9 is a schematic structural diagram of a collector in a second embodiment of the present invention;
[0040] Figure 10 This is a connection diagram of a single-group interface collector in the second embodiment of the present invention;
[0041] Figure 11 This is a connection diagram of the collector in the second embodiment of the present invention when replacing the upper-level device;
[0042] Figure 12 This is a connection diagram of the collector after replacing the upper-level device in the second embodiment of the present invention;
[0043] Figure 13 This is a schematic diagram of the serial connection of the collector when replacing the upper-level device in the second embodiment of the present invention;
[0044] Figure 14 This is a schematic diagram of the serial connection of the collector after the upper-level device is replaced in the second embodiment of the present invention;
[0045] Figure 15 is a flow chart of a method for replacing a superior device according to an embodiment of the present invention;
[0046] Figure 16 It is a flowchart of a method for replacing an upper-level device according to another embodiment of the present invention. DETAILED DESCRIPTION
[0047] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.
[0048] It should be noted that the flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all content and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, while others may be combined or partially combined. Therefore, the actual execution order may vary depending on the actual situation.
[0049] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0050] It is understandable that the instructions are attached Figures 3 to 8In the figure, the dotted line drawn between the second communication interface 13 and the third communication interface 14 is only used to represent that a single second communication interface 13 and a single third communication interface 14 are set in pairs, and does not mean that there is a direct connection between the second communication interface 13 and the third communication interface 14.
[0051] See the instructions attached Figure 1 and 2 , which are respectively structural schematic diagrams of the original collector 3 connected to the original upper-level device 5 and the original working device 4, and structural schematic diagrams of the original collector 3 connected to the original upper-level device 5 and the original working device 4 in series. That is, the initial connection state of the system that needs to replace the original collector 3 or the original upper-level device 5 is: the original collector 3 is connected to the original upper-level device 5 through the interface, and the original collector 3 is connected / connected in series to the original working device 4 through the original collector interface 31.
[0052] See the instructions attached Figures 3 to 8 , the first embodiment of the present invention:
[0053] See the instructions attached Figure 3 This embodiment discloses a collector 1, comprising a storage module 11, a first communication interface 12, at least one second communication interface 13, and at least one third communication interface 14 paired with the second communication interface 13; the first communication interface 12 is used to connect to a new upper-level device 2; the second communication interface 13 is used to connect to an original collector 3; and the third communication interface 14 is used to connect to an original working device 4;
[0054] The storage module 11 is used to receive commands from the original collector 3 from the second communication interface 13, and forward the commands to the third communication interface 14 after caching the commands; and to receive data responded from the original working device 4 from the third communication interface 14, and forward the data to the first communication interface 12 and / or the second communication interface 13 after caching the data.
[0055] It is understood that the collector 1 of this embodiment can be used to replace the dynamic environmental monitoring system in a data center, and is also suitable for replacing other systems that require the collector. Furthermore, the original upper-level device 5 and the new upper-level device 2 in this embodiment can both be upper-level devices, upper-level platforms, monitoring platforms, and / or control systems in the dynamic environmental monitoring system or other systems, but are not limited to the aforementioned.
[0056] See the instructions attached Figures 4 to 5 When the system needs to replace the original upper-level device 5, the collector 1 of this embodiment is connected to the new upper-level device 2 for replacement through the first communication interface 12, connected to the original collector 3 through the second communication interface 13, and connected to the original working device 4 through the third communication interface 14; and the second communication interface 13 and the third communication interface 14 correspond one to one.
[0057] Furthermore, when there are multiple pairs of second communication interfaces 13 and third communication interfaces 14, the second communication interface 13-1 corresponds to the third communication interface 14-1, the second communication interface 13-2 corresponds to the third communication interface 14-2... the second communication interface 13-N corresponds to the third communication interface 14-N. Wherein, N is greater than or equal to 1. Understandably, when the upper-level device of the system is replaced, the original collector 3 is disconnected from the original working device 4, and the original collector 3 remains connected to the original upper-level device 5; at this time, the original collector 3 is connected to the collector 1 through the original collector interface 31 and the second communication interface 13, the original working device 4 is connected to the collector 1 through the third communication interface 14, and the new upper-level device 2 is connected to the collector 1 through the first communication interface 12.
[0058] In order to ensure the normal operation of the system and ensure that no data loss or equipment failure occurs during the replacement of the upper-level equipment, when the original collector 3 and the original working equipment 4 are disconnected and the upper-level equipment is to be replaced, the original working equipment 4 to which the third communication interface 14 of the collector 1 is connected should correspond to the original collector interface 31 to which the second communication interface 13 is to be connected.
[0059] For example, before the upper-level device of the system is replaced, the original collector interface 31-1 is connected to the original working device 4-1. That is, in the system, the original collector interface 31-1 corresponds to the original working device 4-1. After the original collector interface 31-1 is disconnected from the original working device 4-1, if the third communication interface 14-1 is connected to the original working device 4-1, the second communication interface 13-1 corresponding to the third communication interface 14-1 should be connected to the original collector interface 31-1 corresponding to the original working device 4-1.
[0060] If, before the upper-level device of the system is replaced, the original collector interface 31-2 is connected to the original working device 4-2, that is, in the system, the original collector interface 31-2 corresponds to the original working device 4-2, then after the original collector interface 31-2 is disconnected from the original working device 4-2, if the third communication interface 14-1 is connected to the original working device 4-2, then the second communication interface 13-1 corresponding to the third communication interface 14-1 should be connected to the original collector interface 31-2 corresponding to the original working device 4-2.
[0061] See the instructions attached Figure 6 After completing a cycle of data transmission, the storage module 11 caches all commands and / or data of the original collector 3 and the original working device 4. After adjusting the relevant parameters or other debugging, the collector 1 is disconnected from the original collector 3, and the collector 1 remains connected to the original working device 4 and the new upper-level device 2.
[0062] See the instructions attached Figure 7 and 8In some embodiments, a third communication interface 14 is also used to connect multiple serially connected original working devices 4; that is, each channel of the third communication interface 14 can be serially connected to multiple working devices 4. Figure 7 As shown, the third communication interface 14-1 is connected to the original working device 4-1-1, the original working device 4-1-1 is connected to the original working device 4-1-2, the original working device 4-1-2 is connected to the original working device 4-1-3, ... the original working device 4-1-(M-1) is connected to the original working device 4-1-M, where M is greater than or equal to 2.
[0063] In order to handle new data processing methods or new definitions that may appear after the system is updated, the collector 1 needs to learn the transmitted commands and / or data to complete the update and learning of relevant content. The collector 1 also includes a learning module 16 for learning the commands and / or data cached in the storage module 11.
[0064] In order to use the learned updated commands and data, the storage module 11 is also used to store the commands and / or data learned by the learning module 16, and the collector 1 enters a new working state after completing the learning and directly uses the learned commands and / or data to work. The new working state of the collector is shown in the appendix of the manual. Figure 6 and 8 The collector maintains the connection with the new upper-level device 2 and the original working device 4 and works through the commands and data stored in the storage module 11.
[0065] In some embodiments, the collector 1 is not only connected to the original working device 4, but also connected to a new working device when the upper-level device is replaced. The new working device can be directly connected to the vacant third communication interface 14 of the collector 1, or it can be connected in series to the original working device 4 or the working device string that is already connected to the third communication interface 14.
[0066] Furthermore, the first communication interface includes a first voltage / current protection circuit; the second communication interface includes a second voltage / current protection circuit; and the third communication interface includes a third voltage / current protection circuit.
[0067] Furthermore, to facilitate expansion of working devices and other external modules, the collector also includes at least one fourth communication interface corresponding to the third communication interface. The fourth communication interface is used to connect the third communication interface to the original working device. A single third communication interface can be connected to multiple original working devices through at least one fourth communication interface.
[0068] Furthermore, in some embodiments, the new upper-level device includes a network interface. The first communication interface, the second communication interface, and the third communication interface all use serial communication to transmit data.
[0069] See the instructions attached Figures 9 to 14 , the second embodiment of the present invention:
[0070] The collector disclosed in this embodiment has the same components as those in the first embodiment except for the power-off closing element 15 , and will not be described in detail here.
[0071] See the instructions attached Figure 9 The collector 1 disclosed in this embodiment includes a power-off closing element 15 electrically connecting the second communication interface 13 and the third communication interface 14, which is used to close when the power is off and directly connect the paired second communication interface 13 and the third communication interface 14.
[0072] See the instructions attached Figure 10 and 11 After the original collector 3 is disconnected from the original working device 4, the original collector 3 is connected to the collector 1, and the original working device 4 is connected to the collector 1. At this time, if the collector 1 is powered off, the power-off closing element 15 is closed, and the second communication interface 13 and the third communication interface 14 are directly connected through the closed power-off closing element 15.
[0073] See the instructions attached Figure 8 and 12 In some embodiments, a third communication interface 14 is also used to connect multiple original working devices 4 connected in series; that is, multiple original working devices 4 can be serially connected under the channel of each third communication interface 14.
[0074] See the instructions attached Figures 3 to 8 and instructions attached Figure 15 An embodiment of the present invention further discloses a method for replacing an upper-level device, using the collector described in the first embodiment, comprising the following steps:
[0075] S1. Connect the new upper-level device 2 through the first communication interface 12, connect the original collector 3 through the second communication interface 13, and connect the original working device 4 through the third communication interface 14; and the second communication interface 13 and the third communication interface 14 have a one-to-one correspondence.
[0076] S2, receiving a command from the original collector 3 through the second communication interface 13, and forwarding the command to the third communication interface 14 after caching the command;
[0077] Collector 1 receives commands transmitted from original collector interface 31 via second communication interface 13, and storage module 11 of collector 1 caches the commands received via second communication interface 13. After caching the commands, storage module 11 of collector 1 sends the commands to the corresponding third communication interface 14, which then sends the commands to the original working device 4 via the corresponding third communication interface 14. Furthermore, for example, original working device 4-1-1 is an air conditioner. Original collector 3 receives a temperature adjustment command from original upper-level device 5 and sends it to second communication interface 13-1 of collector 1 via original collector interface 31-1. After receiving the temperature adjustment command, collector 1 caches the temperature adjustment command in storage module 11, and after caching, forwards the temperature adjustment command to third communication interface 14-1 corresponding to second communication interface 13-1, which then sends the temperature adjustment command to the corresponding original working device 4-1-1 via third communication interface 14-1.
[0078] S3, receiving the response data from the original working device 4 from the third communication interface 14, and forwarding the data to the first communication interface 12 and / or the second communication interface 13 after buffering the data;
[0079] After receiving the command, the original working device 4 will perform an operation or make other responses. Therefore, the original working device 4 sends data to the collector 1 in response to the received command. The collector 1 receives the data sent by the corresponding original working device 4 through the third communication interface 14, and the storage module 11 caches the data received by the third communication interface 14. After caching the data, the storage module 11 sends the data to the corresponding second communication interface 13, and then sends it to the original collector 3 through the corresponding second communication interface 13. Alternatively, after caching the data, the storage module 11 of the collector 1 sends the data to the new upper-level device 2 through the first communication interface 12. Furthermore, for example, if the original working device 4-2-1 is a smoke sensor, the original working device 4-2-1 collects smoke concentration data in the data room air and sends it to the collector 1 via the corresponding third communication interface 14-2. The collector 1 caches the smoke concentration data in the storage module 11. After caching, the collector 1 forwards the smoke concentration data to the second communication interface 13-2 corresponding to the third communication interface 14-2, and sends it to the new superior device 2 via the first communication interface 12, and / or sends the smoke concentration data to the corresponding original collector interface 31-2 via the second communication interface 14-2. The original collector 3 receives the smoke concentration data via the original collector interface 31-2 and sends it to the original superior device 5 through the interface.
[0080] S4. Accept the debugging, and after confirming that the debugging work is completed, disconnect from the original collector 3 and keep connected with the new upper-level device 2 and the original working device 4.
[0081] It is understandable that after completing a cycle of data transmission, the collector 1 caches all commands and data of the original collector 3 and the original working device 4. After adjusting the relevant parameters or other debugging, the collector 1 is disconnected from the original collector 3, and the collector 1 remains connected to the original working device 4 and the new superior device 2.
[0082] In some embodiments, step S1 further includes connecting a third communication interface to multiple serially connected primary working devices. In this serial connection mode, a string of primary working devices 4 connected to each third communication interface 14 is referred to as a primary working device string. The primary collector 3 and primary working devices 4 communicate with each other in a round-robin manner. Within a string of serially connected primary working devices 4, one primary working device 4 first transmits commands and data to the primary collector 3. After this transmission is complete, the next primary working device 4 transmits commands and data to the primary collector 3. This is the case for a string of primary working devices connected to a single third communication interface 14. The primary working device strings connected to each third communication interface 14 do not affect each other.
[0083] Furthermore, for example, a third communication interface 14-5 of the collector 1 is connected to a string of original working devices consisting of original working device 4-5-1, original working device 4-5-2, original working device 4-5-3...original working device 4-5-M, where M is greater than or equal to 2.
[0084] During polling communication, collector 1 first receives a first command from original collector 3 via second communication interface 13-5, caches the first command, and then forwards it to original working device 4-5-1. Then, collector 1 receives first data in response to the first command from original working device 4-5-1, caches the first data, and then forwards it to original collector 3, completing the transmission.
[0085] Then, collector 1 receives the second command from original collector 3 through the second communication interface 13-5, caches the second command and forwards it to original working device 4-5-2; then, collector 1 receives the second data in response to the second command from original working device 4-5-2, caches the second data and forwards it to original collector 3, completing the transmission.
[0086] Next, the original collector 3 continues to perform the aforementioned polling-type communications with the original working devices 4-5-3, 4-5-4, ..., 4-5-(M-1), and 4-5-M connected in series to the third communication interface 14-5, respectively, until the communication of the original working device string is completed. During the aforementioned polling-type communication process, the collector 1 plays the role of caching and forwarding. In another original working device string connected to the third communication interface 14-6, the polling-type communications of the original working device string connected to the third communication interface 14-6 can be carried out simultaneously. That is, the polling-type communications of the original working device string connected to the third communication interface 14-6 and the polling-type communications of the original working device string connected to the aforementioned third communication interface 14-5 do not affect each other.
[0087] In order to update the system, step S2 further includes caching the command from the original collector 3 and then learning the command; step S3 further includes caching the data responded by the original working device and then learning the data.
[0088] Understandably, replacement of upstream equipment in a power monitoring system or other system may be due to hardware aging or damage, or the need for a hardware or software upgrade. In the case of a hardware or software upgrade, adaptation or learning of updated data or communication methods is necessary, such as new data format parsing methods. Furthermore, in a residential access control system, for example, replacing upstream equipment may involve re-encrypting and re-parsing user access card information. When replacing upstream equipment in such a system, the collector needs to learn this new encryption and parsing method.
[0089] In order to use the updated commands and / or data of the system, the process further includes step S5, storing the learned commands and / or data, and entering a new working state after completing the learning of all commands and / or data, directly using the learned commands and / or data to work. It is understandable that by storing the learned commands and / or data, the collector 1 can read the learned commands and / or data and use them for the operation of the system after the upper-level device is replaced.
[0090] See the instructions attached Figures 9 to 14 and instructions attached Figure 16 One embodiment of the present invention further discloses a method for replacing an upper-level device, using the collector described in the second embodiment, comprising the following steps:
[0091] S1. Connect the new upper-level device 2 through the first communication interface 12, connect the original collector 3 through the second communication interface 13, and connect the original working device 4 through the third communication interface 14; and the second communication interface 13 and the third communication interface 14 are connected one-to-one.
[0092] S2. Receive the command from the original collector 3 through the second communication interface 13, and forward the command to the third communication interface 14 after caching the command; the power-off closing element 15 of the collector 1 is closed when the power is off, and the command input from the second communication interface 13 is directly output to the third communication interface 14;
[0093] Understandably, when collector 1 is powered on normally, it receives commands transmitted from original collector 3 via second communication interface 13. Storage module 11 of collector 1 caches the commands received via second communication interface 13. After caching the commands, storage module 11 of collector 1 sends the commands to the corresponding third communication interface 14, and then sends the commands to original working device 4 via the corresponding third communication interface 14.
[0094] At this time, if the collector 1 is powered off, the power-off closing element 15 is closed, the second communication interface 13 and the third communication interface 14 are directly connected through the closed power-off closing element 15, and the command sent by the original collector 3 reaches the collector 1 through the second communication interface 13; the second communication interface 13 inside the collector 1 is connected one-to-one with the third communication interface 14 through the closed power-off closing element 15, so the command reaching the collector 1 is sent to the original working device 4 through the third communication interface 14.
[0095] Furthermore, for example, the original working device 4-3-1 is a humidity controller, and the original collector 3 receives the humidity control command from the original superior device 5; after the collector 1 is powered off, the humidity control command is sent to the corresponding second communication interface 13-3 through the original collector interface 31-3, and the second communication interface 13-3 sends the humidity control command to the corresponding third communication interface 14-3 through the closed power-off closing element 15-3, and the third communication interface 14-3 sends the humidity control command to the original working device 4-3-1.
[0096] S3. Receive data responded from the original working device 4 from the third communication interface 14, and forward it to the first communication interface 12 and / or the second communication interface 13 after caching the data; the power-off closing element 15 in the collector 1 is closed when the power is off, and the data input from the third communication interface 14 is directly output to the second communication interface 13.
[0097] Understandably, after receiving a command, the original working device 4 will perform an operation or make other responses. The original working device 4 will send data to the collector 1 in response to the received command. The collector 1 receives the data sent by the corresponding original working device 4 via the third communication interface 14, and the storage module 11 of the collector 1 caches the data received via the third interface 14. When the collector 1 is normally powered on, the storage module 11 of the collector 1 caches the data and then sends it to the corresponding second communication interface 13. Then, it sends it to the original collector 3 via the corresponding second communication interface 13. Alternatively, after caching the data, the storage module 11 of the collector 1 sends the data to the new superior device 2 via the first communication interface 12.
[0098] If collector 1 loses power, the power-off closing element 15 closes, and the second communication interface 13 and the third communication interface 14 are directly connected via the power-off closing element 15. After the data sent by the original working device 4 is sent to the corresponding third communication interface 14, it directly reaches the second communication interface 13 through the closed power-off closing element 15. The second communication interface 13 then sends the data to the original collector 3. At this time, since collector 1 is powered off, collector 1 no longer sends the data to the new upper-level device 2.
[0099] Furthermore, for example, the original working device 4-4-1 is a water leak sensor installed on the water collection tray of a data center. At this time, the collector is powered off, and the power-off closing element 15 is closed. After collecting the water leak information, the original working device 4-4-1 transmits it to the corresponding third communication interface 14-4. Third communication interface 14-4 transmits this leak information to the corresponding second communication interface 13-4 via the closed power-off closing element 15-4. Second communication interface 13-4 transmits this leak information to the original collector 3 via the original collector interface 31-4. The original collector 3 then transmits this leak information to the original superior device 5. At this point, because collector 1 is powered off, collector 1 no longer transmits this data to the new superior device 2. However, the original superior device 5 can still communicate with the original working device 4 through the original collector 3 and collector 1. The system's operating status is unaffected by the power outage of collector 1.
[0100] Therefore, power failure of the collector 1 does not affect the overall operation of the system. By providing the power failure closing element 15 between the second communication interface 13 and the third communication interface 14, the overall reliability of the system is improved during the replacement of the upper-level equipment.
[0101] S4, accept the debugging, and after confirming that the debugging work is completed, disconnect from the original collector 3, and keep connected with the new upper-level device 2 and the original working device 4.
[0102] It is understandable that after completing a cycle of data transmission, the collector 1 caches all commands and / or data of the original collector 3 and the original working device 4. After adjusting the relevant parameters or other debugging, the collector 1 disconnects from the original collector 3 and remains connected to the original working device 4 and the new superior device 2.
[0103] By implementing the present invention, the following beneficial effects are achieved:
[0104] In the collector and upper-level equipment replacement method disclosed in the present invention, the collector can be connected to the original collector and the original working equipment, and can cache and forward the commands and data transmitted between the original collector and the original working equipment, so that during the implementation of the upper-level equipment replacement method, the system can maintain normal operation and avoid the risk of long-term system operation interruption; in the process of caching the transmitted commands and data, the collector learns the transmitted data, thereby optimizing the debugging and parameter setting process of the collector.
[0105] The collector disclosed in the present invention is also provided with a power-off closing element. Even if the collector is powered off during debugging, it will not affect the normal operation of the system. The original collector and the original working equipment can be directly connected through the power-off closing element for data transmission.
[0106] Moreover, the upper-level equipment replacement method disclosed in the present invention is implemented based on the collector disclosed in the present invention, and has the advantages of fast debugging, low risk, and no failure during power outages.
[0107] It can be understood that the above embodiments only express the preferred implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the patent scope of the present invention. It should be pointed out that for ordinary technicians in this field, without departing from the concept of the present invention, the above embodiments or technical features can be freely combined, and several deformations and improvements can be made, which all fall within the scope of protection of the present invention, that is, the embodiments described in "some embodiments" can be freely combined with any of the above and below embodiments. Therefore, all equivalent changes and modifications made to the scope of the claims of the present invention should fall within the scope of coverage of the claims of the present invention.
Claims
1. A collector, characterized in that: comprising a storage module, a first communication interface, at least one second communication interface, and at least one third communication interface paired with the second communication interface; The first communication interface is used to connect to a new upper-level device; The second communication interface is used to connect to the original collector; The third communication interface is used to connect to the original working device; The storage module is used to receive a command from the original collector through the second communication interface, and forward the command to the third communication interface after caching the command; and, for receiving data responded by the original working device from the third communication interface, and forwarding the data to the first communication interface and / or the second communication interface after buffering the data; Among them, after completing one cycle of data transmission, the storage module caches all the commands and / or data of the original collector and the original working device. After adjusting the relevant parameters, the collector is disconnected from the original collector, and the collector remains connected to the original working device and the new superior device.
2. The collector according to claim 1, characterized in that: It also includes a power-off closing element electrically connecting the second communication interface and the third communication interface, which is used to close when the power is off and directly connect the paired second communication interface and the third communication interface.
3. The collector according to claim 1, characterized in that: It also includes a learning module for learning the commands and / or data cached in the storage module.
4. The collector according to claim 1, characterized in that: One of the third communication interfaces is also used to connect multiple serially connected original working devices.
5. The collector according to claim 3, characterized in that: The storage module is also used to store the commands and / or data learned by the learning module, and enter a new working state after completing the learning, and directly use the learned commands and / or data to work.
6. A method for replacing an upper-level device, implemented based on the collector according to any one of claims 1 to 5, characterized in that: The following steps are involved: S1. Connect the new upper-level device through the first communication interface, connect the original collector through the second communication interface, and connect the original working device through the third communication interface; S2. Receive a command from the original collector through the second communication interface, and forward the command to the third communication interface after caching the command; S3. Receive data responded by the original working device from the third communication interface, and forward the data to the first communication interface and / or the second communication interface after buffering the data; S4. Accept the debugging and disconnect from the original collector after confirming that the debugging work is completed, and keep connected to the new upper-level device and the original working device.
7. The method for replacing a superior device according to claim 6, wherein: Step S2 also includes: the power-off closing element in the collector is closed when the power is off, and the command input by the second communication interface is directly output to the third communication interface; Step S3 also includes: the power-off closing element in the collector is closed when the power is off, and the data input by the third communication interface is directly output to the second communication interface.
8. The method for replacing a superior device according to claim 6, wherein: Step S2 further includes, after caching the command from the original collector, learning the command; Step S3 also includes caching the data responded by the original working device and then learning the data.
9. The method for replacing a superior device according to claim 6, wherein: Step S1 also includes: one of the third communication interfaces is connected to a plurality of serially connected original working devices.
10. The method for replacing a superior device according to claim 8, wherein: Also includes the steps: S5. Store the learned commands and / or data, and enter a new working state after completing the learning of all commands and / or data, and directly use the learned commands and / or data to work.
Citation Information
Patent Citations
Collector
CN219611827U