Communication device, communication system, and communication method

By introducing a disconnected control unit into the communication device, the duration of the abnormal signal of the communication cable is detected, and the link status is controlled based on the duration, the link interruption problem caused by abnormal misjudgment in the prior art is solved, and normal data transmission is achieved and robustness is improved.

CN119728502APending Publication Date: 2025-03-28SHENZHEN INOVANCE TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411927623.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

When the prior art detects abnormal signals of communication cables, it may lead to abnormal misjudgment and unnecessary link interruption, affecting the normal data transmission between communication devices.

Method used

A communication device is designed, including a disconnection control unit, which is used to detect whether there is an abnormal signal in the communication cable and to determine whether the duration of the abnormal signal reaches the target disconnection time. If the duration does not reach the target duration, the control communication link remains connected.

Benefits of technology

It effectively avoids unnecessary link interrupts caused by abnormal misjudgment, ensures normal data transmission between communication devices, and improves the robustness and control accuracy of communication links.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119728502A_ABST
    Figure CN119728502A_ABST
Patent Text Reader

Abstract

The invention discloses communication equipment, a communication system and a communication method, and relates to the technical field of industrial Ethernet, and the disclosed communication equipment comprises a disconnection control unit and a communication unit; the offline control unit is arranged in the communication unit; and the communication unit and other communication equipment form a communication link through a communication cable. Whether an abnormal signal exists in the communication cable or not is detected through the offline control unit; the disconnection control unit judges whether the duration of the abnormal signal reaches the target disconnection duration or not when the communication cable has the abnormal signal; and when the duration of the abnormal signal does not reach the target offline duration, the offline control unit controls the communication link to keep the connection state. Therefore, compared with the prior art, unnecessary link interruption caused by abnormal misjudgment can be avoided, and normal data transmission between the communication devices is effectively ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of industrial Ethernet, and in particular to a communication device, a communication system and a communication method. Background Art

[0002] In industrial Ethernet, each communication device communicates data with each other after establishing a communication link. During the communication process, if the communication device detects an abnormal signal generated by abnormal factors such as poor contact of the communication cable or electromagnetic compatibility interference, it will determine that there is an abnormality and disconnect the communication link.

[0003] However, if the above abnormal factors are instantaneous, that is, the abnormal signal only appears for a short time and then disappears immediately, disconnecting the communication link at this time will lead to misjudgment of the abnormality, causing unnecessary link interruption and affecting normal data transmission between communication devices.

