CN115297026A - Communication system and detection method thereof - Google Patents
Communication system and detection method thereof Download PDFInfo
- Publication number
- CN115297026A CN115297026A CN202211048510.7A CN202211048510A CN115297026A CN 115297026 A CN115297026 A CN 115297026A CN 202211048510 A CN202211048510 A CN 202211048510A CN 115297026 A CN115297026 A CN 115297026A
- Authority
- CN
- China
- Prior art keywords
- data
- time
- communication system
- communication
- duration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000004891 communication Methods 0.000 title claims abstract description 146
- 238000001514 detection method Methods 0.000 title claims abstract description 43
- 238000000034 method Methods 0.000 claims description 16
- 238000012360 testing method Methods 0.000 description 67
- 230000007774 longterm Effects 0.000 description 15
- 230000008859 change Effects 0.000 description 9
- 230000005856 abnormality Effects 0.000 description 7
- 238000012423 maintenance Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000001914 filtration Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 2
- 230000036541 health Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000001351 cycling effect Effects 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012812 general test Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000013112 stability test Methods 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
Landscapes
- Engineering & Computer Science (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention provides a communication system and a detection method thereof, wherein the communication system comprises a control device and a controlled device communicated with the control device, and the detection method is applied to the control device side and comprises the following steps: detecting a timing control signal, wherein the timing control signal comprises a plurality of repeated and continuous repeated units; sending first data to the controlled device based on the fact that the waveform drawn by the detected data is consistent with the waveform in the repeating unit; and determining a detection result according to a matching result of the first data and the second data fed back by the controlled equipment.
Description
Technical Field
The invention relates to the technical field of communication control, in particular to a communication system and a detection method thereof.
Background
In the related technical solutions, the test of the communication system is mostly a verification test at the initial stage of the communication system construction, that is, it is determined whether the communication system can communicate.
However, as the communication system is used and operated, the communication system may have a fault, and in order to find an abnormality in the communication system in time, it is necessary to perform a long-term uninterrupted test on the communication of the communication system, so as to find a communication fault in time and adjust the fault in time, and a verification test at an initial stage of construction of the communication system at the present stage cannot realize a long-term uninterrupted test.
Disclosure of Invention
The present invention has been made to solve at least one of the problems occurring in the prior art or the related art.
To this end, a first aspect of the present invention is to provide a detection method of a communication system.
In a second aspect of the invention, a communication system is provided.
In view of the above, according to a first aspect of the present invention, there is provided a detection method for a communication system including a control device and a controlled device communicating with the control device, the detection method being applied to a control device side, the detection method including: detecting a timing control signal, wherein the timing control signal comprises a plurality of repeated and continuous repeated units; sending first data to the controlled device based on the fact that the waveform drawn by the detected data is consistent with the waveform in the repeating unit; and determining a detection result according to a matching result of the first data and the second data fed back by the controlled equipment.
The technical scheme of the application provides a detection method of a communication system, and the detection method can be operated to test the communication system for a long time, so that the reliability of the long-term stability of the communication system is determined.
In the technical scheme, the fault detection in the communication system is realized, and meanwhile, the fault in the communication system can be found in time, so that the fault in the communication system is conveniently maintained, and the influence of the fault in the communication system on the use of the system is reduced.
In addition, the detection method of the communication system provided by the application also has the following additional technical characteristics.
In the above technical solution, the method further comprises: starting timing based on that the waveform drawn by the detected data is consistent with the waveform in the repeating unit; and receiving second data under the condition that the timing duration does not reach the first duration.
In this solution, it is defined that the control device is capable of receiving the second data within a reserved time window, wherein the time window is the time from the beginning of the timing to the time when the timing duration reaches the first duration. The first time length is set to standardize the test of the communication system, so that the detection method has reusability and is further suitable for different use scenes.
In any of the above technical solutions, the method further includes: and matching the first data and the second data within a second time length after the timing time length reaches the first time length to determine a matching result.
In the technical scheme, a time window is divided for matching between the first data and the second data, wherein the equipment with the second time length provides comparison time for comparison between the first data and the second data, so that the test of the communication system can be compared in the second time length, and the division of the time window enables the communication test to be more standardized and avoids disorder of the communication test under long-term test.
In any of the above technical solutions, the method further comprises: acquiring historical communication data of the control equipment and the controlled equipment, wherein the historical communication data comprises a first moment when the control equipment sends first data to the controlled equipment and a second moment when the controlled equipment feeds back second data to the control equipment; determining the waiting time of the control equipment according to the first time and the second time; and determining the first time length according to the waiting time length.
In the technical scheme, the first time length is determined according to the waiting time length, namely, the determination basis of the first time length is provided, and in the process, the reasonability of the value of the first time length is improved.
The waiting time length is determined based on the historical communication data, so that the first time length can be dynamically adjusted according to the historical communication data so as to improve the reliability of the communication test.
In any of the above technical solutions, the first duration is longer than the waiting duration.
In the technical scheme, the first time length is limited to be longer than the waiting time length so as to ensure that the control equipment has enough time to receive the second data fed back by the controlled equipment before data matching is carried out, and meanwhile, the probability that the control equipment receives the second data after the first time length is reduced, and the reliability of the communication test is improved.
In any of the above technical solutions, a duration of each repeating unit is a third duration, where the third duration is greater than a sum of the first duration and the second duration.
In the technical scheme, the third time length is limited to be larger than the sum of the first time length and the second time length, so that one communication test is realized in the time length corresponding to each repeating unit, and the third time length is larger than the sum of the first time length and the second time length, namely the third time length minus the first time length and the second time length is still larger than zero, so that a part of time length is remained after each test, so that two communication tests before and after are distinguished, the probability of confusion of the two tests is reduced, and the reliability of the long-term test of the communication system is ensured.
In any of the above technical solutions, the first data is transformed every fourth time interval, and the first data is transformed according to a preset waveform; wherein the fourth time period is equal to the time period of each repeating unit.
In the technical scheme, the first data are limited to be changed along with the change of time, and the first data are changed at intervals of the fourth time length, so that the first data are ensured to be unchanged in each communication test, and the detection result is determined by using the matching result of the first data and the second data in the communication test.
Because the first data in each communication test is constantly changed, the overlapping of two adjacent communication tests can be avoided, and the accuracy of the test is further influenced.
In any of the above technical solutions, determining the detection result according to the matching result between the first data and the second data fed back by the controlled device specifically includes: determining a communication anomaly based on the first data not matching the second data; and outputting statistical information of communication abnormity.
In the technical scheme, when the first data and the second data are not matched and the second data is not considered to be the first data sent by the control equipment to the controlled equipment, the controlled equipment should feed back the data.
In any of the above technical solutions, the statistical information includes at least one of: the time information of communication abnormity, the accumulated times of communication abnormity after the communication system is started, and the accumulated times of communication abnormity after the communication system is used.
In the technical scheme, the content contained in the statistical information is specifically given, wherein under the condition that the statistical information contains the time information of communication abnormity, a maintainer can directly position the position of the communication abnormity according to the statistical information so as to realize targeted maintenance.
In the technical scheme, the fault statistical condition of the communication system is known by limiting the statistical information to include the cumulative number of times of communication abnormity occurring after the communication system is started, and similarly, the health state of the communication system is evaluated by a maintenance worker under the condition that the statistical information includes the cumulative number of times of communication abnormity occurring after the communication system is used.
In any of the above solutions, the control device includes: a programmable logic controller.
According to a second aspect of the present invention, there is provided a communication system comprising a control device and a controlled device in communication with the control device for implementing the detection method of the communication system as defined in any one of the above.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 shows one of the flow diagrams of the detection method of the communication system in the embodiment of the present invention;
FIG. 2 shows a schematic test diagram between a control device and a controlled device in an embodiment of the invention;
FIG. 3 is a diagram illustrating a timing control square wave, a data change period, and a data comparison timing sequence according to an embodiment of the present invention;
fig. 4 shows a second flowchart of a detection method of a communication system according to an embodiment of the invention;
fig. 5 shows a schematic diagram of a triangular wave in an embodiment of the invention.
Detailed Description
So that the manner in which the above recited aspects, features and advantages of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to the embodiments thereof which are illustrated in the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
A communication system and a detection method thereof according to some embodiments of the present invention are described below with reference to fig. 1 to 5.
In an embodiment of the present application, as shown in fig. 1, a detection method of a communication system is provided, the communication system includes a control device and a controlled device communicating with the control device, the detection method is applied to a side of the control device, wherein the detection method includes:
step 102, detecting a timing control signal, wherein the timing control signal comprises a plurality of repeated and continuous repeated units;
104, sending first data to the controlled equipment based on the fact that the waveform drawn by the detected data is consistent with the waveform in the repeating unit;
and step 106, determining a detection result according to a matching result of the first data and the second data fed back by the controlled equipment.
The embodiment of the application provides a detection method of a communication system, and the detection method can be operated to test the communication system for a long time, so that the reliability of the long-term stability of the communication system is determined.
In the embodiment, the fault detection in the communication system is realized, and meanwhile, the fault in the communication system can be found in time, so that the fault in the communication system is conveniently maintained, and the influence of the fault in the communication system on the use of the system is reduced.
In one embodiment, a control device may be understood as a device for performing control, i.e. a device for controlling the operation of a controlled device, and correspondingly, a controlled device, i.e. a device to be controlled, as opposed to a control device.
For example, the control device may be an upper computer, and the controlled device may be an execution terminal, where the execution terminal may be selected according to actual needs, such as a programmable logic controller, a touch screen, a frequency converter, a servo controller, a robot, and the like.
In the above embodiment, the timing control signal is composed of a plurality of repeated and continuous repeating units, based on which each repeating unit can be used as a trigger condition for a communication system test, that is, each repeating unit performs a communication test. The timing control signal may continue for a length of time, so the above-described embodiments of the present application enable long-term testing of the communication system.
In the above embodiment, in the test process of the communication system, the control device sends the first data to the controlled device, and in the case that the communication is normal, the controlled device feeds back the second data to the control device, and if the fed-back second data matches the sent first data, it may be determined that the communication between the control device and the controlled device is normal, and conversely, the communication between the control device and the controlled device is abnormal, and based on this, a single test of the communication system may be implemented.
In the above embodiment, the waveform drawn by the detected data is compared with the waveform in the repeating unit, and if the comparison is consistent, the trigger condition of the communication system test is considered to be satisfied, so as to execute a communication test.
In one embodiment, the waveform in the repeating unit may be converted from a low-level signal to a high-level signal, or switched from a high-level signal to a low-level signal, or converted from a low-level signal to a high-level signal and switched from a high-level signal to a low-level signal, or switched from a high-level signal to a low-level signal and switched from a low-level signal to a high-level signal, where the waveform in the repeating unit may be selected according to actual needs, and is not limited herein.
In addition, the detection method of the communication system provided by the application also has the following additional technical characteristics.
In the above embodiment, the method further includes: starting timing based on the fact that the waveform drawn by the detected data is consistent with the waveform in the repeating unit; and receiving second data under the condition that the timing duration does not reach the first duration.
In this embodiment it is defined that the control device is able to receive the second data within a reserved time window, i.e. the time from the start of the counting of time until the counted time length reaches the first time length in the foregoing. The first time length is set to standardize the test of the communication system, so that the detection method has reusability and is further suitable for different use scenes.
In one embodiment, the first time length can be adjusted according to actual use requirements, so that the test scheme has extensibility, and different use scenarios can be adapted to the greatest extent.
In addition, the first time length is adjustable, so that the detection method can be not limited to a specific use scene, and can realize multi-path parallel and nested use, thereby realizing the test of a more complex system.
In any of the above embodiments, further comprising: and matching the first data and the second data within a second time length after the timing time length reaches the first time length to determine a matching result.
In this embodiment, a time window is divided for matching between the first data and the second data, wherein the device of the second duration provides comparison time for comparison between the first data and the second data, so that the test of the communication system can complete comparison within the second duration, and the division of the time window makes the communication test more standardized, thereby avoiding disorder of the communication test under long-term test.
In one embodiment, the second duration may be adjusted according to actual usage requirements, so as to make the test scheme have extensibility, thereby maximally adapting to different usage scenarios.
In any of the above embodiments, further comprising: acquiring historical communication data of the control equipment and the controlled equipment, wherein the historical communication data comprises a first moment when the control equipment sends first data to the controlled equipment and a second moment when the controlled equipment feeds back second data to the control equipment; determining the waiting time of the control equipment according to the first time and the second time; and determining the first time length according to the waiting time length.
In this embodiment, the first duration is determined according to the waiting duration, that is, a basis for determining the first duration is given, and in this process, the rationality of the value of the first duration is improved.
The waiting time length is determined based on the historical communication data, so that the first time length can be dynamically adjusted according to the historical communication data so as to improve the reliability of the communication test.
Specifically, considering that the test of the communication system involves both transmission of data and reception of data, the determination of the first time length from the transmission of the first data to the reception of the second data by defining the historical communication data to include a first time when the first data is transmitted and a second time when the second data is received is performed, so that the time length required for the control device from the transmission of the first data to the reception of the second data, that is, the waiting time length in the foregoing is determined based on the first time and the second time.
In one embodiment, the waiting time period is a difference between the second time and the first time.
In one embodiment, in the case where the plurality of communications are included in the historical communication data, the waiting time period is the largest difference among the plurality of communications.
In any of the above embodiments, the first duration is greater than the wait duration.
In the embodiment, the first time length is limited to be longer than the waiting time length so as to ensure that the control device has enough time to receive the second data fed back by the controlled device before the data matching is carried out, and meanwhile, the probability that the control device receives the second data after the first time length is reduced, and the reliability of the communication test is improved.
In any of the above embodiments, the duration of each repeating unit is a third duration, where the third duration is greater than the sum of the first duration and the second duration.
In this embodiment, the third duration is limited to be greater than the sum of the first duration and the second duration, so as to implement a communication test within the duration corresponding to each repeating unit, and since the third duration is greater than the sum of the first duration and the second duration, that is, the third duration minus the first duration and the second duration is still greater than zero, so that a part of the duration remains after each test, so as to distinguish the two previous and subsequent communication tests, reduce the possibility of confusion in the two tests, and ensure the reliability of the long-term test of the communication system.
In any of the above embodiments, the first data is transformed every fourth time interval, the first data being transformed according to a preset waveform; wherein the fourth time period is equal to the time period of the repeating unit.
In this embodiment, it is defined that the first data changes with time, and since the first data is changed every fourth time period, it is ensured that the first data is unchanged at each communication test, and thus, the detection result is determined by using the matching result of the first data and the second data under the communication test.
Because the first data in each communication test is constantly changed, the overlapping of two adjacent communication tests can be avoided, and the accuracy of the test is further influenced.
In one embodiment, the preset waveform may be selected according to actual use requirements, such as triangular wave, sine wave, square wave, oblique wave, and the like.
In one embodiment, the preset waveform may be a continuous and repeated waveform such that the first data periodically varies according to the preset waveform.
In one embodiment, the first data in the preset waveform fluctuates between a maximum value and a minimum value.
In any of the above embodiments, determining the detection result according to the matching result between the first data and the second data fed back by the controlled device specifically includes: determining a communication anomaly based on the first data not matching the second data; and outputting statistical information of communication abnormity.
In this embodiment, when the first data and the second data are not matched, and the second data is considered not to be the first data sent by the control device to the controlled device, the controlled device should feed back the data, and obviously, in this case, an abnormality occurs in the communication between the control device and the controlled device, and at this time, the statistical information of the communication abnormality is output, so that a maintenance person can maintain the communication abnormality according to the statistical information, and the influence of the communication abnormality on the communication is reduced.
In one embodiment, the first data and the second data may be data that appears in pairs, such as "1234" for the first data and "4321" for the second data, or "1234" for the first data and "4321", and in the case that the first data and the second data are not two data that appear in pairs, the data are considered not to match.
In one embodiment, the first data and the second data may be the same data, for example, when the first data is "1", the second data is "1", or, when the first data is "0", the second data is "0", and in case that the first data and the second data are the same data, a match is considered, whereas in case that the first data and the second data are not the same data, a mismatch is considered.
In any of the above embodiments, the statistical information comprises at least one of: the time information of communication abnormity, the accumulated times of communication abnormity after the communication system is started, and the accumulated times of communication abnormity after the communication system is used.
In this embodiment, the content included in the statistical information is specifically given, wherein in the case that the statistical information includes the time information of the communication abnormality, a maintenance person can directly position the position of the communication abnormality according to the statistical information, so as to implement targeted maintenance.
In the embodiment, the statistical information is limited to include the accumulated number of communication abnormity occurring after the communication system is started so as to know the fault statistical condition of the communication system, and similarly, the maintenance personnel can evaluate the health state of the communication system when the statistical information includes the accumulated number of communication abnormity occurring after the communication system is used.
In any of the above embodiments, the control apparatus includes: a programmable logic controller.
In one embodiment, as shown in fig. 2, the control device 202 outputs instructions to the controlled device 204, and after waiting for the time T0, the controlled device 204 feeds back the inputs to implement a communication test once.
The waiting time T0 is a time dynamic time difference between the feedback input and the instruction output, that is, a time difference between the first time and the second time.
In one embodiment, as shown in fig. 3, the timing control signal is a timing control square wave, where the time T is a third time duration in this application, the time period T1 is a first time duration in this application, the time period T2 is a second time duration in this application, and the time period T3 is time T-time period T1-time period T2.
In one embodiment, a control program of a timing control waveform (i.e., a timing control signal), a data change period program, and a data timing comparison program are deployed on the control apparatus.
In one embodiment, as shown in fig. 4, a detection method of a communication system includes:
step 404, the data change cycle program is used for triggering the change of the first data;
step 406, sending the first data to the controlled device, and receiving second data fed back by the controlled device, where the time difference is a waiting time T0;
The control program of the time sequence control waveform is used as a fixed precise period control time sequence, the moment of change of a rising edge or a falling edge of a square wave signal is used as a starting signal of a cycle test, and the respective simultaneous timing operation of the time T and the time T1 is triggered synchronously. Data change period, i.e., time T: the square wave signal triggers the data source to change once from the instant the falling edge changes and the data source will remain stable and will not change any more during time T.
Specifically, the time period T1 is set to be a filtering time that is waiting for feedback to the target, so as to wait for the closed-loop device feedback input and command output cycle to complete.
The waiting time T0 is a real dynamic time difference between the time of the feedback input and the time of the instruction output, and is a period read-write real time when the device completes one closed loop, so that a time period T1> the waiting time T0, that is, a filtering time > the real time needs to be set in the program, and the time period T1=1.5 × the waiting time T0 may be set according to the practical effect time period T1.
In one embodiment, as shown in FIG. 5, the preset waveform is a triangular wave in which the data values vary periodically between Min minimum and Max maximum, cycling back and forth.
In this embodiment, the present invention has the following advantages:
(1) The automatic test is realized through the computer program code, the requirement of long-term stability automatic test is met, unattended operation, periodic diagnosis and timely error notification are realized, and therefore the core program code is provided for constructing a stable and reliable test platform.
(2) The invention realizes the long-term continuous uninterrupted circular automatic test by managing the control time sequence, and can meet the long-term stability test problem of long-term day, month and even year span.
(3) The invention solves the problem of sectional management of the control time sequence in different time periods and the problem of management of data feedback filtering time periods and data source and feedback comparison time periods in a time period sectional management mode.
(4) The invention can record the error times and the error time, and can prove the long-term operation reliability of the equipment by keeping the zero error state for long-term operation.
(5) The invention is a general test method which can be overlapped for use, namely a plurality of different test cycles are used simultaneously, and the problem of parallel automatic test under an actual complex system is solved.
(6) The invention is a universal test method, which can be nested together, namely, a method of nesting a plurality of small test loops in a large test loop is used to realize the automatic test problem under a more complex system.
(7) The time T, the time period T1, the time period T2 and the time period T3 are set manually through a computer program, and parameters can be modified according to the requirement of realizing the test.
In one embodiment, the present invention provides a communication system including a control device and a controlled device communicating with the control device, for use in the detection method of the communication system as in the above embodiments.
In the above-described embodiment, the control device communicates with the controlled device through the industrial bus.
In the description of the present invention, the terms "plurality" or "a plurality" refer to two or more, and unless otherwise specifically limited, the terms "upper", "lower", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are merely for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present invention; the terms "connected," "mounted," "secured," and the like are to be construed broadly and include, for example, fixed connections, removable connections, or integral connections; may be directly connected or indirectly connected through an intermediate. The specific meanings of the above terms in the present invention can be understood according to specific situations by those of ordinary skill in the art.
In the description of the present invention, the description of the terms "one embodiment," "some embodiments," "specific embodiments," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In the present invention, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (11)
1. A detection method of a communication system, wherein the communication system includes a control device and a controlled device communicating with the control device, and the detection method is applied to the control device side, and comprises:
detecting a timing control signal, the timing control signal comprising a plurality of repeating and consecutive repeating units;
transmitting first data to the controlled device based on the waveform drawn by the detected data being identical to the waveform in the repeating unit;
and determining a detection result according to a matching result of the first data and second data fed back by the controlled equipment.
2. The method of claim 1, further comprising:
starting timing based on the fact that the waveform drawn by the detected data is consistent with the waveform in the repeating unit;
and receiving the second data under the condition that the timing duration does not reach the first duration.
3. The method of claim 2, further comprising:
and matching the first data with the second data within a second time length after the timing time length reaches the first time length to determine the matching result.
4. The method of claim 2, further comprising:
acquiring historical communication data of the control device and the controlled device, wherein the historical communication data comprises a first time when the control device sends the first data to the controlled device and a second time when the controlled device feeds back the second data to the control device;
determining the waiting time of the control equipment according to the first time and the second time;
and determining the first time length according to the waiting time length.
5. The method of claim 4, wherein the first time duration is greater than the wait time duration.
6. The detection method of a communication system according to claim 3,
the duration of each repeating unit is a third duration, wherein the third duration is greater than the sum of the first duration and the second duration.
7. The method according to any one of claims 1 to 6, wherein the first data is transformed every fourth time length, the first data being transformed according to a preset waveform;
wherein the fourth time period is equal to the time period of the repeating unit.
8. The method according to any one of claims 1 to 6, wherein determining the detection result according to the matching result between the first data and the second data fed back by the controlled device specifically includes:
determining a communication anomaly based on the first data not matching the second data;
and outputting the statistical information of the communication abnormity.
9. The method of claim 8, wherein the statistical information comprises at least one of:
the time information of the communication abnormity, the accumulated times of the communication abnormity after the communication system is started, and the accumulated times of the communication abnormity after the communication system is used.
10. The detection method of a communication system according to any one of claims 1 to 6, wherein the control device comprises: a programmable logic controller.
11. A communication system comprising a control device and a controlled device communicating with the control device, characterized by a detection method for implementing the communication system of any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211048510.7A CN115297026B (en) | 2022-08-29 | 2022-08-29 | Communication system and detection method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211048510.7A CN115297026B (en) | 2022-08-29 | 2022-08-29 | Communication system and detection method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115297026A true CN115297026A (en) | 2022-11-04 |
CN115297026B CN115297026B (en) | 2024-06-18 |
Family
ID=83831547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211048510.7A Active CN115297026B (en) | 2022-08-29 | 2022-08-29 | Communication system and detection method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115297026B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105849573A (en) * | 2013-11-06 | 2016-08-10 | 泰拉丁公司 | Automated test system with event detection capability |
CN111263891A (en) * | 2018-09-30 | 2020-06-09 | Oppo广东移动通信有限公司 | Instruction time testing method and system and computer storage medium |
CN112463609A (en) * | 2020-11-30 | 2021-03-09 | 重庆长安汽车股份有限公司 | Function test method and device for transverse control fault of control system, controller and computer readable storage medium |
CN113672442A (en) * | 2021-08-18 | 2021-11-19 | 长鑫存储技术有限公司 | Signal testing method and device and storage medium |
CN114039613A (en) * | 2021-11-30 | 2022-02-11 | 广东美的厨房电器制造有限公司 | Communication module, control method and device thereof, readable storage medium and household appliance |
CN114281620A (en) * | 2021-12-06 | 2022-04-05 | 阿里巴巴达摩院(杭州)科技有限公司 | Method and device for testing I2C bus signals |
CN114814524A (en) * | 2022-03-18 | 2022-07-29 | 杭州加速科技有限公司 | Detection card, detection system and detection method |
-
2022
- 2022-08-29 CN CN202211048510.7A patent/CN115297026B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105849573A (en) * | 2013-11-06 | 2016-08-10 | 泰拉丁公司 | Automated test system with event detection capability |
CN111263891A (en) * | 2018-09-30 | 2020-06-09 | Oppo广东移动通信有限公司 | Instruction time testing method and system and computer storage medium |
CN112463609A (en) * | 2020-11-30 | 2021-03-09 | 重庆长安汽车股份有限公司 | Function test method and device for transverse control fault of control system, controller and computer readable storage medium |
CN113672442A (en) * | 2021-08-18 | 2021-11-19 | 长鑫存储技术有限公司 | Signal testing method and device and storage medium |
CN114039613A (en) * | 2021-11-30 | 2022-02-11 | 广东美的厨房电器制造有限公司 | Communication module, control method and device thereof, readable storage medium and household appliance |
CN114281620A (en) * | 2021-12-06 | 2022-04-05 | 阿里巴巴达摩院(杭州)科技有限公司 | Method and device for testing I2C bus signals |
CN114814524A (en) * | 2022-03-18 | 2022-07-29 | 杭州加速科技有限公司 | Detection card, detection system and detection method |
Non-Patent Citations (1)
Title |
---|
高亮;宫久路;谌德荣;: "接口时序一致性连续定量监测技术研究", 计算机测量与控制, vol. 28, no. 05, 25 May 2020 (2020-05-25), pages 31 - 35 * |
Also Published As
Publication number | Publication date |
---|---|
CN115297026B (en) | 2024-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5068822B2 (en) | 2-wire process control loop diagnostics | |
RU2449338C2 (en) | Manual bus monitor for field servicing | |
EP2701024B1 (en) | Portable device maintenance support apparatus, system, and method | |
US7952485B2 (en) | Remote monitoring system | |
CN107132833B (en) | Master device, slave device, control method thereof, recording medium, and error monitoring system | |
US20100121951A1 (en) | Method and arrangement for diagnosing networks including field bus systems | |
JP2009512949A (en) | Method and apparatus for automatically detecting abnormal consumption with a practical meter | |
KR101865773B1 (en) | System for managing production using location-based service and method therefor | |
CN115297026A (en) | Communication system and detection method thereof | |
JP2001159913A (en) | Method for inspecting function of limit switch | |
EP1415260A2 (en) | Production pattern-recognition artificial neural net (ann) with event-response expert system (es)-yieldshield tm | |
CN109870834B (en) | Liquid crystal glass power-up detection system | |
JP2023181157A (en) | Apparatuses and methods for non-disruptive replacement of simplex i/o components | |
CN109947527A (en) | Workflow task executes method, apparatus, equipment and computer readable storage medium | |
CN114578786A (en) | Vehicle test system | |
JP2005136811A (en) | Device and method for diagnosis on base station | |
JP2011237952A (en) | Plant operation management/supporting system | |
CN110569047A (en) | method for remotely updating human-computer interface based on detachable communication module | |
CN109284200A (en) | Server exception processing method, equipment and processor | |
Saputra et al. | One Time Password Authentication for Machine Activation Monitoring System Based on Wireless Network | |
CN117155788B (en) | SAR testing system, cloud platform and method for electronic product | |
KR20240051065A (en) | Systems and methods for providing automatic batch validation of process data | |
CN211086972U (en) | Monitoring system of battery environment testing equipment | |
EP4027057A2 (en) | Burner health monitoring using vibration sensing | |
UA125082C2 (en) | Remote control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |