Industrial internet of things device alarm system machine alarm method

By configuring a TCP server with a SIM card and a TCP client without a SIM card in industrial networking devices within a local area network, and utilizing socket connections and linked list mechanisms, the problem of devices failing to report anomalies was solved. This enabled timely reporting of anomaly alarm information from all devices on the network and SMS notifications, simplified the anomaly handling process, and improved network stability and reliability.

CN117295023BActive Publication Date: 2026-01-09XIAMEN FOUR FAITH COMM TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311421357.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-30
Publication Date
2026-01-09
Estimated Expiration
2043-10-30

AI Technical Summary

Technical Problem

In existing industrial IoT devices, anomalies within local area networks cannot be effectively reported, especially for devices without SIM cards, which cannot receive SMS alerts, leading to untimely anomaly handling.

Method used

Within the local area network, the first network device with a SIM card acts as the TCP server, and the second network device without a SIM card acts as the TCP client. Anomaly alarm information is stored and SMS messages are sent via socket connections. The select function is used to process data from multiple clients, and a linked list mechanism is used to isolate receiving and sending data, ensuring the reliability of information transmission.

Benefits of technology

It enables timely reporting of abnormal alarm information from all devices within the local area network, provides a comprehensive, systematic, and rapid alarm handling method, simplifies the troubleshooting process for device anomalies, and improves network stability and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117295023B_ABST
    Figure CN117295023B_ABST
Patent Text Reader

Abstract

The application provides an industrial networking device alarm system machine alarm method. The industrial networking device alarm system comprises a first networking device and a second networking device configured in the same local area network. The first networking device is configured with a SIM card for reporting abnormalities, and the first networking device is configured as a TCP server. The second networking device is not configured with a SIM card, and the second networking device is configured as a TCP client. The second networking device is directly connected with the first networking device through socket connection. When one of the second networking devices is abnormal, the abnormal second networking device is used to connect at least one first networking device, and the at least one first networking device is used to sequentially store abnormal alarm information into a created first linked list. The abnormal alarm information is sequentially read out from the first linked list through the SIM card of the at least one first networking device and sent to a designated mobile phone user through short message.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application relates to an industrial networking device alarm system machine alarm method. BACKGROUND

[0002] In actual industrial Internet of Things devices, various abnormalities are prone to occur in many application scenarios. In order to not affect use and production, the abnormalities need to be handled in a timely manner. Therefore, the alarm system and mechanism can realize the alarm function by combining the abnormal triggering mechanism and the SMS function of the SIM card, so as to notify relevant personnel to handle the relevant equipment in a timely manner. However, in the existing alarm system Internet of Things device, many devices alarm their own abnormalities, but the devices in the same local area network or corresponding uplink and downlink devices cannot access the network or use the SIM card, and the abnormality of the devices cannot be reported. SUMMARY

[0003] The application provides an industrial networking device alarm system machine alarm method, which can effectively solve the above problems.

[0004] The application is implemented in the following manner:

[0005] The application provides an industrial networking device alarm system, which comprises a first networking device and a second networking device configured in the same local area network.

[0006] The first networking device is configured with a SIM card for reporting abnormalities, and the first networking device is configured as a TCP server.

[0007] The second networking device is not configured with a SIM card, and the second networking device is configured as a TCP client. The second networking device is directly connected to the first networking device through socket connection, or the second networking device is sequentially connected to the first networking device through socket connection.

[0008] When one of the second networking devices is abnormal, the abnormal second networking device is used to connect at least one first networking device, and the at least one first networking device is used to sequentially store abnormal alarm information in a created first linked list, and then the abnormal alarm information is read from the first linked list by the SIM card of the at least one first networking device and sent to a designated mobile phone user through SMS. When one of the first networking devices is abnormal, the abnormal first networking device is used to sequentially store its own abnormal alarm information in a created first linked list, and then the abnormal alarm information is read from the first linked list by the SIM card of the at least one first networking device and sent to a designated mobile phone user through SMS.

[0009] As a further improvement, the at least one first networking device is further configured to reply to an abnormal networking device error message when the short message sending fails.

[0010] As a further improvement, the first networking device is directly connected with the second networking device through a socket or indirectly connected with the second networking device through at least one second networking device.

[0011] As a further improvement, when the abnormal second networking device receives the error message, the abnormal second networking device is further configured to connect to other first networking devices, and the other first networking devices are configured to sequentially store the abnormal alarm information in the created first linked list, and sequentially read the abnormal alarm information from the first linked list through the SIM card of the other first networking devices and send the abnormal alarm information to the designated mobile phone user through a short message.

[0012] As a further improvement, when the first networking device is traversed, and the short message of all the first networking devices fails to be sent, the abnormal networking device is further configured to create a second linked list and store the mobile phone number and the related abnormal alarm information in the second linked list.

[0013] As a further improvement, the abnormal networking device is further configured to trigger the short message service function of the first networking device sequentially at a regular time, and when there is a first networking device in the local area network that can normally send a short message service, the mobile phone number and the related abnormal alarm information in the second linked list are read out and sent to the normal first networking device.

[0014] As a further improvement, the at least one first networking device is further configured to delete the abnormal alarm information that is successfully sent and / or fails to be sent from the first link.

[0015] As a further improvement, the present application further provides an alarm method of an industrial networking device alarm system, the industrial networking device alarm system comprising a first networking device and a second networking device configured in the same local area network; the first networking device is configured with a SIM card for reporting abnormalities; the second networking device is not configured with a SIM card, and the second networking device is directly connected with the first networking device through a socket or sequentially connected with the first networking device through a socket; the alarm method comprises the following steps:

[0016] S1, after the first networking device and the second networking device are powered on, the ip address of the first networking device is obtained;

[0017] S2, whether the short message alarm function of the first networking device is turned on is detected, if yes, step S3 is entered, otherwise, the process is ended.

[0018] S3, configure the first networking device as a TCP server and the second networking device as a TCP client;

[0019] S4, periodically detect an exception in the local area network, and if yes, go to step S5;

[0020] S5, determine whether the exception is an exception of the first networking device, and if yes, go to step S7, otherwise go to step S6;

[0021] S6, connect the exception second networking device to the first networking device, and then go to step S7;

[0022] S7, store the exception alarm information in the first linked list in sequence, and then read the exception alarm information from the first linked list in sequence through the SIM card of the first networking device and send the exception alarm information to the designated mobile phone user through short message.

[0023] The industrial networking device alarm system machine alarm method provided by the present application can establish mutual communication between different devices based on the Linux system and using the tcp / ip protocol, and can realize exception alarm of specific devices in the entire local area network system. Further, the present application can provide a more comprehensive, systematic and convenient alarm processing method, and does not need to check each device when an exception occurs. BRIEF DESCRIPTION OF DRAWINGS

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as a limitation to the scope. For those skilled in the art, other related drawings can also be obtained without creative labor.

[0025] Figure 1 is the architecture diagram of the industrial networking device alarm system provided by an embodiment of the present application.

[0026] Figure 2 is the architecture diagram of the industrial networking device alarm system provided by another embodiment of the present application.

[0027] Figure 3 is the alarm method flow chart of the industrial networking device alarm system provided by another embodiment of the present application.

[0028] Figure 4 is the configuration diagram of the server in the alarm method of the industrial networking device alarm system provided by another embodiment of the present application.

[0029] Figure 5It is another embodiment of the present application to provide a configuration diagram of a client in an alarm method of an industrial networking device alarm system. DETAILED DESCRIPTION

[0030] For the purpose, technical solutions and advantages of the embodiments of the present application to be clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative labor fall within the protection scope of the present application. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative labor fall within the protection scope of the present application.