[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of the present application is to provide a method, device, equipment and storage medium for writing stream data, aiming to solve the technical problem that abnormal misjudgment exists in the prior art and affects the normal data transmission between communication devices.

[0006] To achieve the above object, the present application provides a communication device, the communication device comprising: a communication unit and a disconnection control unit;

[0007] The offline control unit is arranged in the communication unit;

[0008] The communication unit forms a communication link with other communication devices via a communication cable;

[0009] The offline control unit is used to detect whether there is an abnormal signal in the communication cable;

[0010] The offline control unit is further configured to determine, when the abnormal signal exists in the communication cable, whether the duration of the abnormal signal reaches a target offline duration;

[0011] The offline control unit is further configured to control the communication link to maintain a connected state when the duration of the abnormal signal does not reach the target offline duration.

[0012] In one embodiment, the offline control unit is further used to obtain a pre-configured service communication offline duration;

[0013] The offline control unit is further configured to generate the target offline duration according to the range of the service communication offline duration, wherein the target offline duration is less than or equal to the service communication offline duration.

[0014] In one embodiment, the offline control unit is further used to determine whether the service communication offline duration is lower than a first preset reference value;

[0015] The offline control unit is further configured to use the service communication offline duration as the target offline duration when the service communication offline duration is lower than the first preset reference value.

[0016] In one embodiment, the offline control unit is further used to use the first preset reference value as the target offline duration when the service communication offline duration is greater than or equal to the first preset reference value and less than or equal to the second preset reference value.

[0017] In one embodiment, the communication unit includes: a main control unit, a physical layer unit and a terminal;

[0018] The offline control unit is arranged in the main control unit or the physical layer unit;

[0019] The physical layer unit is connected to the main control unit and the terminal respectively;

[0020] The terminal of the communication unit and the other communication equipment form a communication link through a communication cable.

[0021] In one embodiment, the physical layer unit includes: a signal checking unit;

[0022] The signal checking unit is connected to the offline control unit;

[0023] The signal checking unit is used to obtain the signal quality information of the communication cable and send the signal quality information to the offline control unit;

[0024] The offline control unit is further used to determine whether there is an abnormal signal in the communication cable according to the signal quality information;

[0025] The offline control unit is further configured to control the communication link to maintain a connected state when the abnormal signal exists and the duration of the abnormal signal does not reach the target offline duration.

[0026] In one embodiment, the physical layer unit further includes: a link control unit;

[0027] The link control unit is connected to the offline control unit;

[0028] The offline control unit is further configured to output an offline trigger signal to the link control unit when an abnormal signal exists in the communication cable and the duration of the abnormal signal reaches the target offline duration;

[0029] The link control unit is used to control the disconnection of the communication link based on the offline trigger signal.

[0030] In one embodiment, the physical layer unit further includes: a link establishment unit;

[0031] The link establishing unit is connected to the offline control unit;

[0032] The link establishing unit is used to send a link signal to the offline control unit when the communication link is successfully established;

[0033] The offline control unit is further configured to, when receiving the link signal, execute the operation of determining whether there is an abnormal signal in the communication cable according to the signal quality information.

[0034] In addition, to achieve the above object, the present application also proposes a communication system, the communication system comprising at least two communication devices as described above;

[0035] The communication units of the communication devices form corresponding communication links through communication cables.

[0036] In addition, to achieve the above purpose, the present application also proposes a communication method based on the communication device described above, the communication method comprising:

[0037] Check whether there are abnormal signals in the communication cable;

[0038] When the abnormal signal exists in the communication cable, determining whether the duration of the abnormal signal reaches the target offline duration;

[0039] When the duration of the abnormal signal does not reach the target offline duration, the communication link is controlled to maintain a connected state.

[0040] One or more technical solutions proposed in this application have at least the following technical effects:

[0041] The communication device proposed in the present application includes: a disconnection control unit and a communication unit; the disconnection control unit is arranged in the communication unit; the communication unit and other communication devices form a communication link through a communication cable. The present application detects whether there is an abnormal signal in the communication cable through the disconnection control unit; when there is an abnormal signal in the communication cable, the disconnection control unit determines whether the duration of the abnormal signal reaches the target disconnection duration; when the duration of the abnormal signal does not reach the target disconnection duration, the disconnection control unit controls the communication link to remain connected. Since the communication device of the present application will continue to keep the communication link connected when it detects that there is an abnormal signal in the communication cable, if the duration of the abnormal signal does not reach the target disconnection duration, therefore, compared with the prior art, the present application can avoid unnecessary link interruption caused by abnormal misjudgment, and effectively ensure the normal data transmission between communication devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0044] Figure 1 This is a schematic diagram of the structure of the first embodiment of the communication device of the present application;

[0045] Figure 2 This is a structural diagram of a disconnection control unit in the second embodiment of the communication device of the present application;

[0046] Figure 3 This is a schematic diagram of the structure of the third embodiment of the communication device of the present application;

[0047] Figure 4 This is a schematic diagram of the structure of different communication devices in the third embodiment of the present application;

[0048] Figure 5 This is a schematic diagram of the structure of a physical layer unit in the third embodiment of the present application;

[0049] Figure 6 This is a schematic diagram of the structure of the communication system of this application;

[0050] Figure 7 This is a flow chart of the communication method of this application.

[0051] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0052] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0053] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0054] The main solution of the embodiment of the present application is: the offline control unit of the communication device detects whether there is an abnormal signal in the communication cable; when there is an abnormal signal in the communication cable, it determines whether the duration of the abnormal signal reaches the target offline duration; when the duration of the abnormal signal does not reach the target offline duration, the communication link is controlled to remain connected.

[0055] Since the prior art uses a transient abnormal factor, that is, when the abnormal signal appears for only a short time and then disappears immediately, disconnecting the communication link will lead to a misjudgment of the abnormality, causing unnecessary link interruption and affecting normal data transmission between communication devices.

[0056] The present application provides a solution. When a communication device detects an abnormal signal in a communication cable, if the duration of the abnormal signal does not reach the target disconnection duration, the communication link will continue to be connected. Therefore, compared with the prior art, the present application can avoid unnecessary link interruption caused by abnormal misjudgment, and effectively ensure normal data transmission between communication devices.

[0057] Based on this, the embodiment of the present application provides a communication device, referring to Figure 1 , Figure 1 This is a schematic diagram of the structure of the first embodiment of the communication device of the present application.

[0058] In this embodiment, the communication device includes: a communication unit 100 and a disconnection control unit 200 .

[0059] The offline control unit 200 is disposed in the communication unit 100 .

[0060] The communication unit 100 forms a communication link with other communication devices through a communication cable.

[0061] It should be noted that the structures of the above-mentioned other communication devices are consistent with the structure of the communication device proposed in this embodiment, and may also include a disconnection control unit 200 and a communication unit 100. The disconnection control unit 200 and the communication unit 100 are consistent with the present embodiment. Please refer to the relevant descriptions of this embodiment and the following embodiments, and no further details will be given here.

[0062] The communication link may be a physical path and / or a logical path connecting two communication devices.

[0063] It should be noted that the communication unit 100 may be a unit for performing data transmission with other communication devices.

[0064] It is understandable that the offline control unit 200 may be a unit for controlling the connection state of the communication link.

[0065] The offline control unit 200 is used to detect whether there is an abnormal signal in the communication cable.

[0066] In a specific implementation, the parameter ranges corresponding to different states can be set according to the normal working state and possible abnormal states of the communication cable, and the parameter thresholds include but are not limited to the voltage range, current range, frequency range, etc. The above-mentioned communication unit 100 can be provided with a number of sensors to detect the state of the communication cable, such as abnormal states such as poor contact and vibration, and feed back the corresponding state signal to the offline control unit 200. After receiving the state signal, the offline control unit 200 can compare the amplitude of the state signal with the set parameter range, determine the corresponding state according to the parameter range to which the amplitude of the state signal belongs, and determine whether the state signal generated by the communication cable is an abnormal signal.

[0067] The offline control unit 200 is further configured to determine, when the abnormal signal exists in the communication cable, whether the duration of the abnormal signal reaches a target offline duration.

[0068] It should be noted that the above target offline duration may be a preset time value, which is used to determine whether the duration of the abnormal signal is long.

[0069] In a specific implementation, when the above-mentioned offline control unit 200 detects that the amplitude of the status signal is within the parameter range corresponding to the abnormal state, it determines that the status signal is an abnormal signal, that is, there is an abnormal signal in the communication cable. At this time, it can be further determined whether the duration of the abnormal signal generated by the communication cable reaches the target offline duration, that is, whether the communication cable continues to generate abnormal signals within the target offline duration.

[0070] The offline control unit 200 is further configured to control the communication link to maintain a connected state when the duration of the abnormal signal does not reach the target offline duration.

[0071] In a specific implementation, when the above-mentioned offline control unit 200 detects that the duration of the abnormal signal does not reach the target offline duration, that is, when the amplitude of the received status signal is within the parameter range corresponding to the normal state, it determines that the communication cable has returned to normal within the target offline duration, and can control the communication link to remain connected, thereby ensuring that the communication link will not be disconnected when an abnormality occurs in a short period of time, ensuring normal data transmission, effectively improving the robustness of the communication equipment, and reducing the sensitivity to the communication cable or the on-site electromagnetic compatibility environment.

[0072] Furthermore, when the above-mentioned offline control unit 200 detects that the duration of the abnormal signal reaches the target offline duration, it determines that the abnormal state of the communication cable has lasted for a long time, such as the connection between the communication unit and the communication cable has been disconnected. At this time, the communication unit 100 can be controlled to stop running to disconnect the communication link, and at the same time, fault information of the link loss is fed back.

