A Communication Status Monitoring Method for a Target ZR Device
By using dynamic arrays in ZR device communication status monitoring to establish continuity and timeliness monitoring arrays, the problem of insufficient monitoring of ZR device communication status in the prior art is solved, and more efficient and secure communication status monitoring is achieved.
Patent Information
- Application Number
- CN202510160752.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-13
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2045-02-13
AI Technical Summary
The prior art is difficult to effectively monitor the communication status of ZR devices, resulting in possible communication failures and inefficiency problems in systemic deployment.
By introducing the concept of dynamic arrays, a continuous monitoring dynamic array and a timely monitoring dynamic array are established, and combined with hardware attribute data and communication line attribute data, real-time monitoring and analysis of the communication status of ZR equipment is realized.
It improves the accuracy and efficiency of communication status monitoring, and can detect problems, verify problems, trace back and re-check them while minimizing the impact on the communication line as much as possible, and finally outputs monitoring results, improving the safety of line monitoring.
Smart Images

Figure CN119629086B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication status monitoring of ZR devices, and specifically relates to a method for monitoring the communication status of a target ZR device. Background Art
[0002] As a core component of an intelligent factory, the ZR axis demonstrates excellent performance in cost reduction and efficiency improvement. Its characteristics of multi-axis juxtaposition and flexible expansion enable the production line to be quickly adjusted and optimized according to production requirements, thereby achieving the maximum utilization of production capacity. The intelligent operation and precise control of the ZR axis further reduce the dependence on manual labor and reduce the expenditure on labor costs. However, in the systematic deployment of ZR devices, a mature and reliable control communication line needs to be established. Therefore, there is an urgent need for a practical end-to-end communication status monitoring method. Summary of the Invention
[0003] Aiming at the deficiencies of the prior art, the present invention provides a method for monitoring the communication status of a target ZR device. By introducing the concept of a dynamic array, the influence of time and the number of devices on the communication status is weakened, and the accuracy and efficiency of the status monitoring results are improved.
[0004] To achieve the above object, the present invention provides a method for monitoring the communication status of a target ZR device, including:
[0005] S1. Respectively obtain the hardware attribute data and communication line attribute data of the communication line of the target ZR device;
[0006] S2. Use the hardware attribute data of the communication line of the target ZR device to establish a continuous monitoring dynamic array;
[0007] S3. Use the communication line attribute data of the communication line of the target ZR device to establish a momentary monitoring dynamic array;
[0008] S4. Use the continuous monitoring dynamic array and the momentary monitoring dynamic array to obtain the communication status monitoring result.
[0009] Preferably, the respectively obtaining the hardware attribute data and communication line attribute data of the communication line of the target ZR device includes:
[0010] S1-1. Obtain the start address and end address of the communication line of the target ZR device;
[0011] S1-2. Determine whether there is a relay node between the start end and the end end of the communication line of the target ZR device. If so, after establishing a relay address set using the relay node address, use the start end address, end end address, and relay address set of the communication line of the target ZR device as the hardware attribute data of the communication line of the target ZR device. Otherwise, use the start end address and end end address of the communication line of the target ZR device as the hardware attribute data of the communication line of the target ZR device;
[0012] S1-3. Obtain the communication line attribute data of the communication line of the target ZR device according to the hardware attribute data of the communication line of the target ZR device;
[0013] Among them, the start end and the end end are the two corresponding ends of the communication line of the target ZR device respectively.
[0014] Furthermore, obtaining the communication line attribute data of the communication line of the target ZR device according to the hardware attribute data of the communication line of the target ZR device includes:
[0015] S1-3-1. Determine whether there is a corresponding relay node in the hardware attribute data of the communication line of the target ZR device. If so, execute S1-3-2. Otherwise, obtain the average data volume of the line communication corresponding to the hardware attribute data of the communication line of the target ZR device as the communication line attribute data of the communication line of the target ZR device;
[0016] S1-3-2. Obtain the average data volume of the line communication from the start end to the relay node of the communication line of the target ZR device as the average data volume of the first segmented line communication;
[0017] S1-3-3. Obtain the average data volume of the line communication from the relay node to the end end of the communication line of the target ZR device as the average data volume of the second segmented line communication;
[0018] S1-3-4. Use the average value of the average data volume of the first segmented line communication and the average data volume of the second segmented line communication as the communication line attribute data of the communication line of the target ZR device.
[0019] Furthermore, establishing a continuous monitoring dynamic array using the hardware attribute data of the communication line of the target ZR device includes:
[0020] Obtain the current moment as the continuous monitoring standard moment t;
[0021] Determine whether there is a transit node corresponding to the hardware attribute data of the communication line of the target ZR device. If so, establish a pre-array, an intermediate array, and a post-array respectively using the start address, transit node address, and end address of the communication line of the target ZR device. Otherwise, establish a pre-array and a post-array using the start address and end address of the communication line of the target ZR device;
[0022] When there are a pre-array, an intermediate array, and a post-array, establish a dynamic pre-array, a dynamic intermediate array, and a dynamic post-array respectively according to the continuity monitoring standard time t and the pre-array, intermediate array, and post-array, and use the dynamic pre-array, dynamic intermediate array, and dynamic post-array as the continuity monitoring dynamic arrays;
[0023] When there are a pre-array and a post-array, establish a dynamic pre-array and a dynamic post-array respectively according to the continuity monitoring standard time t and the pre-array and post-array, and use the dynamic pre-array and dynamic post-array as the continuity monitoring dynamic arrays.
[0024] Furthermore, establishing a time-based monitoring dynamic array using the communication line attribute data of the target ZR device communication line includes:
[0025] S3-1: Obtain the current time as the time monitoring standard time k;
[0026] S3-2: Determine whether there is a transit node corresponding to the communication line attribute data of the target ZR device communication line. If so, establish a first-segment line communication array and a second-segment line communication array respectively using the corresponding first-segment line communication average data volume and second-segment line communication average data volume of the communication line attribute data of the target ZR device communication line, and execute S3-3. Otherwise, obtain the time-based monitoring dynamic array using the line communication average data volume corresponding to the hardware attribute data of the target ZR device communication line;
[0027] S3-3: Establish a first time-based monitoring dynamic array using the first-segment line communication array and the time monitoring standard time k;
[0028] S3-4: Establish a second time-based monitoring dynamic array using the second-segment line communication array and the next adjacent time k + 1 of the time monitoring standard time k;
[0029] S3-5: Use the first time-based monitoring dynamic array and the second time-based monitoring dynamic array as the time-based monitoring dynamic arrays;
[0030] Wherein, the time monitoring standard time k and the continuity monitoring standard time t are independent of each other.
[0031] Further, obtaining the momentary monitoring dynamic array by using the hardware attribute data of the target ZR device communication line corresponding to the average data volume of line communication includes:
[0032] Obtaining the real-time data volume of line communication of the target ZR device communication line at the current moment;
[0033] Obtaining the difference between the average data volume of line communication corresponding to the hardware attribute data of the monitored communication line and the real-time data volume of line communication of the target ZR device communication line at the current moment;
[0034] Judging whether the difference is a positive value. If so, using the difference as the momentary monitoring dynamic array; otherwise, using the positive value corresponding to the difference as the momentary monitoring dynamic array.
[0035] Preferably, obtaining the communication status monitoring result by using the continuous monitoring dynamic array and the momentary monitoring dynamic array includes:
[0036] S4-1. Obtaining the continuous monitoring result of the target ZR device communication line by using the continuous monitoring dynamic array;
[0037] S4-2. Obtaining the momentary monitoring result of the target ZR device communication line by using the momentary monitoring dynamic array;
[0038] S4-3. Obtaining the communication status monitoring result by using the continuous monitoring result and the momentary monitoring result of the target ZR device communication line.
[0039] Further, obtaining the continuous monitoring result of the target ZR device communication line by using the continuous monitoring dynamic array includes:
[0040] S4-1-1. Judging whether the target ZR device communication line corresponds to a transit node. If so, executing S4-1-2; otherwise, executing S4-1-4;
[0041] S4-1-2. Judging whether the real-time data volume of the line from the starting end to the transit node of the target ZR device communication line corresponds to the first momentary monitoring dynamic array of the continuous monitoring dynamic array. If so, executing S4-1-3; otherwise, the continuous monitoring result of the target ZR device communication line is abnormal, and the line from the starting end to the transit node of the target ZR device communication line is output as the abnormal line;
[0042] S4-1-3. Determine whether the real-time data volume and continuity monitoring dynamic array of the second moment of the corresponding line from the transit node to the termination end of the communication line of the target ZR device correspond. If so, the continuity monitoring result of the communication line of the target ZR device is normal; otherwise, the continuity monitoring result of the communication line of the target ZR device is abnormal, and the line from the transit node to the termination end of the communication line of the target ZR device is output as the abnormal line.
[0043] Further, obtaining the momentary monitoring result of the communication line of the target ZR device by using the momentary monitoring dynamic array includes:
[0044] S4-2-1. Determine whether there is an abnormality in the continuity monitoring result of the communication line of the target ZR device. If so, execute S4-2-2; otherwise, the momentary monitoring result of the communication line of the target ZR device is normal;
[0045] S4-2-2. Determine whether there is a corresponding transit node in the communication line of the target ZR device. If so, execute S4-2-3; otherwise, execute S4-2-4;
[0046] S4-2-3. Determine whether the first momentary monitoring dynamic array and the second momentary monitoring dynamic array of the momentary monitoring dynamic array corresponding to the current moment, and the dynamic pre-array, dynamic middle array, and dynamic post-array of the continuity monitoring dynamic array all correspond. If so, the momentary monitoring result of the communication line of the target ZR device is normal; otherwise, the momentary monitoring result of the communication line of the target ZR device is abnormal, and the continuity monitoring dynamic array that does not correspond to the momentary monitoring dynamic array is output;
[0047] S4-2-4. Determine whether the difference of the momentary monitoring dynamic array corresponding to the current moment and the dynamic pre-array and dynamic post-array of the continuity monitoring dynamic array all correspond. If so, the momentary monitoring result of the communication line of the target ZR device is normal; otherwise, the momentary monitoring result of the communication line of the target ZR device is abnormal, and the continuity monitoring dynamic array that does not correspond to the momentary monitoring dynamic array is output.
[0048] Further, obtaining the communication status monitoring result by using the continuity monitoring result and the momentary monitoring result of the communication line of the target ZR device includes:
[0049] When both the continuity monitoring result and the momentary monitoring result of the communication line of the target ZR device are normal, the communication status monitoring result is normal;
[0050] When the continuity monitoring result of the communication line of the target ZR device is abnormal and the momentary monitoring result is normal, return to S2;
[0051] Determine whether the number of timeliness monitoring results of the communication line of the same target ZR device is greater than 2. If so, the communication status monitoring result is abnormal; otherwise, the communication status monitoring result is normal.
[0052] When both the continuity monitoring result and the timeliness monitoring result of the communication line of the target ZR device are abnormal, the communication status monitoring result is abnormal.
[0053] Compared with the closest prior art, the beneficial effects of the present invention are as follows:
[0054] Combining the dynamic array with the communication monitoring of the ZR device to improve the real-time performance and relevance of the monitoring. While minimizing the impact on the communication line as much as possible, discover problems, verify problems, and conduct backtracking re-inspection. Finally, output the monitoring results, which change dynamically according to the time, improving the security of the line monitoring and making it impossible to be imitated or replicated. Obtain, verify, and monitor the output of the communication line status from multiple perspectives. At the same time, the underlying logic source of the array is the data of each line, and this solution can be extended and applied to a larger range of lines without limitations on the traffic volume and line topology. Brief Description of the Drawings
[0055] Figure 1 It is a flowchart of a method for monitoring the communication status of a target ZR device provided by the present invention. Detailed Embodiments
[0056] The following further elaborates on the detailed embodiments of the present invention with reference to the accompanying drawings.
[0057] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the scope of protection of the present invention.
[0058] Embodiment 1: The present invention provides a method for monitoring the communication status of a target ZR device, as Figure 1 shown, including:
[0059] S1. Respectively obtain the hardware attribute data and communication line attribute data of the communication line of the target ZR device;
[0060] S2. Establish a continuity monitoring dynamic array using the hardware attribute data of the communication line of the target ZR device;
[0061] S3. Establish a timeliness monitoring dynamic array using the communication line attribute data of the communication line of the target ZR device;
[0062] S4. Obtain the communication status monitoring result by using the continuous monitoring dynamic array and the momentary monitoring dynamic array.
[0063] S1 specifically includes:
[0064] S1-1. Obtain the start address and the end address of the communication line of the target ZR device.
[0065] S1-2. Determine whether there is a transit node between the start end and the end end of the communication line of the target ZR device. If so, after establishing a set of transit addresses by using the transit node address, use the start address, the end address of the communication line of the target ZR device, and the set of transit addresses as the hardware attribute data of the communication line of the target ZR device. Otherwise, use the start address and the end address of the communication line of the target ZR device as the hardware attribute data of the communication line of the target ZR device.
[0066] S1-3. Obtain the communication line attribute data of the communication line of the target ZR device according to the hardware attribute data of the communication line of the target ZR device.
[0067] Wherein, the start end and the end end are respectively the two corresponding ends of the communication line of the target ZR device.
[0068] S1-3 specifically includes:
[0069] S1-3-1. Determine whether there is a corresponding transit node in the hardware attribute data of the communication line of the target ZR device. If so, execute S1-3-2. Otherwise, obtain the average data volume of the line communication corresponding to the hardware attribute data of the communication line of the target ZR device as the communication line attribute data of the communication line of the target ZR device.
[0070] S1-3-2. Obtain the average data volume of the line communication from the start end of the communication line of the target ZR device to the transit node as the average data volume of the first segmented line communication.
[0071] S1-3-3. Obtain the average data volume of the line communication from the transit node of the communication line of the target ZR device to the end end as the average data volume of the second segmented line communication.
[0072] S1-3-4. Use the average value of the average data volume of the first segmented line communication and the average data volume of the second segmented line communication as the communication line attribute data of the communication line of the target ZR device.
[0073] S2 specifically includes:
[0074] S2-1. Obtain the current moment as the continuous monitoring standard moment t.
[0075] S2-2. Determine whether there is a transit node corresponding to the hardware attribute data of the communication line of the target ZR device. If so, establish a pre-array, an intermediate array, and a post-array respectively using the start address, transit node address, and end address of the communication line of the target ZR device. Otherwise, establish a pre-array and a post-array using the start address and end address of the communication line of the target ZR device;
[0076] S2-3. When there are a pre-array, an intermediate array, and a post-array, establish a dynamic pre-array, a dynamic intermediate array, and a dynamic post-array respectively according to the continuity monitoring standard time t and the pre-array, intermediate array, and post-array, and use the dynamic pre-array, dynamic intermediate array, and dynamic post-array as the continuity monitoring dynamic arrays;
[0077] S2-4. When there are a pre-array and a post-array, establish a dynamic pre-array and a dynamic post-array respectively according to the continuity monitoring standard time t and the pre-array and post-array, and use the dynamic pre-array and dynamic post-array as the continuity monitoring dynamic arrays.
[0078] S3 specifically includes:
[0079] S3-1. Obtain the current time as the time monitoring standard time k;
[0080] S3-2. Determine whether there is a transit node corresponding to the communication line attribute data of the communication line of the target ZR device. If so, establish a first-segment line communication array and a second-segment line communication array respectively using the first-segment line communication average data volume and the second-segment line communication average data volume corresponding to the communication line attribute data of the communication line of the target ZR device, and execute S3-3. Otherwise, obtain the time-based monitoring dynamic array using the line communication average data volume corresponding to the hardware attribute data of the communication line of the target ZR device;
[0081] S3-3. Establish a first time-based monitoring dynamic array using the first-segment line communication array and the time monitoring standard time k;
[0082] S3-4. Establish a second time-based monitoring dynamic array using the second-segment line communication array and the next adjacent time k + 1 of the time monitoring standard time k;
[0083] S3-5. Use the first time-based monitoring dynamic array and the second time-based monitoring dynamic array as the time-based monitoring dynamic arrays;
[0084] Among them, the time monitoring standard time k and the continuity monitoring standard time t are independent of each other.
[0085] S3-2 specifically includes:
[0086] S3-2-1. Obtain the real-time line communication data volume of the communication line of the target ZR device at the current moment;
[0087] S3-2-2. Obtain the difference between the average line communication data volume corresponding to the hardware attribute data of the monitored communication line and the real-time line communication data volume of the communication line of the target ZR device at the current moment;
[0088] S3-2-3. Determine whether the difference is a positive value. If so, use the difference as the time-based monitoring dynamic array. Otherwise, use the positive value corresponding to the difference as the time-based monitoring dynamic array.
[0089] S4 specifically includes:
[0090] S4-1. Obtain the continuity monitoring result of the communication line of the target ZR device by using the continuity monitoring dynamic array;
[0091] S4-2. Obtain the time-based monitoring result of the communication line of the target ZR device by using the time-based monitoring dynamic array;
[0092] S4-3. Obtain the communication status monitoring result by using the continuity monitoring result and the time-based monitoring result of the communication line of the target ZR device.
[0093] S4-1 specifically includes:
[0094] S4-1-1. Determine whether the communication line of the target ZR device corresponds to a transit node. If so, execute S4-1-2. Otherwise, execute S4-1-4;
[0095] S4-1-2. Determine whether the real-time line communication data volume from the start end to the transit node of the communication line of the target ZR device corresponds to the first time-based monitoring dynamic array of the continuity monitoring dynamic array. If so, execute S4-1-3. Otherwise, the continuity monitoring result of the communication line of the target ZR device is abnormal, and output the line from the start end to the transit node of the communication line of the target ZR device as the abnormal line;
[0096] S4-1-3. Determine whether the real-time line communication data volume from the transit node to the end of the communication line of the target ZR device corresponds to the second time-based monitoring dynamic array of the continuity monitoring dynamic array. If so, the continuity monitoring result of the communication line of the target ZR device is normal. Otherwise, the continuity monitoring result of the communication line of the target ZR device is abnormal, and output the line from the transit node to the end of the communication line of the target ZR device as the abnormal line.
[0097] S4-2 specifically includes:
[0098] S4-2-1. Determine whether there is an abnormality in the continuity monitoring result of the communication line of the target ZR device. If so, execute S4-2-2; otherwise, the momentary monitoring result of the communication line of the target ZR device is normal.
[0099] S4-2-2. Determine whether there is a corresponding transit node in the communication line of the target ZR device. If so, execute S4-2-3; otherwise, execute S4-2-4.
[0100] S4-2-3. Determine whether the first momentary monitoring dynamic array and the second momentary monitoring dynamic array of the momentary monitoring dynamic array corresponding to the current moment are all corresponding to the dynamic pre-array, the dynamic middle array, and the dynamic post-array of the continuity monitoring dynamic array. If so, the momentary monitoring result of the communication line of the target ZR device is normal; otherwise, the momentary monitoring result of the communication line of the target ZR device is abnormal, and output the continuity monitoring dynamic array that does not correspond to the momentary monitoring dynamic array.
[0101] S4-2-4. Determine whether the differences between the momentary monitoring dynamic array corresponding to the current moment and the dynamic pre-array and the dynamic post-array of the continuity monitoring dynamic array are all corresponding. If so, the momentary monitoring result of the communication line of the target ZR device is normal; otherwise, the momentary monitoring result of the communication line of the target ZR device is abnormal, and output the continuity monitoring dynamic array that does not correspond to the momentary monitoring dynamic array.
[0102] S4-3 specifically includes:
[0103] S4-3-1. When both the continuity monitoring result and the momentary monitoring result of the communication line of the target ZR device are normal, the communication status monitoring result is normal.
[0104] S4-3-2. When the continuity monitoring result of the communication line of the target ZR device is abnormal and the momentary monitoring result is normal, return to S2.
[0105] S4-3-3. Determine whether the number of momentary monitoring results generated for the communication line of the same target ZR device is greater than 2. If so, the communication status monitoring result is abnormal; otherwise, the communication status monitoring result is normal.
[0106] S4-3-4. When both the continuity monitoring result and the momentary monitoring result of the communication line of the target ZR device are abnormal, the communication status monitoring result is abnormal.
[0107] In this embodiment, for a communication status monitoring method of a target ZR device, a limit is set on the number of loop iterations in S4-3-1-1, which not only leaves data errors for the line operation but also ensures that there will be no excessive loop resulting in an increase in the line communication pressure.
[0108] In this embodiment, for a communication status monitoring method of a target ZR device, when the final output result is abnormal, problem backtracking can be performed according to the continuous monitoring result or the corresponding moment of the momentary monitoring result to find out where the problem lies.
[0109] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0110] The present invention is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, and the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate for implementing in the process Figure 1 a process or multiple processes and / or blocks Figure 1 a device for the functions specified in one block or multiple blocks.
[0111] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured product including an instruction device, and the instruction device implements in the process Figure 1 a process or multiple processes and / or blocks Figure 1 the functions specified in one block or multiple blocks.
[0112] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in the process Figure 1 a process or multiple processes and / or blocks Figure 1 the functions specified in one block or multiple blocks.
[0113] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications or equivalent substitutions can still be made to the specific implementation manners of the present invention, and any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the protection scope of the claims of the present invention.
Claims
1. A method for monitoring the communication status of a target ZR device, characterized in that: include: S1, respectively obtain the hardware attribute data and communication line attribute data of the target ZR device communication line; S2, using the hardware attribute data of the communication line of the target ZR device to establish a continuity monitoring dynamic array; Using the hardware attribute data of the target ZR device communication line to establish a continuity monitoring dynamic array includes: Get the current time as the continuity monitoring standard time t; Determine whether the hardware attribute data of the target ZR device communication line corresponds to the existence of a transfer node. If so, use the starting end address, transfer node address and terminating end address of the target ZR device communication line to establish a front array, an intermediate array and a rear array respectively. Otherwise, use the starting end address and terminating end address of the target ZR device communication line to establish a front array and a rear array; When there are a front array, an intermediate array and a rear array, a dynamic front array, a dynamic intermediate array and a dynamic rear array are respectively established according to the continuity monitoring standard time t and the front array, the intermediate array and the rear array, and the dynamic front array, the dynamic intermediate array and the dynamic rear array are used as the continuity monitoring dynamic array; When there are a pre-array and a post-array, a dynamic pre-array and a dynamic post-array are respectively established according to the continuity monitoring standard time t and the pre-array and the post-array, and the dynamic pre-array and the dynamic post-array are used as the continuity monitoring dynamic array; S3, using the communication line attribute data of the target ZR device communication line to establish a dynamic array for momentary monitoring; Using the communication line attribute data of the target ZR device communication line to establish a dynamic array for momentary monitoring includes: S3-1, obtaining the current time as the time monitoring standard time k; S3-2, determine whether the communication line attribute data of the target ZR device communication line corresponds to the existence of a transit node, if so, respectively use the communication line attribute data of the target ZR device communication line to correspond to the first segment line communication average data volume and the second segment line communication average data volume, establish the first segment line communication array and the second segment line communication array, and execute S3-3, otherwise, use the hardware attribute data of the target ZR device communication line to correspond to the average line communication data volume to obtain a dynamic array for momentary monitoring; S3-3, using the first segment line communication array and the time monitoring standard time k to establish a first time monitoring dynamic array; S3-4, using the second segment line communication array and the next adjacent time k+1 of the time monitoring standard time k to establish a second time monitoring dynamic array; S3-5, using the first momentary monitoring dynamic array and the second momentary monitoring dynamic array as a momentary monitoring dynamic array; Wherein, the moment monitoring standard moment k and the continuity monitoring standard moment t are independent of each other; S4. Obtain communication status monitoring results using the continuous monitoring dynamic array and the momentary monitoring dynamic array.
2. A method for monitoring the communication status of a target ZR device as claimed in claim 1, characterized in that: The step of respectively acquiring the hardware attribute data and the communication line attribute data of the target ZR device communication line comprises: S1-1, obtain the starting end address and the ending end address of the communication line of the target ZR device; S1-2, determine whether there is a transfer node between the starting end and the ending end of the communication line of the target ZR device, if so, use the transfer node address to establish a transfer address set, and use the starting end address, the ending end address and the transfer address set of the communication line of the target ZR device as the hardware attribute data of the communication line of the target ZR device, otherwise, use the starting end address and the ending end address of the communication line of the target ZR device as the hardware attribute data of the communication line of the target ZR device; S1-3, acquiring the communication line attribute data of the target ZR device communication line according to the hardware attribute data of the target ZR device communication line; The starting end and the terminating end are the corresponding two ends of the communication line of the target ZR device.
3. A method for monitoring the communication status of a target ZR device as claimed in claim 2, characterized in that: Acquiring the communication line attribute data of the target ZR device communication line according to the hardware attribute data of the target ZR device communication line includes: S1-3-1, determine whether the hardware attribute data of the communication line of the target ZR device corresponds to the existence of a transit node, if so, execute S1-3-2, otherwise, obtain the average data volume of the line communication corresponding to the hardware attribute data of the communication line of the target ZR device as the communication line attribute data of the communication line of the target ZR device; S1-3-2, obtaining the average data volume of the line communication from the starting end to the transfer node of the communication line of the target ZR device as the average data volume of the line communication of the first segment; S1-3-3, obtaining the average data volume of the line communication from the transit node to the termination end of the communication line of the target ZR device as the average data volume of the line communication of the second segment; S1-3-4. Use the average of the first segment line communication average data volume and the second segment line communication average data volume as the communication line attribute data of the target ZR device communication line.
4. A method for monitoring the communication status of a target ZR device as claimed in claim 1, characterized in that: The time-based monitoring dynamic array obtained by using the hardware attribute data of the communication line of the target ZR device corresponding to the average data volume of the line communication includes: Obtain the real-time data volume of the communication line of the target ZR device at the current moment; Obtain the difference between the average data volume of line communication corresponding to the hardware attribute data of the monitored communication line and the real-time data volume of line communication of the target ZR device communication line at the current moment; It is determined whether the difference is a positive value. If so, the difference is used as a dynamic array for momentary monitoring. Otherwise, a positive value corresponding to the difference is used as a dynamic array for momentary monitoring.
5. The communication status monitoring method of a target ZR device according to claim 1, characterized in that: The communication status monitoring results obtained by using the continuous monitoring dynamic array and the momentary monitoring dynamic array include: S4-1, using the continuity monitoring dynamic array to obtain the continuity monitoring result of the communication line of the target ZR device; S4-2, using the instantaneous monitoring dynamic array to obtain the instantaneous monitoring result of the communication line of the target ZR device; S4-3, using the continuity monitoring result and the instantaneous monitoring result of the communication line of the target ZR device to obtain the communication status monitoring result.
6. A method for monitoring the communication status of a target ZR device as claimed in claim 5, characterized in that: The continuity monitoring result of the communication line of the target ZR device obtained by using the continuity monitoring dynamic array includes: S4-1-1, determine whether the communication line of the target ZR device corresponds to a transfer node, if so, execute S4-1-2, otherwise, execute S4-1-4; S4-1-2, determine whether the real-time data volume of the communication line corresponding to the starting end of the communication line of the target ZR device to the transfer node corresponds to the first momentary monitoring dynamic array of the continuity monitoring dynamic array, if so, execute S4-1-3, otherwise, the continuity monitoring result of the communication line of the target ZR device is abnormal, and output the communication line from the starting end of the target ZR device to the transfer node as an abnormal line; S4-1-3. Determine whether the real-time data volume of the communication line from the transit node to the termination end of the target ZR device communication line corresponds to the second momentary monitoring dynamic array of the continuity monitoring dynamic array. If so, the continuity monitoring result of the target ZR device communication line is normal. Otherwise, the continuity monitoring result of the target ZR device communication line is abnormal, and output the transit node to the termination end of the target ZR device communication line as an abnormal line.
7. A method for monitoring the communication status of a target ZR device as claimed in claim 6, characterized in that: The instantaneous monitoring result of the communication line of the target ZR device obtained by using the instantaneous monitoring dynamic array includes: S4-2-1, determine whether the continuity monitoring result of the communication line of the target ZR device is abnormal, if so, execute S4-2-2, otherwise, the momentary monitoring result of the communication line of the target ZR device is normal; S4-2-2, determine whether the target ZR device communication line corresponds to a transfer node, if so, execute S4-2-3, otherwise, execute S4-2-4; S4-2-3, determine whether the first momentary monitoring dynamic array and the second momentary monitoring dynamic array corresponding to the momentary monitoring dynamic array at the current moment correspond to the dynamic front array, dynamic middle array, and dynamic back array of the continuity monitoring dynamic array. If so, the momentary monitoring result of the communication line of the target ZR device is normal. Otherwise, the momentary monitoring result of the communication line of the target ZR device is abnormal, and the continuity monitoring dynamic array that does not correspond to the momentary monitoring dynamic array is output; S4-2-4. Determine whether the difference between the momentary monitoring dynamic array corresponding to the current moment and the dynamic pre-array and dynamic post-array of the continuity monitoring dynamic array correspond to each other. If so, the momentary monitoring result of the communication line of the target ZR device is normal. Otherwise, the momentary monitoring result of the communication line of the target ZR device is abnormal, and the continuity monitoring dynamic array that does not correspond to the momentary monitoring dynamic array is output.
8. A method for monitoring the communication status of a target ZR device as claimed in claim 5, characterized in that: The communication status monitoring results obtained by using the continuity monitoring results and the momentary monitoring results of the communication line of the target ZR device include: When the continuity monitoring result and the momentary monitoring result of the communication line of the target ZR device are both normal, the communication status monitoring result is normal; When the continuity monitoring result of the communication line of the target ZR device is abnormal, and the momentary monitoring result is normal, return to S2; Determine whether the number of instantaneous monitoring results generated by the communication line of the same target ZR device is greater than 2, if so, the communication status monitoring result is abnormal, otherwise, the communication status monitoring result is normal; When both the continuity monitoring result and the momentary monitoring result of the communication line of the target ZR device are abnormal, the communication status monitoring result is abnormal.
Citation Information
Patent Citations
Remote batch management method, device and equipment for simulator equipment and storage medium
CN116032585A
High-frequency communication control detection method for pressure feedback type composite actuator
CN119402381A