[0031] In the description of the present application, the terms "first", "second" are only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise specifically limited.

[0032] Referring to Figure 1 As shown in the figure, the embodiments of the present application provide an industrial networking device alarm system, which comprises a first networking device 10 and a second networking device 20 configured in the same local area network;

[0033] The first networking device 10 is configured with a SIM card for reporting abnormalities, and the first networking device 10 is configured as a TCP server;

[0034] The second networking device 20 is not configured with a SIM card, and the second networking device 20 is configured as a TCP client, which is directly socket connected with the first networking device 10 or sequentially connected with the first networking device 10. Please refer to Figure 1 As shown in the figure, the industrial networking device alarm system comprises one first networking device 10 and five second networking devices 20, wherein the second networking devices 20-a / 20-b / 20-c are directly socket connected with the first networking device 10-a, and the second networking devices 20-d / 20-e are socket connected with the first networking device 10-a through the second networking device 20-c.

[0035] When one of the second networking devices 20 is abnormal, the abnormal second networking device 20 is used to connect at least one first networking device 10, and the at least one first networking device 10 is used to store the abnormal alarm information into the created first linked list in turn, and then read the abnormal alarm information from the first linked list in turn through the SIM card of the at least one first networking device 10 and send the abnormal alarm information to the designated mobile phone user 30 through short message. Specifically, when the second networking device 20-a is abnormal, the abnormal second networking device 20-a is connected to the first networking device 10-a, and the at least one first networking device 10-a is used to store the abnormal alarm information into the created first linked list in turn, and then read the abnormal alarm information from the first linked list in turn through the SIM card of the at least one first networking device 10-a and send the abnormal alarm information to the designated mobile phone user 30 through short message. When the second networking device 20-e is abnormal, the abnormal second networking device 20-e is connected to the first networking device 10-a through the second networking device 20-c, and the at least one first networking device 10-a is used to store the abnormal alarm information into the created first linked list in turn, and then read the abnormal alarm information from the first linked list in turn through the SIM card of the at least one first networking device 10-a and send the abnormal alarm information to the designated mobile phone user 30 through short message.

[0036] Further, when one of the first networking devices 10 is abnormal, the abnormal first networking device 10 is used to store the abnormal alarm information of itself into the created first linked list in turn, and then read the abnormal alarm information from the first linked list in turn through the SIM card of the at least one first networking device 10 and send the abnormal alarm information to the designated mobile phone user 30 through short message. Specifically, when the first networking device 10-a is abnormal, the abnormal first networking device 10-a is used to store the abnormal alarm information of itself into the created first linked list in turn, and then read the abnormal alarm information from the first linked list in turn through the SIM card of the at least one first networking device 10-a and send the abnormal alarm information to the designated mobile phone user 30 through short message.

[0037] The select function used in the application can complete the non-blocking mode work program, which can monitor the change of the file descriptor (i.e. the socket handle established by the client and the server) that we need to monitor - read, write or exception. Therefore, using the select mechanism can quickly process the data information reported by the client. And the received data information is stored in the linked list in turn. The process of sending messages of the server will read the information of the linked list in turn, send the alarm information to the specified mobile phone user, and delete the data information from the linked list after sending a successful data information. Since there may be a situation that multiple clients send multiple alarm information to the server in a certain period of time in the local area network, therefore, in order to avoid conflicts, the select function can be called to solve the above problems. Through the application and operation of the linked list in the socket communication process, the receiving of the alarm information and the sending of the alarm information by short message can be isolated, so that a large amount of data in a certain period of time can further ensure the normal operation of the mechanism, and the receiving and sending will not affect each other.

[0038] As a further improvement, the at least one first networking device 10 is further used to reply to abnormal networking device error information when the short message sending fails. Specifically, when the abnormal short message sending of the second networking device 20-a fails, the first networking device 10-a is further used to reply to the second networking device 20-a error information.

[0039] Since only one first networking device 10-a with short message sending function is included in the embodiment, when the abnormal second networking device 20 receives the error information, as a further improvement, the abnormal second networking device 20 is further used to create a second linked list and store the mobile phone number and related abnormal alarm information in the second linked list. As a further improvement, the abnormal second networking device 20 is further used to trigger the query of the short message service function of the first networking device 10-a at regular intervals, and when the first networking device 10-a can normally send short message service, the abnormal second networking device 20 will read the mobile phone number and related abnormal alarm information in the second linked list in turn and send it to the normal first networking device 10-a. It can be understood that through the above processing, the situation that the abnormal second networking device 20 cannot be sent out in time when the first networking device 10-a is abnormal can be prevented.

[0040] Please refer to Figure 2As shown, in other embodiments, at least two first networking devices 10-a / 10-b are included. The first networking devices 10-a / 10-b are directly socket connected or indirectly socket connected through at least one second networking device 20-c. As a further improvement, when the abnormal second networking device 20-a receives error information, the abnormal second networking device 20 is further configured to connect to other first networking devices 10-b, and the other first networking devices 10-b are configured to sequentially store the abnormal alarm information in the created first linked list, and then read the abnormal alarm information from the first linked list through the SIM card of the other first networking devices 10-b and send the abnormal alarm information to the designated mobile phone user 30 through short message. As a further improvement, when all the first networking devices 10-a / 10-b are traversed, and the short message of all the first networking devices 10-a / 10-b fails to be sent, the abnormal networking device is further configured to create a second linked list and store the mobile phone number and related abnormal alarm information in the second linked list. The abnormal networking device is further configured to trigger the short message service function of the first networking devices 10-a / 10-b sequentially at a regular time, and when one of the first networking devices 10-a and / or 10-b in the local area network can normally send short message service, the mobile phone number and related abnormal alarm information in the second linked list are read out and sent to the normal first networking device 10-a and / or 10-b.

[0041] In other embodiments, as a further improvement, the at least one first networking device 10 is further configured to delete the abnormal alarm information of the first link that is successfully sent and / or failed to be sent from the first link. This has the advantage of avoiding the problem of large amount of data and abnormal short message processing in a short period of time.

[0042] Please refer to Figure 3 The embodiment of the present application further provides an alarm method of an industrial networking device alarm system. The industrial networking device alarm system includes a first networking device 10 and a second networking device 20 configured in the same local area network. The first networking device 10 is configured with a SIM card for reporting abnormalities. The second networking device 20 is not configured with a SIM card. The second networking device 20 is directly socket connected with the first networking device 10, or sequentially connected with the first networking device 10 through socket connection. The alarm method includes the following steps:

[0043] S1, after the first networking device 10 and the second networking device 20 are powered on, the ip address of the first networking device 10 is obtained.

[0044] S2, detecting whether the short message alarm function of the first networking device 10 is enabled, if yes, entering step S3, otherwise ending.

[0045] S3, configuring the first networking device 10 as a TCP server and the second networking device 20 as a TCP client. Please refer to the configuration diagram of the TCP server Figure 4 and Figure 5 , Figure 4 for TCP server, Figure 5 for TCP client. From the configuration diagram of the TCP client, it can be seen that the corresponding TCP server can be configured in sequence.

[0046] S4, detecting the abnormality in the local area network in a timely manner, if yes, entering step S5. The abnormality includes LAN port abnormality, wifi connection abnormality, serial port application abnormality connection, etc., and the content of the related abnormality alarm can also be increased according to the actual needs of the customer.

[0047] S5, judging whether the abnormality is the abnormality of the first networking device 10, if yes, entering step S7, otherwise entering step S6.

[0048] S6, connecting the abnormal second networking device 20 to the first networking device 10 and sending the abnormal data to the first networking device 10, and then entering step S7.