[0073] The communication device of this embodiment includes: a disconnection control unit and a communication unit; the disconnection control unit is arranged in the communication unit; the communication unit and other communication devices form a communication link through a communication cable. The disconnection control unit of this embodiment detects whether there is an abnormal signal in the communication cable; when there is an abnormal signal in the communication cable, the disconnection control unit determines whether the duration of the abnormal signal reaches the target disconnection duration; when the duration of the abnormal signal does not reach the target disconnection duration, the disconnection control unit controls the communication link to remain connected. Since the communication device of this embodiment will continue to keep the communication link connected when it detects that there is an abnormal signal in the communication cable, if the duration of the abnormal signal does not reach the target disconnection duration, therefore, compared with the prior art, the present application can avoid unnecessary link interruption caused by abnormal misjudgment, and effectively ensure normal data transmission between communication devices.

[0074] Based on the first embodiment of the present application, the second embodiment of the present application is proposed. In the second embodiment of the present application, the same or similar contents as those of the first embodiment can be referred to the above introduction, and will not be repeated in the following.

[0075] In this embodiment, the offline control unit 200 is further used to obtain a pre-configured service communication offline duration.

[0076] It should be noted that the above-mentioned service communication disconnection duration may be a pre-configured time value, which may be used as a critical value that enables the user to clearly perceive that the communication device is disconnected.

[0077] In a specific implementation, the offline control unit 200 may receive the written service communication offline duration and save it locally. When an abnormal signal is detected, the service communication offline duration may be read locally.

[0078] The offline control unit 200 is further configured to generate the target offline duration according to the range of the service communication offline duration, and the target offline duration is less than or equal to the service communication offline duration.

[0079] In a specific implementation, the above-mentioned offline control unit 200 can automatically generate a target offline duration that is less than or equal to the service communication offline duration based on the service communication offline duration.

[0080] In one possible implementation, refer to Figure 2 , Figure 2 This is a schematic diagram of the structure of the offline control unit in the second embodiment of the communication device of the present application. Figure 2 In the figure, T1 is the duration of the abnormal signal, and T2 is the target offline duration. A comparator U1 may be provided in the offline control unit 200. When the status signal of the communication cable is detected to be an abnormal signal, the offline duration of the service communication is read, and T2, which is less than or equal to the offline duration of the service communication, is generated. Then, the comparator U1 is driven to run, and T1 is input to the positive input terminal of the comparator U1, and T2 is input to the negative input terminal. When it is detected that T1 is less than or equal to T2, that is, the duration of the abnormal signal is less than or equal to the target offline duration, a low-level trigger signal can be output to the communication unit 100 to keep the communication unit 100 in the running state and enable the communication link to operate normally; when it is detected that T1 is greater than T2, that is, the duration of the abnormal signal is greater than the target offline duration, a high-level trigger signal is sent to the communication unit 100 to control the communication unit 100 to stop running and disconnect the communication link.

[0081] It should be understood that since the target disconnection duration is lower than or equal to the service communication disconnection duration, the target disconnection duration can be deemed to be shorter. When an abnormality occurs in the communication cable, if the duration of the abnormality reaches the target disconnection duration, the communication link is disconnected in a timely manner, which can avoid abnormal interference that may be felt by users for a long time during normal data transmission, affecting the user experience.

[0082] In this embodiment, the offline control unit 200 is further used to determine whether the service communication offline duration is lower than a first preset reference value.

[0083] It should be noted that the above-mentioned first preset reference value can be a pre-set time value used to determine whether the service communication disconnection duration is a short time value, and is used to participate in the generation of the target disconnection duration.

[0084] In a specific implementation, the above-mentioned disconnection control unit 200 may compare the service communication disconnection duration with a first preset reference value to determine whether the service communication disconnection duration is lower than the first preset reference value.

[0085] The offline control unit 200 is further configured to use the service communication offline duration as the target offline duration when the service communication offline duration is lower than the first preset reference value.

[0086] In a specific implementation, when the above-mentioned disconnection control unit 200 detects that the service communication disconnection duration is lower than the first preset reference value, it can be determined that the written service communication disconnection duration is shorter and will not make the user obviously aware that the communication device is disconnected. The service communication disconnection duration can be directly configured as the target disconnection duration.

[0087] In this embodiment, the offline control unit 200 is further used to use the first preset reference value as the target offline duration when the service communication offline duration is greater than or equal to the first preset reference value and less than or equal to the second preset reference value.

[0088] It should be noted that the second preset reference value may be a pre-set time value used to determine whether the service communication disconnection duration is long, and is used to participate in the generation of the target disconnection duration. The second preset reference value is greater than or lower than the preset reference value.

