Multi-system connection state automatic acquisition method and device

By establishing a connection state model of the communication link and automatically configuring virtual devices, the problems of low efficiency and insufficient accuracy in the acquisition of multi-system connection states in existing technologies are solved, and efficient, comprehensive and accurate connection state acquisition is achieved.

CN121940316APending Publication Date: 2026-04-28浙江众合科技股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
浙江众合科技股份有限公司
Filing Date
2025-12-23
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

When existing integrated monitoring systems interface with external systems, the efficiency of collecting network connection status data is low and configuration errors or omissions are prone to occur, making it difficult to guarantee accuracy and comprehensiveness.

Method used

By establishing a connection state model corresponding to the communication link, virtual devices are automatically configured and associated with the state model, enabling automatic collection of connection states of multiple systems and eliminating the need for manual configuration.

Benefits of technology

It improves configuration efficiency, avoids manual configuration errors, achieves full coverage and accuracy, and enhances the accuracy and comprehensiveness of connection status collection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121940316A_ABST
    Figure CN121940316A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-system connection state automatic collection method and device, and belongs to the technical field of the Internet of Things, and the method comprises the steps: building a communication link between an Internet of Things platform system and an external system, and building a connection state object model corresponding to the communication link; according to the communication link information, establishing a corresponding virtual device for each subsystem in the external system, and associating the virtual device with the connection state object model; receiving the equipment state information of each subsystem through the communication link, judging the connection state of the virtual equipment corresponding to each subsystem based on a preset rule, and taking the connection state of the virtual equipment corresponding to each subsystem as the connection state of each subsystem; and integrating the connection states of the subsystems to obtain the overall connection state of the external system, and sending the overall connection state of the external system to a client man-machine interface. The technical problems that in the prior art, the configuration efficiency is low, and the accuracy and comprehensiveness of connection state collection are difficult to guarantee are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of Internet of Things (IoT) technology, specifically to a method and device for automatically collecting the connection status of multiple systems. Background Technology

[0002] In existing integrated monitoring system client-side human-machine interfaces, the display of device / system status requires binding to device status point data. However, when compiling point table files for integration with external systems such as Building Automation Systems (BAS), Fire Alarm Systems (FAS), and Access Control Systems (ACS), the integrated monitoring system typically only includes actual device operating status data. The network connection status between each external system and the integrated monitoring system needs to be determined separately based on the actual network deployment at the project site. Given this situation, the network connection status point data for external systems often needs to be manually designed and added by data configuration personnel according to project requirements. The integrated monitoring system then completes the system connection status collection based on the manually configured collection logic. Under the current implementation, the system connection status collection points need to be manually added by data configuration personnel according to the actual project scenario, and the collection logic also needs to be manually configured. This process is not only inefficient but also prone to configuration errors or missing points. Summary of the Invention

[0003] To address the technical problems of low configuration efficiency and difficulty in ensuring the accuracy and comprehensiveness of connection status acquisition in existing technologies, this invention provides a method and device for automatic acquisition of multi-system connection status. By establishing a connection status object model corresponding to the communication link, and automatically establishing virtual devices for each subsystem in the external system and associating them with the connection status object model, this automated configuration mechanism eliminates the traditional manual configuration of acquisition points and acquisition logic, thus solving the technical problems of low configuration efficiency and difficulty in ensuring the accuracy and comprehensiveness of connection status acquisition in existing technologies.

[0004] To address the aforementioned technical problems, this invention provides a method for automatically acquiring the connection status of multiple systems, comprising the following steps: Establish communication links between the IoT platform system and external systems, and establish connection state object models corresponding to the communication links; Based on the communication link information, corresponding virtual devices are established for each subsystem in the external system, and the virtual devices are associated with the connection state object model; The device status information of each subsystem is received through the communication link, and the connection status of the virtual device corresponding to each subsystem is determined based on preset rules. The connection status of the virtual device corresponding to each subsystem is taken as the connection status of each subsystem. By combining the connection status of each subsystem, the overall connection status of the external system is obtained, and the overall connection status of the external system is sent to the client's human-machine interface.

[0005] Preferably, the connection state object model includes virtual DI points and point value rules.

[0006] Preferably, the step of establishing corresponding virtual devices for each subsystem in the external system based on communication link information includes: If there is only one communication link, then two virtual devices are established for each subsystem; the two virtual devices are the main link virtual device and the master link virtual device, respectively. If there are two communication links, three virtual devices are established for each subsystem; the three virtual devices are the main link virtual device, the primary link virtual device, and the backup link virtual device.

[0007] Preferably, the preset rules include: If device status information of the subsystem is received through the communication link, it indicates that the connection status of the virtual device corresponding to the subsystem is connected; otherwise, it indicates that the connection status of the virtual device corresponding to the subsystem is disconnected.

[0008] Preferably, if device status information of the subsystem is received through the communication link, it indicates that the connection status of the virtual device corresponding to the subsystem is connected; otherwise, it indicates that the connection status of the virtual device corresponding to the subsystem is disconnected, including: If there is only one communication link and the device status information of the subsystem is received through the communication link, the connection status of the virtual device corresponding to the subsystem is connected. If there is only one communication link and the device status information of the subsystem is not received through the communication link, the connection status of the virtual device corresponding to the subsystem is disconnected. If there are two communication links, and either communication link receives the device status information from the subsystem, then the connection status of the virtual device corresponding to the subsystem is connected. If there are two communication links, and neither communication link receives the device status information from the subsystem, then the connection status of the virtual device corresponding to the subsystem is disconnected.

[0009] Preferably, the preset rules further include: The decision window is adaptively adjusted based on the historical communication status of the subsystem, and the status characteristics of the communication messages in the decision window are checked. Messages that fail the status characteristic check are removed, thereby obtaining the message reception rate of the decision window. If the message reception rate is greater than the preset reception rate, it means that the device status information of the subsystem has been received through the communication link; otherwise, it means that the device status information of the subsystem has not been received through the communication link.

[0010] Preferably, the step of integrating the connection status of each subsystem to obtain the overall connection status of the external system includes: When any subsystem is connected, the overall connection status of the external system is connected; when all subsystems are disconnected, the overall connection status of the external system is disconnected.

[0011] Preferably, the communication link information includes link identification information, network connection information, data transmission information, and link management information.

[0012] Preferred options also include: The communication link information, the connected state object model, and the virtual device information are published to the IoT platform system, and stored in the database of the IoT platform system.

[0013] The beneficial effects of this plan are: By establishing a connection state object model corresponding to the communication link, the monitoring object of network connection state is defined in a standardized manner. By replacing manual random configuration with a unified model standard, the connection state collection rules of all subsystems are consistent, thus avoiding the problem of data collection accuracy distortion caused by manual configuration errors from the root. By leveraging the communication link topology, all subsystems within the external system are automatically identified, and a corresponding virtual device is generated for each subsystem. Simultaneously, the virtual device automatically associates with a predefined connection state object model, completing the automatic configuration of data collection points. This process eliminates the need for manual point addition, significantly shortening the configuration cycle and improving deployment efficiency. Furthermore, the automatic enumeration of the link topology ensures no subsystem is missed, avoiding blind spots caused by manual screening and achieving full coverage of connection state data collection. This solves the technical problems of low configuration efficiency and difficulty in guaranteeing the accuracy and comprehensiveness of connection state data collection inherent in existing technologies. Considering the differences in communication stability among different external subsystems, and the fluctuations in communication status of the same subsystem due to factors such as network load, transmission distance, and equipment aging, using a fixed-duration judgment window can easily lead to misjudgments of connection status. Adaptively adjusting the judgment window based on the subsystem's historical communication status essentially aligns the judgment criteria with the actual communication characteristics of the subsystem, thereby improving the accuracy of connection status determination. Furthermore, since invalid data such as incomplete, duplicate, or incorrectly formatted packets may exist in the link, directly including them in the receiver rate statistics would distort the calculation. Therefore, invalid packets are removed through status feature verification before calculating the receiver rate, further improving the accuracy of connection status determination.

[0014] The present invention also provides a computer device, including: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor communicates with the memory via the bus, and the processor executes the machine-readable instructions to perform the steps of the aforementioned method for automatically acquiring the status of a multi-system connection. Attached Figure Description

[0015] Other features, objects, and advantages of the invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings. The drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings.

[0016] Figure 1 This is a flowchart illustrating a method for automatically acquiring the connection status of multiple systems according to the present invention. Detailed Implementation

[0017] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only one preferred embodiment of this invention and are only used to explain this invention. They do not limit the scope of protection of this invention. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0018] Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations (or steps) as sequential processes, many of the operations (or steps) can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but it may also have additional steps not included in the figures; the process may correspond to a method, function, procedure, subroutine, subroutine, etc.

[0019] Example 1: like Figure 1 As shown, a method for automatically collecting the connection status of multiple systems includes the following steps: S1: Establish communication links between the IoT platform system and external systems, and establish the corresponding connection state object model for the communication links.

[0020] Specifically, the connected state object model includes virtual DI points and point value rules.

[0021] Understandably, virtual DI bits are used to characterize the connection status of communication links. When a virtual DI bit is set to 1, it indicates that the communication link is connected, meaning the external subsystem is uploading data normally. When a virtual DI bit is set to 0, it indicates that the communication link is disconnected, meaning the external subsystem is not uploading data or there is a communication error. The specific rules for setting the bit value are the logical basis for determining whether a virtual DI bit is set to 0 or 1.

[0022] S2: Based on the communication link information, establish corresponding virtual devices for each subsystem in the external system, and associate the virtual devices with the connection state object model.

[0023] Specifically, the communication link information includes link identification information, network connection information, data transmission information, and link management information.

[0024] Link identification information includes unique link number / ID, link name, and external system identifier; network connection information includes network protocol parameters, address information, and connection authentication information; data transmission information includes transmission parameters and data encoding format; and link management information includes link priority and link status monitoring parameters.

[0025] As a preferred embodiment, the step of establishing corresponding virtual devices for each subsystem in the external system based on communication link information includes: If there is only one communication link, then two virtual devices are established for each subsystem; the two virtual devices are the main link virtual device and the master link virtual device, respectively. If there are two communication links, three virtual devices are established for each subsystem; the three virtual devices are the main link virtual device, the primary link virtual device, and the backup link virtual device.

[0026] The two communication links are specifically the primary link and the backup link.

[0027] S3: Receive device status information from each subsystem through the communication link, determine the connection status of the virtual devices corresponding to each subsystem based on preset rules, and use the connection status of the virtual devices corresponding to each subsystem as the connection status of each subsystem.

[0028] In some embodiments, the preset rules include: If device status information of the subsystem is received through the communication link, it indicates that the connection status of the virtual device corresponding to the subsystem is connected; otherwise, it indicates that the connection status of the virtual device corresponding to the subsystem is disconnected.

[0029] In other embodiments, the statement that if device status information of the subsystem is received via the communication link, it indicates that the connection status of the virtual device corresponding to the subsystem is connected; otherwise, it indicates that the connection status of the virtual device corresponding to the subsystem is disconnected includes: If there is only one communication link and the device status information of the subsystem is received through the communication link, the connection status of the virtual device corresponding to the subsystem is connected. If there is only one communication link and the device status information of the subsystem is not received through the communication link, the connection status of the virtual device corresponding to the subsystem is disconnected. If there are two communication links, and either communication link receives the device status information from the subsystem, then the connection status of the virtual device corresponding to the subsystem is connected. If there are two communication links, and neither communication link receives the device status information from the subsystem, then the connection status of the virtual device corresponding to the subsystem is disconnected.

[0030] As a preferred embodiment, the preset rule further includes: The decision window is adaptively adjusted based on the historical communication status of the subsystem, and the status characteristics of the communication messages in the decision window are checked. Messages that fail the status characteristic check are removed, thereby obtaining the message reception rate of the decision window. If the message reception rate is greater than the preset reception rate, it means that the device status information of the subsystem has been received through the communication link; otherwise, it means that the device status information of the subsystem has not been received through the communication link.