[0049] S7, storing the abnormal alarm information into the created first linked list in sequence, and then reading the abnormal alarm information from the first linked list in sequence through the SIM card of the first networking device 10 and sending it to the designated mobile phone user 30 through short message.

[0050] The following only describes steps S5-S7 in detail by taking the industrial networking device alarm system as an example, which only includes one first networking device 10-a with a short message sending function:

[0051] When one of the second networking devices 20 is determined to be abnormal, the abnormal second networking device 20 connects the first networking device 10-a, and the first networking device 10-a stores the abnormal alarm information into the created first linked list in turn, and then reads the abnormal alarm information from the first linked list in turn through the SIM card of the first networking device 10-a and sends the abnormal alarm information to the designated mobile phone user 30 through short message. For example, when the second networking device 20-a is abnormal, the abnormal second networking device 20-a connects the first networking device 10-a, and the first networking device 10-a stores the abnormal alarm information into the created first linked list in turn, and then reads the abnormal alarm information from the first linked list in turn through the SIM card of the first networking device 10-a and sends the abnormal alarm information to the designated mobile phone user 30 through short message. For example, when the second networking device 20-e is abnormal, the abnormal second networking device 20-e connects the first networking device 10-a through the second networking device 20-c, and the first networking device 10-a stores the abnormal alarm information into the created first linked list in turn, and then reads the abnormal alarm information from the first linked list in turn through the SIM card of the first networking device 10-a and sends the abnormal alarm information to the designated mobile phone user 30 through short message.

[0052] When the first networking device 10-a is determined to be abnormal, the abnormal first networking device 10-a stores the abnormal alarm information of itself into the created first linked list in turn, and then reads the abnormal alarm information from the first linked list in turn through the SIM card of the first networking device 10-a and sends the abnormal alarm information to the designated mobile phone user 30 through short message.

[0053] Since there is a possibility that multiple clients send multiple alarm information to the server in a certain time period in the local area network, in order to avoid conflicts, the select function can be called to solve the above problem.

[0054] After step S7, as a further improvement, it further includes:

[0055] S71, when the short message sending of the first networking device 10-a fails, the abnormal networking device error information is replied. Specifically, when the abnormal short message sending of the second networking device 20-a fails, the first networking device 10-a further replies the error information of the second networking device 20-a.

[0056] After step S71, as a further improvement, it further includes:

[0057] S72, when the abnormal second networking device 20 receives the error information, the abnormal second networking device 20 further creates a second linked list, and stores the mobile phone number and related abnormal alarm information into the second linked list.

[0058] After step S72, as a further improvement, also includes:

[0059] S73, when the second chain table is created, the abnormal second networking device 20 is further used to trigger the query of the short message service function of the first networking device 10-a in time, when the first networking device 10-a can normally send short message service, the abnormal second networking device 20 will read the mobile phone number and related abnormal alarm information in the second chain table in turn and send to the normal first networking device 10-a. It can be understood that through the above processing, the situation that the abnormal second networking device 20 cannot be sent out in time when the first networking device 10-a is abnormal can be prevented.

[0060] The following describes steps S5-S7 in detail with the industrial networking device alarm system including at least two first networking devices 10-a / 10-b with short message sending function (wherein the first networking devices 10-a / 10-b are directly socket connected or indirectly socket connected through at least one second networking device 20-c, according to the port connection of the established tcp server, about 64000 second networking devices can be connected, but in order to better guarantee the stability of the network, the data is not too much to cause network congestion and other situations, the number of clients of the server is set to 100 by default, when more than 100 clients are connected, the server will refuse to connect. The level of the second networking device is actually not limited, because the alarm reporting content is actually a data frame, as long as the data frame can be sent to the tcp server, the server will process accordingly according to the received data frame, only need to ensure that the client and the server in the local area network can be connected to each other, which can be detected by the ping instruction):

[0061] When it is judged that one of the second networking devices 20 is abnormal, the abnormal second networking device 20 is connected to the first networking device 10-a, and the first networking device 10-a stores the abnormal alarm information in the created first chain table in turn, and then reads the abnormal alarm information from the first chain table in turn through the SIM card of the first networking device 10-a and sends it to the designated mobile user 30 by short message. For example, when the second networking device 20-a is abnormal, the abnormal second networking device 20-a is connected to the first networking device 10-a, and the first networking device 10-a stores the abnormal alarm information in the created first chain table in turn, and then reads the abnormal alarm information from the first chain table in turn through the SIM card of the first networking device 10-a and sends it to the designated mobile user 30 by short message.

[0062] After step S7, as a further improvement, also includes:

[0063] S71, when the first networking device 10-a fails to send the short message, reply the abnormal networking device error information. Specifically, when the second networking device 20-a fails to send the short message, the first networking device 10-a further replies the second networking device 20-a error information.

[0064] After step S71, as a further improvement, further comprises:

[0065] S72', the abnormal second networking device 20-a further connects other first networking device 10-b in turn, and the other first networking device 10-b stores the abnormal alarm information in the created first linked list in turn, and reads the abnormal alarm information from the first linked list in turn through the SIM card of the other first networking device 10-b and sends it to the designated mobile phone user through the short message. In this embodiment, the abnormal second networking device 20-a connects the other first networking device 10-b through the first networking device 10-a and the second networking device 20-c in turn.

[0066] After step S72', as a further improvement, further comprises:

[0067] S73', when traversing the first networking device 10-a / 10-b, and all the short messages of the first networking device 10-a / 10-b fail to send, the abnormal networking device 20-a further creates a second linked list, and stores the mobile phone number and related abnormal alarm information in the second linked list.

[0068] After step S73', as a further improvement, further comprises:

[0069] S74, when the second linked list is created, the abnormal second networking device 20-a is further used to trigger the query of the short message service function of the first networking device 10-a and / or 10-b in time, and when the first networking device 10-a and / or 10-b can normally send the short message service, the abnormal second networking device 20-a will read the mobile phone number and related abnormal alarm information in the second linked list in turn and send it to the normal first networking device 10-a and / or 10-b. It can be understood that through the above processing, the situation that the abnormal second networking device 20 cannot be sent out in time due to the abnormality of the first networking device 10-a and / or 10-b can be prevented.

[0070] When it is judged that the first networking device 10-a is abnormal, the abnormal first networking device 10-a stores the abnormal alarm information of itself into the created first linked list in turn, and reads the abnormal alarm information from the first linked list in turn through the SIM card of the first networking device 10-a and sends the abnormal alarm information to the designated mobile phone user 30 through short message. After step S7, as a further improvement, it further includes: S71', when the short message sending of the first networking device 10-a fails, further connect other first networking device 10-b, and the other first networking device 10-b stores the abnormal alarm information into the created first linked list in turn, and reads the abnormal alarm information from the first linked list in turn through the SIM card of the other first networking device 10-b and sends the abnormal alarm information to the designated mobile phone user through short message. That is, when the first networking device 10-a is abnormal and cannot send short message by itself, the other first networking device 10-b can be used to send the alarm short message.

[0071] Through the system and method provided by the present application, although only individual devices in the whole network can perform the alarm of short message service, the abnormal conditions of all devices in the whole network can be reported to the outside by combining the use of tcp / ip, and there is a certain guarantee mechanism and self-detection, so as to simplify the cost and time of network maintenance, and make it more convenient and fast.

[0072] The above only describes the preferred embodiments of the present application and is not used to limit the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims

1. An industrial networking device alert system, comprising: Comprise: The first networking device and the second networking device configured in the same local area network; The first networking device is configured with a SIM card that reports abnormalities, and the first networking device is configured as a TCP server; The second networking device is not configured with a SIM card, and the second networking device is configured as a TCP client, which is directly socket connected with the first networking device, or sequentially connected with the first networking device; When one of the second networking devices is abnormal, the abnormal second networking device is used to connect at least one first networking device, and the at least one first networking device is used to store abnormal alarm information in a first linked list created in sequence, and then read the abnormal alarm information from the first linked list in sequence through the SIM card of the at least one first networking device and send it to the designated mobile phone user through SMS; and / or when one of the first networking devices is abnormal, the abnormal first networking device is used to store its own abnormal alarm information in a first linked list created in sequence, and then read the abnormal alarm information from the first linked list in sequence through the SIM card of the at least one first networking device and send it to the designated mobile phone user through SMS.

2. The industrial networking device alerting system of claim 1, wherein, The at least one first networking device is further used to reply to the error information of the abnormal networking device when the SMS sending fails.

3. The industrial networking device alerting system of claim 2, wherein, The first networking devices are directly socket connected or indirectly socket connected through at least one second networking device.

4. The industrial networking device alerting system of claim 3, wherein, When the abnormal second networking device receives the error information, the abnormal second networking device is further used to connect other first networking devices, and the other first networking devices are used to store the abnormal alarm information in a first linked list created, and then read the abnormal alarm information from the first linked list through the SIM card of the other first networking devices and send it to the designated mobile phone user through SMS.

5. The industrial networking device alerting system of claim 4, wherein, When the first networking devices are traversed, and the SMS of all first networking devices fails to be sent, the abnormal networking device is further used to create a second linked list and store the mobile phone number and related abnormal alarm information in the second linked list.

6. The industrial networking device alerting system of claim 5, wherein, The abnormal networking device is further used to trigger the SMS service function of the first networking device in sequence at regular intervals, and when there is a first networking device in the local area network that can normally send SMS service, the mobile phone number and related abnormal alarm information in the second linked list will be read out and sent to the normal first networking device.

7. The industrial networking device alerting system of claim 1, wherein, The at least one first networking device is further used to delete the abnormal alarm information that is sent successfully and / or fails to be sent from the first link.

8. An alarm method of an industrial networking device alarm system, characterized by, The industrial networking device alarm system comprises first networking devices and second networking devices configured in the same local area network; the first networking devices are configured with SIM cards that report abnormalities; the second networking devices are not configured with SIM cards, and the second networking devices are directly socket connected with the first networking devices, or sequentially connected with the first networking devices; the alarm method comprises the following steps: S1, after the first networking device and the second networking device are powered on, obtaining the IP address of the first networking device; S2, detecting whether the short message alarm function of the first networking device is enabled, if yes, entering step S3, otherwise ending; S3, configuring the first networking device as a TCP server and the second networking device as a TCP client; S4, detecting the abnormality in the local area network in a time manner, if yes, entering step S5; S5, judging whether the abnormality is the abnormality of the first networking device, if yes, entering step S7, otherwise entering step S6; S6, connecting the abnormal second networking device to the first networking device, and then entering step S7; S7, storing the abnormal alarm information into the created first link table in a time manner, and then reading the abnormal alarm information from the first link table in a time manner through the SIM card of the first networking device and sending the abnormal alarm information to the designated mobile phone user through short message.

9. The alarm method of the industrial networking device alarm system according to claim 8, wherein, In step S7, the first networking device further deletes the abnormal alarm information of the first link table which is sent successfully and / or fails to be sent.

10. The alarm method of the industrial networking device alarm system according to claim 8, wherein, After step S7, further comprising: S71, when the short message sending of the first networking device fails, replying the error information of the abnormal second networking device; S72, when the abnormal second networking device receives the error information, the abnormal second networking device further creates a second link table, and stores the mobile phone number and the related abnormal alarm information into the second link table.

Citation Information

Patent Citations

  • Communication method and system for SIM card and application server

    CN107846403A

  • Alarm information forwarding method and Internet of Things alarm system

    CN113194418A