[0089] In a specific implementation, when the above-mentioned disconnection control unit 200 detects that the service communication disconnection duration is greater than or equal to the first preset reference value and less than or equal to the second preset reference value, it can be determined that the first preset reference value is smaller and the first preset reference value can be used as the target disconnection duration.

[0090] In addition, when the above-mentioned offline control unit 200 detects that the service communication offline duration is greater than the second preset reference value, it can determine that the service communication offline duration is long, and can scale the service communication offline duration by a preset ratio to obtain the target offline duration.

[0091] For example, in EtherCAT communication, 10ms is used as an example for the first preset reference value, 20ms is used as an example for the second preset reference value, 0.5 is used as an example for the preset ratio, T3 is used as the service communication offline duration, and T4 is used as the target offline duration. When T3>20ms, T4=0.5×T2; when 10ms≤T3≤20ms, T4=10ms; when 0<T3<10ms, T4=10ms. In ModbusTCP or Ethernet / IP communication, 1000ms is used as an example for the first preset reference value, when T3≤1000ms, T3=T4; when T3 is greater than 1000ms, T4=1000ms.

[0092] This embodiment uses the service communication disconnection duration as the target disconnection duration when the service communication disconnection duration is lower than the first preset reference value, and uses the first preset reference value as the target disconnection duration when the service communication disconnection duration is greater than or equal to the first preset reference value and less than or equal to the second preset reference value. This allows different target disconnection durations to be configured according to different ranges of the service communication disconnection duration, effectively improving the configuration accuracy of the target disconnection duration, and indirectly improving the control accuracy of the communication link.

[0093] Based on the first and second embodiments of the present invention, the third embodiment of the present application is proposed. In the third embodiment of the present application, the same or similar contents as those of the first and second embodiments can be referred to the above introduction, and will not be repeated in the following. Figure 3 , Figure 3 This is a schematic diagram of the structure of the third embodiment of the communication device of the present application.

[0094] In this embodiment, the communication unit 100 includes: a main control unit 101 , a physical layer unit 102 and a terminal 103 .

[0095] The offline control unit 200 is disposed in the main control unit 101 or the physical layer unit 102 .

[0096] The physical layer unit 102 is connected to the main control unit 101 and the terminal 103 respectively.

[0097] The terminal 103 of the communication unit 100 and the other communication devices form a communication link through a communication cable.

[0098] It should be noted that the main control unit 101 can be a unit or chip that processes data from different parts and responds to maintain the normal operation of the system. For example, the main control unit 101 can process the received information, including data calculation, logical judgment, etc., to achieve specific functional requirements.

[0099] It is understandable that the physical layer unit 102 may be a unit corresponding to the lowest layer in the Open System Interconnect (OSI), responsible for transmitting the original bit stream.

[0100] It should be noted that the terminal 103 may be an electrical connection point for connecting a communication cable to achieve connection with other communication devices.

[0101] Understandably, Figure 3The physical layer unit 102 and terminal 103 shown are for illustration only and do not limit the present solution. In actual application scenarios, the communication unit includes at least one Ethernet port (the Ethernet port is composed of the physical layer unit 102 and the terminal 103), and an Ethernet port includes at least one physical layer unit 102.

[0102] For ease of understanding, refer to Figure 4 This is for illustration only, but does not limit this solution. Figure 4 This is a schematic diagram of the structure of different communication devices in the third embodiment of the present application. Figure 4 In the embodiment, the communication device of this embodiment and other communication devices are illustrated by taking the first communication device and the second communication device as examples. The first communication device and the second communication device may include a main control unit 101, a physical layer unit 102 and a terminal 103, and the main control unit 101 or the physical layer unit 102 of the two may be provided with a corresponding disconnection control unit 200. Figure 4 As shown, the first communication device includes a first main control unit, a first physical layer unit and a first terminal, and the second communication device includes a second main control unit, a second physical layer unit and a second terminal, and the first terminal and the second terminal are connected via a communication cable. The first main control unit or the first physical layer unit in the first communication device may be provided with a first disconnection control unit, and the second main control unit or the second physical layer unit in the second communication device may be provided with a second disconnection control unit.

