Extensible workshop network monitoring and early warning method for cut tobacco manufacturing workshop
By scanning and configuring network device information, monitoring screens are generated, and the network connection status of the silk-making workshop is monitored in real time. This solves the problem of difficult-to-find optical fiber breaks, enables rapid fault location and recovery, and reduces the risk of equipment replacement and misoperation.
Patent Information
- Application Number
- CN202410728506.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-09-20
AI Technical Summary
In the network connection of the silk-making workshop, it is difficult to detect optical fiber breaks in time, which affects production. The existing technology cannot monitor ring network breakpoints in real time, making fault location and recovery difficult, and misoperation may cause unnecessary equipment replacement.
By scanning network devices, generating xml files, reading device port information, establishing channel and database configurations, creating screens to monitor network connection status in real time, providing timely alarms and locating breakpoints, and supporting network expansion and fault recovery.
It achieves timely discovery and rapid recovery of breakpoints in the optical fiber connection ring network, reduces equipment replacement waste, clearly and quickly locates fault locations, and reduces the risk of misoperation.
Smart Images

Figure CN118677758A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of cigarette manufacturing, and in particular relates to an expandable workshop network monitoring and early warning method for a silk-making workshop. Background Art
[0002] The communication method of the silk-making workshop is that the switch is connected to the network cable through optical fiber. The network between the silk-making workshops is mainly divided into two parts. One is the ring network between the overall switches of the workshop to communicate through optical fiber, and the other is the interconnection between a single switch and various devices in the segment to which it belongs, which is connected through a network cable. The connection between the switches is a ring network type communication connected by optical fiber. When a certain point is disconnected, the workshop network will not be disconnected and can continue to work. Only when two breakpoints are generated will the workshop network be disconnected to affect production.
[0003] The production mode of the silk-making workshop is assembly line production. Different processes of the same production line are run in sequence according to the arrival time of materials. Under such a process, the interaction between the equipment in each process is very close. And because each device in the silk-making workshop is arranged independently, the operating status of different equipment in the same process also needs to exchange information. Therefore, the stability of the silk-making network connection and the rapid location and recovery after failure are particularly important.
[0004] When a device is disconnected from the network cable, an alarm and other early warning measures are set up locally and displayed on the local HMI. However, when the local HMI is disconnected, it is impossible to know whether other devices are disconnected from the network at the same time. And it is impossible to know whether the network port is damaged or the entire switch is damaged. At the same time, the connection between the ring network switches is connected through fiber optic jumpers. The fiber material is relatively fragile. When it is bent or hit hard, there is a risk of internal fiber breakage. However, due to the characteristics of the ring network, when the fiber optic jumper of a node is damaged, there is no way to detect it in time. Only when another node is damaged can we know that the network is disconnected, but at this time, it will have a large-scale impact on workshop production. Summary of the invention
[0005] In order to solve the above technical problems existing in the prior art, the present invention provides an expandable workshop network monitoring and early warning method for a silk-making workshop. The present invention can detect the ring network breakpoint as early as possible and restore it in time, and quickly and accurately locate the breakpoint when the network fails, avoiding waste caused by replacing unnecessary components.
[0006] The technical solution adopted by the present invention is:
[0007] A scalable workshop network monitoring and early warning method for a silk-making workshop, characterized in that the method comprises the following steps:
[0008] S1. Scan the devices on the network;
[0009] Scan the network devices and equipment in the workshop network change, as well as their IP address names, to obtain an XML file;
[0010] S2, collection of equipment information;
[0011] Read the port information of the device according to the xml file scanned above;
[0012] S3, establish a channel;
[0013] Configure channels in KEPServer;
[0014] S4, configure background database;
[0015] Configure the address information of all added switch ports, and read and connect the contents of the data block in the edit background database according to the channel configuration information in KEPServer;
[0016] S5, making screen;
[0017] Draw the terminal screen according to the designed ring network; the specific contents of the drawing are as follows:
[0018] S51. According to the overall picture drawn, a mark is added to each connection line. When the network is disconnected, there is not only an alarm message but also a connection point warning flashing;
[0019] S52. After drawing the overall ring network, draw a single switch connection information screen. Clicking on the switch screen can display the number of network ports of the switch, the connection point on and off and its information.
[0020] Furthermore, in step S1, the specific steps of scanning the network devices and equipment in the workshop network change and their IP address names are:
[0021] S11. Install PRONETA software on a terminal computer that can be connected to the workshop ring network and perform online scanning; check whether the scanning structure is correct according to the overall design architecture of the workshop;
[0022] S12. After confirming that the scan is correct, save the scan file into an XML file for subsequent information collection.
[0023] Furthermore, in step S2, the specific steps of reading the information of each port in the device according to the scanned xml file are as follows:
[0024] S21. In the networking device, open the saved ring network XML file through MIB Browser;
[0025] S22, read the specific information of each network port of the switch in the MIB and save it for channel establishment;
[0026] Furthermore, in step S3, the specific steps for configuring the channel in KEPServer are:
[0027] S31, establishing a new channel according to the IP address of each switch;
[0028] S32. In each channel, different port numbers and port information are established according to different switch types;
[0029] S33. After the channel is established, Quick Client checks whether the connection is successful.
[0030] Further, in step S4, the address information of all added switch ports is configured, and the specific steps of reading and connecting the content of the data block in the connection editing background database according to the channel configuration information in KEPServer are as follows:
[0031] S41. According to the configuration address of each data connected in the channel, add the address of the data block in the background database and edit the data block name according to your needs;
[0032] S42. Count the connection information and add an alarm function in the configuration. After the alarm is configured, an alarm can pop up on the screen when the network is disconnected.
[0033] The present invention uses software to scan the overall network architecture, and reads information in the MIB Browser based on the scanned network structure xml information, from which the channel information configured in the KEPServer of each network port of different switch types can be obtained. Then, based on the collected address, the background database information is established and the screen is produced. Based on the collected network port information, the on and off of the current network is judged. When there is a disconnected node, a screen prompt and an alarm prompt are given. At the same time, the specific information of the equipment connected to each switch network port and its connection status are produced. In addition, when there is network expansion, only the expanded network needs to be collected and configured to be added to the early warning system for monitoring.
[0034] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0035] 1. The present invention can monitor the specific information of the workshop network structure and its connection status in real time, timely discover the breakpoints of the switch ring network connected by optical fiber, and replace the jumper in time. If the replacement of the jumper still cannot be restored, it means that the optical port of the switch is damaged and the entire switch needs to be replaced. At the same time, the single-point network fault information can be clearly and quickly located, and the workshop network can be quickly restored.
[0036] 2. In the present invention, when a switch adds a new component that communicates through a network cable, it only needs to update its information to the screen, and no separate configuration is required. When adding a new switch, it is not necessary to scan the switch information in the ring network, because the information of each type of switch network port / optical port is fixed, and only the IP address needs to be changed in the channel configuration. Not operating in the ring network reduces the impact of misoperation on the entire ring network. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is the workshop network design drawing.
[0038] Figure 2 The present invention utilizes Figure 1 The design drawing is a flow chart of workshop ring network monitoring and early warning. DETAILED DESCRIPTION
[0039] The specific implementation of the embodiment of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the embodiment of the present invention, and is not used to limit the embodiment of the present invention.
[0040] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0041] The present invention will be described in detail below in conjunction with exemplary embodiments with reference to the accompanying drawings.
[0042] A scalable workshop network monitoring and early warning method for a silk-making workshop, characterized in that the method comprises the following steps:
[0043] S1. Scan the devices on the network;
[0044] Scan the network devices and equipment in the workshop network change, as well as their IP address names, to obtain an XML file;
[0045] The specific steps are:
[0046] S11. Install PRONETA software on a terminal computer that can be connected to the workshop ring network and perform online scanning; check whether the scanning structure is correct according to the overall design architecture of the workshop;
[0047] S12. After confirming that the scan is correct, save the scan file into an XML file for subsequent information collection.
[0048] S2, collection of equipment information;
[0049] Read the port information of the device according to the xml file scanned above;
[0050] The specific steps are:
[0051] S21. In the networking device, open the saved ring network XML file through MIB Browser;
[0052] S22, read the specific information of each network port of the switch in the MIB and save it for channel establishment;
[0053] S3, establish a channel;
[0054] Configure channels in KEPServer;
[0055] The specific steps are:
[0056] S31, establishing a new channel according to the IP address of each switch;
[0057] S32. In each channel, different port numbers and port information are established according to different switch types;
[0058] S33. After the channel is established, Quick Client checks whether the connection is successful.
[0059] S4, configure background database;
[0060] Configure the address information of all added switch ports, and read and connect the contents of the data block in the edit background database according to the channel configuration information in KEPServer;
[0061] The specific steps are:
[0062] S41. According to the configuration address of each data connected in the channel, add the address of the data block in the background database and edit the data block name according to your needs;
[0063] S42. Count the connection information and add an alarm function in the configuration. After the alarm is configured, an alarm can pop up on the screen when the network is disconnected.
[0064] S5, making screen;
[0065] Draw the terminal screen according to the designed ring network; the specific contents of the drawing are as follows:
[0066] S51. According to the overall picture drawn, a mark is added to each connection line. When the network is disconnected, there is not only an alarm message but also a connection point warning flashing;
[0067] S52. After drawing the overall ring network, draw a single switch connection information screen. Clicking on the switch screen can display the number of network ports of the switch, the connection point on and off and its information.
[0068] The present invention uses software to scan the overall network architecture, and reads information in the MIB Browser based on the scanned network structure xml information, from which the channel information configured in the KEPServer of each network port of different switch types can be obtained. Then, based on the collected address, the background database information is established and the screen is produced. Based on the collected network port information, the on and off of the current network is judged. When there is a disconnected node, a screen prompt and an alarm prompt are given. At the same time, the specific information of the equipment connected to each switch network port and its connection status are produced. In addition, when there is network expansion, only the expanded network needs to be collected and configured to be added to the early warning system for monitoring.
[0069] In the present invention, when a switch adds a new component that communicates through a network cable, it only needs to update its information to the screen, and no separate configuration is required. When adding a new switch, it is not necessary to scan the switch information in the ring network, because the information of each type of switch network port / optical port is fixed, and only the IP address needs to be changed in the channel configuration. Not operating in the ring network reduces the impact of misoperation on the entire ring network.
[0070] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A scalable workshop network monitoring and early warning method for a silk-making workshop, characterized in that: The method comprises the following steps: S1. Scan the devices on the network; Scan the network devices and equipment in the workshop network change, as well as their IP address names, to obtain an XML file; S2, collection of equipment information; Read the port information of the device according to the xml file scanned above; S3, establish a channel; Configure channels in KEPServer; S4, configure background database; Configure the address information of all added switch ports, and read and connect the contents of the data block in the edit background database according to the channel configuration information in KEPServer; S5, making screen; Draw the terminal screen according to the designed ring network; the specific contents of the drawing are as follows: S51. According to the overall picture drawn, a mark is added to each connection line. When the network is disconnected, there is not only an alarm message but also a connection point warning flashing; S52. After drawing the overall ring network, draw a single switch connection information screen. Clicking on the switch screen can display the number of network ports of the switch, the connection point on and off and its information.
2. A scalable workshop network monitoring and early warning method for a silk-making workshop as claimed in claim 1, characterized in that: In step S1, the specific steps of scanning the network devices and equipment in the workshop network change and their IP address names are: S11. Install PRONETA software on a terminal computer that can be connected to the workshop ring network and perform online scanning; check whether the scanning structure is correct according to the overall design architecture of the workshop; S12. After confirming that the scan is correct, save the scan file into an XML file for subsequent information collection.
3. The scalable workshop network monitoring and early warning method for a silk-making workshop according to claim 1, characterized in that: In step S2, the specific steps of reading the information of each port in the device according to the scanned xml file are as follows: S21. In the networking device, open the saved ring network XML file through MIB Browser; S22. Read the specific information of each network port of the switch in the MIB and save it for channel establishment.
4. The scalable workshop network monitoring and early warning method for a silk-making workshop according to claim 1, characterized in that: In step S3, the specific steps for configuring the channel in KEPServer are: S31, establishing a new channel according to the IP address of each switch; S32. In each channel, different port numbers and port information are established according to different switch types; S33. After the channel is established, Quick Client checks whether the connection is successful.
5. The scalable workshop network monitoring and early warning method for a silk-making workshop according to claim 1, characterized in that: In step S4, the address information of all added switch ports is configured. According to the channel configuration information in KEPServer, the specific steps of connecting and editing the content of the data block in the background database for reading and connection are as follows: S41. According to the configuration address of each data connected in the channel, add the address of the data block in the background database and edit the data block name according to your needs; S42. Count the connection information and add an alarm function in the configuration. After the alarm is configured, an alarm can pop up on the screen when the network is disconnected.