[0031] In this embodiment, the status feature verification of communication packets within the judgment window specifically refers to verifying the effective payload characteristics of the packets (such as subsystem device ID, status code format, and CRC check bits), thereby filtering out incomplete, duplicate, and incorrectly formatted packets. The preset receive rate can be flexibly set according to actual needs. In this embodiment, the judgment window is adaptively adjusted by the historical communication status of the subsystem, thereby improving the accuracy of connection status determination. By removing invalid packets through status feature verification before calculating the receive rate, the accuracy of connection status determination is further improved.

[0032] S4: By integrating the connection status of each subsystem, the overall connection status of the external system is obtained, and the overall connection status of the external system is sent to the client's human-machine interface.

[0033] Specifically, the process of integrating the connection states of each subsystem to obtain the overall connection state of the external system includes: When any subsystem is connected, the overall connection status of the external system is connected; when all subsystems are disconnected, the overall connection status of the external system is disconnected.

[0034] In some embodiments, it also includes: The communication link information, the connected state object model, and the virtual device information are published to the IoT platform system, and stored in the database of the IoT platform system.

[0035] In this embodiment, taking the FAS system as an example, the IoT platform system obtains the overall system connection status of the FAS system through the following steps: Data configuration personnel create a new communication link between the IoT platform system and the FAS system in the data configuration management system, including a main link and a backup link. When the data configuration management system detects the existence of a new link, it automatically creates a new system connection status object model. The object model attributes include virtual DI points (name system connection status), and the point status includes 0-disconnected and 1-connected. Based on the configured link information, the data configuration management system adds three virtual devices to all subsystems (FAS and QM) of the FAS system. Specifically, the FAS subsystem adds the FAS total link virtual device (FAS_C0), the FAS main link virtual device (FAS_C1), and the FAS backup link virtual device (FAS_C2). The QM subsystem adds the QM total link virtual device (QM_C0), the QM main link virtual device (QM_C1), and the QM backup link virtual device (QM_C2). All virtual devices are associated with the system connection state object model. After the data configuration is complete, the data configuration personnel will publish the configured data to the IoT platform system; The IoT platform system receives data and stores it in the database; The IoT platform system receives device status information from the FAS and QM subsystems via configured links. Assuming the primary link can receive the FAS subsystem's device status information, but the backup link does not, the system connection status of virtual device FAS_C1 is set to connected, FAS_C2 to disconnected, and FAS_C0 to connected (FAS_C0 connection status = FAS_C1 connection status || FAS_C2 connection status). The communication connection status of the FAS subsystem is also set to connected. Conversely, assuming neither the primary nor backup link can obtain the QM subsystem's device status, the system connection status of virtual devices QM_C1 and QM_C2 is set to disconnected, and QM_C0 is also set to disconnected. In other words, the QM subsystem's connection status is disconnected. The IoT platform system sends a message to the client's human-machine interface indicating that the FAS subsystem is connected and the QM subsystem is disconnected. The IoT platform system determines the overall connection status of the FAS system as connected by combining the connection status of the FAS subsystem and the QM subsystem, meaning that the communication between the IoT platform system and the external FAS system is normal. The IoT platform system sends a message to the client's human-machine interface indicating that the external system connection status of FAS is "connected".

[0036] Example 2: This embodiment also provides a computer device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the computer device is running, the processor communicates with the memory via the bus, and the processor executes the machine-readable instructions to perform the steps of the multi-system connection status automatic acquisition method.

[0037] The bus mentioned in the above computer equipment can be a standard bus for interconnecting peripheral components or an extended industry standard structure bus, etc. This bus can be divided into address bus, data bus, control bus, etc. Memory can include random access memory or non-volatile memory. The processor mentioned above can be a general-purpose processor, including a central processing unit (CPU), a network processor, etc.; it can also be a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0038] The specific embodiments described above are preferred embodiments of the multi-system connection status automatic acquisition method and device of the present invention, and are not intended to limit the specific implementation scope of the present invention. The scope of the present invention includes but is not limited to the specific embodiments described above. All equivalent changes made in accordance with the shape and structure of the present invention are within the protection scope of the present invention.

Claims

1. A method for automatically acquiring the connection status of multiple systems, characterized in that, Includes the following steps: Establish communication links between the IoT platform system and external systems, and establish connection state object models corresponding to the communication links; Based on the communication link information, corresponding virtual devices are established for each subsystem in the external system, and the virtual devices are associated with the connection state object model; The device status information of each subsystem is received through the communication link, and the connection status of the virtual device corresponding to each subsystem is determined based on preset rules. The connection status of the virtual device corresponding to each subsystem is taken as the connection status of each subsystem. By combining the connection status of each subsystem, the overall connection status of the external system is obtained, and the overall connection status of the external system is sent to the client's human-machine interface.

2. The method for automatically acquiring the connection status of multiple systems according to claim 1, characterized in that, The connected state object model includes virtual DI points and point value rules.

3. The method for automatically acquiring the connection status of multiple systems according to claim 1, characterized in that, The step of establishing corresponding virtual devices for each subsystem in the external system based on communication link information includes: If there is only one communication link, then two virtual devices are established for each subsystem; the two virtual devices are the main link virtual device and the master link virtual device, respectively. If there are two communication links, three virtual devices are established for each subsystem; the three virtual devices are the main link virtual device, the primary link virtual device, and the backup link virtual device.

4. The method for automatically acquiring the connection status of multiple systems according to claim 1, characterized in that, The preset rules include: If device status information of the subsystem is received through the communication link, it indicates that the connection status of the virtual device corresponding to the subsystem is connected; otherwise, it indicates that the connection status of the virtual device corresponding to the subsystem is disconnected.

5. The method for automatically acquiring the connection status of multiple systems according to claim 4, characterized in that, If device status information of the subsystem is received through the communication link, it indicates that the connection status of the virtual device corresponding to the subsystem is connected; otherwise, it indicates that the connection status of the virtual device corresponding to the subsystem is disconnected. This includes: If there is only one communication link and the device status information of the subsystem is received through the communication link, the connection status of the virtual device corresponding to the subsystem is connected. If there is only one communication link and the device status information of the subsystem is not received through the communication link, the connection status of the virtual device corresponding to the subsystem is disconnected. If there are two communication links, and either communication link receives the device status information from the subsystem, then the connection status of the virtual device corresponding to the subsystem is connected. If there are two communication links, and neither communication link receives the device status information from the subsystem, then the connection status of the virtual device corresponding to the subsystem is disconnected.

6. The method for automatically acquiring the connection status of multiple systems according to claim 4, characterized in that, The preset rules also include: The decision window is adaptively adjusted based on the historical communication status of the subsystem, and the status characteristics of the communication messages in the decision window are checked. Messages that fail the status characteristic check are removed, thereby obtaining the message reception rate of the decision window. If the message reception rate is greater than the preset reception rate, it means that the device status information of the subsystem has been received through the communication link; otherwise, it means that the device status information of the subsystem has not been received through the communication link.

7. The method for automatically acquiring the connection status of multiple systems according to claim 1, characterized in that, The overall connection status of the external system is obtained by integrating the connection status of each subsystem, including: When any subsystem is connected, the overall connection status of the external system is connected; when all subsystems are disconnected, the overall connection status of the external system is disconnected.

8. The method for automatically acquiring the connection status of multiple systems according to claim 1, characterized in that, The communication link information includes link identification information, network connection information, data transmission information, and link management information.

9. The method for automatically acquiring the connection status of multiple systems according to claim 1, characterized in that, Also includes: The communication link information, the connected state object model, and the virtual device information are published to the IoT platform system, and stored in the database of the IoT platform system.

10. A computer device, comprising: The computer device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the computer device is running, the processor communicates with the memory via the bus, and the processor executes the machine-readable instructions to perform the steps of the automatic acquisition method for multi-system connection status as described in any one of claims 1-9.