[0103] Among them, the first main control unit and the second main control unit can be the main control unit 101 in the corresponding communication device, the first physical layer unit and the second physical layer unit can be the physical layer unit 102 in the corresponding communication device, and the first terminal and the second terminal can be the terminal 103 in the corresponding communication device.

[0104] Further Figure 4 For explanation, after the first physical layer unit and the second physical layer unit establish a communication link, the first physical layer unit can obtain the target identification information fed back by the second physical layer unit, and the target identification information is used to characterize the identity of the second physical layer unit. The first physical layer unit can match the obtained target identification information with the identification information in the preset database, and when the match is successful, it is determined that the second communication device also has a disconnection control unit 200, and then executes the operation of detecting whether there is an abnormal signal in the communication cable as described above.

[0105] It should be understood that the preset database may be a database containing multiple identification information, the identification information may be information characterizing the identity of the corresponding communication device, and the communication devices corresponding to the identification information stored in the preset database may all be devices equipped with a disconnection control unit 200.

[0106] In this embodiment, reference Figure 5 , Figure 5 This is a schematic diagram of the structure of the physical layer unit in the third embodiment of the present application. The physical layer unit 102 includes: a signal checking unit 1021.

[0107] The signal checking unit 1021 is connected to the offline control unit 200 .

[0108] It should be noted that the above-mentioned signal inspection unit 1021 can be a unit that analyzes the signal transmitted by the communication cable and extracts signal quality information.

[0109] The signal checking unit 1021 is used to obtain signal quality information of the communication cable and send the signal quality information to the offline control unit 200.

[0110] It should be noted that the above-mentioned signal quality information may be information that can reflect the communication quality of the communication cable.

[0111] In a specific implementation, the signal inspection unit 1021 can collect the signal transmitted on the communication cable, and then extract the wireless characteristic indicators of the signal, such as signal-to-noise ratio, bit error rate, etc., and use the extracted wireless characteristic indicators as signal quality information, and then send the signal quality information to the offline control unit 200.

[0112] The offline control unit 200 is further configured to determine whether there is an abnormal signal in the communication cable according to the signal quality information.

[0113] In a specific implementation, the parameter ranges of the wireless characteristic indicators corresponding to normal signals and abnormal signals can be pre-configured for the offline control unit 200. The offline control unit can determine the parameter range of the wireless characteristic indicators in the signal quality information, and determine whether there is an abnormal signal in the communication cable according to the parameter range.

[0114] The offline control unit 200 is further configured to control the communication link to maintain a connected state when the abnormal signal exists and the duration of the abnormal signal does not reach the target offline duration.

[0115] In a specific implementation, when the above-mentioned disconnection control unit 200 detects that the wireless characteristic indicator in the signal quality information is within the parameter range corresponding to the abnormal signal, it determines that the signal transmitted by the communication cable at this time is an abnormal signal, and detects whether the duration of the abnormal signal reaches the target disconnection duration. When the duration of the abnormal signal does not reach the target disconnection duration, that is, when the abnormal signal disappears within the target disconnection duration, the communication link can be controlled to remain connected and no disconnection operation is performed; on the contrary, when the duration of the abnormal signal reaches the target disconnection duration, the communication link can be controlled to disconnect.

[0116] Accordingly, when the above-mentioned offline control unit 200 detects that the wireless characteristic indicator in the signal quality information is within the parameter range corresponding to the normal signal, it determines that the signal transmitted by the communication cable at this time is not an abnormal signal, and can control the communication link to remain connected without performing a disconnection operation.

[0117] In this embodiment, the physical layer unit further includes: a link control unit 1022 .

[0118] The link control unit 1022 is connected to the offline control unit 200 .

[0119] It should be noted that the offline control unit 200 may be a unit that directly controls the communication link.

[0120] The offline control unit 200 is further configured to output an offline trigger signal to the link control unit 1022 when an abnormal signal exists in the communication cable and the duration of the abnormal signal reaches the target offline duration.

[0121] It should be noted that the above-mentioned offline trigger signal can be a signal that triggers the link control unit 1022 to perform a disconnection operation on the communication link.

