CN108650101B - Data transmission method and equipment - Google Patents

Data transmission method and equipment Download PDF

Info

Publication number
CN108650101B
CN108650101B CN201810287715.8A CN201810287715A CN108650101B CN 108650101 B CN108650101 B CN 108650101B CN 201810287715 A CN201810287715 A CN 201810287715A CN 108650101 B CN108650101 B CN 108650101B
Authority
CN
China
Prior art keywords
interface
relay
network
pfc
service data
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.)
Active
Application number
CN201810287715.8A
Other languages
Chinese (zh)
Other versions
CN108650101A (en
Inventor
车渝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN201810287715.8A priority Critical patent/CN108650101B/en
Publication of CN108650101A publication Critical patent/CN108650101A/en
Application granted granted Critical
Publication of CN108650101B publication Critical patent/CN108650101B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Alarm Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a method and equipment for data transmission, which relate to the technical field of computers, and are applied to a passive connection equipment PFC (power factor correction), wherein the PFC comprises a first interface connected with a first network, a second interface connected with a second network, a third interface and a fourth interface which are used for connecting a safety device, and the safety device respectively supplies power to the third interface and the fourth interface in an interface power supply mode, and the method comprises the following steps: and acquiring an electric signal of a third interface and an electric signal of a fourth interface, communicating the first interface with the second interface if the electric signal of the third interface and/or the electric signal of the fourth interface is a low-level electric signal, and sending the service data to network equipment in a second network through the second interface when the service data sent by the network equipment of the first network is received through the first interface. The invention can avoid the failure of transmission of the service data on a link when the link between the PFC and the safety equipment fails.

Description

Data transmission method and equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for data transmission.
Background
Currently, technicians usually deploy security devices in the lan to secure Application services, for example, the security devices may be Intrusion Prevention Systems (IPS) or Application Control Gateways (ACG). To prevent network disruption due to a single point of failure of a security device, technicians typically connect the security device to a passive connection device (PFC), such that when the security device fails, traffic data is transmitted through the PFC.
In the prior art, as shown in fig. 1, a PFC includes a plurality of interface groups and a first Universal Serial Bus (USB) interface, where each interface group includes an external network interface, an internal network interface, a first external domain interface, and a first internal domain interface; the security device includes a second outside-realm interface, a second inside-realm interface, and a second USB interface. The first external domain interface and the first internal domain interface of the PFC are respectively connected to the second external domain interface and the second internal domain interface of the security device, and are configured to receive and transmit service data. Wherein, the PFC can establish a plurality of links with the security device through a plurality of interface groups. The second USB interface of the safety device is connected with the first USB interface of the PFC and used for supplying power to the PFC. Taking the case that the host of the intranet accesses the server of the extranet as an example, the processing procedures of the PFC and the security device may be as follows: when the safety device works normally, the safety device can supply power to the PFC through the USB interface. At this time, the external network interface of the PFC is communicated with the first external domain interface, and the internal network interface is communicated with the first internal domain interface. And the service data sent by the host is sent to the safety equipment through the PFC for detection. And after the safety equipment detects the service data, the safety equipment sends the service data to a server of an external network through the PFC so as to realize that the host accesses the server.
When the safety device fails (such as the safety device is powered off or restarted), the safety device cannot supply power to the PFC through the USB interface. At this time, the USB interface of the PFC is powered off, triggering each extranet interface to communicate with the corresponding intranet interface. And the service data sent by the host is directly sent to a server of the external network through the PFC equipment. In this way, network disruption due to a single point of failure of the security device can be prevented.
Based on the prior art, only when the safety equipment cannot supply power to the PFC through the USB interface, the PFC can communicate the extranet interface with the intranet interface, and when a certain link between the PFC and the safety equipment fails, the PFC cannot communicate the extranet interface with the intranet interface in the link, so that service data on the link cannot be transmitted.
Disclosure of Invention
Embodiments of the present invention provide a method and a device for data transmission, which can prevent service data on a link from being unable to be transmitted when a link between a PFC and a security device fails. The specific technical scheme is as follows:
in one aspect, a method for data transmission is provided, where the method is applied to a passive connection device PFC, the PFC includes a first interface connected to a first network, a second interface connected to a second network, and a third interface and a fourth interface for connecting a security device, and the security device respectively supplies power to the third interface and the fourth interface by interface power supply, and the method includes:
collecting the electric signal of the third interface and the electric signal of the fourth interface;
if the electric signal of the third interface and/or the electric signal of the fourth interface is a low-level electric signal, communicating the first interface with the second interface;
and when the service data sent by the network equipment of the first network is received through the first interface, the service data is sent to the network equipment in the second network through the second interface.
In a second aspect, a passive connection device PFC is provided, where the PFC includes a control module, a first interface connected to a first network, a second interface connected to a second network, and a third interface and a fourth interface for connecting a safety device, and the safety device supplies power to the third interface and the fourth interface respectively through an interface power supply manner, where:
the control module is used for acquiring the electric signal of the third interface and the electric signal of the fourth interface;
the control module is further configured to communicate the first interface with the second interface if the electrical signal of the third interface and/or the electrical signal of the fourth interface is a low-level electrical signal;
the first interface is configured to receive service data sent by a network device of the first network, and send the service data to a network device in the second network through the second interface.
In a third aspect, there is provided a passive connected device PFC comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: the method steps of the first aspect are implemented.
In a fourth aspect, there is provided a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to: the method steps of the first aspect are implemented.
The embodiment of the invention provides a data transmission method, which can be applied to a PFC (power factor correction), wherein the PFC can acquire an electric signal of a third interface and an electric signal of a fourth interface, if the electric signal of the third interface and/or the electric signal of the fourth interface is a low-level electric signal, the first interface is communicated with the second interface, and when business data sent by network equipment of a first network is received through the first interface, the business data is sent to the network equipment in a second network through the second interface. Therefore, the PFC can detect a fault of a certain link between the PFC and the safety equipment, and can forward data on the link by communicating the first interface and the second interface corresponding to the link, so that the situation that service data on the link cannot be transmitted can be avoided.
In the embodiment of the present invention, for each link between the PFC and the security device, the PFC may detect whether the link fails by acquiring an electrical signal of a third interface and an electrical signal of a fourth interface of the link, if the electrical signal of the third interface and/or the electrical signal of the fourth interface is a low-level electrical signal, the link fails, the PFC communicates the first interface and the second interface of the link, and when receiving, through the first interface, service data sent by a network device of a first network, sends, through the second interface, the service data to a network device in a second network, so as to implement a bypass function for the link. Based on the above processing, the PFC can detect whether each link between the PFC and the security device fails, and perform bypass (i.e., bypass on demand) for the failed single link without affecting the traffic detection of other links, thereby enhancing the network reliability and security.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an example prior art network system;
fig. 2 is a diagram illustrating a network system according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for data transmission according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for data transmission according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating connection between a PFC and a safety device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a PFC according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a PFC according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a PFC according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a data transmission method which can be applied to PFC. As shown in fig. 2, an exemplary diagram of a network system provided in an embodiment of the present invention includes a first network, a second network, a PFC, and a security device. The PFC includes one or more interface banks and a Complex Programmable Logic Device (CPLD). Each interface group comprises a first interface connected with a first network, a second interface connected with a second network, a third interface and a fourth interface for connecting the safety equipment; the CPLD can be respectively connected with the third interface and the fourth interface so as to acquire the electric signal of the third interface and the electric signal of the fourth interface in real time. Fig. 2 shows an example that the PFC includes one interface group, and the PFC includes a plurality of interface groups and the like. In addition, the PFC may further include a relay and the like.
Similarly, the security device may also include a plurality of interface groups, wherein each interface group includes a fifth interface and a sixth interface. The fifth interface is connected with a third interface in a certain interface group of the PFC, and the sixth interface is connected with a fourth interface in the interface group. In this way, the PFC and the security device can implement multi-link communication through the multi-interface group.
In the embodiment of the present invention, the security device supports a Power Over Ethernet (POE) function, and the fifth interface and the sixth interface may respectively supply Power to the third interface and the fourth interface in a POE Power supply manner. In the embodiment of the present invention, the first network may be an intranet, the second network may be an extranet, and correspondingly, the first interface is an intranet interface, the second interface is an extranet interface, the third interface is a first intranet interface, the fourth interface is a first extranet interface, the fifth interface is a second intranet interface, and the sixth interface is a second extranet interface; alternatively, the first network may be an external network, the second network may be an internal network, and correspondingly, the first interface is an external network interface, the second interface is an internal network interface, the third interface is a first external domain interface, the fourth interface is a first internal domain interface, the fifth interface is a second external domain interface, and the sixth interface is a second internal domain interface. Of course, it should be understood that the safety device may also supply power to the third interface and the fourth interface in other power supply manners, and this embodiment is not particularly limited.
When the host of the intranet needs to access the server of the extranet, the processing procedures of the PFC and the security device may be as follows: when a link between the PFC and the safety equipment is normal, an external network interface of the PFC is communicated with a first external domain interface, and an internal network interface is communicated with a first internal domain interface. The PFC receives the service data sent by the host through the intranet interface, and then forwards the service data to the safety equipment through the first intranet interface. And the safety equipment receives the service data through the second internal domain interface, performs safety detection on the service data, and sends the service data to the PFC through the second external domain interface after the safety detection is completed. The PFC receives the service data sent by the security device through the first outside-domain interface, and then sends the service data to a server of an outside network through an outside network interface.
When a link between the PFC and the safety equipment fails, the outer network interface of the PFC is communicated with the inner network interface. The PFC receives the service data sent by the host through the intranet interface, and then forwards the service data to the server of the extranet through the extranet interface.
The embodiment of the present invention provides a data transmission method, which can ensure that service data on a link can be continuously transmitted when the link between a PFC and a security device fails, as shown in fig. 3, and the specific processing flow is as follows.
And 301, acquiring an electric signal of the third interface and an electric signal of the fourth interface.
In implementation, when a link between the security device and the PFC is normal, the fifth interface and the sixth interface (i.e., the outside-realm interface and the inside-realm interface) of the security device may supply power to the third interface and the fourth interface of the PFC in a POE power supply manner.
The PFC can acquire the electric signal of the third interface and the electric signal of the fourth interface in real time through the CPLD. When a link between the safety device and the PFC is normal, the electric signal of the third interface and the electric signal of the fourth interface, which are acquired by the CPLD, are high-level electric signals; when a link between the safety device and the PFC is in fault, at least one of the electric signals of the third interface and the fourth interface acquired by the CPLD is a low-level electric signal.
And step 302, if the electric signal of the third interface and/or the electric signal of the fourth interface is a low-level electric signal, communicating the first interface with the second interface.
In implementation, after the CPLD collects the electrical signal of the third interface and the electrical signal of the fourth interface, it may further determine whether the electrical signal of the third interface is a low-level electrical signal and whether the electrical signal of the fourth interface is a low-level electrical signal.
If the electric signal of the third interface and/or the electric signal of the fourth interface is a low-level electric signal, it indicates that a link between the PFC and the safety device has a fault, and the CPLD may communicate the first interface with the second interface. For example, the electrical signal of the third interface is at a low level, the electrical signal of the fourth interface is at a high level, and the CPLD communicates the first interface with the second interface. For another example, the electrical signal of the third interface is at a low level, the electrical signal of the fourth interface is also at a low level, and the CPLD communicates the first interface with the second interface. In addition, for the case of including multiple sets of interfaces, the CPLD may determine a first interface correspondingly connected to the third interface and a second interface correspondingly connected to the fourth interface, and then communicate the first interface with the second interface.
Step 303, when receiving the service data sent by the network device of the first network through the first interface, sending the service data to the network device in the second network through the second interface.
In implementation, after the CPLD connects the first interface and the second interface, when the PFC receives the service data sent by the network device of the first network through the first interface, the PFC forwards the service data to the network device in the second network through the second interface. In this way, when a link between the PFC and the security device fails, the PFC may directly forward the traffic data sent by the network device of the first network to the network device in the second network.
In the embodiment of the invention, for each link between the PFC and the safety device, the PFC may acquire, through the CPLD, an electrical signal of a third interface and an electrical signal of a fourth interface of the link to detect whether the link fails, if the electrical signal of the third interface and/or the electrical signal of the fourth interface is a low-level electrical signal, it indicates that the link fails, the PFC communicates the first interface and the second interface of the link, and when receiving, through the first interface, service data sent by a network device of a first network, sends, through the second interface, the service data to a network device in a second network, so as to implement a bypass function for the link. Based on the above processing, the PFC can detect whether each link between the PFC and the security device fails, and perform bypass (i.e., bypass on demand) for the failed single link without affecting the traffic detection of other links, thereby enhancing the network reliability and security.
Referring to fig. 2, when a link between the PFC and the safety device fails, an external network interface of the PFC communicates with an internal network interface. Taking the case that the host of the intranet accesses the server of the extranet as an example, the processing procedure of the PFC may be: the PFC receives the service data sent by the host through the intranet interface, and then forwards the service data to the server of the extranet through the extranet interface.
Optionally, as shown in fig. 4, when the PFC detects that a link between the PFC and the security device is normal, the PFC may send service data on the link to the security device for security detection, and accordingly, the method further includes:
and 304, if the electrical signal of the third interface and the electrical signal of the fourth interface are both high-level electrical signals, communicating the third interface with the first interface, and communicating the fourth interface with the second interface.
In implementation, when a link between the PFC and the safety device fails, and the CPLD communicates the first interface with the second interface, the CPLD may continue to acquire an electrical signal of the third interface and an electrical signal of the fourth interface. Subsequently, when the link between the PFC and the safety device is restored to normal, the electrical signal of the third interface and the electrical signal of the fourth interface are both high-level electrical signals. At this time, the CPLD detects that the electrical signal of the third interface and the electrical signal of the fourth interface are both high-level electrical signals, and then communicates the third interface with the first interface and communicates the fourth interface with the second interface. In addition, for the case of including multiple sets of interfaces, the CPLD may determine the first interface correspondingly connected to the third interface and the second interface correspondingly connected to the fourth interface, and then communicate the third interface with the first interface and communicate the fourth interface with the second interface.
And 305, when the service data sent by the network equipment of the first network is received through the first interface, sending the service data to the safety equipment through the third interface.
In implementation, after the CPLD communicates the third interface with the first interface, when the PFC receives the service data sent by the network device of the first network through the first interface, the PFC sends the service data to the security device through the third interface, and the security device receives the service data through the fifth interface and then performs security detection on the service data.
And step 306, when the service data sent by the security device is received through the fourth interface, sending the service data to the network device in the second network through the second interface.
In implementation, after the safety device performs safety detection on the service data sent by the PFC, if it is determined that the safety detection of the service data passes, the safety device sends the service data to the PFC through the sixth interface. The PFC receives the service data sent by the security device through the fourth interface, and then sends the service data to the network device in the second network through the second interface. And if the safety equipment judges that the safety detection of the service data is not passed, the service data is discarded.
Therefore, when the link between the PFC and the security device is normal, the PFC may send the service data sent by the network device of the first network to the security device for security detection, and send the service data sent by the security device after passing the detection to the network device in the second network.
Referring to fig. 2, when a link between the PFC and the security device is normal, an extranet interface of the PFC communicates with the first extranet interface, and an intranet interface communicates with the first intranet interface. For example, the PFC and the security device may be processed as follows: the PFC receives the service data sent by the host through the intranet interface, and then forwards the service data to the safety equipment through the first intranet interface. And the safety equipment receives the service data through the second internal domain interface, performs safety detection on the service data, and sends the service data to the PFC through the second external domain interface after the safety detection is completed. The PFC receives the service data sent by the security device through the first outside-domain interface, and then sends the service data to a server of an outside network through an outside network interface.
Optionally, as shown in fig. 5, the PFC further includes a first relay and a second relay, the first movable contact of the first relay can be connected to the first interface, the first fixed contact of the first relay can be connected to the third interface, the second movable contact of the second relay can be connected to the second interface, the second fixed contact of the second relay can be connected to the fourth interface, and the third fixed contact of the first relay can be connected to the fourth fixed contact of the second relay. Thus, a first relay and a second relay connected with the CPLD can be arranged in the PFC, and the CPLD sends control electric signals to the first relay and the second relay so as to control the communication of the interface. Correspondingly, the specific process for communicating the first interface with the second interface may be as follows: and connecting the first movable contact of the first relay with the third fixed contact, and connecting the second movable contact of the second relay with the fourth fixed contact.
In implementation, if the electrical signal of the third interface and/or the electrical signal of the fourth interface is a low-level electrical signal, it indicates that a link between the PFC and the safety device has a fault. The CPLD sends low-level control electric signals to the first relay and the second relay. And after receiving the low-level control electric signal, the first relay connects the first movable contact with the third fixed contact. Similarly, the second relay connects the second movable contact with the fourth fixed contact after receiving the low-level control electric signal.
Therefore, when a link between the PFC and the safety device fails, the PFC can forward the service data sent by the network device of the first network to the network device of the second network, and the condition of interruption of service data transmission is avoided.
Based on the PFC shown in fig. 5, the specific process of communicating the third interface with the first interface and communicating the fourth interface with the second interface may be as follows: the first movable contact of the first relay is connected with the first fixed contact, and the second movable contact of the second relay is connected with the second fixed contact.
In implementation, if the electrical signal of the third interface and the electrical signal of the fourth interface are both high-level electrical signals, it indicates that the link between the PFC and the safety device is normal. The CPLD sends a high-level control electric signal to the first relay and the second relay. And after receiving the high-level control electric signal, the first relay connects the first movable contact with the first fixed contact. Similarly, the second relay connects the second movable contact with the second stationary contact after receiving the high-level control electrical signal.
Therefore, when the link between the PFC and the security device is normal, the PFC can send the service data sent by the network device of the first network to the security device for security detection, and send the service data which is sent by the security device and passes the detection to the network device of the second network, so that the security of service data transmission is improved.
It should be noted that, when the link between the PFC and the safety device is normal, the first movable contact of the first relay is connected to the first fixed contact, and the second movable contact of the second relay is connected to the second fixed contact. The CPLD can continuously acquire the electric signal of the third interface and the electric signal of the fourth interface in real time, and if the electric signal of the third interface and the electric signal of the fourth interface are both high-level electric signals, the first relay and the second relay do not process the electric signals. If the electric signal of the third interface and/or the electric signal of the fourth interface is a low-level electric signal, the CPLD sends a low-level control electric signal to the first relay and the second relay, the first movable contact of the first relay is connected with the third fixed contact, and the second movable contact of the second relay is connected with the fourth fixed contact.
It should be noted that, in order to facilitate controlling the service data at any time, a technician may also set a switch control module connected to the first relay and the second relay in the PFC, so that the technician manually controls the moving contacts of the first relay and the second relay through the switch control module to implement communication between the manual control interfaces.
The embodiment of the invention provides a data transmission method, which comprises the steps of collecting an electric signal of a third interface and an electric signal of a fourth interface, communicating the first interface with a second interface if the electric signal of the third interface and/or the electric signal of the fourth interface is a low-level electric signal, and sending service data to network equipment in a second network through the second interface when the service data sent by the network equipment of the first network is received through the first interface. Therefore, when a link between the PFC and the safety equipment fails, the situation that the service data on the link cannot be transmitted can be avoided.
Based on the same technical concept, as shown in fig. 6, an embodiment of the present invention further provides a PFC, which includes a control module 610, a first interface 620 connected to a first network, a second interface 630 connected to a second network, and a third interface 640 and a fourth interface 650 for connecting a security device, where the security device respectively supplies power to the third interface 640 and the fourth interface 650 by interface power supply, where:
the control module 610 is configured to collect an electrical signal of the third interface 640 and an electrical signal of the fourth interface 650;
the control module 610 is further configured to communicate the first interface 620 with the second interface 630 if the electrical signal of the third interface 640 and/or the electrical signal of the fourth interface 650 is a low-level electrical signal;
the first interface 620 is configured to receive service data sent by a network device of the first network, and send the service data to a network device of the second network through the second interface 630.
The control module 610 may be a Complex Programmable Logic Device (CPLD).
Optionally, the control module 610 is further configured to: if the electrical signal of the third interface 640 and the electrical signal of the fourth interface 650 are both high-level electrical signals, communicating the third interface 640 with the first interface 620, and communicating the fourth interface 650 with the second interface 630;
the first interface 620 is further configured to receive service data sent by a network device of the first network, and send the service data to the security device through the third interface 640, so that the security device performs security detection on the service data;
the fourth interface 650 is configured to receive the service data sent by the security device, and send the service data to a network device in the second network through the second interface 630.
Optionally, as shown in fig. 7, the PFC further includes a first relay 660 and a second relay 670, a first movable contact of the first relay 660 is connectable to the first interface 620, a first fixed contact of the first relay 660 is connectable to the third interface 640, a second movable contact of the second relay 670 is connectable to the second interface 630, a second fixed contact of the second relay 670 is connectable to the fourth interface 650, and a third fixed contact of the first relay 660 is connectable to a fourth fixed contact of the second relay 670;
the control module 610 is specifically configured to:
the first movable contact of the first relay 660 is connected with the third stationary contact, and the second movable contact of the second relay 670 is connected with the fourth stationary contact.
Optionally, based on the PFC shown in fig. 7, the control module 610 is specifically configured to:
the first movable contact of the first relay 660 is connected with the first stationary contact, and the second movable contact of the second relay 670 is connected with the second stationary contact.
The embodiment of the invention provides a PFC (power factor correction), which can collect an electric signal of a third interface and an electric signal of a fourth interface, communicate a first interface with a second interface if the electric signal of the third interface and/or the electric signal of the fourth interface is a low-level electric signal, and send service data to network equipment in a second network through the second interface when the service data sent by the network equipment in the first network is received through the first interface. Therefore, when a link between the PFC and the safety equipment fails, the situation that the service data on the link cannot be transmitted can be avoided.
The embodiment of the present invention further provides a passive connection device PFC, as shown in fig. 8, which includes a processor 801, a first interface 802 connected to a first network, a second interface 803 connected to a second network, a third interface 804 and a fourth interface 805 for connecting a security device, a memory 806 and a communication bus 807, wherein the processor 801, the first interface 802, the second interface 803, the third interface 804, the fourth interface 805, and the memory 806 complete communication with each other through the communication bus 807,
a memory 806 for storing a computer program;
the processor 801 is configured to execute the program stored in the memory 806, so that the PFC performs the following steps, including:
collecting the electric signal of the third interface 804 and the electric signal of the fourth interface 805;
if the electrical signal of the third interface 804 and/or the electrical signal of the fourth interface 805 are low-level electrical signals, communicating the first interface 802 with the second interface 803;
when receiving the service data sent by the network device of the first network through the first interface 802, sending the service data to the network device in the second network through the second interface 803.
Optionally, the method further includes:
if the electrical signal of the third interface 804 and the electrical signal of the fourth interface 805 are both high-level electrical signals, communicating the third interface 804 with the first interface 802, and communicating the fourth interface 805 with the second interface 803;
when receiving the service data sent by the network device of the first network through the first interface 802, sending the service data to the security device through the third interface 804, so that the security device performs security detection on the service data;
when the service data sent by the security device is received through the fourth interface 805, the service data is sent to a network device in the second network through the second interface 803.
Optionally, the PFC further includes a first relay and a second relay, a first movable contact of the first relay is connectable to the first interface 802, a first fixed contact of the first relay is connectable to the third interface 804, a second movable contact of the second relay is connectable to the second interface 803, a second fixed contact of the second relay is connectable to the fourth interface 805, and a third fixed contact of the first relay is connectable to a fourth fixed contact of the second relay;
the communicating the first interface 802 with the second interface 803 includes:
and connecting the first movable contact of the first relay with the third fixed contact, and connecting the second movable contact of the second relay with the fourth fixed contact.
Optionally, the communicating the third interface 804 with the first interface 802, and the communicating the fourth interface 805 with the second interface 803 includes:
and connecting the first movable contact of the first relay with the first fixed contact, and connecting the second movable contact of the second relay with the second fixed contact.
The machine-readable storage medium may include a RAM (Random Access Memory) and may also include a NVM (Non-Volatile Memory), such as at least one disk Memory. Additionally, the machine-readable storage medium may be at least one memory device located remotely from the aforementioned processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also a DSP (Digital Signal Processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A method for data transmission is applied to a passive connection device (PFC), the PFC comprises a first interface connected with a first network, a second interface connected with a second network, and a third interface and a fourth interface used for connecting a safety device, and the safety device respectively supplies power to the third interface and the fourth interface by means of interface power supply, and the method comprises the following steps:
collecting the electric signal of the third interface and the electric signal of the fourth interface;
if the electric signal of the third interface or the electric signal of the fourth interface is an electric signal with a low level, communicating the first interface with the second interface;
and when the service data sent by the network equipment of the first network is received through the first interface, the service data is sent to the network equipment in the second network through the second interface.
2. The method of claim 1, further comprising:
if the electrical signal of the third interface and the electrical signal of the fourth interface are both high-level electrical signals, communicating the third interface with the first interface, and communicating the fourth interface with the second interface;
when business data sent by network equipment of the first network is received through the first interface, the business data is sent to the safety equipment through the third interface, so that the safety equipment can carry out safety detection on the business data;
and when the service data sent by the safety equipment is received through the fourth interface, the service data is sent to the network equipment in the second network through the second interface.
3. The method of claim 1, wherein the PFC further comprises a first relay and a second relay, wherein a first movable contact of the first relay is connectable with the first interface, a first stationary contact of the first relay is connectable with the third interface, a second movable contact of the second relay is connectable with the second interface, a second stationary contact of the second relay is connectable with the fourth interface, and a third stationary contact of the first relay is connectable with a fourth stationary contact of the second relay;
the communicating the first interface with the second interface comprises:
and connecting the first movable contact of the first relay with the third fixed contact, and connecting the second movable contact of the second relay with the fourth fixed contact.
4. The method of claim 2, wherein the PFC further comprises a first relay and a second relay, wherein a first movable contact of the first relay is connectable with the first interface, a first stationary contact of the first relay is connectable with the third interface, a second movable contact of the second relay is connectable with the second interface, a second stationary contact of the second relay is connectable with the fourth interface, and a third stationary contact of the first relay is connectable with a fourth stationary contact of the second relay;
the communicating the third port with the first port and the communicating the fourth port with the second port includes:
and connecting the first movable contact of the first relay with the first fixed contact, and connecting the second movable contact of the second relay with the second fixed contact.
5. A passive connection device (PFC) is characterized by comprising a control module, a first interface connected with a first network, a second interface connected with a second network, and a third interface and a fourth interface which are used for connecting a safety device, wherein the safety device supplies power to the third interface and the fourth interface respectively in an interface power supply mode, wherein:
the control module is used for acquiring the electric signal of the third interface and the electric signal of the fourth interface;
the control module is further configured to communicate the first interface with the second interface if the electrical signal of the third interface or the electrical signal of the fourth interface is a low-level electrical signal;
the first interface is configured to receive service data sent by a network device of the first network, and send the service data to a network device in the second network through the second interface.
6. The PFC of claim 5, wherein the control module is further configured to communicate the third interface with the first interface and communicate the fourth interface with the second interface if the electrical signal of the third interface and the electrical signal of the fourth interface are both high-level electrical signals;
the first interface is further configured to receive service data sent by a network device of the first network, and send the service data to the security device through the third interface, so that the security device performs security detection on the service data;
the fourth interface is configured to receive the service data sent by the security device, and send the service data to the network device in the second network through the second interface.
7. The PFC of claim 5 further comprising a first relay having a first movable contact connectable with the first interface, a first stationary contact of the first relay connectable with the third interface, a second movable contact of the second relay connectable with the second interface, a second stationary contact of the second relay connectable with the fourth interface, a third stationary contact of the first relay connectable with a fourth stationary contact of the second relay;
the control module is specifically configured to:
and connecting the first movable contact of the first relay with the third fixed contact, and connecting the second movable contact of the second relay with the fourth fixed contact.
8. The PFC of claim 6 further comprising a first relay having a first movable contact connectable with the first interface, a first stationary contact of the first relay connectable with the third interface, a second movable contact of the second relay connectable with the second interface, a second stationary contact of the second relay connectable with the fourth interface, a third stationary contact of the first relay connectable with a fourth stationary contact of the second relay;
the control module is specifically configured to:
and connecting the first movable contact of the first relay with the first fixed contact, and connecting the second movable contact of the second relay with the second fixed contact.
9. A passive connected device PFC comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: carrying out the method steps of any one of claims 1 to 4.
10. A machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to: carrying out the method steps of any one of claims 1 to 4.
CN201810287715.8A 2018-03-30 2018-03-30 Data transmission method and equipment Active CN108650101B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810287715.8A CN108650101B (en) 2018-03-30 2018-03-30 Data transmission method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810287715.8A CN108650101B (en) 2018-03-30 2018-03-30 Data transmission method and equipment

Publications (2)

Publication Number Publication Date
CN108650101A CN108650101A (en) 2018-10-12
CN108650101B true CN108650101B (en) 2021-01-15

Family

ID=63745362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810287715.8A Active CN108650101B (en) 2018-03-30 2018-03-30 Data transmission method and equipment

Country Status (1)

Country Link
CN (1) CN108650101B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110781111B (en) * 2019-10-23 2020-12-01 北京计算机技术及应用研究所 But real-time supervision's dual-redundancy USB port extension device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1392732A (en) * 2001-06-15 2003-01-22 张学斌 Cable TV HFC network transmission link management system
JP2009110218A (en) * 2007-10-30 2009-05-21 Fujitsu Ltd Virtualization switch and computer system using the same
CN101841408A (en) * 2010-05-07 2010-09-22 北京星网锐捷网络技术有限公司 Primary/standby route equipment switching method and route equipment
CN203119929U (en) * 2013-01-17 2013-08-07 研华股份有限公司 A network connecting device capable of switching paths
CN203352595U (en) * 2013-07-11 2013-12-18 北京立华莱康平台科技有限公司 Bypass device and network system
US9801044B2 (en) * 2014-05-13 2017-10-24 Samsung Electronics Co., Ltd. Apparatus and method for accessing wireless network
CN104915271A (en) * 2015-06-12 2015-09-16 山东超越数控电子有限公司 Method for redundancy of multi-screen display function of display-control console
CN105591906B (en) * 2015-07-02 2019-05-03 新华三技术有限公司 Path switching device and path switching method
CN107645502B (en) * 2017-09-20 2021-01-22 新华三信息安全技术有限公司 Message detection method and device

Also Published As

Publication number Publication date
CN108650101A (en) 2018-10-12

Similar Documents

Publication Publication Date Title
EP2798782B1 (en) Technique for handling a status change in an interconnect node
CN101083698B (en) Monitoring apparatus
CN110740072A (en) fault detection method, device and related equipment
CN109889411B (en) Data transmission method and device
CN108847879B (en) Double-machine fault detection and recovery method based on bus controller
CN105450469A (en) Method for detecting faults of rapid communication bus in industrial equipment
CN108804260B (en) SRIO system switching method and device
CN115269248B (en) Method and device for preventing brain fracture under double-node cluster, electronic equipment and storage medium
US7436291B2 (en) Protection of devices in a redundant configuration
CN108650101B (en) Data transmission method and equipment
CN103001822B (en) The processing method of Network Abnormal and device
CN101980478B (en) Method and device for detecting and processing equipment failures and network equipment
CN111679925A (en) Database fault processing method and device, computing equipment and storage medium
CN113645048A (en) Network card switching method and device and field programmable gate array FPGA
CN110890933A (en) Service protection method, device, system, equipment and medium
CN207992997U (en) I2C bus systems
CN114328034B (en) Control method and device of storage equipment, electronic equipment and storage medium
CN114095462B (en) Fault-tolerant method and system for SRIO communication system of radar processor
US20080310314A1 (en) Method for Detecting a Message Interface Fault in a Communication Device
US11954509B2 (en) Service continuation system and service continuation method between active and standby virtual servers
JP7287157B2 (en) Communication device, failure notification system, failure notification method and failure notification program
CN107733683B (en) Data backup method and device based on Internet of things
CN112180906A (en) Fault self-diagnosis communication system and fault self-diagnosis method thereof
JP2017195435A (en) Network access system, and control device therefor, channel backup control method and program
CN108965314B (en) Network communication device based on Feiteng processor

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