[0122] In a specific implementation, when the above-mentioned offline control unit 200 detects an abnormal signal in the communication cable and the duration of the abnormal signal reaches the target offline duration, it can generate a offline trigger signal and output the offline trigger signal to the link control unit 1022.

[0123] The link control unit 1022 is used to control the disconnection of the communication link based on the offline trigger signal.

[0124] In a specific implementation, the link control unit 1022 may perform a disconnection operation on the communication link upon receiving a disconnection trigger signal, thereby disconnecting the communication link between the communication device and other communication devices.

[0125] It should be understood that the link control unit 1022 may keep the communication link between the communication device and other communication devices in a connected state when no disconnection trigger signal is received.

[0126] In this embodiment, the physical layer unit 102 further includes: a link establishing unit 1023 .

[0127] The link establishing unit 1023 is connected to the offline control unit 200 .

[0128] It should be noted that the link establishing unit 1023 may be a unit for establishing a communication link between the communication device and other communication devices.

[0129] Among them, the physical layer unit 102 of other communication devices that establish a communication link with the communication device may also include the above-mentioned signal inspection unit 1021, link control unit 1022 and link establishment unit 1023. Related descriptions can be referred to in this embodiment and will not be repeated here.

[0130] The link establishing unit 1023 is used to send a link signal to the offline control unit 200 when the communication link is successfully established.

[0131] It should be noted that the above link signal may be a signal indicating that the communication link is successfully established.

[0132] In a specific implementation, the link establishment unit 1023 and other communication devices may establish a communication link based on automatic negotiation of the Ethernet standard, or may establish a communication link by a mandatory set model, which is not limited in this embodiment. After the communication link is successfully established, the link establishment unit 1023 may generate the link signal and output the link signal to the offline control unit 200.

[0133] The offline control unit 200 is further configured to, upon receiving the link signal, execute the operation of determining whether there is an abnormal signal in the communication cable according to the signal quality information.

[0134] In a specific implementation, when the above-mentioned offline control unit 200 receives the link signal, it confirms that the communication link has been successfully established. At this time, it can execute the operation of determining whether there is an abnormal signal in the communication cable according to the signal quality information to complete the control of the communication link.

[0135] When the offline control unit of this embodiment receives the link signal sent by the link establishment unit, it executes the operation of judging whether there is an abnormal signal in the communication cable according to the signal quality information sent by the signal detection unit. When there is an abnormal signal in the communication cable and the duration of the abnormal signal reaches the target offline duration, it outputs a offline trigger signal to the link control unit. The link control unit controls the disconnection of the communication link based on the offline trigger signal, thereby realizing accurate control of the communication link and effectively improving the control accuracy of the communication link.

[0136] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the communication device of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.

[0137] The present application also provides a communication system, referring to Figure 6 , Figure 6 The communication system of the present application is shown in FIG. 1. The communication system includes at least two communication devices as described above, and the communication units of each communication device form corresponding communication links through communication cables.

[0138] like Figure 6 As shown, the communication system may include communication device 1, communication device 2, communication device 3, communication device 4, etc. The number of communication devices can be set according to actual needs. Each communication device can be the communication device described in the above embodiments. The relevant description can refer to the above embodiments and will not be repeated here.

[0139] The communication unit of each communication device may have at least one Ethernet port for establishing a communication link with other communication devices, such as Figure 6 In the embodiment, the communication device 1 may have at least two Ethernet ports, one Ethernet port establishes a communication link with the communication device 2, and the other Ethernet port establishes a communication link with the communication device 4.

[0140] The communication system provided by the present application adopts the communication devices in the above embodiments, and can solve the technical problem that the prior art has abnormal misjudgment, which affects the normal data transmission between the communication devices. Compared with the prior art, the beneficial effects of the communication system provided by the present application are the same as the beneficial effects of the communication devices provided by the above embodiments, and the other technical features of the communication system are the same as the features disclosed in the above communication device embodiments, which will not be described in detail here.

[0141] The present application also provides a communication method based on the communication device described above, referring to Figure 7 , Figure 7 The communication method of the present application is shown in the flowchart, wherein the communication method includes steps S10 to S30:

[0142] Step S10, detecting whether there is an abnormal signal in the communication cable.

[0143] It should be noted that the execution subject of the communication method of the present application may be the communication device mentioned above, and may be specifically executed by a disconnection control unit in the communication device.

[0144] Step S20, when the abnormal signal exists in the communication cable, it is determined whether the duration of the abnormal signal reaches the target offline duration.

[0145] Step S30: When the duration of the abnormal signal does not reach the target offline duration, control the communication link to maintain the connection state.

[0146] The communication method provided by the present application is applied to the communication device in the above embodiment, and can solve the technical problem that the prior art has abnormal misjudgment, which affects the normal data transmission between communication devices. Compared with the prior art, the beneficial effects of the communication method provided by the present application are the same as the beneficial effects of the communication device provided by the above embodiment, and the other technical features of the communication system are the same as the features disclosed in the above communication device embodiment, which will not be repeated here.

[0147] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0148] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0149] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0150] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A communication device, characterized in that: The communication device comprises: a communication unit and a disconnection control unit; The offline control unit is arranged in the communication unit; The communication unit forms a communication link with other communication devices via a communication cable; The offline control unit is used to detect whether there is an abnormal signal in the communication cable; The offline control unit is further configured to determine, when the abnormal signal exists in the communication cable, whether the duration of the abnormal signal reaches a target offline duration; The offline control unit is further configured to control the communication link to maintain a connected state when the duration of the abnormal signal does not reach the target offline duration.

2. The communication device according to claim 1, characterized in that The offline control unit is further used to obtain a pre-configured service communication offline duration; The offline control unit is further configured to generate the target offline duration according to the range of the service communication offline duration, wherein the target offline duration is less than or equal to the service communication offline duration.

3. The communication device according to claim 2, characterized in that The offline control unit is further used to determine whether the service communication offline duration is lower than a first preset reference value; The offline control unit is further configured to use the service communication offline duration as the target offline duration when the service communication offline duration is lower than the first preset reference value.

4. The communication device according to claim 3, characterized in that The offline control unit is further configured to use the first preset reference value as the target offline duration when the service communication offline duration is greater than or equal to the first preset reference value and less than or equal to a second preset reference value.

5. The communication device according to any one of claims 1 to 4, characterized in that: The communication unit includes: a main control unit, a physical layer unit and a terminal; The offline control unit is arranged in the main control unit or the physical layer unit; The physical layer unit is connected to the main control unit and the terminal respectively; The terminal of the communication unit and the other communication equipment form a communication link through a communication cable.

6. The communication device according to claim 5, characterized in that The physical layer unit includes: a signal checking unit; The signal checking unit is connected to the offline control unit; The signal checking unit is used to obtain the signal quality information of the communication cable and send the signal quality information to the offline control unit; The offline control unit is further used to determine whether there is an abnormal signal in the communication cable according to the signal quality information; The offline control unit is further configured to control the communication link to maintain a connected state when the abnormal signal exists and the duration of the abnormal signal does not reach the target offline duration.

7. The communication device according to claim 6, characterized in that The physical layer unit also includes: a link control unit; The link control unit is connected to the offline control unit; The offline control unit is further configured to output an offline trigger signal to the link control unit when an abnormal signal exists in the communication cable and the duration of the abnormal signal reaches the target offline duration; The link control unit is used to control the disconnection of the communication link based on the offline trigger signal.

8. The communication device according to claim 6, characterized in that The physical layer unit also includes: a link establishment unit; The link establishing unit is connected to the offline control unit; The link establishing unit is used to send a link signal to the offline control unit when the communication link is successfully established; The offline control unit is further configured to, when receiving the link signal, execute the operation of determining whether there is an abnormal signal in the communication cable according to the signal quality information.

9. A communication system, characterized in that: The communication system comprises at least two communication devices according to any one of claims 1 to 8; The communication units of the communication devices form corresponding communication links through communication cables.

10. A communication method based on the communication device according to any one of claims 1 to 8, characterized in that: The communication method comprises: Check whether there are abnormal signals in the communication cable; When the abnormal signal exists in the communication cable, determining whether the duration of the abnormal signal reaches the target offline duration; When the duration of the abnormal signal does not reach the target offline duration, the communication link is controlled to maintain a connected state.

Citation Information

Cited By

  • Hot plug process control method of communication equipment connector

    CN121077937A